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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Post New Hook Andy 1904 Jan 5, 2008, 9:09 AM