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: 169
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Change post "last modified"?

Post by Exabot » Thu Aug 15, 2019 7:53 am

How to change (change, delete, etc) individually (per user) post "last modified"?
Or there is an extension for that?

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2330
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: Change post "last modified"?

Post by kinerity » Thu Aug 15, 2019 11:12 pm

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: 169
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: Change post "last modified"?

Post by Exabot » Fri Aug 16, 2019 5:29 am

Remove the reason for the change individually.
Example(how remove this):
Example.JPG
Example.JPG (11.5 KiB) Viewed 288 times

User avatar
warmweer
Registered User
Posts: 2640
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: Change post "last modified"?

Post by warmweer » Fri Aug 16, 2019 6:34 am

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.
My board's not broken, it just went peculiar

Post Reply

Return to “[3.2.x] Support Forum”