[geeklog-devel] Replacing/Extending Core Functions.

Dirk Haun dirk at haun-online.de
Mon Jun 7 16:29:14 EDT 2004


Tom,

>The Comment Spam plugin intercepts the SaveComment function call to examine 
>the comment and take appropriate action.  I did this by renaming the core 
>savecomment function to savecomment1 and creating a new savecomment function 
>in the functions.inc of the plugin.  This allows me to process the comment 
>and pass it on to the savecomment function if needed.  Inelegant because it 
>requires patching comment.php.

Can you suggest how a new plugin API function should work that mimics
this without having to patch Geeklog?

With comment spam becoming a problem, I'd envision that your plugin will
become very popular and I'd like to make its installation as easy as possible.

bye, Dirk


-- 
http://www.haun-online.de/
http://www.haun.info/




More information about the geeklog-devel mailing list