Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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!
 



 
nosSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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));

 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Logout Redirect To Portal... 
 
Now redirect to Portal

More thanks spydie
 



 
nosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Logout Redirect To Portal... 
 
You´re welcome.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] User Logout Redirect To Portal... 
 
This code doesn't also redirect while LOGIN in ? Or I am mistaking ? :p
 



 
YrosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron