[geeklog-modules] Plugin comments and the comment submission queue

Dirk Haun dirk at haun-online.de
Sat Nov 21 12:53:02 EST 2009


As you probably know, Geeklog finally got a comment submission queue
with Geeklog 1.6.0. This now means that a comment posted by a user may
no longer be posted directly but may go into the submission queue first.

In that case, plugins should display a message to the user or they may
wonder what happened to their comment (and try to post it again).

I've added a code snippet on the wiki to show how that can be done:

<http://wiki.geeklog.net/index.php/In
tegrating_the_Comment_Engine#Comment_Submission_Queue>

You can also have a look at the plugin_savecomment functions in the
Static Pages and Polls plugins for more information (or inspiration).

The above code snippet additionally checks if $_CONF
['commentsubmission'] is set since that $_CONF variable is only
available as of Geeklog 1.6.0, to ensure backward compatibility.

bye, Dirk


-- 
http://www.geeklog.net/
http://geeklog.info/




More information about the geeklog-modules mailing list