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)

-=Sniper=- 02-22-2006 11:42 AM

Xenon; sorry if its already been posted, a user on my forums made three posts with the exact same content and it processed it as three different posts. (so the user has three posts saying "thank you")

Xenon 02-22-2006 01:11 PM

hmm, that posts should filtered out by the dupe check already

are you sure you don't have another hack installed?

-=Sniper=- 02-22-2006 01:28 PM

I don't think there are any conflicts, I do have the hack installed which marks the thread as old after xx days, but the thread the posts were made in, is recent.

the user said, he was stuck on the page for a while.

I just tried to duplicate the problem, but can't seem to, will see if it happens again and post back.

Khent334 02-22-2006 02:24 PM

Would you mind cleary addressing the quick reply issue? I just did a fresh install of this hack on a fresh 3.5.3 board, and the quick reply still doesn't refresh the page automatically.

Paul's fix apparently doesn't work with your new release either.

Xenon 02-22-2006 07:36 PM

Erm?
there is no quick reply issue in the newest version.
there is no refresh after a QR if you have ajax enabled.

Xplorer4x4 02-22-2006 08:39 PM

Quote:

Originally Posted by Xenon
there is no refresh after a QR if you have ajax enabled.

I just installed today and I as well have to refresh before it merges the posts.

Also how can i exclude this form 2 forums. I tried,
PHP Code:

is_array($GLOBALS[forumid], array(44,42)) 

But that just made a duplicate messaage turn up evrytime i posted.

Xenon 02-22-2006 11:46 PM

on ajax it will look like two posts and will be merged afterwards, that's why the tilte of the ajax' post is 'Doublepost will be merged'

as for your code, there are two mistaked:

it's in_array, not is_array

and you should use $threadinfo[forumid] instead of the $globals one

hiiped 02-23-2006 05:13 AM

agreed
On a fresh install of vB 3.5.3
after a post, when you quick reply it shows as two posts
then you have to REFRESH for it to merge

Xenon 02-23-2006 03:01 PM

yep, that is working as designed

the post is already merged, but with the new AJAX features of 3.5.0 that's the only possible way without really much hacking into the files as well

Xplorer4x4 02-23-2006 04:37 PM

PHP Code:

in_array($threadinfo[forumid], array(42,44,36)) 

I am using this in Additional Condition input field and it is still not bypassing your hack in the apropriate forums.


All times are GMT. The time now is 09:51 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.01807 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