[pmwiki-users] Possible Tweak for CommentBoxStyled recipe

Jon Haupt jhaupt at gmail.com
Sun Jun 18 14:59:11 CDT 2006


On 6/15/06, David Spitzley <dspitzle at wash.k12.mi.us> wrote:
> I'm quite happy with the CommentBoxStyled recipe, which I'm using with BlogSimple2, and I was >very< pleased to see that it interfaces with Blocklist3, which I've just tested.  However, I've got one minor request:  I've set "$EnableWhyBlocked = 1;" in my config.php, which works correctly when I try adding a page, but when I submit a comment with blocked terms in it, the block works but no message as to what caused the block is provided.  Since the main site is password protected, the comments are the only real reason for the blocklist, and I'd prefer to give people feedback if they accidentally stumble over a blocked term somehow.  I just thought I'd mention this in case it floats anybody's boat to figure out how to enable it.  I may try myself, if I get a chance.
>
>
> David

I'm having this same problem, and I don't quite understand why
EnableWhyBlocked doesn't work quite right with CommentBoxStyled in
these recipes.

However, I have found cmsb-blocklist (at the bottom of the
Cookbook/Blocklist2 page) to be a good substitute, and it does work
with comment boxes.  Perhaps the code there might help explain why it
isn't working with Blocklist2 or 3, but I haven't taken the time to
examine it that carefully...

Jon




More information about the pmwiki-users mailing list