The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Log into a non vb page?
Okay, I know the coding that is required to put onto my website for forum login however the below code, (When logged in) you don't stay logged in.. So I am wondering if anyone knows or can help me out trying to make it save the session..
Code:
<!-- login form --> <form action="forum/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <script type="text/javascript" src="forum/clientscript/vbulletin_md5.js"></script> Username: <input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="Username" onfocus="if (this.value == 'Username') this.value = '';" /> <input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me</label><br /> Password: <input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /> <input type="submit" class="button" value="Login" tabindex="4" title="" accesskey="s" /> <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.yoursite.com/" /> </form> <!-- / login form --> |
#2
|
|||
|
|||
PHP Code:
PHP Code:
PHP Code:
SQL.PHP: PHP Code:
On logout: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|