It give the admin and the mod the ability to not to show edit by when the edit a post
I am not sour if any body has post this before sorry if they did
This is a small hack all you need is to hack to file
In ubb_edit_post.cgi
Find
code:
$close_option = qq(
<input type="checkbox" id="close_topic" name="close_topic" value="yes" /> <b>$vars_wordlets{close_topic}</b>);
replace it by
code:
[qb]$close_option = qq(
<input type="checkbox" id="close_topic" name="close_topic" value="yes" /> <b>$vars_wordlets{close_topic}</b>
<input type="checkbox" id="show_edit" name="show_edit" value="yes" /> <b>$vars_wordlets_mods{show_edit}</b>);
[/qb]
search for
code:
if ($vars_misc{EditWording} eq 'yes') {
replace it by
code:
[qb] my $is_one = &is_admin_or_mod($in{f}, @user_profile);
if ($is_one ne "true"){ $in{show_edit}= 'no';}
if (($vars_misc{EditWording} eq 'yes')&&($in{show_edit}ne 'yes')) {
[/qb]
in vars_wordlets_mods.cgi
after
code:
add
code:
[qb] q!show_edit! => q! Do not show edit by!,
[/qb]
or
'show_edit' => 'Do not show edit by',
depending on your var format