News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Hide Mod Edit

Started by Dr. Jones, September 27, 2007, 05:55:31 PM

Previous topic - Next topic

Dr. Jones

Link to Mod

Doesn't add (or update) an "Edited By" line when an admin or moderator edits a post.

Previous admin/moderator edits will retain their "Edited By" line.  If an admin/mod edits a post that already has an "Edited By" line, the line will be left alone (it won't update to reflect the admin edit, nor will it be removed from the post - whoever previously edited it will still be shown as having last edited it).

This mod is not retroactive - any posts that have already been edited by a mod or admin will retain the "Edited By" line showing the admin edit.

Version 1.0
  - Actually a re-release of a previously rejected mod
  - Cleaned up code and documentation from the old version
  - Support for SMF v1.1.3 added, support for older versions removed

Rhadamanthus

#1
Is there any chance of you updating this for 1.1.4? I've installed the mod successfully, but it continues to show any new edits I make.

Edit: It seems it doesn't work if you make your edit using the Inline Edit option.

L.G.S

#2
Quote from: Rhadamanthus on October 04, 2007, 04:39:31 AM
Edit: It seems it doesn't work if you make your edit using the Inline Edit option.

This is a must have feature or this mod is practically useless...

And I'm on 1.1.3 and it doesn't work in inline OR normal edit.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


ssnickerer

Quote from: L.G.S on October 05, 2007, 03:52:41 PM
And I'm on 1.1.3 and it doesn't work in inline OR normal edit.

Same result here!

Heartlander

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Newest download available, for me.

yllas

I get the same message as above

Trinny

Quote from: Dr. Jones on September 27, 2007, 05:55:31 PM
Link to Mod

Doesn't add (or update) an "Edited By" line when an admin or moderator edits a post.

Previous admin/moderator edits will retain their "Edited By" line.  If an admin/mod edits a post that already has an "Edited By" line, the line will be left alone (it won't update to reflect the admin edit, nor will it be removed from the post - whoever previously edited it will still be shown as having last edited it).

This mod is not retroactive - any posts that have already been edited by a mod or admin will retain the "Edited By" line showing the admin edit.

Version 1.0
  - Actually a re-release of a previously rejected mod
  - Cleaned up code and documentation from the old version
  - Support for SMF v1.1.3 added, support for older versions removed

Hey doc, this mod looks like a treat, but we need it to work for 1.1.4 hows about an update please?

yllas

I've since done this via the tips and trick section. I had to do it manually, but found lots of help there :) thanks

pinkfreak

Has some one updated it to work for the 1.1.4 version yet?
Thanks

dream1

To use this for 1.1.4 you can do a simple & quick edit of the Post.php yourself.

Go to your installation directory & then to sources directory so should be something like 'SMF>Sources'.
Find the Post.php file, make a backup of it (just in case) and then open the Post.php in editor

Amongst all the jumble find... (its easier if you copy and paste the code into your favourite html editor and use the find tool)
// Have admins allowed people to hide their screwups?
if (time() - $row['posterTime'] > $modSettings['edit_wait_time'] || $ID_MEMBER != $row['ID_MEMBER'])
{
$msgOptions['modify_time'] = time();
$msgOptions['modify_name'] = addslashes($user_info['name']);
}


And replace it with...
// Have admins allowed people to hide their screwups?
if ((time() - $row['posterTime'] > $modSettings['edit_wait_time'] || $ID_MEMBER != $row['ID_MEMBER'])
    && (!in_array('moderate_board',$user_info['permissions']) && !$user_info['is_admin']))
{
$msgOptions['modify_time'] = time();
$msgOptions['modify_name'] = addslashes($user_info['name']);
}


Easy huh

Lord_Novice

What about hiding the message at inline editing as well?
Thanks.
Não subestime os Superaprendizes

Pocket Heroes recruta Superaprendizes

Matthew Schenker

I'd like to install this mod, but I am getting this error in 1.1.4:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

How do I get this to install?

Thanks,
Matt

forummaker

#12
I'd like to use this mod too. I'm getting the same error as Matt. Any help would be great. Thanks. I've updated to 1.1.5, I wonder if this can be changed just as the same as 1.1.4, as dream1 indicated? I think I'll look into it.

Matt, looked at your site, had to laugh, not another dog site(kidding). lol Great, love it!

Yep, that did it. Thanks dream1, your instructions worked perfectly. Again, just to remind everyone, your currently edited posts will still display the edited info. Any new edits will not show as being edited.

ccbtimewiz

Here is a compatible version of this mod for 1.1.5.

forummaker

Made a change. Used the comp version for 1.1.5. Worked no problem, thanks ccbtimewiz

Matthew Schenker

Hi,
I upgraded ny forum to 1.1.5, and installed the new version of this mod.  Now it works!
Great mod!
Thanks,
Matt

cloudy.de

Hi!

When I try to download the mod for the 1.1.5 version I get the following message:

QuoteAn Error Has Occurred!
Sorry, but this modification does not appear to be compatible with the selected version.


What am I doing wrong? Or what can I do to get the mod for 1.1.5?

ccbtimewiz

Well, are you using SMF 1.1.5?  :P

cloudy.de


ccbtimewiz

What modifications do you have installed already? Also, do you have any errors in the error log?

Advertisement: