[pmwiki-users] Blocklist2 bug (was: Re: Blocklist2 ignoring EnableWhyBlocked)

David Spitzley dspitzle at wash.k12.mi.us
Sun Apr 2 11:03:29 CDT 2006


David
>>> "H. Fox" <haganfox at users.sourceforge.net> 04/01/06 12:05 PM >>>
On 4/1/06, David Spitzley <dspitzle at wash.k12.mi.us> wrote:
> "H. Fox wrote;
> Change
>     $EditMessageFmt .= $BlocklistMessageFmt;
> to
>     $MessagesFmt[] = $BlocklistMessageFmt;
>
> Change
>     if ($EnableWhyBlocked == "1") $EditMessageFmt .= "<pre>" .
> $WhyBlockedFmt . "</pre>";
> to
>     if ($EnableWhyBlocked == "1") $MessagesFmt[] = "<pre>" .
> $WhyBlockedFmt . "</pre>";
>
> Ok, I made those changes, and while I now get a message that "This post has been blocked by the administrator", it doesn't list any of the reasons why,

Have you set

$EnableWhyBlocked = 1;
-------------------------------------------

Yes, which is how I'm getting the "This post has been blocked by the administrator" message.  I'm just not getting the rest.  As I said, you can see the behavior at http://www.davidaspitzley.org/gpmiwiki/index.php?n=Main.HomePage  .  It won't let you save anything, even the current content of the page; I suspect there's some keyword in the pre-Blocklist text that is triggering the Blocklist, but it won't tell me what.  Other pages save without a problem, unless I add a word that I know is in the blocklist, in which case it give the "blocked" message but still doesn't show the reason.




More information about the pmwiki-users mailing list