<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
<font face="Georgia">Latest version of PMWiki (well, downloaded about
3/4 weeks ago). <br>
<br>
You can try any of the pages at <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.followtheboat.com/pmwiki/pmwiki.php?n=Main.Main">http://www.followtheboat.com/pmwiki/pmwiki.php?n=Main.Main</a><br>
<br>
And the blocklist page is the same as PMWikis - Site.Blocklist<br>
<br>
It wouldn't be anything to do with me being logged in as administrator
would it?<br>
</font>
<pre class="moz-signature" cols="72">[] <a class="moz-txt-link-abbreviated" href="http://www.followtheboat.com">www.followtheboat.com</a> []
* tales from the high seas *</pre>
<br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20070322221559.GA15545@host.pmichaud.com"
type="cite">
<pre wrap="">On Fri, Mar 23, 2007 at 12:04:13AM +0200, [] Jamie wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> After reading one user's issues with spam I thought I'd investigate the
blocklist function. Clearly there is something I'm missing here. Despite
reading the explanation on this facility I'm uncertain of a couple of
things:
1. Can I just copy and paste the contents of Site.Blocklist on PMWiki as I
see it?
</pre>
</blockquote>
<pre wrap=""><!---->
Yes. It's also possible to configure a site to automatically download that
page once per day and use it.
</pre>
<blockquote type="cite">
<pre wrap=""> The page on blocklists tells me there are two formats (using /\)
yet the page Site.Blocklist is just a list of blocked words. No sign of
any forward or backward slashes.
</pre>
</blockquote>
<pre wrap=""><!---->
One format is a simple word format -- that's what you tend to see
on pmwiki.org. The other format is a regular expression format, which
is denoted by using slashes. Regular expressions allow patterns, checking
for word boundaries, etc.
</pre>
<blockquote type="cite">
<pre wrap=""> 2. If I do have to add slashes, where do I put them? The example 'block:
/\.uni\.ch/' is a bad one because there's a .ch involved here, just to
complicate simple brains like mine! How would you, for example, block the
word viagra - do you just enter 'block:viagra'.
</pre>
</blockquote>
<pre wrap=""><!---->
Yes, entering "block:viagra" will work, in that it will block
any post containing the string "viagra". But be careful, because
something like "block:cialis" will end up blocking normal words
like "specialist".
</pre>
<blockquote type="cite">
<pre wrap=""> If so, why can I still enter this word in a page entry?
I've created my own Site.Blocklist page and added a list of blocked words.
I have added to my config file the lines:
$EnableBlocklist = 1;
$EnableWhyBlocked = 1;
Is there something I'm missing?
</pre>
</blockquote>
<pre wrap=""><!---->
I don't see anything you're missing. Is there a url we could
look at?
What version of PmWiki are you running?
Pm
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
</body>
</html>