Or you can do a quick function in your PHP page to get the info yourself:
$gen_pm1msg = " New Message";
$gen_pmmulti = " New Messages";
$mbrfile = $ubbnotifypath . $ubbmemberid . ".cgi";
if (file_exists($mbrfile)){
$newpm = "TRUE";
$pmfile = file($mbrfile);
$numpm = $pmfile[0];
} else {
$newpm = "FALSE";
}
if ($numpm > 1)
$newpm_msg = $gen_pmmulti;
else
$newpm_msg = $gen_pm1msg;
if ($newpm == "TRUE") {
echo "<font size="1">
<a href="/cgi-bin/ultimatebb.cgi?ubb=my_profile">$numpm $newpm_msg</a></font>
";
}
That's the basics. You can adapt that to say the full "You have XX new Private Messages" or whatever you like.
That's the basic code to accomplish that.
(Yes, I know that some of the code can be cleaned up, but that's just lazyness on my part as the code does work)