Gossamer Forum
Quote Reply
Hook naming bug?
    

Error running plugin PRE hook: Plugins::EditorMonitor::user_loginlink. Reason: Plugins::EditorMonitor::user_loginlink does not exist in Plugins/EditorMonitor at user.cgi line 25.

My install file and plugin module both refer to Plugins::EditorMonitor::user_login not user_loginlink, as created by the plug-in wizard.

Is this a bug? Or something I have done wrongShocked



$mgr->install_hooks ( 'EditorMonitor', [ ['user_login', 'PRE', 'Plugins::EditorMonitor::user_loginlink', 'FIRST'] ]);

Do the green bits have to have the same name also? Because when they are the code works. (perhaps that answers my question).


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jun 1, 2002, 11:26 AM
Subject Author Views Date
Thread Hook naming bug? Ian 1576 Jun 1, 2002, 11:18 AM
Thread Re: [Ian] Hook naming bug?
Paul 1482 Jun 2, 2002, 1:49 AM
Post Re: [Paul] Hook naming bug?
Ian 1470 Jun 2, 2002, 8:28 AM