PDA

View Full Version : Removing prefilled user name from login box



Big Dan
05-30-2009, 08:13 AM
By default vBulletin pre-fills the username field on your navbar with 'User Name' if you click in the field it goes away. It works but serves no purpose and makes logging in harder for people with form fillers.

To remove the pre-fill simply open your navbar template then find and REMOVE this snippet:


value="$vbphrase[username]"

Save the template and your done. :) Now, people with form fillers like what's included with Firefox will have their user name and password filled when the page loads so all they have to click is Log in.

Peggy
05-30-2009, 11:56 AM
Good tutorial. I don't like that pre-filled 'username' either.

TProductions
06-08-2009, 07:55 PM
I take it if we replace [username] with something like [Login] it will display that instead as well?

Very nice hack :D:D

Big Dan
06-09-2009, 01:03 AM
I take it if we replace [username] with something like [Login] it will display that instead as well?

Very nice hack :D:D

Thanks Mealseed. The "$vbphrase[username]" is phrased but you can replace what in between the the quotes with any word you want just leave out the $vbphrase part unless you add the phrase via the phrase manager. :)

To make it display login just put

value="Login"

TProductions
06-12-2009, 10:47 PM
Thanks Mealseed. The "$vbphrase[username]" is phrased but you can replace what in between the the quotes with any word you want just leave out the $vbphrase part unless you add the phrase via the phrase manager. :)

To make it display login just put

value="Login"Ah cool :)

saadessa
06-16-2009, 04:59 PM
thank you