Gossamer Forum
Quote Reply
New Hook
Hi,

Any chance of adding in a new hook for private messages being sent?

I'm writing a plugin to setup a CAPTCHA system when sending PMs - but I'm having to write add in a call to my plugin function by doing a replace in Message.pm,


Code:
sub send {

shift; # Discard the package name

..with:

Code:
sub send {

use Plugins::GForum::MyPlugin;
Plugins::GForum::MyPlugin::Function();

shift; # Discard the package name

..which isn't ideal in any way, but will have to do fro now until a hook is added Angelic

TIA

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates