Customizing SMF > Modifications and Packages

Auto Merge Double Post

<< < (106/120) > >>

MrCreatoR:
I already have asked these questions before, but had no answer:

1.

--- Quote from: MrCreatoR on October 27, 2009, 11:55:14 AM ---When merging post that have single quote char in his title ('), it's prefixed by slash character - like this: \'.

Any ideas how to fix that?

--- End quote ---

2.

--- Quote from: MrCreatoR on October 15, 2009, 05:18:06 PM ---Is there any chance to add an option to disable posts merging for the first post (when creating the topic)?

--- End quote ---

any ideas?

luuuciano:

--- Quote from: Geor'G on June 11, 2011, 12:04:28 PM ---
--- Quote ---how to use this mod on rc5?
--- End quote ---
Works - smf rc4-rc5

Fix, update

--- End quote ---

Used this on a 2.0.2, works like a charm
Thanks for sharing it


It has an odd thing with subjects... if the subject has "" it will scape it, and save it that way...

so, something like
This is a subject "with quotes"
it is changed to
This is a subject \"with quotes\"

Did not tested with several mergings, maybe it continue adding \ for ever?

Can someone check if this happens on yours auto merged threads?

Geor'G:

--- Quote from: MrCreatoR on April 03, 2012, 05:21:16 AM ---2.

--- Quote from: MrCreatoR on October 15, 2009, 05:18:06 PM ---Is there any chance to add an option to disable posts merging for the first post (when creating the topic)?

--- End quote ---
any ideas?

--- End quote ---

In file Post.php, find:

--- Code: --- // Flooder?
if ((isset($topic) && !isset($_REQUEST['msg']) && !empty($modSettings['AutoMergePost_auto']))
|| (!empty($_GET['merge']) && !empty($modSettings['AutoMergePost_manual'])))
doublePostCheck($_GET['merge']);
--- End code ---
replace:

--- Code: --- // Flooder?
if ($_REQUEST['last_msg'] != $topic_info['id_first_msg'])
if ((isset($topic) && !isset($_REQUEST['msg']) && !empty($modSettings['AutoMergePost_auto']))
|| (!empty($_GET['merge']) && !empty($modSettings['AutoMergePost_manual'])))
doublePostCheck($_GET['merge']);
--- End code ---

MrCreatoR:

--- Quote from: Geor'G on May 06, 2012, 12:30:52 AM ---In file Post.php, find:

--- Code: --- // Flooder?
if ((isset($topic) && !isset($_REQUEST['msg']) && !empty($modSettings['AutoMergePost_auto']))
|| (!empty($_GET['merge']) && !empty($modSettings['AutoMergePost_manual'])))
doublePostCheck($_GET['merge']);
--- End code ---
replace:

--- Code: --- // Flooder?
if ($_REQUEST['last_msg'] != $topic_info['id_first_msg'])
if ((isset($topic) && !isset($_REQUEST['msg']) && !empty($modSettings['AutoMergePost_auto']))
|| (!empty($_GET['merge']) && !empty($modSettings['AutoMergePost_manual'])))
doublePostCheck($_GET['merge']);
--- End code ---

--- End quote ---

Thank you.
Now i left with the first issue...

Liam_michael:
Great mod... Is there a way to show a little message (only to the person doing the bumping) explaining that they can bump their topic again in 1 day (or whatever value that was set)?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version