![]() |
Redirection after logout
I was wondering if there was a way of redirecting the user to the previous page automatically after logging out of the forum? At the moment there is text that says, "All cookies cleared" and then it's up to the user to click on "Return to previous page". I would like this to happen automatically.
Many thanks in advance. |
Quote:
Create a hook and choose logout_process as the hook name. And at the php code add this code: PHP Code:
|
How do i create a hook, sorry I'm a bit of a novice.
|
Quote:
At the plugin Manager section in your Acp. |
Brilliant, that worked a charm :D
|
Quote:
|
All times are GMT. The time now is 09:28 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:
|