Guys,
Here is my hack for UBB threads 7.0 This mod gives the admin the option of the radio button to edit ANY message and tick off the 'edited by'. It can easily be scripted to allow mods to do this as well.
Enjoy!
MOD START
*****
Admin No Edit hack mod 1.0 - UBB 7 beta 2
by aus-city
http://www.aus-city.com/ubbthreads/ubbthreads.phpfiles modified (1): /scripts/editpost.inc.php
Find:
// Signature added to this post?
$addsigcheck = "";
if ($addsig) {
$addsigcheck = "checked = \"checked\"";
}
$iconselect = $html -> icon_select($Icon);
if ( $user['USER_ID'] == $Postedby ) {
$markeditselect = "<input type=\"checkbox\" value=\"1\" name=\"markedit\" checked=\"checked\" class=\"form-checkbox\" /> {$ubbt_lang['MARK_EDIT']}
";
Replace with:
// Signature added to this post?
$addsigcheck = "";
if ($addsig) {
$addsigcheck = "checked = \"checked\"";
}
$iconselect = $html -> icon_select($Icon);
if ( $user['USER_ID'] == $Postedby || $user['USER_MEMBERSHIP_LEVEL'] == "Administrator") {
$markeditselect = "<input type=\"checkbox\" value=\"1\" name=\"markedit\" checked=\"checked\" class=\"form-checkbox\" /> {$ubbt_lang['MARK_EDIT']}
";