Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Diego Andrés on May 02, 2012, 11:29:41 AM

Title: Remove "Last Edit"
Post by: Diego Andrés on May 02, 2012, 11:29:41 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3361)


(https://smftricks.com/logos/logo.png) (https://smftricks.com/)
Free & Premium MODs for SMF

Remove Last Edit
Remove the 'Last Edit' notice from any post.
Developed by Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)
Original Developer: NanoSector (https://www.simplemachines.org/community/index.php?action=profile;u=251953)

(https://img.shields.io/github/v/release/SMFTricks/RemoveLastEdit.svg?style=flat&logo=github&color=green) (https://github.com/SMFTricks/RemoveLastEdit) (https://img.shields.io/badge/License-GPL%203.0-248049) (https://img.shields.io/badge/Hooks%20Only-Yes-6041a3) (https://img.shields.io/badge/SMF-2.1-3f73a0)

📦 Installation
It is installed as a traditional SMF MOD for SMF 2.1.x, just grab the latest release of the package and go to: Admin > Main > Package Manager > Add Packages > Package to Upload > Select File > Upload.

You can find detailed instructions and/or more documentation about the process in Package Manager - Installing a Package (https://wiki.simplemachines.org/smf/SMF2.1:Package_manager#Installing_a_Package).

🌐 Localization
(https://www.simplemachines.org/site_images/lang/english.gif) English
(https://www.simplemachines.org/site_images/lang/croatian.gif) Croatian by Branko. (https://www.simplemachines.org/community/index.php?action=profile;u=95212)
(https://www.simplemachines.org/site_images/lang/serbian.gif) Serbian (CYRILLIC and LATIN) by Branko. (https://www.simplemachines.org/community/index.php?action=profile;u=95212)
(https://www.simplemachines.org/site_images/lang/french.gif) French by alexetgus (https://www.simplemachines.org/community/index.php?action=profile;u=363570)
(https://www.simplemachines.org/site_images/lang/dutch.gif) Dutch by NanoSector (https://www.simplemachines.org/community/index.php?action=profile;u=251953)
(https://www.simplemachines.org/site_images/lang/spanish.gif) Spanish

🔨 Changelog
Review the changes and patches from the different releases/versions of the package in the Changelog (https://github.com/SMFTricks/RemoveLastEdit/blob/main/CHANGELOG.md)
Title: Re: Remove "Last Edit" mod
Post by: ApplianceJunk on May 02, 2012, 11:46:50 AM
Great idea, looks nice.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on May 02, 2012, 12:25:28 PM
Thanks! I hope it's of any use to you :)
Title: Re: Remove "Last Edit" mod
Post by: ApplianceJunk on May 02, 2012, 12:33:58 PM
I have been using a similar mod, Enable or Disable  Last Edit: by for Administrators.

But I can see were your mod would be very useful to many too.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on May 02, 2012, 12:41:57 PM
Quote from: ApplianceJunk on May 02, 2012, 12:33:58 PM
I have been using a similar mod, Enable or Disable  Last Edit: by for Administrators.

But I can see were your mod would be very useful to many too.
Yeah, I've seen that one too, but I dislike how it removes it from everything an Admin posts.
I'd rather be able to select for which posts I remove it, which is why I wrote this mod :)
Plus this allows your users to remove it from their own posts, of course if you enable the permission for them.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on June 01, 2012, 12:14:10 PM
Does anybody need extra features in this? Maybe a switch to enable/disable the "Last Edit" text? No idea if that's of any use to anyone.
Title: Re: Remove "Last Edit" mod
Post by: Matthew K. on June 01, 2012, 12:44:33 PM
Write something new and big :P Much more fun anyway, eh?
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on June 01, 2012, 12:52:01 PM
Such as?

/me is out of ideas
Title: Re: Remove "Last Edit" mod
Post by: Arantor on June 01, 2012, 01:06:25 PM
A whole world of idea... (http://www.simplemachines.org/community/index.php?board=79.0)
Title: Re: Remove "Last Edit" mod
Post by: Shambles on June 01, 2012, 01:26:43 PM
I like this mod  8)

Been playing with it for half an hour or so. The difficulty is finding posts with "Last edited by..." to test it on  :o

A useful addition for Admins when preparing an article for the front page of a portal - to get rid of the amendment history makes the article more professional.

Thanks  ;)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on June 01, 2012, 02:10:33 PM
Quote from: Shambles on June 01, 2012, 01:26:43 PM
I like this mod  8)

Been playing with it for half an hour or so. The difficulty is finding posts with "Last edited by..." to test it on  :o

A useful addition for Admins when preparing an article for the front page of a portal - to get rid of the amendment history makes the article more professional.

Thanks  ;)
I'm glad it's of any use to you :)
Good luck playing with the mod and be sure to post suggestions when you find something that can be improved/added. :)
Title: Re: Remove "Last Edit" mod
Post by: Inti31 on June 02, 2012, 05:39:46 AM
Quote from: Labradoodle-360 on June 01, 2012, 12:44:33 PM
Write something new and big :P Much more fun anyway, eh?

Quote from: Yoshi2889 on June 01, 2012, 12:52:01 PM
Such as?

/me is out of ideas
Uh, you don't need to re-invent the wheel  :laugh: - maybe you could fix/extend that mod - maybe a challenge

http://www.simplemachines.org/community/index.php?topic=375966.20

when auction is enabled it works fine, but if it is disabled, you will have a bunch of errors... - just a suggestion...
This is a mod does not exist in other versions and this would be great to offer a platform, where (my   8) ) members could sell/buy items.
I tried other mods like the shop mods - but this is just to earn virtual money for members which get "money/points" when they write a post, start a survey, ... - useless and not like this one

You can test the working auction mod in my testforum: http://inti31.cwsurf.de/smf/index.php?action=smfbay;sa=home

guests are allowed to add a new item...
use Test / 12345678 as login data to try it...

cheers inti31
Title: Re: Remove "Last Edit" mod
Post by: Shambles on June 02, 2012, 08:40:11 AM
Quote from: Inti31 on June 02, 2012, 05:39:46 AM
Uh, you don't need to re-invent the wheel  :laugh: - maybe you could fix/extend that mod - maybe a challenge

http://www.simplemachines.org/community/index.php?topic=375966.20

when auction is enabled it works fine, but if it is disabled, you will have a bunch of errors... - just a suggestion...

The older I get the more senile I seem to become, as I can't see the link between this topic and the ebay auction mod posted  ::)
Title: Re: Remove "Last Edit" mod
Post by: Arantor on June 02, 2012, 10:24:40 AM
The author of this mod wanted a fresh challenge because he was bored.
Title: Re: Remove "Last Edit" mod
Post by: Matthew K. on June 02, 2012, 12:23:34 PM
And, there are plenty of possibilities to write new cool things :)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on June 02, 2012, 02:55:38 PM
Quote from: Inti31 on June 02, 2012, 05:39:46 AM
when auction is enabled it works fine, but if it is disabled, you will have a bunch of errors... - just a suggestion...
Huh? Can you give me an example of this issue?

Quote
This is a mod does not exist in other versions and this would be great to offer a platform, where (my   8) ) members could sell/buy items.
I tried other mods like the shop mods - but this is just to earn virtual money for members which get "money/points" when they write a post, start a survey, ... - useless and not like this one

You can test the working auction mod in my testforum: http://inti31.cwsurf.de/smf/index.php?action=smfbay;sa=home

guests are allowed to add a new item...

cheers inti31
Excuse me and no offense but what does this have to do with my mod? :P

Quote from: Arantor on June 02, 2012, 10:24:40 AM
The author of this mod wanted a fresh challenge because he was bored.
What he said, though it's not that I'm "bored", more that I need something to do when I have spare time.
Title: Re: Remove "Last Edit" mod
Post by: Inti31 on June 02, 2012, 03:15:14 PM
Quote from: Yoshi2889 on June 02, 2012, 02:55:38 PMExcuse me and no offense but what does this have to do with my mod? :P

nothing, it was just a try to give you a challenge / sth. to do when you have spare time...  :laugh:

others only wrote just things like plenty of possibilities and fresh challenges (don't know what they mean exactly) - so I just gave the challenge a "name"

cheers Inti31
Title: Re: Remove "Last Edit" mod
Post by: lifeguard81 on July 01, 2012, 01:21:45 AM
Thanx for this mod :)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on July 01, 2012, 04:42:47 AM
Quote from: lifeguard81 on July 01, 2012, 01:21:45 AM
Thanx for this mod :)
No problem! Glad you like it :)
Title: Re: Remove "Last Edit" mod
Post by: tobyf on August 22, 2012, 03:32:47 PM
Quote from: Yoshi2889 on June 01, 2012, 12:14:10 PM
Does anybody need extra features in this? Maybe a switch to enable/disable the "Last Edit" text? No idea if that's of any use to anyone.

I always have a bag of ideas.

1)
Right now, I can force the admin of a board to remove the "Last Modified Time" of my posts by luring them on one a page of mine, which includes this image:

img src=".....index.php?action=unsetedittime;post=1;topic=2;uid=3"

If I get anyone with the appropriate permissions visit my website, they will automatically trigger your script and remove my modification time for me, even if I don't have permission myself.

It would be nice to prevent this. :3


2)
Add Logging, removing the modification time should be visible in the mod centre in the appropriate places.

3)
I also filed a security report on your mod, as it is possible to remove the modification time from other posts than your own, even if you don't have permission for it. It's a pretty obvious bug, looking at the source. It'd be nice if that was fixed. "Dirty hacks" as you put it in your source aren't always the best things nor cool, sometimes people want a clean solution. :3

4)
Optimize efficiency. If someone isn't allowed to do it at all, quit right away. No need to set off a SQL query. Also, you don't need to fetch "subject" from the database if you don't use it - just fetch "SELECT 1". Though, you might want to fetch id_member ...

Anyhow, I commend you for your documentation.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on August 22, 2012, 03:47:00 PM
Hey tobyf,

I need to rewrite this mod for a great deal, I'll take your suggestions into account ASAP :)

Thanks a lot for your points!
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on August 23, 2012, 09:48:50 AM
Quote from: tobyf on August 22, 2012, 03:32:47 PM
Quote from: Yoshi2889 on June 01, 2012, 12:14:10 PM
Does anybody need extra features in this? Maybe a switch to enable/disable the "Last Edit" text? No idea if that's of any use to anyone.

I always have a bag of ideas.

1)
Right now, I can force the admin of a board to remove the "Last Modified Time" of my posts by luring them on one a page of mine, which includes this image:

img src=".....index.php?action=unsetedittime;post=1;topic=2;uid=3"

If I get anyone with the appropriate permissions visit my website, they will automatically trigger your script and remove my modification time for me, even if I don't have permission myself.

It would be nice to prevent this. :3
I fixed this, though no idea why you want to put that in an <img> tag.

Quote2)
Add Logging, removing the modification time should be visible in the mod centre in the appropriate places.
Well, I was trying to do this but have yet to figure that out - I'll track it for later addition :)

Quote3)
I also filed a security report on your mod, as it is possible to remove the modification time from other posts than your own, even if you don't have permission for it. It's a pretty obvious bug, looking at the source. It'd be nice if that was fixed. "Dirty hacks" as you put it in your source aren't always the best things nor cool, sometimes people want a clean solution. :3
I read it -- Fixed that. The edit is one that's needed for the mod to function.

Quote4)
Optimize efficiency. If someone isn't allowed to do it at all, quit right away. No need to set off a SQL query. Also, you don't need to fetch "subject" from the database if you don't use it - just fetch "SELECT 1". Though, you might want to fetch id_member ...
Fixed; it now selects id_topic, id_msg and id_member from the messages table and uses them (I always pick data from the database regardless if the same data's available before -- no idea why, just like that :P)

QuoteAnyhow, I commend you for your documentation.
Thanks!
Title: Re: Remove "Last Edit" mod
Post by: Branko. on August 26, 2012, 09:14:53 AM
Hmm...when I try (As an administrator) to remove this sign (post by other user) simply is not possible:
An Error Has Occurred!
You are not allowed to perform this action.
Where is the error?
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on August 26, 2012, 09:17:42 AM
Quote from: Branko. on August 26, 2012, 09:14:53 AM
Hmm...when I try (As an administrator) to remove this sign (post by other user) simply is not possible:
An Error Has Occurred!
You are not allowed to perform this action.
Where is the error?
Damn, yet another permission issue.

Let me check this real quick on my test site.

/me thinks he is going to rewrite the mod
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on August 26, 2012, 09:30:02 AM
I've updated the mod again, sorry for so many releases in a short time :)
Title: Re: Remove "Last Edit" mod
Post by: Branko. on August 26, 2012, 01:45:10 PM
Now is OK..
Thanks for an excellent mod.  :)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on August 26, 2012, 01:51:32 PM
Quote from: Branko. on August 26, 2012, 01:45:10 PM
Now is OK..
Thanks for an excellent mod.  :)
No problem! I'm glad I could provide a tool you like :)
Title: Re: Remove "Last Edit" mod
Post by: Branko. on October 13, 2012, 06:02:03 PM
Translation for serbian latin
<file name="$languagedir/Modifications.serbian_latin.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'ukloni ovu oznaku';
$txt['remove_last_edited_error_1'] = 'Nevažeći resursi u funkciji  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Nije vam dozvoljeno da sprovedete ovu akciju.';
$txt['remove_last_edited_error_3'] = 'Pozvana nevažeća akcija.';
$txt['permissionname_rlem_do'] = 'Ukloni \'Zadnja promena od ...\' iz poruka';
$txt['permissionname_rlem_do_own'] = 'Ukloni \'Zadnja promena od ...\' iz svojih poruka';
$txt['permissionname_rlem_do_any'] = 'Ukloni \'Zadnja promena od...\' iz bilo koje poruke';
$txt['permissiongroup_simple_rlem_simple'] = 'Ukloni Zadnja Promena Mod dozvole';
$txt['permissiongroup_rlem_classic'] = 'Ukloni Zadnja Promena Mod dozvole';
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.serbian_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'ukloni ovu oznaku';
$txt['remove_last_edited_error_1'] = 'Nevažeći resursi u funkciji  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Nije vam dozvoljeno da sprovedete ovu akciju.';
$txt['remove_last_edited_error_3'] = 'Pozvana nevažeća akcija.';
$txt['permissionname_rlem_do'] = 'Ukloni \'Zadnja promena od ...\' iz poruka';
$txt['permissionname_rlem_do_own'] = 'Ukloni \'Zadnja promena od ...\' iz svojih poruka';
$txt['permissionname_rlem_do_any'] = 'Ukloni \'Zadnja promena od...\' iz bilo koje poruke';
$txt['permissiongroup_simple_rlem_simple'] = 'Ukloni Zadnja Promena Mod dozvole';
$txt['permissiongroup_rlem_classic'] = 'Ukloni Zadnja Promena Mod dozvole';
]]></add>
</operation>
</file>
Title: Re: Remove "Last Edit" mod
Post by: Branko. on October 13, 2012, 06:04:48 PM
Translation for serbian cyrillic
<file name="$languagedir/Modifications.serbian_cyrillic.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'уклони ову ознаку';
$txt['remove_last_edited_error_1'] = 'Неважећи ресурси у функцији  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Није вам дозвољено да спроведете ову акцију.';
$txt['remove_last_edited_error_3'] = 'Позвана неважећа акција.';
$txt['permissionname_rlem_do'] = 'Уклони \'Задња промена од ...\' из порука';
$txt['permissionname_rlem_do_own'] = 'Уклони \'Задња промена од ...\' из својих порука';
$txt['permissionname_rlem_do_any'] = 'Уклони \'Задња промена од...\' из било које поруке';
$txt['permissiongroup_simple_rlem_simple'] = 'Уклони Задња Промена Мод дозволе';
$txt['permissiongroup_rlem_classic'] = 'Уклони Задња Промена Мод дозволе';
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.serbian_cyrillic-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'уклони ову ознаку';
$txt['remove_last_edited_error_1'] = 'Неважећи ресурси у функцији  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Није вам дозвољено да спроведете ову акцију.';
$txt['remove_last_edited_error_3'] = 'Позвана неважећа акција.';
$txt['permissionname_rlem_do'] = 'Уклони \'Задња промена од ...\' из порука';
$txt['permissionname_rlem_do_own'] = 'Уклони \'Задња промена од ...\' из својих порука';
$txt['permissionname_rlem_do_any'] = 'Уклони \'Задња промена од...\' из било које поруке';
$txt['permissiongroup_simple_rlem_simple'] = 'Уклони Задња Промена Мод дозволе';
$txt['permissiongroup_rlem_classic'] = 'Уклони Задња Промена Мод дозволе';
]]></add>
</operation>
</file>
Title: Re: Remove "Last Edit" mod
Post by: Branko. on October 13, 2012, 06:06:53 PM
Translation for croatian
<file name="$languagedir/Modifications.croatian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'ukloni ovu oznaku';
$txt['remove_last_edited_error_1'] = 'Nevažeći resursi u funkciji  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Nije vam dozvoljeno da sprovedete ovu akciju.';
$txt['remove_last_edited_error_3'] = 'Pozvana nevažeća akcija.';
$txt['permissionname_rlem_do'] = 'Ukloni \'Zadnja promjena od ...\' iz poruka';
$txt['permissionname_rlem_do_own'] = 'Ukloni \'Zadnja promjena od ...\' iz svojih poruka';
$txt['permissionname_rlem_do_any'] = 'Ukloni \'Zadnja promjena od...\' iz bilo koje poruke';
$txt['permissiongroup_simple_rlem_simple'] = 'Ukloni Zadnja Promjena Mod dozvole';
$txt['permissiongroup_rlem_classic'] = 'Ukloni Zadnja Promjena Mod dozvole';
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.croatian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'ukloni ovu oznaku';
$txt['remove_last_edited_error_1'] = 'Nevažeći resursi u funkciji  rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Nije vam dozvoljeno da sprovedete ovu akciju.';
$txt['remove_last_edited_error_3'] = 'Pozvana nevažeća akcija.';
$txt['permissionname_rlem_do'] = 'Ukloni \'Zadnja promjena od ...\' iz poruka';
$txt['permissionname_rlem_do_own'] = 'Ukloni \'Zadnja promjena od ...\' iz svojih poruka';
$txt['permissionname_rlem_do_any'] = 'Ukloni \'Zadnja promjena od...\' iz bilo kojie poruke';
$txt['permissiongroup_simple_rlem_simple'] = 'Ukloni Zadnja Promjena Mod dozvole';
$txt['permissiongroup_rlem_classic'] = 'Ukloni Zadnja Promjena Mod dozvole';
]]></add>
</operation>
</file>
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on October 13, 2012, 07:24:44 PM
Oh wow thanks Branko.! I'll be updating the GitHub packages in a short while :)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on October 15, 2012, 08:37:27 AM
After a ****** fight with the mod site I got the new release with Branko.'s translations and a Dutch translation uploaded.
Title: Re: Remove "Last Edit" mod
Post by: oloyede JAMIU on October 15, 2012, 09:20:25 AM
good work yoshi2889,

keep it up.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on October 15, 2012, 09:22:56 AM
Thanks! :)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on December 17, 2012, 09:55:32 AM
Mod works with 2.0.3 as-is.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on February 01, 2013, 05:32:35 PM
Mod works with 2.0.4 as-is.
Title: Re: Remove "Last Edit" mod
Post by: IngeJones on February 03, 2013, 01:03:40 PM
Yoshi, where did you move my posts to?
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on February 03, 2013, 01:04:22 PM
Quote from: IngeJones on February 03, 2013, 01:03:40 PM
Yoshi, where did you move my posts to?
I split the discussion to this topic (http://www.simplemachines.org/community/index.php?topic=496556.0) :)
Title: Re: Remove "Last Edit" mod
Post by: IngeJones on February 03, 2013, 01:14:36 PM
Thank you :)
Title: Re: Remove "Last Edit" mod
Post by: johnpaul2k2 on February 20, 2013, 10:56:56 AM
is it possible to remove all "last edit" automatically???
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on February 20, 2013, 11:56:48 AM
Quote from: johnpaul2k2 on February 20, 2013, 10:56:56 AM
is it possible to remove all "last edit" automatically???
Well, you can remove the code for displaying it. I'd put that in the Tips and Tricks board instead though.
Title: Re: Remove "Last Edit" mod
Post by: Arantor on February 20, 2013, 02:15:58 PM
There should actually be a master on/off switch in the admin panel that hides it for everyone regardless of who did it or when.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on February 20, 2013, 02:22:47 PM
Quote from: Arantor on February 20, 2013, 02:15:58 PM
There should actually be a master on/off switch in the admin panel that hides it for everyone regardless of who did it or when.
Hmm that's convenient, isn't it? :)
Title: Re: Remove "Last Edit" mod
Post by: Arantor on February 20, 2013, 02:28:37 PM
It's in the Current Theme page ;)
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on February 20, 2013, 02:31:10 PM
Quote from: Arantor on February 20, 2013, 02:28:37 PM
It's in the Current Theme page ;)
I see, I have no localhost installation and my site is too slow to look something up "quickly", heh. There are quite some interesting options there, tbh. :)

Anyways, I'm going to rewrite this mod to use AJAX sooner or later. Got myself kinda familiar with it, even though I'm still learning jQuery and JS in general.
Title: Re: Remove "Last Edit" mod
Post by: Timothy85 on March 17, 2013, 12:25:51 PM
Do you need help with a translations to dutch?
I'm from holland.

PM if you want

Greets Timothy
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on March 17, 2013, 12:33:40 PM
Hey Timothy,

I'm Dutch, myself, too! :)

Though, if you want to translate the mod, go ahead, much appreciated :)
Title: Re: Remove "Last Edit" mod
Post by: NekoJonez on April 05, 2013, 05:26:20 PM
There is an occasion where this mod doesn't work. And that's when you edit the post icon. Then the mod doesn't show the sign to delete the "last edit by..."
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on April 05, 2013, 06:10:02 PM
That's something in SMF, not in this mod. Refresh the page and it'll show up.
Title: Re: Remove "Last Edit" mod
Post by: Arantor on April 05, 2013, 06:20:33 PM
That's the point... if you use quick edit, there's no option to hide last edit.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on April 05, 2013, 06:42:25 PM
Quote from: Arantor on April 05, 2013, 06:20:33 PM
That's the point... if you use quick edit, there's no option to hide last edit.
JeA is talking about that the last edit by doesn't show up at all from what I understood (which has zero to do with this mod), what you are talking about is another thing which I'm not planning to add/fix.
Title: Re: Remove "Last Edit" mod
Post by: Arantor on April 05, 2013, 06:44:00 PM
That's not what he said. The mod 'doesn't show the sign to delete the...' Quick edit doesn't show any options for anything. But last-modified WILL get logged by it.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on April 05, 2013, 06:47:15 PM
True. I'm not planning to add support for that anytime soon.
I misunderstood it, though, as it happens :)
Title: Re: Remove "Last Edit" mod
Post by: NekoJonez on March 29, 2014, 01:46:05 PM
There is this mod where you can have that text box for why a post is edited.

Of course this mod and that mod aren't going to like each other I guess. Can I do anything about that?




I'm talking about this one:

http://custom.simplemachines.org/mods/index.php?mod=349
Title: Re: Remove "Last Edit" mod
Post by: Ninja ZX-10RR on November 24, 2014, 05:14:27 AM
Thanking you and bumping this :D
Title: Re: Remove "Last Edit" mod
Post by: Burke ♞ Knight on November 24, 2014, 07:43:25 AM
Quote from: NanoSector on April 05, 2013, 06:47:15 PM
True. I'm not planning to add support for that anytime soon.
I misunderstood it, though, as it happens :)

Yeah, I noticed it would not show on a quick edit... UNTIL you refresh the page.
This is just due to the page not being refreshed after using the quick edit.
Title: Re: Remove "Last Edit" mod
Post by: Arantor on November 24, 2014, 07:48:31 AM
And yet, the AJAX return does actually include the <modified> element which contains the relevant information to make that a thing.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on November 24, 2014, 05:06:48 PM
I can look into it later if it's such a bother. No ETAs.
Title: Re: Remove "Last Edit" mod
Post by: Burke ♞ Knight on November 24, 2014, 05:09:49 PM
To me, no big deal... I just do a quick refresh if it's a post I don't want to have last edit on.
If it's a post that last edit being shown is okay, who the heck needs to see it right after they edit?
Title: Re: Remove "Last Edit" mod
Post by: alexetgus on May 29, 2015, 12:37:23 AM
Translation for french :


<file name="$languagedir/Modifications.french.php" error="skip">>
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'Retirer ce message';
$txt['remove_last_edited_error_1'] = 'Donn&eacute;es erron&eacute;es dans la fonction rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Vous ne pouvez pas effectuer cette action.';
$txt['remove_last_edited_error_3'] = 'Action non valide.';
$txt['permissionname_rlem_do'] = 'Retirer \'Derni&egrave;re &eacute;dition par ...\' du message';
$txt['permissionname_rlem_do_own'] = 'Retirer \'Derni&egrave;re &eacute;dition par ...\' de tous vos messages';
$txt['permissionname_rlem_do_any'] = 'Retirer \'Derni&egrave;re &eacute;dition par ...\' de tous les messages';
$txt['permissiongroup_simple_rlem_simple'] = 'Retirer les permissions du mod &quot;Last Edit&quot;';
$txt['permissiongroup_rlem_classic'] = 'Retirer les permissions du mod &quot;Last Edit&quot;';
]]></add>
</operation>
</file>



Translation for french-utf8 :


<file name="$languagedir/Modifications.french-utf8.php" error="skip">>
<operation>
<search position="end" />
<add><![CDATA[
// Remove "Last edit" mod
$txt['remove_edit_sign'] = 'Retirer ce message';
$txt['remove_last_edited_error_1'] = 'Données erronées dans la fonction rlem_do, Subs-RemoveLastEditMod.php';
$txt['remove_last_edited_error_2'] = 'Vous ne pouvez pas effectuer cette action.';
$txt['remove_last_edited_error_3'] = 'Action non valide.';
$txt['permissionname_rlem_do'] = 'Retirer \'Dernière édition par ...\' du message';
$txt['permissionname_rlem_do_own'] = 'Retirer \'Dernière édition par ...\' de tous vos messages';
$txt['permissionname_rlem_do_any'] = 'Retirer \'Dernière édition par ...\' de tous les messages';
$txt['permissiongroup_simple_rlem_simple'] = 'Retirer les permissions du mod "Last Edit"';
$txt['permissiongroup_rlem_classic'] = 'Retirer les permissions du mod "Last Edit"';
]]></add>
</operation>
</file>



Link mod translated on demand.
Title: Re: Remove "Last Edit" mod
Post by: FragaCampos on September 13, 2015, 06:54:16 AM
Hi there.
Sorry to bump this topic after such a long time, but I really like this mod and would like to know if this can be solved to make it perfect.



Quote from: NanoSector on November 24, 2014, 05:06:48 PM
I can look into it later if it's such a bother. No ETAs.
Title: Re: Remove "Last Edit" mod
Post by: KittyGalore on March 02, 2022, 01:08:47 PM
Can this be updated for SMF 2.1
Title: Re: Remove "Last Edit" mod
Post by: Diego Andrés on March 02, 2022, 02:04:20 PM
I think in SMF 2.1 there's an option in Admin > Forum > Posts and Topics > Topic Settings > Show last modification date on modified posts

Does that do the same as this mod?
Title: Re: Remove "Last Edit" mod
Post by: KittyGalore on March 02, 2022, 02:10:48 PM
Quote from: Diego Andrés on March 02, 2022, 02:04:20 PMI think in SMF 2.1 there's an option in Admin > Forum > Posts and Topics > Topic Settings > Show last modification date on modified posts

Does that do the same as this mod?
It disables it all together so yes it does thanks.
However i don't want to do that i see the original mod owner is still around so if you can update then it would be nice. @NanoSector 
Title: Re: Remove "Last Edit" mod
Post by: @rjen on March 02, 2022, 02:11:10 PM
No, that removes it completely. The mod allows user groups to remove the text from individual posts.
Title: Re: Remove "Last Edit" mod
Post by: NanoSector on March 06, 2022, 04:49:00 AM
Quote from: KittyGalore on March 02, 2022, 02:10:48 PMIt disables it all together so yes it does thanks.
However i don't want to do that i see the original mod owner is still around so if you can update then it would be nice. @NanoSector

Hi, sorry for not replying earlier, I'd missed your ping. I don't really maintain these mods anymore, I just lurk in the forums from time to time :)

We're looking into other maintenance strategies for this & my other mods to get them fully updated to 2.1, hang on tight!
Title: Re: Remove "Last Edit"
Post by: Diego Andrés on March 06, 2022, 11:15:42 PM
1.2 - 17 July 2022

1.1 - 25 March 2022

1.0 - 06 March 2022


Thanks to @NanoSector for allowing the update of the mod. (more to come?  :P )
Title: Re: Remove \
Post by: Diego Andrés on August 12, 2024, 10:44:43 PM
1.3 - 12 August 2024
Title: Re: Remove
Post by: Steve on August 13, 2024, 08:58:59 AM
Thanks Diego. 👍