Removing "User Name" from login box

Discussion in 'vBulletin Discussions' started by Dan Hutter, May 27, 2009.

  1. Dan Hutter

    Dan Hutter aka Big Dan

    1,412
    515
    818
    Here's a little tweak that I do to help my members with form fillers, Firefox's form filler seems to be tripped up the most by the "User Name" field being filed in by default causing the user to have to click and type the first letter of their user name, then clicking in the drop down to get the form filler to work. Instead of the page just loading and their credentials being pre-filled.

    Open your navbar template find and remove:

    Code:
    value="$vbphrase[username]"
    I see no security risk in it because the login strikes system is still active.. Perhaps one of the more security conscious people could shed some light on any issues arising from this. I've also noticed when you get vBulletin's no permission message with a login form the user name isn't pre-filled therefore I don't believe the navbar pre-fill is for security purposes.

    This is one of the 'little things' that I wish more sites would do just so it's easier for me login. :D

    Cheers,
    Dan
     
  2. Nick

    Nick Regular Member

    7,441
    218
    458
    I've always hated how I have to enter the first letter for it to work. Thanks for this!

    I've made this a sticky thread, too.
     
  3. Tyler

    Tyler The Badministrator

    3,079
    63
    694
    Great thread, I'm sure a lot of people will find this helpful.
     
  4. Dan Hutter

    Dan Hutter aka Big Dan

    1,412
    515
    818
    Thanks Guys. :)

    OT: Savage are you the same Savage from Noppid's site?
     
  5. Imperial

    Imperial Adept

    184
    8
    104
    Great tip, I had been meaning to make this slight modification but hadn't given the slightest thought to the security precaution of having the value in the field. In any case, its a small tweak that I think many users will appreciate.
     
  6. Tom

    Tom Regular Member

    153
    18
    164
    Too bad there's not something like this for MyBB (or maybe there is, just unaware of it) 'cause this is helpful.

    Nice code!
     
  7. Dan Hutter

    Dan Hutter aka Big Dan

    1,412
    515
    818
    I have MyBB install laying around somewhere let me see what I can figure out. ;)
     
  8. Chris

    Chris Regular Member

    5,422
    86
    434
    I'm a bit late, but thanks for this, Dan. ;)
     
  9. Tom

    Tom Regular Member

    153
    18
    164
    Thanks Dan...
     
  10. Dan Hutter

    Dan Hutter aka Big Dan

    1,412
    515
    818
  11. Tom

    Tom Regular Member

    153
    18
    164
    I saw, thanks so very much.
     
  12. Tubeget

    Tubeget Novice

    27
    0
    42
    Thanks...this is useful :D
     

Share This Page