DavidN.
- Total activity 78
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 36
Comments
Recent activity by DavidN.-
Hi Ryan, To get your hook scripts to run, you'll need to register them into the hooks database with the utility /usr/local/cpanel/bin/manage_hooks. The --help output there should be enough informa...
-
Hi Ryan, Thanks for the question! cPanel has standardized hook points that execute before and after system backups run. There are also hook points that run before, during, and after each individua...
-
In the case that there's no equivalent function in Api2 or UAPI, unfortunately the only choice is to use Api1. We still have a lot of code using Api1, as it's very labor intensive to add new UAPI c...
-
Howdy, If you're writing this as a Perl module, you can 'use Cpanel::API' and invoke a UAPI function with Cpanel::API::execute('cPGreyList', 'disable_domains', { 'domains' => 'domain.tld' } ); Un...
-
Hi Chamith, The FlatPanel theme is actually not developed by cPanel, but by another company called cPanelDesigns. Their website, which includes a contact link, is here:
-
Hi Internetfab, I apologize for missing your reply. The way that Apache templates and those .yaml files interact is complex and strange and, since they're generated on the server itself, compariso...
-
Hi there, Can you check the directive in /var/cpanel/conf/apache/main ? By default, it looks like this: ifmodulelogiomodule: logformat: directive: logformat items: ...
-
We got this wrong in the documentation. The parameter name should be 'pkgname', not 'pkg'. Sorry for the inconvenience; we'll get that updated ASAP.
-
The only API function we have for this right now is WHM API1 fetch_mail_queue, documentation for which can be found here:
-
I've had trouble using port 2086 for API requests, because many servers automatically redirect to SSL. If you have that option turned on in Tweak Settings, and your certificate is self-signed, your...