Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Doublepost Prevention Plus Details »»
Doublepost Prevention Plus
Version: 1.3, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 02-03-2009 Last Update: 02-05-2009 Installs: 223
Uses Plugins Auto-Templates
Translations  
No support by the author.

This branch is no longer supported. Please, use this product.

This is complete rework of Xenon mod, that's not supported for a long time.

Difference:
  • No problems with quickpost & AJAX
  • Attachments supported
  • Easy groups ignore support
  • Hooks for customisation
What this mod do:

If user creates 2 sequent posts in a short time, those are merged. That helps to keep your forum clear and prevent topicks bumping.

Setup:

Just import product and change necessary settings. No any edits required.

If you limit posts edit time, it's recommended to make merge time === edit time.

PS. Should work with 3.7.x too, but tested only with 3.7.4.

Supporters / CoAuthors

    Show Your Support

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

    Comments
      #142  
    Old 12-10-2009, 09:12 AM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Vitaly, i'm using vb 3.8.4 PL1 installed your new xml and on double post got this:
    Warning: require_once([path]/includes/functions_mergedoubleposts.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_dm_threadpost.php(744) : eval()'d code on line 1

    Fatal error: require_once() [function.require]: Failed opening required '/home/thecodec/public_html/forumz/includes/functions_mergedoubleposts.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thecodec/public_html/forumz/includes/class_dm_threadpost.php(744) : eval()'d code on line 1

    All the above error was my fault !, see below

    Can you advise please?
    Reply With Quote
      #143  
    Old 12-10-2009, 09:22 AM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It seems i need this includes/functions_mergedoubleposts.php i couldn't download your file so i just copied your xml
    Reply With Quote
      #144  
    Old 12-10-2009, 09:30 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    You fogot to upload file from ./upload folder. New version require it. look into github. It has button to download all files in single archive.
    Reply With Quote
      #145  
    Old 12-10-2009, 10:15 AM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yes i know about the download button, but as i am at work the firewall wont allow the download, i found the seperate parts i.e Hook.....xml, Functions....php and uploaded them but everytime i make a double post i get redirected to your functions....php

    Odd!
    Reply With Quote
      #146  
    Old 12-10-2009, 10:31 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Check, if files are in proper place. This mod has standard setup - upload all files to apropriate directories and import XML. Error shows exact path, where it can't find file.

    It may be needed to change file permissions to allow webserver read it.
    Reply With Quote
      #147  
    Old 12-10-2009, 10:37 AM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Functions....php is in the includes folder Hook....xml is in Includes/xml/ folder and product-mergedoublepost.xml was imported with overwrite.

    by the way thanks for the prompt replies.

    Files are CHMOD 644
    Reply With Quote
      #148  
    Old 12-10-2009, 10:42 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Check files owner or chmod to 666.

    I can't consult about server administrating issue. Do anything you wish, but remove error "can't include file" . I't not mod issue.
    Reply With Quote
      #149  
    Old 12-10-2009, 10:54 AM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I've found the issue , it's not your mod!, when i saved target as for the files at github it saved the source code of the page....!

    I have fixed the hooks because that was easy however when copying the functions.....php and pasting it all appears on one line could you possible attach a text file of it here or send it to me please simon.lloydATthecodecage.com all should be well then
    Reply With Quote
      #150  
    Old 12-10-2009, 12:50 PM
    Simon Lloyd's Avatar
    Simon Lloyd Simon Lloyd is offline
     
    Join Date: Aug 2008
    Location: Manchester
    Posts: 3,481
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Vitaly, thanks for your help, it's working now however its not displaying the delimiter between merges.

    Never mind, the first duplicate post was posted within 1 minute and didnt show the delimiter however after posting again after 2 minutes it showed.

    is there anyway to display the actual time of the duplicate post rather than how many minutes later?
    Reply With Quote
      #151  
    Old 12-10-2009, 12:58 PM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    vB has delay to add "edited by" to message and log changes to history. Seems 15 minutes. Within this time delimiter is skipped, to avoid text bullshitting . If you are 100% shure, that you always need delimiter - change appropriade vB setting.

    Absolute time is very bad idea, because it will be incorrect for different time zones. That's why relative time is shown.
    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 12:54 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.07686 seconds
    • Memory Usage 2,305KB
    • Queries Executed 26 (?)
    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)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
    • (3)pagenav_pagelink
    • (1)pagenav_pagelinkrel
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (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
    • 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_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete