The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Login on home page is not redirecting...
I have created a login form on a non-vb page. It logs you in ok, but is not redirecting to the forum. It only sends you right back to the login age. I took the code directly from my board source. Can anyone tell me what I need to change in order to make it redirect to the board?
Here is the login page... http://www.womens-health.com/index2.php And here is the board... http://womens-health.com/boards Thanks! |
#2
|
||||
|
||||
without seeing the code, i'm not totally sure. but i know you can specify the location you're sent to when you login via a plugin.
|
#3
|
||||
|
||||
Code:
<!-- login form --> <form action="http://www.womens-health.com/boards/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)"> <script type="text/javascript" src="<A href="http://www.womens-health.com/boards/clientscript/vbulletin_md5.js"></script">http://www.womens-health.com/boards/clientscript/vbulletin_md5.js"></script> <table width="72%" cellspacing="3" cellpadding="0"> <tr> <td nowrap="nowrap"><span class="smallfont">User Name</span></td> <tr> <td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="20" type="text" /></td> </tr> <tr> <td><span class="smallfont">Password</span></td> </tr> <tr> <td><input class="bginput" name="vb_login_password" size="20" type="password" /></td> </tr> <tr> <td nowrap="nowrap"><span class="smallfont"> <input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" /> Remember Me?</span></td> </tr> <tr> <td><input name="submit" type="submit" class="button" value="Log in" /></td> </tr> <tr> <td align="center" rowspan="2" width="100%"><font size="3" face="Arial, Helvetica, sans-serif">Not a member yet?<br /> <a href="<A href="http://www.womens-health.com/boards/register.php">Register">http://www.womens-health.com/boards/register.php">Register Now!</a></font></td> </tr> </table> <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" /> </form> <!-- / login form --> |
#4
|
|||
|
|||
This post could help!
Code:
<form action="http://www.yoursite.com/forums/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <script type="text/javascript" src="http://www.yoursite.com/forums/clientscript/vbulletin_md5.js"></script> Username: <input type="text" name="vb_login_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /><br /> <label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser" 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="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login" accesskey="s" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> <input type="hidden" name="url" value="http://www.foobar.com" /> </form> Hope this helped. |
#5
|
||||
|
||||
That absolutely did the trick!! Works great! :banana: THANK YOU SO MUCH!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|