Member
Member
Michiel   2009-02-19, 16:42
#1

I want to add new user to my gallery.I tried the following steps:

  • Added an user with restrictions
  • Enabled user login field in gallery configuration

Now i cannot find the login field on the website (www.3m-team.com/zenphoto). I tried the nightly build but the same effect (i used the same sql database)

How do i get the field enabled?

Member
Member
sbillard   2009-02-19, 18:25
#2

If you mean a logon field from the gallery, you will have to incorporate the user_logout plugin into your theme.

Member
Member
Michiel   2009-02-19, 18:45
#3

Owke, i read about that but i did not understand that completely.
Is there an manuel for that or can you tell me howto?

Regards,
Michiel

Administrator
Administrator
acrylian   2009-02-19, 19:22
#4

Add the function of the plugin as described in the doc to your theme file(s) where you want the form to appear. Please read the theming tutorial if not familiar with Zenphoto themes.

Member
Member
Michiel   2009-02-19, 23:07
#5

Seems difficult cause i cant find it... Whole Zenphoto is AMAZING but this option looks not easy to enable. I am an noob in PHP but i understand howto build an website.
Maybe someone wants to take some time to explain it to me?
Regards,
Michiel

Administrator
Administrator
acrylian   2009-02-20, 09:57
#6

Did you look at our theming tutorial and the plugin's documentation on http://www.zenphoto.org/documentation/plugins/_plugins---user_logout.php.html? Then you will see how to add php functions to your theme files. I am sorry, but you will have to learn a few things about this if you want to customize your theme. Many plugins are optional and therefore not already implemented on the standard themes to not bloat them. If you know HTML in general adding a function should really not be that difficult.

Member
Member
Michiel   2009-03-13, 19:03
#7

Tried alot but cannot get it enabled...
Isnt there an simple guide somewhere? Or can i use an simple program?

Regards,
Michiel

Member
Member
sbillard   2009-03-13, 23:27
#8

The feature is part of the user_logout plugin. You will have to both insert the function in your theme and configure the options of the plugin. You could look at the Effervescence+ theme to see how it did this.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.