Quote:
Originally posted by FireFly
It's possible to limit this hack to admins, yes.
Replace this:
Code:
$replacewords=array(0 => "$bbuserinfo[username]<!-- auto name hack -->");
with this:
Code:
$replacewords=array(0 => iif($bbuserinfo['usergroupid']==6,"$bbuserinfo[username]<!-- auto name hack -->",'{bbusername}'));
|
i tried this, but now the joke works only for admins, they see their username instead of {bbusername }.
all other users now see the variable instead of their usernames?
is there a possibility to limit the posting of replacements only to special usergroups?
LaNder