The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hello everyone! I've been using vb for quite a while but am only now attempting to integrate the log in screen on an outside .php home page. In other words, I want people to have the ability to log in to my site (www.trancesessions.com) and be able to see every page (including the forum) as a member.
I was able to set up the username/pw log in screen on the home page (www.trancesessions.com). But I have two problems. One, once the member logs in successfully, it takes that member directly to the forum (which is ok and I know how to change where it routes them to). What I would like to do is make it so that once the person logs in, they are taken back to the same page but instead of seeing the username/pw boxes, they'll see a welcome 'username' area that is similar to the welcome message you get when you log in directly to the forum. Does anyone have any idea how to do this or what code I can use to achieve this? I'm sorry if I did a bad job of explaining it and will elaborate to the best of my ability if you have any questions. Thank you for any help!!! PS. This is currently the code I have on the home page for the log in screen: Code:
<!-- login form --> <form action="forums/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <div align="left"> <script type="text/javascript" src="forums/clientscript/vbulletin_md5.js"></script> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> Username: <br> <input type="text" class="button" name="vb_login_username" id="navbar_username" size="20" accesskey="u" tabindex="1" onFocus="if (this.value == 'Username') this.value = '';" /> <br /> Password: </font> <br> <input type="password" class="button" name="vb_login_password" size="20" accesskey="p" tabindex="2" /> <input type="submit" class="button" value="Login" tabindex="4" title="" accesskey="s"/> </div> <div align="left"> <input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" /> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> Remember Me </font> </label> </div> <br> <div align="left"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> Not a member? <a href="http://www.trancesessions.com/forums/register.php">Register Here</a> </font> </div> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="forceredirect" value="1" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> <input type="hidden" name="url" value="http://www.trancesessions.com/forums" /> </div> </form> <!-- / login form --> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|