i think it'll be doable, too
add another field to user table called is isallowedimgsig
in your admin/user.php do the same changes as you've done for allow sigs in general, just replace all isallowedsig with isallowedimgsig
then open member.php find:
PHP Code:
// check max images
if ($maximages!=0) {
$parsedsig=bbcodeparse($signature,0,$allowsmilies);
if (countchar($parsedsig,"<img")>$maximages) {
eval("standarderror(\"".gettemplate("error_toomanyimages")."\");");
exit;
}
}
and replace it with:
PHP Code:
// check max images
if ($maximages!=0) {
$parsedsig=bbcodeparse($signature,0,$allowsmilies);
if (countchar($parsedsig,"<img")>$maximages or (countchar($parsedsig,"<img")>0 and !$bbuserinfo[isallowedimgsig])) {
eval("standarderror(\"".gettemplate("error_toomanyimages")."\");");
exit;
}
}
i think it should do all