News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Last edited by

Started by techguy, January 08, 2013, 11:57:41 AM

Previous topic - Next topic

techguy

Whenever a user edits his own post, there is a comment made for the same.
How can I disable it so that only admins and mod can see the edit info

Hj Ahmad Rasyid Hj Ismail

If I'm not mistaken, you can only disable or enable it. To allow admin and mod to see it IMO you need a mod. It should be simple and straight forward but will require some efforts. I will revisit later when I'm a bit freer and see what I can do.

Kays

Have you searched the Mod Site? There are a number of mods which change the behaviour of the last edit display


Otherwise, in Display.template.php, look for the following:


// Show "� Last Edit: Time by Person �" if this post was edited.
if ($settings['show_modify'] && !empty($message['modified']['name']))


And change the second line to:


if ($settings['show_modify'] && !empty($message['modified']['name']) && allowedTo(moderate_board))

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: