Custom Vbulletin Bar On Top Of My Site

Discussion in 'PHP' started by Ssj2GohanTeen, Mar 20, 2010.

  1. #1
    Hi there.

    I just made a simple custom vbulletin login bar at the top of my site.
    Now you can login with it but it doesnt say like welcome (username) and stuff like that.
    It just gives you the option to login again while youre already logged in.

    Anybody can give me some help with this? Site is http://www.animeclouds.com/
    
    <form id="login" action="/forums/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
    <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=370b5h"></script>
                        <input class="txt" type="text" name="vb_login_username" id="navbar_username"accesskey="u" tabindex="101" value="username" onfocus="if (this.value == 'username') this.value = '';" />
    
                        <input class="txt" type="password" name="vb_login_password" id="navbar_password" tabindex="102" />
                        <input type="image" name="submit" value="Log in" src="http://www.watchanimeon.com/wp-content/themes/watchanimeon-white/images/btn.gif" class="btn" accesskey="s" />
    <input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />
    
    <input type="hidden" name="s" value="" />
    
    <input type="hidden" name="do" value="login" />
    
    <input type="hidden" name="vb_login_md5password" />
    
    <input type="hidden" name="vb_login_md5password_utf" />
    <span>Not a Member?
          <a href="http://animeclouds.com/forums/register.php" rel="nofollow">Register An Account</a> -
          <a href="/forums/login.php?do=lostpw" rel="nofollow">Password Reminder</a>
    
    </span>
    </form>
    
    Code (markup):

     
    Ssj2GohanTeen, Mar 20, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    go find the normal login form in templates, there should(?/note: i haven't used vB in years) be some kind of if-statement to check if authenticated saying welcome i think
     
    krsix, Mar 20, 2010 IP
  3. Ssj2GohanTeen

    Ssj2GohanTeen Member

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Yea i guess so but i couldnt find it earlier :S Ill try again but if anyone can help me in the meanwhile, please tell me :)
     
    Ssj2GohanTeen, Mar 21, 2010 IP