[Pmwiki-users] Preventing "comment spam"
Patrick R. Michaud
pmichaud at pobox.com
Mon Jan 31 10:12:19 CST 2005
On Mon, Jan 31, 2005 at 03:27:00PM +0000, Hans wrote:
> Monday, January 31, 2005, 2:55:52 PM, Patrick wrote:
> > Another policy (#2 above) would be to have unapproved links displayed as
> > links with the rel='nofollow' attribute, and approved links displayed as links
> > without rel='nofollow'. Thus:
>
> > include_once('scripts/urlapprove.php');
> > $UnapprovedLinkFmt = "<a rel='nofollow' class='unapprovedlink'
> > href='\$LinkUrl'>\$LinkText</a>";
> > $UrlLinkFmt = "<a class='urllink' href='\$LinkUrl'>\$LinkText</a>";
>
> There is a bug in this formula somewhere.
You're right, there's a bug in the urlapprove.php code that is
causing this to not work. It'll be fixed in beta21 -- thanks.
Pm
More information about the pmwiki-users
mailing list