vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Doublepost Prevention (https://vborg.vbsupport.ru/showthread.php?t=233234)

Paul M 10-16-2011 07:04 PM

Yes.

misericorde 10-16-2011 08:14 PM

Thank you Paul

Installed

Nice !!!

Scyther 10-19-2011 09:45 AM

Marked Installed.
Nice Mod.

clutchthese 10-19-2011 12:19 PM

Great mod! installed!

Gripi 10-22-2011 10:54 AM

is it possible to make this code to allow double post if the double post is the 2nd post in the thread? only for 2nd post.

because lots of people in my forum reserved the 2nd post to use in the future due to the limitation of total character in a post.

thanks

Paul M 10-22-2011 11:49 AM

Im sure it would be possible, but Im not sure how off the top of my head.

Gripi 10-22-2011 01:33 PM

could someone tell me what is the code like this:

if this post is second post in the thread, abort

or if this post under the 1st post in the thread, abort.

i will put that command inside the plugin manager, and above before the process run.

Gripi 11-06-2011 01:44 PM

hm.. no one could help?

a code like this, but i really2 no idea how to make it works, already tried couple times:

PHP Code:

if ($post[postcount] == 1)
{
    
a code to abort the process;


but i'm sure code like this in the plugin that cancel the process:

PHP Code:

    if ($vbulletin->options['pdp_ipcheck']) 
    { 
        if (
IPADDRESS != $doublepost['ipaddress']) 
        { 
            
$process false
        } 
    } 

please help..

Paul M 11-06-2011 06:40 PM

Try this ;

PHP Code:

    if ($dp_threadinfo['replycount'] == 0
    { 
        
$process false
    } 


Gripi 11-07-2011 07:04 AM

works like magic..

thank you very2 much :)


All times are GMT. The time now is 10:51 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.01333 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete