ispCP - Board - Support
How do I add a script to run when an account is created? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: How do I add a script to run when an account is created? (/thread-5346.html)



How do I add a script to run when an account is created? - four2theizz0 - 01-05-2009 02:33 PM

Hello,

I use a third part dns provider and use an API to create the zone files. I would like to just run a php script when a new account is created by either a reseller or the administrator.

I have looked through the files I just do not know which one to edit and where.

I know there is user_add1-4.php but can't find where the account is created.

Anyone know where I can do this?


RE: How do I add a script to run when an account is created? - four2theizz0 - 01-08-2009 11:32 PM

anyone? I know there is no API yet, but someone here has to know where the final submission of the form is, I jsut need to put one line in there to run a script


RE: How do I add a script to run when an account is created? - kilburn - 01-14-2009 03:54 AM

The script should be run from the backend manager (/var/www/ispcp/engine/ispcp-dmn-mgr) just after creating the local DNS settings