Edit with Reason
1.0
This mod allows users to enter a reason when they edit their posts. The reason will show up in the 'last edited' area at the bottom of the message. There is also an admin option to change it so that only admins and mods can enter a reason for editing a post.
MADD Hatter
http://www.ghostcdr.com
Sources\Admin.pl
if ($enable_ubbc) { $ubbcchecked = ' checked'; }
if ($adminedit) { $admineditchecked = ' checked'; }
$txt{'521'}
$edittxt{'01'}
# Set as 0 or 1 if box was checked or not
push(@onoff, "adminedit");
# If empty fields are submitted, set them to default-values to save yabb from crashing
$adminedit = $FORM{'adminedit'} || 0;
\$enable_ubbc = $enable_ubbc; # Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code)
\$adminedit = $adminedit; # Set to 1 if you only want admins to be able to enter a reason for editing
Sources\ModifyMessage.pl