![]() |
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. |
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. |
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|