Page 1 of 1

Change post "last modified"?

Posted: Thu Aug 15, 2019 7:53 am
by Exabot
How to change (change, delete, etc) individually (per user) post "last modified"?
Or there is an extension for that?

Re: Change post "last modified"?

Posted: Thu Aug 15, 2019 11:12 pm
by kinerity
I'm not understanding exactly what you're asking. Are you talking about the edit reason? Change to what?

Re: Change post "last modified"?

Posted: Fri Aug 16, 2019 5:29 am
by Exabot
Remove the reason for the change individually.
Example(how remove this):
Example.JPG
Example.JPG (11.5 KiB) Viewed 291 times

Re: Change post "last modified"?

Posted: Fri Aug 16, 2019 6:34 am
by warmweer
Exabot wrote:
Fri Aug 16, 2019 5:29 am
Remove the reason for the change individually.
Example(how remove this): Example.JPG
You're showing that the post has been edited, but no reason is shown.

in viewtopic_body.html

Code: Select all

<!-- ELSEIF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
				<div class="notice">
					{postrow.EDITED_MESSAGE}
					<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
				</div>
Editing the postrow.EDIT_REASON part can do that for all users, but if you want to select specific users, you'll need an extra field somewhere, defining show edit reason yes or no per user or per post (per forum perhaps).
There are a number of permutations also, mask the reason for all users, for moderators, for the admin? Do you want to keep the reason? If not perhaps not storing edit reasons and times is the most simple way. What about the number of time a post has been edited?

Some things can be achieved in a very simple way with few edits but depending on the features you want it can become quite complicated.
Before anyone can start on an extension, they'll need more details.