ZenphotoCMS Forum
Howto enable "User login field" - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Howto enable "User login field" (/thread-4715.html)



Howto enable "User login field" - Michiel - 2009-02-19

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?




Howto enable "User login field" - sbillard - 2009-02-19

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




Howto enable "User login field" - Michiel - 2009-02-19

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




Howto enable "User login field" - acrylian - 2009-02-19

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.




Howto enable "User login field" - Michiel - 2009-02-19

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




Howto enable "User login field" - acrylian - 2009-02-20

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.




Howto enable "User login field" - Michiel - 2009-03-13

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

Regards,
Michiel




Howto enable "User login field" - sbillard - 2009-03-13

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.