[pmwiki-users] Update of CommentBoxPlus

Hans design5 at softflow.co.uk
Tue Nov 28 12:55:43 CST 2006


An update of CommentBoxPlus releases as
commentboxplus2.zip from here:
http://www.pmwiki.org/wiki/Cookbook/CommentBoxPlus

This update requires Pmwiki 2.2.0 beta upwards, as it makes use of
the new function UpdatePage, instead of HandleEdit.

This updated commentboxplus2.php script makes it a lot easier to
have a comment box on a content page, and comments posted onto a
separate comments page. Comments can be included on the contents page
with a simple (:include..:) directive, and posting new comments will
not redirect to the comments page, but the user remains on the content
page, and the comment posted appears in the page.
to do this, use this syntax in the page or a GroupFooter page:

(:commentbox {*$FullName}-Comments:)

(:include {*$FullName}-Comments:)

and to enable the posting to a separate page, set

$EnablePostToGroupPage = true;

which allows posting to pages in the same group.

$EnableRedirectToCommentPage = true; (default false)
will redirect after posting to the comment page, which was the default
behaviour before, but is not any longer.

Posting of comments is added to RecentChanges pages.

I envisage further improvements in adding an array of
approved groups or pages, to which comments can be posted.
Other ideas and your comments about this are very much welcomed!
  
 Hans





More information about the pmwiki-users mailing list