ZenphotoCMS Forum
login form with the user shown - 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: login form with the user shown (/thread-6730.html)



login form with the user shown - vincent3569 - 08-03-2010

hello

i have set "Enable login form" to true in the admin tabs of the plugin user_login-out.
the user is never displayed, so i can't used this form to connect.

however, in the default theme, in the file password_form.php, i saw this code :

if i comment the "if", the form going well and i can connect myself.

so : where can i set $_password_showuser to true ?




login form with the user shown - kagutsuchi - 08-03-2010

You shouldn't have to change password_form.php. If you're not seeing the link to login, I'm assuming that your theme does not have it enabled. You will need to add a call to printUserLogin_out() on the theme page on which you want to display the login link.




login form with the user shown - vincent3569 - 08-03-2010

the plugin "userlogin_out" is installed
the option "Enable login form" is checked

if i'm not connected, the login form is displayed at the bottom of the page.
but i've only the password's input, not the user's input.

so i can't connect myself.

what should i do to have the user's input ?




login form with the user shown - sbillard - 08-03-2010

Check the enable user name login field box on the admin/options/gallery tab.