HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=29)
-   -   Need help writing new plugin (http://www.howtoforge.com/forums/showthread.php?t=43457)

apoana 13th February 2010 22:36

Need help writing new plugin
 
1 Attachment(s)
Hi,

I'm trying to write a plugin that configure the DNS for a new domain in the www.nettica.com service.

I created an very basic plugin to be called on the "wed_domain_insert" event, put it on directory plugins-avaible and made an symlink to the plugins-enabled - all this on the machine running the web service (I have an multiserver install).

My problem is: the plugin is never called by ispconfig

I modificed the plugin to be called by the "dns_soa_insert" event, put this other plugin in another server running the dns service and it worked.

I attached my plugin source.

Can someone help me ?

Thanks,

Attachment 1661


All times are GMT +2. The time now is 15:41.

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