PDA

View Full Version : You *WILL* Remember my Name....


Xube
06-17-2003, 12:16 AM
:banana: Can someone create a hack that puts a....

[_] Remember username/password checkbox

...thing just under the log in username/password name input box on the main index page the vBulletin board... (I was just told it will be a standard feature of vB 3.0 .0) Can I get some coding that can make this feature on my board now?
vBulletin Threadlink (http://www.vbulletin.com/forum/showthread.php?threadid=73468)

That's a vB3 feature. Adding this to 2.3.0 requires hacking. You can ask over at vbulletin.org.
~~ Steve Machol, vBulletin Design Team
...seems like just a couple of simple lines of code, has anyone done this?

Xube
06-17-2003, 12:18 AM
To see an exact example of what I'm talking about please look here:

vBulletin.com main board page (http://www.vbulletin.com/forum/)

.... at the top of that page of vB 3.0.0. (I guess the only way you will be able to see it is if you haven't already set your prefs to automatically log you on when you go over and visit vBulletin.com) right under the Username/Password login boxes is a 3rd small box that you can check if you want your logon to be automatic on visits.

:tired: Is this a doable here in 2.3.0?

Erwin
06-17-2003, 12:48 AM
This will require a change of the way vB2 saves its cookies I suspect as the info has to be posted from the cookie into the form - it's not just a simple addition of a couple of lines. :) Use Netscape - it does this automatically. ;) Or in vB2, just get your users to enable remember username and password in their User CP options. Or upgrade to vB3.

Smoothie
06-17-2003, 02:37 AM
ya, I'd like to see this too, even though when using Mozilla its saves your username and password automatically.

Xube
06-17-2003, 03:42 PM
Today at 02:48 AM Erwin said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=409710#post409710)
This will require a change of the way vB2 saves its cookies I suspect as the info has to be posted from the cookie into the form - it's not just a simple addition of a couple of lines. :)


Awwwlll. :(

Ok, then I would like to request that one of the smart programming guys here at the board come up with some way to do this? If it's not simple, I'd never figure out how to do this myself.

:banana: We could all use this, can someone come up with a hack?


:bunny:

Xube
06-17-2003, 09:43 PM
Ok, here's the coding on a 2.3.0 vBulletin board when you are making the cookie/remember change using your user control panel...
(it uses 2 radio buttons for input...)


<td bgcolor="#DDDDDD">
<font face="verdana, arial, helvetica" size="2" >

<input type="radio" name="cookieuser" value="yes" checked> yes

<input type="radio" name="cookieuser" value="no"> no

</font></td>




and here's the code over on vBulletin 3.0.0
(It uses a single checkbox input.....)


<label for="cb_cookieuser_navbar">

<input type="checkbox" name="cookieuser"
value="1" id="cb_cookieuser_navbar" accesskey="c"
tabindex="3" checked="checked" />

Remember username/password?</label>


Hmmm, so they are both referencing the cookieuser variable.

Erwin
06-18-2003, 06:50 AM
You are posting HTML. The cookie is made using a PHP function.

Xube
06-18-2003, 07:03 PM
Today at 08:50 AM Erwin said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=410201#post410201)
You are posting HTML. The cookie is made using a PHP function.


:( Erwin, do you know where I would find this info? (where would the cookie references be... if they are not somewhere near the info input areas on the board?) The stuff I posted is what is in the code on the boards in the area displaying the feature I'd like to get hacked in.

Can someone with php knowledge please create this hack? Seems like there are a number of us who want it.