Just so you know: instead of using this:
Code:
$max_height = $DB_site->query_first("SELECT value FROM setting where varname=\"maxsigheight\"");
$max_width = $DB_site->query_first("SELECT value FROM setting where varname=\"maxsigwidth\"");
You can just use $maxsigwidth and $maxsigheight (globalize them in the function). BUT, you MUST Submit the vBulletin Options page in the Admin CP for this to work.
Anyway, I'll probably install this here later, looks good.