miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Redirecting the logout to the custom page

 
Author bizniz01
Partaker
#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: https://www.minibb.com/forums/{$indexphp}" to your desired URL.

Author bizniz01
Partaker
#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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑