From: Dominik M. <in...@dm...> - 2008-10-19 16:46:34
Hi guys,
in /branches/code-style (SVN:212) I updated the qspam plugin. Now you
can define the bad words in an andmin panel and define how many of those
words may displayed in a comment.
Currently my English needs improvements (especially in the lang file...) ;-)
The modifications itself seems to work fine.
Regards,
Dominik
From: Edoardo V. <unc...@gm...> - 2008-10-19 16:49:52
sounds very very nice, I'll have a look
On Sun, Oct 19, 2008 at 6:19 PM, Dominik Menke <in...@dm...> wrote:
> Hi guys,
>
> in /branches/code-style (SVN:212) I updated the qspam plugin. Now you
> can define the bad words in an andmin panel and define how many of those
> words may displayed in a comment.
>
> Currently my English needs improvements (especially in the lang file...) ;-)
>
> The modifications itself seems to work fine.
>
> Regards,
> Dominik
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> FlatPress-devel mailing list
> Fla...@li...
> https://lists.sourceforge.net/lists/listinfo/flatpress-devel
>
From: Edoardo V. <unc...@gm...> - 2008-10-19 17:16:31
>> in /branches/code-style (SVN:212) I updated the qspam plugin. Now you
>> can define the bad words in an andmin panel and define how many of those
>> words may displayed in a comment.
my suggestions:
* why don't you just save the exploded list instead of the string? you
can implode it back only for displaying :)
* I think stripslashes($_POST['your-field']) is needed for words
containing apostrophees
* also I'm not sure but I believe \n\r are already normalized to \n
(but I could be wrong)
* \n\n should be normalized to \n otherwise you'll get the empty
string which should match anything => antispam would always fail
nice work, anyway