login form with the user shown

vincent3569 Member, Translator
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 :

<table class="password">
<?php
if ($_password_showuser) {
?>
<tr>
<td class="userlabel"><?php echo gettext("Login"); ?></td>
<td class="userinput"><input type="text" name="user" /></td>
</tr>
<?php
}
?>

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

so : where can i set $_password_showuser to true ?

Comments

  • 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.
  • vincent3569 Member, Translator
    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 ?
  • Check the `enable user name login field` box on the admin/options/gallery tab.
Sign In or Register to comment.