Recent Changes - Search:

PmWiki

pmwiki.org

Blocklist-Talk

This is a talk page for improving Blocklist.


How do i configure the blocklist to also check third party cookbook scripts, in my case Cookbook.Guestbook? This scripts posts to pmwiki using the hidden field action=guestbook in the form.

So i have tried putting in tho local config:

$BlocklistActions['guestbook'] = 1;

But that does not get it working. If i try it manually by calling the blocklist from within the guestbook-script

global $Enablepost;
Blocklist($pagename,$some_text_string);
if ($Enablepost)
{
WritePage($datapagename,$rcpage);
}

Bas? May 05, 2008, at 03:52 PM


blocklist bug! I create SiteAdmin.Blocklist

SiteAdmin.Blocklist

  • block:caca.com

config.php

  • $EnableBlocklist = 1;

When I edit a page, the script "scripts / blocklist.php" is played ... caca.com but is added to the page ...

Help please!

the script never gets in the if clause as Enablepost is not set?

$EnablePost is set to 1 early in pmwiki.php. Do you have a standard pmwiki installation or there are some recipes which use a different mechanism for editing pages? --Petko February 15, 2012, at 01:58 AM

EDIT ! Thanks ! My problem is with the translation ;)

Vous pouvez m'écrire en français. Le Blocklist fonctionne sur plusieurs wikis. Je ne sais pas si Fox est compatible avec Blocklist, si vous modifiez des pages avec des formulaires Fox, je suppose qu'il faut demander au développeur HansB (en anglais ou en allemand). --Petko February 15, 2012, at 03:55 PM

Pour les activer Blocklist avec Fox je viens de faire $BlocklistActions['foxpost'] = 1; et ça marche !(dans config.php)

This is a talk page for improving PmWiki.Blocklist.

Edit - History - Print - Recent Changes - Search
Page last modified on February 16, 2012, at 02:38 PM