The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi. How can I put a forum login field on my website? I tried it, and it semi-worked. When the user logs in though, they go right back to where they came from which would be my website - I want them to land on the index page of the forum. How can I do this?
Thanks. I suppose it would be cloaking or hiding the referral from going into the header of the login.php file somehow I need to accomplish this with my login field. |
#2
|
||||
|
||||
![]()
In the login-form there are two hidden fields called 'url' and 'forceredirect'. Have you tried editing those?
|
#3
|
|||
|
|||
![]() Quote:
Code:
<form action="forum/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)"> <input name="vb_login_username" class="login" type="text" value="Username" /> <input name="vb_login_password" class="login" type="password" value="Password" /> <input type="submit" value="Login!" class="loginbox" /> <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> |
#4
|
||||
|
||||
![]()
Add these fields to your form:
<input type="hidden" name="forceredirect" value="1" /> <input type="hidden" name="url" value="http://www.google.com" /> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|