The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I redirect to specific URL after logout?
I've read several other threads about how to redirect after logout to a specific URL, but none of them seem to work for me.
I want to be able to direct my paid members to my public homepage after logging out of the forum. I'm assuming I need to add/change something in login.php, but what do I do? I have vBulletin 3.8.3. I should add that I'm using the integration plugin for aMember as well. When I click logout on my forum, it currently redirects to the aMember login screen. |
#2
|
|||
|
|||
bump
|
#3
|
||||
|
||||
Quote:
For Hook Location choose: logout_process For Title enter whatever name you want Execution Order leave it to 5 And where it says: Plugin PHP Code enter this code: PHP Code:
Code:
http://www.logoutredirecturl.com And as last but not least, set to Yes the Plugin is Active option. |
#4
|
|||
|
|||
Works perfect, thanx!
|
#5
|
|||
|
|||
Awesome thank you very much. Was a big help. I was trying to edit a file that never worked. Thanks again.
|
#6
|
||||
|
||||
You are both welcome
|
#7
|
|||
|
|||
I added this plugin, set to active and added the necessary domain to the whitelist. I still get an invalid redirect.
Invalid Redirect URL (http://www.augi.com/forum/logout) Trying to get vbulletin to run normal logout then redirect to a site logout page. Is there anything wrong with the link shown? I've got the following in the whitelist? http://www.augi.com http://augi.com Should I add the logout link? Thanks, |
#8
|
|||
|
|||
Add the domain you're redirecting to the whitelist. If that doesn't work, add the full link.
|
#9
|
||||
|
||||
Quote:
PERFECT! Thanks, Alex |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|