Log in

View Full Version : Modification of CSS Sig Enforcer


Kungfu
05-09-2006, 03:35 AM
Ok i tried to do it myself but i dont know how.

https://vborg.vbsupport.ru/showthread.php?t=110401&highlight=CSS+Signature+Size+Enforcer

I want to add it so that at least a usergroup is excluded from the signature being resized.

I tried to add in the postbit_complete one and parse_templates.

$ignore_groups = split(',', $vbulletin->options['siggroupexception']);

if(!is_member_of($vbulletin->userinfo, $ignore_groups) )
{
sigcode here
}

Anyone know what how i would go about doing this.

siggroupexception is a new option

<setting varname="siggroupexception" displayorder="30">
<datatype>free</datatype>
<defaultvalue>5,6,7</defaultvalue>
</setting>

I put that in.

If anyone could help that be great. Thanks.

Kungfu
05-10-2006, 07:10 PM
anyone?