Change post "last modified"?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Exabot
Translator
Posts: 211
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Change post "last modified"?

Post by Exabot »

How to change (change, delete, etc) individually (per user) post "last modified"?
Or there is an extension for that?
User avatar
KaileyT
Community Team Member
Community Team Member
Posts: 2933
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: Change post "last modified"?

Post by KaileyT »

I'm not understanding exactly what you're asking. Are you talking about the edit reason? Change to what?
Kailey Truscott - Community Team
Exabot
Translator
Posts: 211
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: Change post "last modified"?

Post by Exabot »

Remove the reason for the change individually.
Example(how remove this):
Example.JPG
Example.JPG (11.5 KiB) Viewed 374 times
User avatar
warmweer
Jr. Extension Validator
Posts: 6530
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Change post "last modified"?

Post 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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
Post Reply

Return to “[3.2.x] Support Forum”