vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Remember username on login (https://vborg.vbsupport.ru/showthread.php?t=27496)

Thomas P 09-06-2001 12:41 PM

1 Attachment(s)
Okay, a search didn't return me something to that topic so here is my suggestion for a "better" login, how about a ...

...Remember username option next to the login fields?

I guess this requires an additional cookie...
Have a look at the attached screenshot,
thx,
-Tom

ubje 09-06-2001 05:11 PM

put this in your template : username_loggedout



PHP Code:

<tr valign="top">
    <
td bgcolor="#958654" height="25"><font face="verdana, arial, helvetica" size="2" ><b>Your User Name:</b></font></td>
    <
td bgcolor="#958654" height="25"><font face="verdana, arial, helvetica" size="2" ><input type="text" class="bginput" name="username" value="Unregistered" size="25">
        &
nbsp;&nbsp;</font>
        </
td>
</
tr>
<
tr valign="top">
    <
td bgcolor="#C5BB98" height="25"><font face="verdana, arial, helvetica" size="2" ><b>Your Password:</b></font></td>
    <
td bgcolor="#C5BB98" height="25"><font face="verdana, arial, helvetica" size="2" ><input type="password" class="bginput" name="password" value="" size="25">&nbsp;&nbsp;
      &
nbsp;</font>
        </
td>
</
tr>

<
tr valign="top">
    <
td bgcolor="#C5BB98" colspan="2" height="1%" align="center" width="100%"><font face="tahoma, verdana, arial, helvetica, sans-serif" size="2"><input type="checkbox" name="AutoInput" value="yes" >Fill
      in User Name 
and Password automatically.</font><font face="verdana, arial, helvetica" size="2" >&nbsp;</font></td>
</
tr


<td bgcolor="#C5BB98 <-- you can change it

Thomas P 09-06-2001 06:08 PM

Thanks :)

Hmmm, doesn't work...
Copied...

PHP Code:

<input type="checkbox" name="AutoInput" value="yes"

...into my username_loggedout and saw that checkbox on the login screen, checked it, logged in, closed browser, accessed the forums via direct url to showthread, hit "reply", came to the login screen, still "unregistered" is the default?
Thanks,
-Tom

ubje 09-06-2001 07:52 PM

yep Unregisterd is the Default

PHP Code:

<input type="text" class="bginput" name="username" value="Unregistered" size="25"

i thaugt if you "saved" you login and pass on another Board that it doesn't work anymore :(

Thomas P 09-07-2001 11:57 AM

Thanks anyway :)


All times are GMT. The time now is 01:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00984 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete