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.


All times are GMT. The time now is 08:42 AM.

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.06179 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete