Sub Menu
Links Menu
Online Users

In total there are 201 users online :: 1 registered, 0 hidden and 200 guests

Most users ever online was 561 on Fri Mar 20, 2020 1:13 am

Registered users: Bing [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.

We are a free and open
community, all are welcome.

Click here to Register

[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
Joined: Tue Aug 08, 2006 1:01 am
Location: Ireland

Return to Hints and Tips

Who is online

Registered users: Bing [Bot]