Sub Menu
Links Menu
Online Users

In total there are 318 users online :: 3 registered, 0 hidden and 315 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

[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 5: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 4:00 pm, edited 1 time in total.

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

Return to Hints and Tips

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron