vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=96602)

LBSources 02-02-2006 12:33 AM

ok thanks.. done and works well..

Daniel 02-02-2006 12:38 AM

*hint* move to plugins section *hint*

prawn 02-02-2006 02:01 AM

I did not test it out that much yet but what about the replies statistics in the forumdisplay? When I add a post via quickreply the system works but in the forum display the merged post is still counted seperateley.

Thanks!

HMBeaty 02-02-2006 03:45 AM

So this IS working with the AJAX feature now, correct?

Yorixz 02-02-2006 04:27 AM

This seriously rocks, thanks a lot - will try it out later today!

IrPr 02-02-2006 08:19 AM

Still in Code Modifications Area:D
Xenon how to exclude Admin/S-Mod posts from auto mergin ?

Xenon 02-02-2006 11:05 AM

*moved*

to exclude admins/mods just edit the main plugin, and modify this condition:
PHP Code:

if (/*!ismod() AND !is_hack_forum($threadinfo['forumid']) AND */$type != 'thread'
    
AND $dp_threadinfo['lastpost'] > TIMENOW $vbulletin->options['xen_dp_timespan'] * 60
    
AND $dp_threadinfo['lastposter'] == $vbulletin->userinfo['username']
    AND 
$dataman->fetch_field('attach') == 0

the code what to add, is already posted in this thread on page 1 :)

@forumcounters: yep, seems that this is a bug.
i thought the datamanager does that automatically, seems not...

Xenon 02-02-2006 11:58 AM

ok, Beta 3 released currently.

it fixes the forumcounters, also there is now a setting for all experts out there.
this setting allows everyone to add several conditions, without touching the sourcecode.

be careful, when filling values into that field, as no errorchecking was done by myself, speak it's really for experts only

Gio Takahashi 02-02-2006 12:38 PM

Awesome.

Now, how might I add something like this:

Double Post Merged to the post whenever someone makes a double post.

lanc3lot 02-02-2006 01:05 PM

Quote:

Originally Posted by Xenon
*moved*

to exclude admins/mods just edit the main plugin, and modify this condition:
PHP Code:

if (/*!ismod() AND !is_hack_forum($threadinfo['forumid']) AND */$type != 'thread'
    
AND $dp_threadinfo['lastpost'] > TIMENOW $vbulletin->options['xen_dp_timespan'] * 60
    
AND $dp_threadinfo['lastposter'] == $vbulletin->userinfo['username']
    AND 
$dataman->fetch_field('attach') == 0

the code what to add, is already posted in this thread on page 1 :)

@forumcounters: yep, seems that this is a bug.
i thought the datamanager does that automatically, seems not...


U mean to edit the .xml file before install it as a product yes? And mark the above code in the xml and put the one u give on page 1?

Sorry, just be more sure:)


All times are GMT. The time now is 12:21 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.01935 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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