i would like to stop the relocation to the profile window when a user logs in. the user should simply remain on the page where he was when he pressed the login button. now i have this working for almost all windows by editing the file join.php.
i removed the line:
$aFormReplace['relocate_url'] = $_SERVER['PHP_SELF'];
now the only page that still does relocation is the homepage itself.
I have been looking at this for hours, but cant find the code that does this. Is there anybody that can give me a hint on this?

