[TIP] Login Redirect to PCP

If you have any helpful hints and/or tips in the use of IntegraMOD, you can post it here to help other members of the IntegraMOD community.

Moderator: Integra Moderator

[TIP] Login Redirect to PCP

PostAuthor: richiebgood » Tue Jan 22, 2008 6:57 am

I wanted to change the site so people would be taken to their Profile Control Panel once they log on, but I wanted them to return to the portal page when they log out. So merly changing all the 7 instances of 'portal' in login.php to profile would not work. So here is what i did.

1. Open Login.php

2. Find: line 327 for me

[code]#======================================================================= |                           $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) ]

3. Find 'portal' and replace with profile.

4. Save and upload.
Last edited by richiebgood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Sr Integra Member
Sr Integra Member
Posts: 329
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Return to Hints and Tips

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Helter, Vendethiel