Firefox PHP

No "edited x times at..." at the end of message?

Posted by yankin 
No "edited x times at..." at the end of message?
July 18, 2005 09:02PM
Hello!

I am using Phorum 5.0.16 and I have a question. Every time a user edits a message the message receives a mark at the end saying how many times it was edited and at what time. Is there any way to get rid of this mark?
Re: No "edited x times at..." at the end of message?
July 18, 2005 10:16PM
that can't be a simple mod IMO, its added directly in the read.php around lines 327 ...
// add the edited-message to a post if its edited
if(isset($row['meta']['edit_count']) && $row['meta']['edit_count'] > 0) {
$editmessage = str_replace ("%count%", $row['meta']['edit_count'], $PHORUM["DATA"]["LANG"]["EditedMessage"]);
$editmessage = str_replace ("%lastedit%", phorum_date($PHORUM["short_date"],$row['meta']['edit_date']), $editmessage);
$editmessage = str_replace ("%lastuser%", $row['meta']['edit_username'], $editmessage);
$row["body"].="\n\n\n\n$editmessage";
}


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: No "edited x times at..." at the end of message?
July 19, 2005 08:45AM
Thanks, Thomas! It worked.
Sorry, only registered users may post in this forum.

Click here to login