![]() |
Redirect after LOGIN from custom page
I have a custom PHP page that checks to see if user is logged in before they can perform a function.
If not logged in the login windows appears in an overlay window Then the user logs in BUT... they are redirected to their control panel What do i have to send the LOGIN form so it remember to redirect back to the custom page that was requesting the login details? |
Quote:
I don't understand the need for this extra verification. |
i am using vb3.8...
Sorry i am not the actual programmer for the custom page... what token should the custom PHP page have in order to send the proper information to the login form so it redirects? Quote:
|
It sounds like the "custom page" is superfluous, unnecessary.. I still don't understand why it is necessary.
|
Is your custom page in the same directory as your forum (where global.php is)? If so, you should be able to call print_no_permission() if they aren't logged in and it should redirect back to your custom page after login. For instance, this test program works:
Code:
<?php |
All times are GMT. The time now is 04:15 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:
|