[QUOTE]Originally posted by freddie
I put something in my phpinclude template like this:
if ($bbuserinfo[userid]) { // user is logged in
$pflink = linkto usercp.php
} else {
$pflink = linkto register.php
}
I then put $pflink in the header template in place of the buttons that show user cp/register. Do it this way and you don't have to edit anything when you upgrade.
|