Current time: 05-19-2024, 05:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP hooks
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: ispCP hooks
Quote:Is it possible to implement hooks?

It is possible, but not implemented right now. I would suggest this approach:

1. Add a new table (id, event, user, hook) to the db
2. Implement the admin gui side, allowing to add records to it. Ex.:
(1, 'domain_added', 'root', '/hooks/my_hook.sh')
(2, 'email_added', 'amavis', '/hooks/my_other_hook.sh')
3. Gradually implement new hooks (in a consistent way), by modifying the engine parts that take those actions so they call the apropiate hooks.

While not "trivial" it should be easy to build such a system and we all would benefit from it. Maybe you want to try implementing it? Smile

Quote:How to separate managing DNS records for a domain?
There are a bunch of forum topics about this. The last one I remember is this one where vacancy says he's working on it. It will not make it to 1.0 though, sorry.

Quote:Will postgresql be manageble through ispCP one day (like MySQL)?
As managing postgresql can be done by the "frontend" alone, it should be realtively easy to implement. It seems that current developers don't use postgre so there's no active interest in implementing this feature, but we'll help as much as we can if you want to do it.
(This post was last modified: 06-01-2008 08:39 PM by kilburn.)
06-01-2008 08:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ispCP hooks - antencek - 05-30-2008, 10:10 PM
RE: ispCP hooks - kilburn - 06-01-2008 08:39 PM
RE: ispCP hooks - antencek - 07-06-2008, 05:36 PM
RE: ispCP hooks - kilburn - 07-06-2008, 06:58 PM
RE: ispCP hooks - antencek - 07-15-2008, 03:15 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)