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)

lanc3lot 12-19-2005 02:28 PM

And what are the changes on this one u pointed out Shuvo?

Mudvayne 12-19-2005 05:43 PM

Quote:

Originally Posted by lanc3lot
And what are the changes on this one u pointed out Shuvo?

i dont get u :s

i told tht xenon's hack need code modification.. Kirby's dont.. Thats the point.. & i prefer importing product than modify code.. newayz drop it..

biggazillakilla 12-19-2005 07:18 PM

Quote:

Originally Posted by Shuvo
:).. https://vborg.vbsupport.ru/showpost....&postcount=157
u don hav to modify any code.. just upload the product.. kieby post it in this thread.. & i'm using it now.. working fine..

Thanks for the link. :)

I'm using Xenon's code (which requires editing files), but if there's a plugin, that would be much easier, especially since upgrades require overwriting the files.

Mudvayne 12-20-2005 12:01 AM

u r welcome :D

lanc3lot 12-20-2005 08:14 AM

Quote:

Originally Posted by biggazillakilla
Thanks for the link. :)

I'm using Xenon's code (which requires editing files), but if there's a plugin, that would be much easier, especially since upgrades require overwriting the files.


Ok now i got it:D

Thnx, its much better indeed

Sel 12-21-2005 02:11 PM

I've installed the plugin created by Andreas, works great. Just got a couple of questions:

1, Is there a way to disable the 'double post' plugin for admins and mods?

2, Is it possible to set no 'Minimum Time before Double Post'. So a user can never double post? At the moment I've just set the limit to a really high number.

Thanks

eoc_Jason 12-29-2005 06:22 PM

I'm working off the plugin by Andreas too, but trying to modify it some to force a page refresh if its a double post (if its from the quick reply box).

I'm having one issue if I do a double post via the advanced reply box, it refreshs then says "this forum is no longer accepting new posts" or something like that???

This would be great if it was a standard vB option, I think everyone gets annoyed by double-posters...

Update -

If I set the following in either of the postdata_xxx hooks, I can get the page to refresh after posting a quickreply (since ajax is enabled). However, the reply text shows up twice, and I have no idea why. I've peeled through the newreply.php, class_dm_threadpost.php, and functions_newpost.php files with no luck.

Code:

$this->registry->GPC['ajax'] = false;
Anyone have some help they want to give?

eoc_Jason 12-30-2005 02:58 PM

Eureka, I fixed the problem. :) I think it might have had to do with the redirect code being outside of the if() statement, not sure.

I've modified the code so that it will do a page refresh regardless if it's via the quick reply box or advanced reply page. The trick was to set ajax to false, and also I moved the redirect code where it edits the reason. I also modifed it to check just based on userids instead of names, then ids again...

I also had it update the post time when a double post occurs, so that the thread shows as new to people.

NOTE: I've stripped some bits of code out from Andreas' plugin, like the time checking. So compare the code before implmenting to make sure you have the features you want.

EDIT - I've had to remove the code, found a little gitch... will repost once its fixed.

EDIT AGAIN - Well, after trying many things out, I finally determined there is really no way to do it without editing some files or (partially) disabling AJAX.

I did find one little bug in the product xml...

The plugin for postdata_postsave

It shows $vbulletin->url for the redirect, but since its inside a class, it should use $this->registry->url instead. I believe that was my problem with it showing "this forum is not accepting new posts" error when you try to double post via the advanced reply.

beansbaxter 12-31-2005 05:05 AM

I am running 3.5.2 and it does not work with AJAX, very annoying. I really need/love this mod but I cant implement it unless this is fixed. I am clicking uninstall...

When can or should this be fixed???

Paul M 12-31-2005 06:48 AM

Fixes are in the thread if you care to read back a bit.


All times are GMT. The time now is 02:00 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.01820 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (3)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