Closed (won't fix)
Project:
Misery
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2010 at 15:59 UTC
Updated:
28 Dec 2010 at 02:48 UTC
Even though I set 'Forms don't submit:' to 100%, the users that are supposed to endure Misery are still able to send messages.
Comments
Comment #1
danielb commentedCan you give more information?
Do other misery options work?
Do other forms prevent submission?
Have you tested it yourself and tried to submit any other forms?
Comment #2
white_pawn commentedAll other options work, and other forms don't submit. Spammers are still able to send messages. Tested it myself. Using Privatemsg v1.3.
Comment #3
danielb commentedI've identified the problem is that misery attaches itself to the $form['#validate'] whereas in that form it uses a #validate set on the submit function.
Comment #4
danielb commentedI don't think I'm gonna be able to fix this using any reasonable means.
You can fix this by creating this hook implementation in your custom module:
None of the functionality in this module is really guaranteed to work 100% of the time, it will annoy the user where it can, I guess, but shouldn't be relied on for blocking users from the site, etc...
If someone can suggest an alternate solution that doesn't have too much of an impact on normal form loading times, etc.. please suggest.