Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Doublepost Prevention Details »»
Doublepost Prevention
Version: 4.1.7.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.1.4 Rating:
Released: 01-14-2010 Last Update: 05-23-2012 Installs: 1007
Uses Plugins
Translations  
No support by the author.


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

The feature is already built into the core vBulletin 4.2.x code.
--------------------------------------------------------------------------------


This is a current version of the popular modification, originally developed for the early 3.x series by Xenon.

Basically, if member posts in a thread where they were the previous last poster, then if the conditions are met, their new post will be auto-merged into the previous post instead of creating a new "double" post.

A number of options are provided ;

Time Limit - if more than xxx minutes have passed since the last post, no merge is done.

Timestamp Spacer - if enabled, a timestamped spacer is added between the old post text and the new post text.
Other spacer choices provided are no spacer, a default, or a custom spacer.

Spacer Colour - allows you to set the colour of the spacer between merged posts (if one is enabled).

Post Timestamp Update - if enabled the newly merged post will have its post time updated to the new time, otherwise it retains the time of the original post.

Usergroup exceptions - Allows you to exempt certain usergroups from the doublepost merges.

Forum exceptions - Allows you to exempt certain forums form the doublepost merges.

IP Address Check - Specifies if the poster IP should be checked, if enabled, the post will only be merged if the user and ip address are the same.

All settings are located in vBulletin Options > Doublepost Prevention.

To install just unzip the XML and import into vB using the ACP Product Manager.


History:

v4.0.1 : 15-Jan-2010 : Initial release for vb 4.0.0 Gold.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.
v4.1.1 : 17-Jun-2011 : Fixed for vBulletin 4.1.4.
v4.1.2 : 30-Jun-2011 : Javascript updated for CKE and Autosave.
v4.1.3 : 08-Jul-2011 : Dependancies updated as its no longer compatible with vB 4.1.3 or less.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

Show Your Support

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

Comments
  #352  
Old 11-14-2012, 07:43 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reed_HCT View Post
Uninstalled due to upgrade to 4.2.0
Re-installed. This plugin prevents duplicate posts through Tapatalk & ForumRunner as they can bypass it with the default doublepost merger within vB.
Reply With Quote
  #353  
Old 11-14-2012, 08:55 AM
yjeanrenaud yjeanrenaud is offline
 
Join Date: Aug 2010
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool! tapatalk could also bypass this mod, great if that works now
Reply With Quote
  #354  
Old 11-14-2012, 09:17 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yjeanrenaud View Post
cool! tapatalk could also bypass this mod, great if that works now
Nope, with this plugin installed you can no longer post double (or more) posts with tapatalk/forumrunner
Reply With Quote
  #355  
Old 11-17-2012, 10:13 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's one bug with DBTech's Advanced User Tagging (v3.0.5, maybe all in v3 series) and this mod.

Anyway, it is noticeable if you use Paul's mod double post prevention. I described bug here: http://www.dragonbyte-tech.com/f51/s...tion-mod-9721/

Solution is to as follows:

Find Prevent DoublePost plug-in for newpost_complete hook (all plug ins have same name, but hook location is different).

In plugin you need to find this code:

PHP Code:
$spacer '[COLOR="'.$vbulletin->options['pdp_colour'].'"]'."\n\n".$spacer."\n\n".'[/COLOR]'
And it needs to be changed into this:

PHP Code:
$spacer "\n".'[COLOR="'.$vbulletin->options['pdp_colour'].'"]'."\n\n".$spacer."\n\n".'[/COLOR]'."\n"
It adds line break at the beginning and at the end. Actually, for this bug it is only necessary to have only in the end line break, but I added it to both places, so people could easier remove color tags from the rest of the post.

Now it works fine.

If you use both of this mods, you certainly would like to apply this change. And, it makes easier for users to quote double posts from other's if they want to delete unnecessary content of their posts (it puts information about double posts in new lines, not the same as users text).
Reply With Quote
  #356  
Old 11-18-2012, 07:09 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not really a bug, but it is something I noticed a long while ago (when quoting), which is why I actually changed it when I added this to the 4.2.0 core.

If you want to match what vB4.2.0 does, change it to this ;

PHP Code:
$spacer "\n\n" '[COLOR="' $vbulletin->options['pdp_colour'] . '"]' $spacer '[/COLOR]' "\n\n"
Reply With Quote
Благодарность от:
Alan_SP
  #357  
Old 11-19-2012, 06:33 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul. One new line is enough for me, but I'm sure that some would use as it is in vB4.2. :up:

When I said bug, I meant that this didn't worked for DBTech AUT. Strange thing is, it worked with older version of AUT and your mod without any need to change it.

EDIT: By playing a bit with spacer, this is what I find the most satisfying for me:

PHP Code:
$spacer "\n\n".'[COLOR="'.$vbulletin->options['pdp_colour'].'"]'.$spacer.'[/COLOR]'."\n\n"
It makes spacer all in a one line and separated from posts' content. I think this is the most easiest for users to delete from their quotes. Mentioning works too.
Reply With Quote
  #358  
Old 11-19-2012, 12:53 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Paul. Is there any specific reason why Tapatalk and Forumrunner ignores and bypasses the double post prevention feature build in the core of vB while your plugin (this one) works fine in preventing double posts made through tapatalk/forumrunner?
Reply With Quote
  #359  
Old 11-20-2012, 08:02 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since I have no clue how Tapatalk and Forumrunner work, I dont know.
Reply With Quote
  #360  
Old 05-08-2013, 02:01 PM
muimui muimui is offline
 
Join Date: Apr 2013
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.1.4 / Incompatible with 4.1.99 and greater)
Reply With Quote
  #361  
Old 05-08-2013, 02:24 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muimui View Post
This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.1.4 / Incompatible with 4.1.99 and greater)
That's correct. It's because the feature is already built in to versions 4.2.0 and 4.2.1 so there's no need for an add-on.
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 11:24 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.04909 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (3)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (15)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete