SOLVED User Logout Redirect To Portal...


Subject: User Logout Redirect To Portal...
When a user logout, why it redirects to the Forum and not the Portal?.

Can change for redirect to Portal?.


Thanks! ;)

Profile PM  
Subject: Re: User Logout Redirect To Portal...
open login_ip.php

find
Code: [Download] [Hide] [Select]
$redirect_url = ($redirect_url == '') ? FORUM_MG : $redirect_url;
redirect(append_sid($redirect_url, true));
}
else
{
$redirect_url = ($redirect_url == '') ? FORUM_MG : $redirect_url;
redirect(append_sid($redirect_url, true));


Replace with
Code: [Download] [Hide] [Select]
$redirect_url = ($redirect_url == '') ? PORTAL_MG : $redirect_url;
redirect(append_sid($redirect_url, true));
}
else
{
$redirect_url = ($redirect_url == '') ? PORTAL_MG : $redirect_url;
redirect(append_sid($redirect_url, true));

Subject: Re: User Logout Redirect To Portal...
Now redirect to Portal :)

More thanks spydie ;)

Profile PM  
Subject: Re: User Logout Redirect To Portal...
You´re welcome.

Subject: Re: [SOLVED] User Logout Redirect To Portal...
This code doesn't also redirect while LOGIN in ? Or I am mistaking ? :p

Subject: Re: [SOLVED] User Logout Redirect To Portal...
the login part is a bit higher in the same file.

there´s an if and an else if just in top of this part. wan´t redirect on login, i think


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6466s (PHP: 3% SQL: 97%)
SQL queries: 31 - Debug Off - GZIP Enabled