View Single Post
Old 02-09-2015, 02:57 PM   #4
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

I have plugin works with next xml file:

# cat /usr/local/mgr5/etc/xml/ispmgr_mod_useradd.xml
<?xml version="1.0" encoding="UTF-8"?>
<mgrdata>
<handler name="uh-useradd.php" type="cgi">
<event name="user.add.finish" after="yes" />
</handler>
</mgrdata>

OR

# cat /usr/local/mgr5/etc/xml/ispmgrnode_mod_useradd.xml
<?xml version="1.0" encoding="UTF-8"?>
<mgrdata>
<handler name="uh-useradd.php" type="cgi">
<event name="user.edit" after="yes" />
</handler>
</mgrdata>

If you want to have plugin for ispmgrnode you need to add this file on a all nodes.
fly is offline   Reply With Quote