I have updated the commentbox recipe to improve the
(:commentbox pagename:) option:

- require $EnablePostToAnyPage to be set to true to allow
  cross-page posting (default prevents cross-page posting)
- require $EnableRedirectToCommentPage to be set to true
  to take the poster to the comments page (default stays
  on the page with the commentbox directive
- restrict cross-page posting to the current group, unless
  there is an entry for the target group in the array
  $AllowedPostToGroups

In the spirit of commentbox and commentboxplus, I have not
added all the functionality available in the commentboxplus
recipe, but these changes should make commentbox more secure.
In particular, the administrator will probably wish to set
$EnablePostToAnyPage to true on a per-group basis, rather 
than site-wide.

And I strongly suggest setting $commentboxaccesscode to true
to discourage comment spam.

>From looking at the commentboxplus page, it appears that
commentbox might not work with pmwiki 2.2. I have not looked
into this yet.

See http://www.pmichaud.com/wiki/Cookbook/CommentBox

Any problems, let me know.
-- 
JR
--
John Rankin




_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to