Posted By: sparek on October 26, 2022, 5:38 pm |
Following the information from
https://www.webuzo.com/docs/v2/hooks I found it odd, that the directory /usr/local/webuzo/enduser/hooks does not exist and as such there are no .txt files in this directory to get you started. I did find a post_add_domain.txt file in /usr/local/softaculous/enduser/hooks - but I'm not sure if /usr/local/webuzo/enduser/hooks is suppose to be the hooks directory or if it is suppose to be /usr/local/softaculous/enduser/hooks Either way, I did copy post_add_domain.txt to both /usr/local/softaculous/enduser/hooks/post_add_domain.php and /usr/local/softaculous/enduser/hooks/post_add_domain.php and modified the __post_adddomain() function to perform a minimal task. At any rate, the hook does not appear to be doing anything after a domain is added, either through the :2005 admin interface or the :2003 end-user interface. |
Posted By: Brijesh on November 14, 2022, 6:28 am | Post: 1 |
Hi,
The hooks documentation is in the making and will be updated in a couple of days. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |