Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Hooks not firing



Threaded Mode | Print  

 Hooks not firing (2 Replies, Read 21742 times)
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
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.
IP: --   

Hooks not firing
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5728
Status:
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
IP: --   

Hooks not firing
energizedit
Group: Member
Post Group: Newbie
Posts: 4
Status:
The documentation is still wrong for this.  I would like to look into using hooks also or the filter function but can't start because the docs are wrong.

Any help would be great.

Thanks
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 31, 2024, 11:15 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.027