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.