miniBB ® 

miniBB

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

Custom logout page

 
Author realitybytes
Partaker
#1 | Posted: 11 Mar 2011 07:14 
I have managed to redirect users for registration, and passwords through the pluggins with simple redirects..

if(isset($_GET['action']) && $_GET['action'] == "registernew") {
header("Location: http://url.com/register.php");
}

if(isset($_GET['action']) && $_GET['action'] == "sendpass") {
header("Location: http://url.com/forgotpass.php");
}


however I also need the logout to redirect, the following is ignored..

if(isset($_GET['mode']) && $_GET['mode'] == "logout") {
header("Location: http://url.com/process.php");
}

Is it possible to achieve the redirection without changing the core of the functions which I have located and could do but would prefer not to.

Author Paul
Lead Developer 
#2 | Posted: 11 Mar 2011 09:18 
Logout is executing faster than any of the plugins inclusion, so most likely you may try to paste your code under setup_options.php, or bb_specials.php.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Custom logout 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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑