Needs work
Project:
Spam
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2010 at 18:34 UTC
Updated:
9 Jan 2011 at 20:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
mdorrell commentedTry using this patch. This takes out the drupal_gotos, and uses the form_set_error to give messages to the user. Something this module should have done anyways.
Comment #2
tnanek commentedI'm still in early development stages of my site when I tried to apply this patch, and it wouldn't apply automatically following the steps at http://drupal.org/patch/apply - I went through and applied it by hand though since it does look correct etc, I shall post back if I experience any problems with it at a later point.
Comment #3
fotuzlab commentedThe patch works really well. Great work by mdorrell.
Just modified set_form_error() so that it displays the custom message(defined in the text area in Spam UI) rather than hard coded message in the earlier patch.
Comment #4
gnassar commentedI like the idea of this patch a lot -- but I think it may break the "spam feedback" functionality for those who want to prompt users who submitted spam to request moderator action.
Also, the last few changes in the patch seem to modify cases where there is no spam-flagging error -- for example, administrators manually setting content as spam/not spam from the admin pages.