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)

Neo_obs 04-27-2006 04:08 PM

OK how do I add multiple groups to not be affected? Like say I have multiple groups of Moderators and staff? can I just put xenon's code mulitple times? cause it doesnt seem to work that way

Xenon 04-27-2006 04:26 PM

by checking old posts:

https://vborg.vbsupport.ru/showthrea...949#post932949

pipin 04-27-2006 09:46 PM

Quote:

Originally Posted by Xenon
@pipin: i have tested it now again, and it works perfectly as i described....


I know the cause now. it doesnt work, if the prefix hack is used in a forum and then when the poster does the first and second post.

BeaLzeBuB 04-28-2006 01:56 AM

thx thx thx. its very useful

Xenon 04-28-2006 03:55 PM

@pipin: ahh, that may be a reason, as those forums are excluded here on vb.org ;)

Iceman62 04-28-2006 04:16 PM

Didn't work for me either.:ermm:

JohnBee 05-02-2006 02:25 PM

I totally love this hack!
I modded the old file based on and had it down to a sience on our forum, everyone loved it!

I was eager to add thes one to our new forum but I hit a wall because it seems to process thing a little differently now. Basically what I want is this:

JohnBee Added 3 minutes 2 seconds later...

Can somone help me get it working this way?
Also I liked the old system better than this warning for merger approach but hey... im not complaining, this hack kicks ass!

Xenon 05-02-2006 05:52 PM

well, the old way does work again, but you have to disable Ajax ;)

as for the second thing

hmm, not tried, but test it ;)

edit the plugin Main Doublepost Prevent Engine

find that line:
PHP Code:

$doublepost['message'] = $doublepost['pagetext'] . "\n" $vbulletin->options['xen_dp_spacer'] . "\n" $post['message']; 

and change into:
PHP Code:

$doublepost['message'] = $doublepost['pagetext'] . "\n" $vbulletin->userinfo['username'] . ' added after ' intval((TIMENOW $doublepost['dateline'])/60) . ' Minutes and ' . ((TIMENOW $doublepost['dateline']) % 60). ' Seconds' $vbulletin->options['xen_dp_spacer'] . "\n" $post['message']; 

or the like

JohnBee 05-03-2006 04:24 AM

Great! - When you say disable ajax, do you mean turn it off for the entire forum?

I added the MOD you suggested but when I did the double post prevention stopped working :(

Also I wanted to ask.
Is it possible to use the old file edit based hack on 3.5.4 to continue to acheive the old results?

Xenon 05-03-2006 12:25 PM

review my post above, i missed a dot ;)

jep, i mean for the entire forum

nope, the file edit will be a bit easier than the plugin version is, but the old results can't be achieved, because the old version was during a time, ajax wasn't used for quick reply


All times are GMT. The time now is 06:26 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.01835 seconds
  • Memory Usage 1,745KB
  • 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