How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Hide "register lock" menu from the domain which can't be locked.

  • george tashiro shared this idea 4 years ago
  • Client Area
  • 2 Comments


Some TDLs such as .EU do not allow to set "register lock" however register lock menu is appeared for all domains.
I want hide "register lock" menu automatically for the domains can't set this option.

2 Comments

Login to post a comment.

Let me point Team WHMCS to our ticket #HUQ-958921:

In addition to getting that registrar lock menu entry removed, the locking status warning needs a cleanup then as well plus the link to the Registrar Lock Feature Page - both are part of the Domain Details Overview Page.

This can be achieved through hooks, but:

* _GetDomainInformation is the better place to offer this for domain registrars as this is their central entry point
* using hooks, it requires separate data lookup per hook and is by that slowing down the page load
* we've been told that the respective hook for hiding the locking status + feature link that we were using
* shouldn't manipulate default WHMCS template vars (why is it then possible??)
* any other subscribed module will be overriding the returned data again (how annoying!)

Please refer to the ticket mentioned whenever you guys decided to work on that. This will be making WHMCS a better experience for domain registrars.
Ideally the Registrar module should have a function for this but if not, as a work around, you can add a custom hook per Registrar module to disable showing it client and/or admin side.
Either manually maintain the list or see if the API call can support returning an is_lockable query ( or similar )
Have a look at the EuroDNS WHMCS module to see how they did it.

WHMCS could add this to the Domain Pricing page, similar to the DNS & EPP ,etc, buttons per TLD, add a tick box to enable Domain Lock per TLD, so the option only shows up, no matter what Registrar is in use, but probably better to get whoever developed each Registrar module to add it.