From dirk at haun-online.de Sat Nov 21 12:53:02 2009 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 21 Nov 2009 18:53:02 +0100 Subject: [geeklog-modules] Plugin comments and the comment submission queue Message-ID: <20091121175302.2004600234@smtp.haun-online.de> 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: 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/