Quote:
Originally posted by inetd
When i not logged to board, i see near other Guest gif from buddy... How fix?
|
instead of the code I use in post12, you could put another check into the if-clause, checking for an empty userid ...
PHP Code:
$buddy_list = " ".$bbuserinfo[buddylist]." ";
$singlebuddy= " ".$userinfo[userid]." ";
if (stristr($buddy_list, $singlebuddy) and trim($singlebuddy!="")) {
$userinfo[username] = "? $userinfo[username]";
}
copy and paste over the old code, tell me if it works !
thx