vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Merge Double Post (https://vborg.vbsupport.ru/showthread.php?t=233878)

Vitaly 01-21-2010 10:00 PM

Merge Double Post
 
1 Attachment(s)
vb 4.x version here

This mod join consecutive posts of the same member to single one. That prevents nasty "bumps".

That's a complete rewrite of "Double Post Prevention Plus", that was announced here. Besides some new features, merge algorythm changed too. It doesn't creates dummy posts anymore. Code is reuseable at last.

Well, what this mod do:
  • The main - it merge consecuent posts of the same user to single one
  • Yes, it cares about attachments
  • Yes, it cares about AJAX posting
  • Yes, it cares about social groups, if you wish
  • It can add splitter with RELATIVE time. Users from different time zones will not be confused
  • Relative time can be translated via addon for languages with complex semantics (russian translation included).
It just works :)

How to install:
  1. Upload files from appropriate directory
  2. Import product XML
  3. If you use russian language - import translation addon from "./lang" dir. You should not do it for other languages.
  4. Go to ACP ant set necessary product options (see screenshot).
  5. Check ACP -> Message Posting and Editing Options -> Time to Wait Before Starting to Display 'Last Edited by...' . Set it to 10-15 minutes. Before that time delimitor will not be added, as useless.
If you used my "Doublepost Prevention Plus" mod before, please, remember settings and uninstall it first.

This mod is developped here http://github.com/rcdesign/vb-merge_doubleposts . Patches are welcome.

history

2.6
- new merge scenario with rollback option
- social groups supported
- added option to include/exclude specific forums
- relative time in splitter with proper translation
- fixed AME conflict

... (not public)

1.3 - old version. Here.

Vitaly 01-22-2010 05:53 PM

WARNING

New merge algorythm is a bit tricky. If you have problem with it - select old one in options, and report details. If no problems reported, rollback feature will be removed in next version.

PS. But there should be no problems, really :)

Hornstar 01-22-2010 06:24 PM

Thanks this one looks better then the one i'm using right now. But not sure how much longer I will be on 3.8 for. Tagged for now.

Taurus1 01-22-2010 07:58 PM

Thank you very much for this. Just one question. Can I just leave the options blank for the forums to include or exclude?

Vitaly 01-22-2010 08:10 PM

Of cause. Those are blank by default. That means, mod works everywhere.

Taurus1 01-22-2010 08:12 PM

Thank you very much for your quick reply!!

ChopSuey 01-23-2010 03:05 AM

I love dpp plus, time to upgrade! Thanks.

ThiagoO 01-23-2010 03:14 AM

Thank you :)

ritter10 01-23-2010 10:37 PM

Thanks for the mod, vitaly! That's great!

I have a little problem, the Delimeter text doesn't appears in the merged post. I don't know what happened. Could you see this for me?

I enabled - > Use delimeter for forums posts, but didn't work. :(

Vitaly 01-23-2010 10:45 PM

Check setting, when forum have to save message history. It's good to set it 15 minutes. Before that time delimitor is not added, as useless. I've fixed description.

ritter10 01-24-2010 01:13 AM

Quote:

Originally Posted by Vitaly (Post 1964831)
Check setting, when forum have to save message history. It's good to set it 15 minutes. Before that time delimitor is not added, as useless. I've fixed description.

Thanks for help me and the fast reply! You're doing a nice job!

Thanks!! :D

Devanand 01-24-2010 06:19 PM

Great mod, thank you

Stingray27 02-20-2010 03:15 PM

Quote:

Originally Posted by Vitaly (Post 1964831)
Check setting, when forum have to save message history. It's good to set it 15 minutes. Before that time delimitor is not added, as useless. I've fixed description.

Its not useless at all, just a reason not to use this mod. Just because you dont like it, doesnt mean others are the same. Instead of fixing the description, fix the mod.

Vitaly 02-20-2010 03:49 PM

<removed>

majidgbox 02-21-2010 01:10 PM

thanks
installed

Cla75 05-24-2010 12:08 PM

I installed this mod and merge works, but does not insert the text (delimeter text) between the two posts together. Why?

question:
if imposed a "merge time" 10 min ...
I write post now,
and then a user posts a reply two minutes later
and again I post a post after two minutes, this will not last merge my first though spent less than 10 minutes because there was post from another user, correct?

Vitaly 05-24-2010 12:31 PM

If user posts are not consecutive, those are not merged anyway. Delimiter added only if time difference > post edit history lag. So, 3 cases:
  • Very often posts merged without splitter (no needs to place useless carbage)
  • Less often posts merged with delimiter, if set (and you can see relative time offset there)
  • Othres posts - not merged.

Cla75 05-24-2010 12:56 PM

sorry but I do not understand :-(
how do I configure the mod to see delimeter text between 2 consecutive posts?

thanks

Vitaly 05-24-2010 01:03 PM

In description, "how to install", N5
Quote:

Check ACP -> Message Posting and Editing Options -> Time to Wait Before Starting to Display 'Last Edited by...' . Set it to 10-15 minutes. Before that time delimitor will not be added, as useless.

Cla75 05-24-2010 01:17 PM

Sorry, this I understand ...

"Last Edided by ..." is set to 3 minutes.

Merge time is set to 10 minutes.
Delimeter text: [i] Added after (1) [/ i]:
Use delimeter for forums posts: YES
Edit Reason: BLANK
Enable thread bump: NO

If I send post now and then another post after five minutes, the mod you need to merge correctly (OK) but not in the same place between the two messages together that I set the text delimeter.
Why?

Thanks

Vitaly 05-24-2010 01:33 PM

I'm not shure, that i uderstand your question. Could you provide screenshots, what happsnes wrong and what should happens instead ?

Cla75 05-24-2010 03:58 PM

1 Attachment(s)
setting mod with Delimeter text ON
Attachment 117496

if send 2 post consecutive (TEST 1 + TEST 2), i see merge but NOT delimeter text ?!?!?!
Attachment 117504

I would like to see between a post and another, the phrase "delimeter text" as below (I've added manually edit post)
Attachment 117498

Thanks

Vitaly 05-24-2010 07:43 PM

Make sure, that "Use delimeter for forums posts" set YES.

According to screenshot, you defined delimiter message, but fogot to define where to apply. That can seems a duplicating functionality, but it's needed for other addons, which defines more complicated conditions for delimiter appearance.

Cla75 05-24-2010 08:12 PM

Sure, delimeter text is ON
run test with merge time 60 min

Cla75 05-25-2010 01:05 PM

test with time = 60 min is OK
thanks for your precious support

JohnBee 06-01-2010 01:17 PM

confirmed doesn't work here either...
It merges but no delimiter text...

Forum-Germany 07-04-2010 10:57 AM

The add-on does not work for me.

Vitaly 07-04-2010 03:24 PM

Please, be more detailed. I have low tepelathy skills. Addon is working.

Brandon Sheley 08-03-2010 05:56 PM

thx for the mod, works on 3.8.5 :)

Vitaly 08-04-2010 01:58 PM

Sorry, unicode only. Search recoder program in google, there are should be some.

for ubuntu "apt-get install recode" :)

Saint_ago 10-29-2010 04:36 PM

It duplicated my quick reply's smilies bar!

www.battlecentral.com.br/forum

furnival 11-30-2010 11:42 AM

Seems to be a bit erratic when the post delimiter formatting text is changed but I think I have got it working consistently now. Many thanks!

mholtum 12-01-2010 10:30 PM

thanks

mholtum 12-01-2010 10:36 PM

1 Attachment(s)
I am having an issue.
Instead of merging the second post with the first one, I am getting a second post with the merge. See screenshot

mholtum 12-03-2010 04:29 PM

Nobody?

mholtum 12-06-2010 01:10 PM

Since I couldnt get a reply in regards to my issue, I deleted yours and installed one that worked. Thanks anyways

PAKIDIL 09-15-2011 03:29 PM

doesn't not work with 3.7.

Creating duplicates like

hello

When again posted

Hello (post as it is)

with addition of another post

Hello
New merge message here

Any solution for this ?

www.nofal 09-14-2012 08:28 AM

Good Work


All times are GMT. The time now is 12:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01292 seconds
  • Memory Usage 1,801KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete