UBB.Dev
Posted By: JoshPet [6.x] Force "Edited By" on All Posts - 10/06/2002 5:13 AM
Quickie I wrote for someone at Infopop Community. Will post it here in case anyone else is ever looking for it.... like to contribute to the library.

This hack will no longer give users the option to turn off the "edited by" tag when they edit their post. All edited posts will bear this "edited by" tag.

In editpost.php find this:
code:

if ( $Username == $Postedby ) {
$markeditselect = "<br /><br /><input type="checkbox" value="1" name="markedit" checked class="formboxes" />
{$ubbt_lang['MARK_EDIT']}";
}
else {
$markeditselect = "<input type="hidden" value="1" name="markedit" class="formboxes" />";
}



and change to this:
code:

$markeditselect = "<input type="hidden" value="1" name="markedit" class="formboxes" />";




That's it.
Posted By: JJS Re: [6.x] Force "Edited By" on All Posts - 10/12/2002 12:37 PM
Nice hack Josh. I really liked that feature in UBB Classic.

However, because Threads allows you to time limit edits I like that type of functionality even better.

[:"red"] AthenaLink's Talkback Forums[/]
© UBB.Developers