Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prevent Doubleposting Details »»
Prevent Doubleposting
Version: 1.0, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 09-19-2005 Last Update: 01-15-2007 Installs: 877
Uses Plugins
 
No support by the author.

When a User posts into a thread where he already has the lastpost, no new post will be added. The lastpost of him will be edited and the new text is put after his first message.
This will be done until the old post is older than 24 hours (you can change this timespan yourself)

Nothing more to say about that, it's the quite same as my vb3.0 version.

This Mod should run with 3.6 as well


** Please make sure you ENABLE this product after you install it - it is disabled by default. **

For vb 3.8 there are two alternative updates ;

https://vborg.vbsupport.ru/showthread.php?t=203705
https://vborg.vbsupport.ru/showthread.php?t=204177

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
inphoenix

Comments
  #612  
Old 11-02-2006, 12:20 PM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still no go after the fixes. We run 3.6.2 and users still need to refresh manually.

Can someone please pick this plugin up and take it to 100% functonality for 3.6+ ?
Reply With Quote
  #613  
Old 11-10-2006, 12:23 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmxs
Here its the product For 3.6.x!

Info about HOW TO exclude usergroups from Double Posting!


Vb Settings - Doublepost Preventing - Additional Condition (experts only)

And Add
Code:
!in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))
Change 5,6,7 with user group id that you wont to exclude!
Seem it is not longer working under 3.6.3 - let?s get it complettely updated :

Doublepost Prevention for 3.6.x
Reply With Quote
  #614  
Old 11-11-2006, 01:55 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works now ! But i do not know what the Error was. :/
Reply With Quote
  #615  
Old 11-12-2006, 12:53 PM
Guest210212002
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by rmxs
Here its the product For 3.6.x!

Info about HOW TO exclude usergroups from Double Posting!


Vb Settings - Doublepost Preventing - Additional Condition (experts only)

And Add
Code:
!in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))
Change 5,6,7 with user group id that you wont to exclude!
Great tip - Xenon should add this to the initial post.
Reply With Quote
  #616  
Old 11-15-2006, 04:15 AM
beebi beebi is offline
 
Join Date: Aug 2005
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmxs View Post
Here its the product For 3.6.x!

Info about HOW TO exclude usergroups from Double Posting!


Vb Settings - Doublepost Preventing - Additional Condition (experts only)

And Add
Code:
!in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))
Change 5,6,7 with user group id that you wont to exclude!

????????????????????????????????????????????
what is this?
this is bad coding


to get it work fine with 3.6.x
find
PHP Code:
    // we are here, so we may have a doublepost -> do more exact checkings
    
$doublepost $vbulletin->db->query_first("
        SELECT post.*
        FROM " 
TABLE_PREFIX "post AS post
        LEFT JOIN " 
TABLE_PREFIX "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
        WHERE threadid = 
$threadinfo[threadid]
            AND dateline > " 
. (TIMENOW $vbulletin->options['xen_dp_timespan'] * 60) . "
            AND visible = 1 AND deletionlog.primaryid IS NULL
            AND postid <> 
$post[postid]
        ORDER BY dateline DESC
        LIMIT 1
    "
); 

replace it with
PHP Code:
        // we are here, so we may have a doublepost -> do more exact checkings
        
$doublepost $vbulletin->db->query_first("
                SELECT post.*
                FROM " 
TABLE_PREFIX "post AS post
                LEFT JOIN " 
TABLE_PREFIX "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
                WHERE threadid = 
$threadinfo[threadid]
                        AND post.dateline > " 
. (TIMENOW $vbulletin->options['dp_timespan'] * 60) . "
                        AND post.visible = 1 AND deletionlog.primaryid IS NULL
                        AND post.postid <> 
$post[postid]
                ORDER BY post.dateline DESC
        "
); 
Reply With Quote
  #617  
Old 11-20-2006, 09:24 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is installed at vb.org and causes text in html tags to get the colors mixed up. See here:
https://vborg.vbsupport.ru/showpost....3&postcount=13
I did not add any color to the html tagged text. Only after I posted an additional (back to back) post and this second post got merged, the color was added.
Reply With Quote
  #618  
Old 12-29-2006, 12:20 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.6.4?
Reply With Quote
  #619  
Old 12-29-2006, 12:30 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm guessing it does....
Reply With Quote
  #620  
Old 12-29-2006, 12:48 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or does it? I installed this and it seems you need a refresh of the page to see the posts merged.
Reply With Quote
  #621  
Old 01-01-2007, 08:28 AM
Err0r1 Err0r1 is offline
 
Join Date: Aug 2006
Location: Sweden
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working for anyone on 3.6.4?

I've installed, but nothing happens upon double posting.

Maybe it's because I've installed beebi's mod: https://vborg.vbsupport.ru/showpost....&postcount=618
Reply With Quote
Reply


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 02:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05388 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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