miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Redirecting the logout to the custom page

Author bizniz01
Registered
#1 | Posted: 6 Mar 2005 04:28 
When people logout of my site I want them to be redirected back to the homepage. How can I do that?

Author Team
8-)
#2 | Posted: 7 Mar 2005 10:32 
index.php

if(isset($_GET['mode']) and $_GET['mode']=='logout') {...

replace "Location: {$main_url}/{$indexphp}" to your desired URL.

Author bizniz01
Registered
#3 | Posted: 11 Mar 2005 17:24 
I changed the line. However by doing that now the logout is redirected to a new page but does not log you out of the forum.

I wanted to log out of the forum and redirect to a new page.

Author Team
8-)
#4 | Posted: 11 Mar 2005 17:34 
Of course, you need to delete cookie correctly. See bb_cookie.php - deleteMyCookie()

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / Redirecting the logout to the custom page Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB