MyBB Hacks

Full Version: OUGC Max Sign Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a plugin "review" requested by Sama34.

A very simple plugin that merely re-uses MyBB's functionality, applying it to different groups, and it's made pretty much how I'd do it.

Probably the only things I'd mention:
  • I would've liked an intval of sorts here, although it's the ACP, and probably not that necessary

    PHP Code:
    	$updated_group = array_merge($updated_group, array("maxsigimages" => intval($mybb->input['maxsigimages'])));

  • It probably should be mentioned in the description that setting a value of -1 implies "unlimited" images allowed in the signature.
Thanks, I added the intval() there so it could be more secure, although yes, since they are in the ACP, they can do more damage from anywhere else that trow this field.

Once more, thanks for the review.
Reference URL's