vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Prevent Double Post (https://vborg.vbsupport.ru/showthread.php?t=293074)

Gripi 12-17-2012 09:17 PM

Prevent Double Post
 
Hi..

I just upgrade my forum to 4.2.0 from 4.1.6..

Before i upgrade my forum system, i use "Prevent Doublepost - by Paul M", and i custom the code the plugin a little bit so the "Prevent Doublepost" system only run if thread already had more than 2 reply.

i'm using this code:

Code:

if ($dp_threadinfo['replycount'] < 2) 
    { 
        $process = false; 
}

after upgrade to 4.2.0, i really couldnt found where i should put the code above, because the "Prevent Doublepost - by Paul M" is no longer using plugin.

could someone help me?

thanks alot..

Lynne 12-17-2012 10:06 PM

You need to remove the plugin since this feature is now built into vB4.2.0

Gripi 12-18-2012 05:18 AM

hello..

yes i already remove the plugin..

but how to prevent the post merger if the replycount still under < 2 ?

only merger the post if the replycount only above => 2

Gripi 12-19-2012 06:03 PM

Anyone could help?

Gripi 12-25-2012 05:42 AM

anyone? really need this..

btw.. merry xmas.

Lynne 12-26-2012 03:35 AM

There is no default function/setting to do what you want. You will need to write some custom code for it. If you cannot do it yourself and nobody knows the code, you may need to post in the Paid Requests forum.


All times are GMT. The time now is 03:31 PM.

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.01094 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete