Advertisement:

Author Topic: Auto Merge Double Post  (Read 267720 times)

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: Auto Merge Double Post
« Reply #560 on: January 31, 2013, 01:29:42 PM »

Offline theone1984

  • Newbie
  • *
  • Posts: 1
Re: Auto Merge Double Post
« Reply #561 on: February 21, 2013, 02:45:23 AM »
I'm try install and got message error



anybody help me explain why i'm got error, i'm used ver 2.0.4

Offline antivladinforum

  • Semi-Newbie
  • *
  • Posts: 25
Re: Auto Merge Double Post
« Reply #562 on: March 01, 2013, 12:32:17 PM »
any update for 2.0.4

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,079
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Auto Merge Double Post
« Reply #563 on: March 01, 2013, 12:33:20 PM »
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline Bluearrow

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
    • Manga Raiders
Re: Auto Merge Double Post
« Reply #564 on: April 09, 2013, 01:11:43 AM »
I use Geor'Gs updated one. and noticed a bug or something wrong in my end. Having a problem with Ignore maximum post size option.

If someone try to make a post with 20k characters you get this message about maximum post size and then member try to post in a new post Mod try to merge 2 posts and get that maximum post size message again. 
 

Offline petb

  • Jr. Member
  • **
  • Posts: 108
Re: Auto Merge Double Post
« Reply #565 on: November 02, 2013, 03:54:53 PM »
Hi,

sorry, i have to ask, i am confused.
Is there a Solution/Workaround changing the MSG IDs under which the combined Post was stored ?
Or was this Patch/Workaround i found in this Thread (very old Posting Date) only for SMF 1.x

For example what i want to have is:

Post 1, posted yesterday.
Post 2 posted today.
I wanna be notified about the new Post2 as a new Post of this user and i want the combined Post be stored with the MSG ID of the New Post,
and wann have deleted the old Post(MSG ID).

Is this possible with a little change in the Code i can patch by myself ?

Thank You.
« Last Edit: November 02, 2013, 05:29:07 PM by petb »

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,652
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Auto Merge Double Post
« Reply #566 on: November 19, 2013, 04:21:55 AM »
I installed this, everything except the manual button, and it's not working. What's up with that?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Offline Infinito

  • Semi-Newbie
  • *
  • Posts: 12
Re: Auto Merge Double Post
« Reply #567 on: January 27, 2014, 10:49:21 AM »
Hi all,

i use the 2.0.5 forum version and when i try to install mod, get the same error of theone1984. Is there a stable release for 2.0.5 or a similar mod to apply the merge o posts ??

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Auto Merge Double Post
« Reply #568 on: January 27, 2014, 10:59:11 AM »
Check this:
http://www.simplemachines.org/community/index.php?topic=278227.msg3069688#msg3069688

Also, you should update your forum, at least to 2.0.6 which is a SECURITY update.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline rickmastfan67

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • @rickmastfan67 on Twitter
Re: Auto Merge Double Post
« Reply #569 on: January 27, 2014, 03:07:50 PM »
Check this:
http://www.simplemachines.org/community/index.php?topic=278227.msg3069688#msg3069688

Also, you should update your forum, at least to 2.0.6 which is a SECURITY update.

It seems that the file in that post is causing problems upgrading to 2.0.7 from 2.0.6.
http://www.simplemachines.org/community/index.php?topic=517626.0

Offline luuuciano

  • SMF Hero
  • ******
  • Posts: 2,978
    • http://cbasites.net/
Re: Auto Merge Double Post
« Reply #570 on: January 27, 2014, 06:13:06 PM »
It seems that the file in that post is causing problems upgrading to 2.0.7 from 2.0.6.
http://www.simplemachines.org/community/index.php?topic=517626.0

Well... any mod that changes upgraded sections will cause "problems upgrading xx to zz"...
You have to handle those issues "by hand"
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Offline rickmastfan67

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • @rickmastfan67 on Twitter
Re: Auto Merge Double Post
« Reply #571 on: January 27, 2014, 11:07:39 PM »
It seems that the file in that post is causing problems upgrading to 2.0.7 from 2.0.6.
http://www.simplemachines.org/community/index.php?topic=517626.0

Well... any mod that changes upgraded sections will cause "problems upgrading xx to zz"...
You have to handle those issues "by hand"

I know.  I'd just thought I'd give everybody a heads up.

Offline Avalanche91

  • Semi-Newbie
  • *
  • Posts: 42
    • Ava
Re: Auto Merge Double Post
« Reply #572 on: February 04, 2014, 06:55:18 AM »
Hello folks,

First of all - great work, very useful mod. There is only one little problem that I have noticed with this mod. After two posts are merged together automatically, I am not being notified about the new post when I click on the button that shows all unread posts (Show unread posts since last visit). The interesting thing is that I can see the icon for new posts while I am browsing the boards but the new post is not added in the unread section.

Any chances of fixing that? Thank you!

Offline petb

  • Jr. Member
  • **
  • Posts: 108
Re: Auto Merge Double Post
« Reply #573 on: February 04, 2014, 10:29:10 AM »
Hello folks,

First of all - great work, very useful mod. There is only one little problem that I have noticed with this mod. After two posts are merged together automatically, I am not being notified about the new post when I click on the button that shows all unread posts (Show unread posts since last visit). The interesting thing is that I can see the icon for new posts while I am browsing the boards but the new post is not added in the unread section.

Any chances of fixing that? Thank you!

I have the same Problem  ;)
So i thought about that in this Way
Hi,

sorry, i have to ask, i am confused.
Is there a Solution/Workaround changing the MSG IDs under which the combined Post was stored ?
Or was this Patch/Workaround i found in this Thread (very old Posting Date) only for SMF 1.x

For example what i want to have is:

Post 1, posted yesterday.
Post 2 posted today.
I wanna be notified about the new Post2 as a new Post of this user and i want the combined Post be stored with the MSG ID of the New Post,
and wann have deleted the old Post(MSG ID).

Is this possible with a little change in the Code i can patch by myself ?

Thank You.

But the only Solutions we got is to look at another Mod
Notify Modification Last Post
which makes every Edit with an behaviour like a new Post,
so then you will get the notification.
But this Mod also have some Problems  :'(

And another Problem was:
If you are using the Auto Merge Mod, and you have allowed Guests to Post Messages,
the Auto Merge Mod override the Spam Protection of the Forum.
The Anti Spam Captcha and the Questions wont work anymore.
Guests can type in the Fields whatever they want and are able to post.

After a Look at the Code,
i believe this is because the Mod Functions are inserted int the Forum Code,
before the SMF Anti Spam Protection Code Segment.
So after running into the MOD Code Section,
the Forum owned Anti Spam Protection Code is no longer performed.



Another Thing was:
If you have configured a Time, let say 1 hour, to allow users to edit Posts.
And you have configured the Mod to merge a longer Period than this one hour.
The User writes a Post and then it will be merged, but he cant edit his new Post,
because his New post was merged into the old one, whos EDIT Time Range is still over.
So you should set the Edit Time Range longer than the Auto Merge time range,
to prevent Trouble with the users.


An if i remember right there maybe some other Problems too.

Offline Avalanche91

  • Semi-Newbie
  • *
  • Posts: 42
    • Ava
Re: Auto Merge Double Post
« Reply #574 on: February 04, 2014, 03:45:58 PM »
I see. Thank you, @petb, very thorough answer :)

Offline kamili34

  • Jr. Member
  • **
  • Posts: 232
  • Gender: Male
  • noob
    • pilarki.org
Re: Auto Merge Double Post
« Reply #575 on: February 06, 2014, 05:24:21 PM »
Have trouble with this on Subs-Post.php

Code: [Select]
<file name="$sourcedir/Subs-Post.php">
<operation>
<search position="replace"><![CDATA[$parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie', '\'[time]\' . timeformat(\'$1\', false) . \'[/time]\'', $parts[$i]);]]></search>
<add><![CDATA[// $parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie', '\'[time]\' . timeformat(\'$1\', false) . \'[/time]\'', $parts[$i]);]]></add>
</operation>

I dont have that line. :/

Offline luuuciano

  • SMF Hero
  • ******
  • Posts: 2,978
    • http://cbasites.net/
Re: Auto Merge Double Post
« Reply #576 on: February 06, 2014, 07:46:51 PM »
It would be helpful if you attach the Subs-Post.php file, so we can analize it... if not, we will have to hack your computer to get it (?)
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Offline kamili34

  • Jr. Member
  • **
  • Posts: 232
  • Gender: Male
  • noob
    • pilarki.org
Re: Auto Merge Double Post
« Reply #577 on: February 07, 2014, 01:16:29 PM »
 :P

Ok here you go! :)

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Auto Merge Double Post
« Reply #578 on: February 07, 2014, 01:48:06 PM »
If you are using 2.0.7 it will fail to find that line:
Code: [Select]
preg_replace('~
This was replaced in the latest patch to be PHP5.5 compatible.

You need to install with errors (make sure this is the only error you have!!!) and find your line 399
Code: [Select]
$parts[$i] = preg_replace_callback('~\[time\](\d{0,10})\[/time\]~i', create_function('$m', ' return "[time]" . timeformat("$m[1]", false) . "[/time]";'), $parts[$i]);
And comment it out.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline kamili34

  • Jr. Member
  • **
  • Posts: 232
  • Gender: Male
  • noob
    • pilarki.org
Re: Auto Merge Double Post
« Reply #579 on: February 07, 2014, 03:01:00 PM »
Great, works!  8)