Login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gursimran
    Member
    • Jun 2008
    • 97
    • 4.0.x

    Login

    Hello, I recently bought vbulletin and I am currently testing it on my localhost. The board on which I am going to install it is phpbb3.... which is installed in /forum folder. I have wordpress installed on my homepage. In phpbb3 it was easy to display login in the home page... It was a login forum when user is not logged in.....and after loggin in.... It displayed Welcome "Username" | Logout, user avatar etc etc.

    and Now I am having big trouble to find that piece of php code to do that in vbulletin.

    Please help me!
  • Gursimran
    Member
    • Jun 2008
    • 97
    • 4.0.x

    #2
    I am currently using this code to display login. but it does not fetch the username and any other information after logging in.
    Code:
    <!-- login form -->
            <form action="/vb/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=364"></script>
            <table cellpadding="0" cellspacing="3" border="0">
            <tr>
                <td class="smallfont"><label for="navbar_username">User Name</label></td>
                <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
                <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?</label></td>
            </tr>
            <tr>
                <td class="smallfont"><label for="navbar_password">Password</label></td>
                <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                <td><input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td>
            </tr>
            </table>
            <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" />
            </form>
            <!-- / login form -->
    please help me.
    Thanks in advance

    Comment

    • peterska2
      Senior Member
      • Oct 2003
      • 8869
      • 3.7.x

      #3
      What version of vBulletin are you running?

      Comment

      • Gursimran
        Member
        • Jun 2008
        • 97
        • 4.0.x

        #4
        I am using 3.7.2
        Last edited by Gursimran; Sun 6 Jul '08, 1:42am.

        Comment

        • peterska2
          Senior Member
          • Oct 2003
          • 8869
          • 3.7.x

          #5
          I'm sorry but we do not provide official support for custom coding. However you can try asking for this kind of help over at the vB mod site: http://www.vbulletin.org/forum/

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...