2005-10-29, 04:35 PM
In functions.php, the following code is used to check wether to show a New PM Popup or not:
Where is loadpmpopup set? I can't find it in the files I've checked, and I want to inform users if they have a new PM as they visit the root of my site, without having to goto the forum to check.
Any help woiuld be great
if($loadpmpopup)
{
if(substr($PHP_SELF, -strlen("private.php")) != "private.php")
{
$contents = str_replace("<body", "<body onload=\"Javascript:newPM()\"", $contents);
}
}
Where is loadpmpopup set? I can't find it in the files I've checked, and I want to inform users if they have a new PM as they visit the root of my site, without having to goto the forum to check.
Any help woiuld be great