Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Merge Double Post Details »»
Merge Double Post
Version: 2.9, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 06-05-2010 Last Update: 12-26-2010 Installs: 108
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

vb 3.8 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.9
- fixed post date - now stays intact.
- some ajax tweeks

2.8
- fixed VaultWiki compatibility

2.7
- port to vb4

Download Now

File Type: zip merge_doubleposts-2.7.zip (10.5 KB, 88 views)
File Type: zip merge_doubleposts-2.8.zip (10.5 KB, 283 views)
File Type: zip merge_doubleposts-2.9.zip (10.6 KB, 541 views)

Screenshots

File Type: jpg merge_dp.jpg (88.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-06-2010, 09:43 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, what's the difference between your and PM's hack?
Reply With Quote
  #3  
Old 06-06-2010, 10:00 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attachments, one pass, relative time in delimiter. Better design, lol

But PM provides better support. His modes where converted to vb4 much earlier, than my ones.
Reply With Quote
  #4  
Old 06-06-2010, 10:23 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
Attachments, one pass, relative time in delimiter. Better design, lol

But PM provides better support. His modes where converted to vb4 much earlier, than my ones.
thanks for the reply mate
Reply With Quote
  #5  
Old 06-06-2010, 11:39 AM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to only merge the post if the message contains certain text?

That is, if a post does NOT contain certain text it is not counted as a double post?
Reply With Quote
  #6  
Old 06-06-2010, 01:15 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only if you modify code or write addon.
Reply With Quote
  #7  
Old 06-11-2010, 11:25 PM
Webbstre Webbstre is offline
 
Join Date: Nov 2009
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this, and it works great! I like the merging and it perfectly handles the double post problem.
Reply With Quote
  #8  
Old 06-13-2010, 01:52 AM
Webbstre Webbstre is offline
 
Join Date: Nov 2009
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, after a day of using this I came across a major problem. Something in this mod conflicts with my Vaultwiki add-on. First, it makes it so the "Last Post" link on the forum home leads to a search page instead of the real page. Second, it makes it so I cannot create new wiki articles.

The author of VaultWiki said this was the problem:

Quote:
This is not a VaultWiki bug. The mod you are using "Merge Double Posts" was setting $post['postid'] to a NULL value at hook newpost_complete.

Please report this to the mod creator. The post ID is already set in the file above...

Code:
if ($type == 'thread')
	{
		$post['threadid'] = $id;
		$threadinfo =& $dataman->thread;
		$post['postid'] = $dataman->fetch_field('firstpostid');
	}
	else
	{
		$post['postid'] = $id;
	}
If you could release a fix for this I would be very grateful. I really like your mod, but I paid to use VaultWiki and it's a bit more essential to my site.
Reply With Quote
  #9  
Old 06-13-2010, 02:23 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for report. I'll check, what can be done.
Reply With Quote
  #10  
Old 06-13-2010, 02:56 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you really need the Ignore forums AND Enabled Forums? Wouldn't just one setting actually do both? Whatever is enabled is all the would show. No need to ignore anything then. What would happen if you had the same forumid set for both options?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:56 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.08715 seconds
  • Memory Usage 2,320KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete