PDA

View Full Version : HTML Allowed in sig for certain user/groups only hack please ?


Ee-Ore
11-16-2003, 03:42 PM
Howdy,

Im looking for a way to have HTML in sigs disabled for everyone except myself really, but I imagine it would be easier to create this for any specified user or group.

Doesnt sound too hard - i think !

Thanks to anyone who attempts it ;)

Ee-Ore

Ee-Ore
11-16-2003, 03:59 PM
Typical - I sorted it myself !

In file admin/functions.php

Find..

$post[signature]=bbcodeparse($post[signature],0,$allowsmilies);

Replace With..

if ($post[usergroupid]==6) {
$post[signature]=bbcodeparse2($post[signature],1,1,1,1);
} else {
$post[signature]=bbcodeparse($post[signature],0,$allowsmilies);
}

;)