The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Please help, Redirect after login from non VB page.
I would like to put a VB login form on a non VB page. I know how to do this, 'but' I would like it to redirect them back to the page they where one, after they are logged in.
So it I had a page www.foo.com/test.html with a VB form to login. I would like it to redirect them back to test.html after they are logged in. I could create a hidden input field called "redirect_url" so it gets posted to member.php when they try to login, but im not sure how to do the redirect code member.php. |
#2
|
||||
|
||||
A far quicker way if this hasn't been done already is to copy the login code from member.php into another file login.php and then change the URL to match the page you want to be redirected to.
I have done this for vBindex v2.x, I can PM you the file if you like, I can't post it here for copyright reasons. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|