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

David Spitzley dspitzle at wash.k12.mi.us
Sun Apr 2 18:43:26 CDT 2006


David
>>> "H. Fox" <haganfox at users.sourceforge.net> 04/02/06 12:27 PM >>>
On 4/2/06, David Spitzley <dspitzle at wash.k12.mi.us> wrote:
> David
> >>> "H. Fox" <haganfox at users.sourceforge.net> 04/01/06 12:05 PM >>>
> 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.

$EnableWhyBlocked is for "the rest".  From the script:

    $EnableWhyBlocked is a switch for whether or not to display
    reasons a post is blocked to the user on the edit screen.
    For security purposes, the default is off (0).

Temporarily give this one a try and see if there's any difference:

http://www.pmwiki.org/pmwiki/uploads/Cookbook/cmsb-blocklist.php
-----------------------------------------

Ok, I've got "$EnableWhyBlocked = 1;" now, without the 1 in quotes (thanks for catching that), and I've installed your version of blocklist instead of Blocklist2.php, but I still don't get an explanation of why things are being blocked.  Any further thoughts?




More information about the pmwiki-users mailing list