#1  
Old 25th February 2011, 11:24
Blackbit Blackbit is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 3
Thanked 4 Times in 3 Posts
Default Events registration

Hi all,

it was no problem to implement new features to the interface. Alle values are saved and modified and so on. Now i am trying to figure out how the plugins has to be named in server/plugins-enabled/.

My plugins arent executed:
Code:
 function onLoad() {
                global $app;

                /*
                Register for the events
                */ 
        $app->plugins->registerEvent('htaccess_insert',$this->plugin_name,'insert');
}

        function htaccess_insert($event_name,$data) {
                global $app, $conf;

                $app->log("htaccess_insert",LOGLEVEL_DEBUG);
}
The log entry "htaccess_insert" is not found in the logs. What are the naming conventions here, or do i have register my plugins somewhere else?
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2011, 11:03
Blackbit Blackbit is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 3
Thanked 4 Times in 3 Posts
 
Lightbulb Found the solution

I forgot to define the announcement and table-hook in /usr/local/ispconfig/server/mods-(available/enabled) to react on table-modifications. :-)
Reply With Quote
The Following User Says Thank You to Blackbit For This Useful Post:
admin (1st March 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
outgoing registration email is not going I running webserver server behind a proxy vtapas Server Operation 2 17th April 2010 19:10
Finer control over client registration process IrDA Installation/Configuration 2 10th February 2010 16:00
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 10:29
How to avoid refreshing/recreating apache config file for new web site registration gimhan90 Installation/Configuration 2 23rd May 2007 11:21
What Triggers the Registration Email? jonwatson Installation/Configuration 4 9th April 2007 04:47


All times are GMT +2. The time now is 00:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.