Redirecting logout to different page?

Does anyone know how to redirect the logout process (logout.php) to a page other than the home page when the Logout button is clicked?

Would like to redirect to the Join page in certain circumstances, but haven't found an obvious way to do this.

 

Thanks in advance!

Quote · 27 Oct 2019

This is the line that handles going to the front page:

$_page_cont[$_ni]['url_relocate'] = $site['url'];

 

$site['url'] is set in the /inc/header.inc.php file that is loaded at the top of the logout.php file.

 

You said in "certain circumstances;"  therefore, you would check to see if that circumstance has been met and then add join.php to the end of the $site['url'].

 

Geeks, making the world a better place
Quote · 27 Oct 2019

This was my guess, but wasn't sure where $site['url'] was set.

 

Many thanks!

Quote · 27 Oct 2019

 

This was my guess, but wasn't sure where $site['url'] was set.

 

Many thanks!

You would not change the setting for $site['url']; leave it set as is in the /inc/header.inc.php as it is needed for other areas of the site.  You would simply append to $site['url'] in your if-then statement checking for the circumstance.

Geeks, making the world a better place
Quote · 29 Oct 2019

It would also be good if you elaborate on what those "certain circumstances" are.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 6 Nov 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.