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)

Boofo 10-12-2005 02:22 PM

Quote:

Originally Posted by mtha
look like boofo got right into the idea.

Thank you very much Xenon


PHP Code:

AND strlen($post['message']) <= 400


Boofo, use

PHP Code:

    $dp_settings = array(
        
'timespan' => 3600 24,// how many seconds after the last post the new post is defined as doublepost
        
'spacer' => "\n\n",    // What should be between the old post and the new one (default: two empty lines)
        
'editedbymsg' => 'Automerged Doublepost'// If left blank no edited by will appear
        
'maxchars' => 400// Max chars where post is merged.
    
); 

and

PHP Code:

AND strlen($post['message']) <= $dp_settings['maxchars'] ) 


Good idea, thanks! ;)

mtha 10-12-2005 05:34 PM

Quote:

Originally Posted by Xenon
Unregistred users use usernames as well afaik, they are just not registred.

It doesnt really matter to me much, but there is a case when "guest" dont change username, it will use default one "Unregistered User" as username.
Other can post with the same default "Unregistered User" too, right?

Xenon 10-13-2005 11:39 AM

yep, you are right..

hmm, is it worth to add an extra check there?
i mean, how many boards allow unregistred users to post at all?

Devii 10-13-2005 09:01 PM

*hopes this is a plugin soon* I miss it so.

Snake 10-13-2005 09:20 PM

Yeah me too, I can't wait for it. :D

mtha 10-13-2005 10:23 PM

Quote:

Originally Posted by Xenon
yep, you are right..

hmm, is it worth to add an extra check there?
i mean, how many boards allow unregistred users to post at all?

:) yeah, it's not really worth it,

just as an additional to Boofo query above, I use:

should it be harder or something? i
PHP Code:

AND !in_array($vbulletin->userinfo['usergroupid'], array(1,5,6,7)) 

for me, I have some box for troubleshooting, and sometime, member (or guest) keep posting alot of questions in there :).


anyway, it's optional.

Xenon 10-15-2005 10:01 AM

that's ok so.

you might also consider to disalbe it on some forums maybe..
like vb.org disabled it on the release forums..

ozmazdaclub 10-15-2005 11:01 PM

is this no auto updating the last post using ajax or is it still broken... if fixed are the instructions updated?

JohnBee 10-16-2005 12:17 AM

I cannot confirm that the ajax is fixed either, I really enjoyed this hack when it was on 3.0.x I hope they get fixed soon! :D

Boofo 10-16-2005 08:27 AM

Quote:

Originally Posted by Xenon
that's ok so.

you might also consider to disalbe it on some forums maybe..
like vb.org disabled it on the release forums..

How would you disable it in certain forums?


All times are GMT. The time now is 11:49 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.01693 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (4)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