Quote:
Originally posted by traekwon
Is there anyway to make it so when the user quotes your post it doesn't show up as [you]?
I believe in FireFly's /me hack when you quoted a post it didn't come up as /me.
|
Simple fix.
In the newreply.php, find:
PHP Code:
eval("\$message = \"".gettemplate("quotereply",1,0)."\";");
and ABOVE it add:
PHP Code:
if ($bbuserinfo[userid]>0 and $bbuserinfo[usergroupid]!=6) {
$pagetext = trim(preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $pagetext));
} else if ($bbuserinfo[usergroupid]!=6) {
$pagetext = trim(preg_replace("/(\[)(you)(])/siU", "you", $pagetext));
}
I did it this way so the Admin could still see it as [you] in case there was ever any question about it.