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

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
    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

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    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

    Joined:
    Dec 23, 2007
    Messages:
    3,079
    Likes Received:
    63
    Location:
    Long Island, NY
    First Name:
    Tyler
    Great thread, I'm sure a lot of people will find this helpful.
     
  4. Dan Hutter

    Dan Hutter aka Big Dan

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
    Thanks Guys. :)

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

    Imperial Adept

    Joined:
    May 20, 2009
    Messages:
    184
    Likes Received:
    8
    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

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    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

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
    I have MyBB install laying around somewhere let me see what I can figure out. ;)
     
  8. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    I'm a bit late, but thanks for this, Dan. ;)
     
  9. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    Thanks Dan...
     
  10. Dan Hutter

    Dan Hutter aka Big Dan

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
  11. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    I saw, thanks so very much.
     
  12. Tubeget

    Tubeget Novice

    Joined:
    Jul 17, 2009
    Messages:
    27
    Likes Received:
    0
    First Name:
    vamsi4u
    Thanks...this is useful :D
     

Share This Page