Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bugo on July 16, 2021, 04:03:32 PM

Title: Merge double posts
Post by: Bugo on July 16, 2021, 04:03:32 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4286)

Do you want to prevent double posts from users? Just install this modification.

To change settings, go to Admin -> Modification Settings -> Auto-merge posts.

Features

Translations

(https://img.shields.io/github/license/dragomano/merge-double-posts) (https://img.shields.io/badge/Donate-$-blue.svg?style=flat&logo=paypal) (https://ko-fi.com/dragomano)
Title: Re: Merge double posts
Post by: Shambles on July 16, 2021, 05:26:50 PM
What's a "double post" ?
Title: Re: Merge double posts
Post by: maximus23 on July 16, 2021, 06:34:33 PM
Quote from: Shambles on July 16, 2021, 05:26:50 PM
What's a "double post" ?
To merge messages posted too quickly.

:)
Title: Re: Merge double posts
Post by: Shambles on July 16, 2021, 07:14:38 PM
What defines "too quickly" ?
Title: Re: Merge double posts
Post by: live627 on July 16, 2021, 11:00:56 PM
Quote from: Shambles on July 16, 2021, 05:26:50 PM
What's a "double post" ?
I make two successive posts in a row in the same thread.
Title: Re: Merge double posts
Post by: Shambles on July 17, 2021, 04:49:34 AM
So this will prevent post-bumping?
Title: Re: Merge double posts
Post by: Steve on July 17, 2021, 08:27:42 AM
It can, depending on how you set it up.
Title: Re: Merge double posts
Post by: gevv on January 18, 2022, 11:45:23 AM
Hi,

Very useful mod thanks. The new members are so impatient :)
Title: Re: Merge double posts
Post by: pikeman on February 12, 2022, 10:23:17 AM
Something is not working properly. The mode combines messages from the same author even though they are not one after the other. I write a message, someone writes after me, after that I write a message again and the mode merges my two messages into one even though they are not written in a row.
Title: Re: Merge double posts
Post by: Bugo on February 12, 2022, 11:04:15 PM
I'll take a look.
Title: Re: Merge double posts
Post by: pikeman on February 13, 2022, 02:58:54 AM
It's working properly now, thank you. :)
Title: Re: Merge double posts
Post by: gevv on February 19, 2022, 03:21:45 AM
Hi,

Turkish translation
Title: Re: Merge double posts
Post by: gevv on February 22, 2022, 11:41:10 AM
Hi,

There is a problem;  Permissions for post count based groups if enabled, Admin's post are merged.  (no admin selected in merge double posts settings)

Title: Re: Merge double posts
Post by: alex_cipher on April 17, 2022, 04:56:54 AM
There is a problem with the merged posts, because the second post is merged to the other but the second one won't get deleted.
Title: Re: Merge double posts
Post by: alex_cipher on April 23, 2022, 06:03:16 AM
Quote from: alex_cipher on April 17, 2022, 04:56:54 AMThere is a problem with the merged posts, because the second post is merged to the other but the second one won't get deleted.
Hello?
Title: Re: Merge double posts
Post by: Bugo on April 23, 2022, 07:03:03 AM
Hello! I couldn't reproduce your problem.
Title: Re: Merge double posts
Post by: Aleksi "Lex" Kilpinen on April 25, 2022, 04:26:02 AM
Topic cleaned. Sorry for the mess Bugo.
Title: Re: Merge double posts
Post by: Bugo on April 28, 2022, 01:02:45 PM
Quote from: alex_cipher on April 17, 2022, 04:56:54 AMThere is a problem with the merged posts, because the second post is merged to the other but the second one won't get deleted.
I have tested all the mods from your list (https://www.simplemachines.org/community/index.php?msg=4121897) except My Given Likes (I could not find it on the mods site). If you have further information on your issue though, I'd be glad to investigate. That would help with preventing issues that other users may have with the mod in the future.
Title: Re: Merge double posts
Post by: Darkness7148 on May 11, 2022, 06:51:04 AM
Are there any plans to allow moderators to manually merge posts? Like the other mod.
Title: Re: Merge double posts
Post by: Darknico on May 11, 2022, 08:06:43 AM
Added italian translation  ;)

Quote from: Darkness7148 on May 11, 2022, 06:51:04 AMAre there any plans to allow moderators to manually merge posts?

It is a good idea :D
Title: Re: Merge double posts
Post by: Bugo on May 11, 2022, 10:17:36 PM
The idea is good, but we still haven't solved the issue from the post #13.
Title: Re: Merge double posts
Post by: jsx on September 07, 2022, 05:13:28 AM
@Bugo

Thank you so much for this great mod. If you can ever implement a feature to manually merge posts it would be great to have that. This old mod has such a function.

https://custom.simplemachines.org/index.php?mod=1523
Title: Re: Merge double posts
Post by: jsx on November 13, 2022, 06:47:55 AM
@Bugo

What do you think about the idea of adding a feature to manually merge posts?
Title: Re: Merge double posts
Post by: Bugo on November 13, 2022, 10:26:20 PM
Quote from: jsx on November 13, 2022, 06:47:55 AMWhat do you think about the idea of adding a feature to manually merge posts?
Quote from: Bugo on May 11, 2022, 10:17:36 PMThe idea is good, but we still haven't solved the issue from the post #13.
Title: Re: Merge double posts
Post by: jsx on November 14, 2022, 03:15:41 AM
I do not understand this issue mentioned by alex_cipher

I created a post, then I created a second one, and third one, and the last two merged with the first one.

Title: Re: Merge double posts
Post by: jsx on January 27, 2023, 03:31:01 AM
Hi @Bugo what about this idea? It's been a long time and the topic has stopped.

Quote from: jsx on November 13, 2022, 06:47:55 AMWhat do you think about the idea of adding a feature to manually merge posts?

Quote from: Bugo on May 11, 2022, 10:17:36 PMThe idea is good, but we still haven't solved the issue from the post #13 (https://www.simplemachines.org/community/index.php?topic=578213.msg4120591#msg4120591).

Quote from: jsx on November 14, 2022, 03:15:41 AMI do not understand this issue mentioned by alex_cipher

I created a post, then I created a second one, and third one, and the last two merged with the first one.
Title: Re: Merge double posts
Post by: Bugo on January 31, 2023, 04:52:31 AM
I will try to implement this feature in the near future, despite the fact that this mod has no likes, no sponsors, and the number of downloads is less than 1000 :)
Title: Re: Merge double posts
Post by: jsx on January 31, 2023, 02:11:29 PM
It's not because people don't need this mod, I think there are still a lot of people using forum 2.0, but it's well known that Facebook has contributed to killing forums. People have moved to Facebook pages. So the forums have lost of their importance. This mod is great, it's needed on the forum and I can't imagine not having such a modification on the 2.0 or 2.1 forum.

I'd like to leave one more suggestion for you to consider regarding the possibility of disabling post merging in a particular board.

Title: Re: Merge double posts
Post by: Bugo on February 05, 2023, 02:10:51 AM
Since at the moment I have not been able to implement this without hooks, I will post the manual merge as a separate add-on for this modification. So far I did as in the pictures below, by analogy with the other buttons quick moderation. Any user with post separation permissions will also be able to manual merge posts.
Title: Re: Merge double posts
Post by: jsx on February 06, 2023, 07:43:04 AM
Thank you for creating this feature for the "Merge double posts" modification. It would be nice to have a Merge posts button next to the Quote, Quick Edit buttons, but I understand it's a complicated to implement this.

Title: Re: Merge double posts
Post by: jsx on March 15, 2023, 02:22:55 PM
Hello @Bugo

I noticed that this mod changes the main topic name, example: Test topic to Re: Test topic, when the author adds a message to the topic and that message is merged.
Title: Re: Merge double posts
Post by: pecado on January 04, 2024, 03:10:03 AM
hey @Bugo
thank you for you plugin, it helps me a lot.
but there is the behavior I would like to suggest to change.

if 2nd post contains attachment and it's been merged - attachment is removed with error message included into merged one, like "there is no message connected with this attachment".
It looks like solution should be simply - during merge process it may be necessary to evaluate attachments and correct id_msg to this related with "doubled" post.
Could you take a look, please?
Title: Re: Merge double posts
Post by: Bugo on January 04, 2024, 05:44:19 AM
Interesting task, thanks. I'll definitely look into it!
Title: Re: Merge double posts
Post by: pecado on January 06, 2024, 02:23:11 AM
Quote from: Bugo on January 04, 2024, 05:44:19 AMInteresting task, thanks. I'll definitely look into it!
Fix in v0.5 works as expected, thank you a lot!