Hi, I've installed this module on drupal 5.1 and tested it. It doesn't work. I submit multiple times on both forum topics and comments. I also tried the patch to form.inc at http://drupal.org/node/107358 (not at the same time of course) and it did not work either. Curiously enough, I have userpoints installed as well and a forum post/comment is supposed to give the user 1 point per comment/post. Even though multiple posts show up if I click submit say 3 times, only 1 point is added to the account. It looks as though userpoints has it figured out.
At any rate, any help would be appreciated -- this is a critical problem in drupal.
Comments
Comment #1
robertdouglass commentedPlease describe to me what you did to test this. Thank you.
Comment #2
lunas commentedHi, I didn't do anything special, I simply installed and activated the module and then logged out and signed in as a regular user. I went to my forum and submitted a new topic, hitting the submit button a few extra times. It behaved as if the module wasn't there and posted a number of duplicates. Thinking maybe the module didn't monitor the forums I went to a story page and tried the same thing with the comments. Same result -- duplicates were posted. As that didn't work, I turned off the module and then went to the post I mentioned above and tried patching form.inc as per the latest patch in that post. Proceeded to test as I had with the module and I got the same results. No error messages, nothing out of the ordinary, nothing I could pick up on that would point to why it wasn't working. Hope that helps.
Comment #3
robertdouglass commentedThe Drupal-5 version of this module is now deprecated and will not be supported. We attacked the issue at the core level and came up with a much more elegant solution:
http://drupal.org/node/107358
I don't know if I'll have time to try and roll a module for this for 4.7. The original sponsor of the module might backport the patch listed in #107358, but in general, I will be dedicating minimal effort to this module.
Comment #4
lunas commentedThe patch you just listed -- will it not work on 5.1? I tried it and it doesn't, just curious if it was supposed to. Tested it the same way I did the others...
Comment #5
robertdouglass commentedIt was rolled and tested against 5.1, so, yes. If none of these are working for you I am starting to suspect a problem unique to your installation. The patch I linked to had the Dickens tested out of it, and I have great confidence in its solidity.
Comment #6
moeed commentedIs there anything available for 5.3. I tried your patches on 5.1 and they worked but since I've upgraded to 5.3 nothing works.
Comment #7
robertdouglass commentedYeah. Sadly we're at a point where neither the patches nor the module work. I think the best solution right now is the JS that Ted Serbinski offers on his blog: http://tedserbinski.com/2007/01/11/how_to_prevent_duplicate_posts