/WHMCS-Hooks-and-Modules

Free hooks and modules for WHMCS

Primary LanguagePHPMIT LicenseMIT

WHMCS Hooks and Modules

A collection of free hooks and modules for WHMCS.

List of hooks

List of modules

WHMCS Hooks

Fix IntoDNS URLs

IntoDNS removed the DNS records for www.intodns.com. All links to IntoDNS in the WHMCS Admin Area are hardcoded with the www subdomain. This hook removes 'www' from the URLs when viewing a client's services or domains. Note It seems that IntoDNS added DNS records for www again (at least as of 7th of August 2023). Unless they remove it again, there's no need to use this hook.

🔗 Check the code


Prevent spoofing URL for knowledgebase and announcement articles

As long as you leave the ID for the knowledgebase or announcement article in the URL, you can change the URL to whatever you want. The following is an example of how the URL can be spoofed:
Original: https://example.com/client/knowledgebase/129/How-do-I-add-another-domain-to-my-webhosting-account.html
Changed URL: https://example.com/client/knowledgebase/129/This-URL-will-stil-work.html

That could potentially be bad for your website's SEO.

This hook prevents that behaviour and will always redirect back to the original URL.

🔗 Check the code


Force user login

Force the user to login before they are able to access any content on the WHMCS installation. The user will be redirected to the login form unless they are already trying to log in or register an account.

🔗 Check the code


WHMCS Modules

Password Change for WHMCS

Allows admins to set a specific password for a client account. New password can be sent to the client.

🔗 Check the code