![]() |
And what are the changes on this one u pointed out Shuvo?
|
Quote:
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.. |
Quote:
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. |
u r welcome :D
|
Quote:
Ok now i got it:D Thnx, its much better indeed |
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 |
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; |
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. |
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??? |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|