![]() |
Login Box integrated....
Hey guys, I have the following code on my sites homepage so that they can log directly into the forum itself. It works fine, except when you enter your username and password, it logs you in, but then redirects to the site homepage again. What in the code do I need to change to make it go to the form after a user logs in? Thanks Here's the code:- Code:
Code:
Could someone please help me with this? *bump* Could someone assist please? |
someone please.........
|
login.php will always redirect back to the page it was called from. I don't think there is a way to go to another page, but i might be wrong.
What is so bad about being returned to the homepage, that would for most people be the expected behaviour. |
There's gotta be someway of doing it.
What is the actual line of the code that makes it redirect to the originating page? |
You might get away with adding a conditional to login.php that states If (user = logged in) then (meta redirect to wherever).
|
Thanks everyone for the support but I've got the problem fixed now.
This thread may as well be closed. |
How did you fix it?
|
Id love to know too
|
All times are GMT. The time now is 07:03 PM. |
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:
|