Jump to content

Request to upvote -> WHMCS Registrar Lock Feature Extension/Review


Recommended Posts

Please, add your votes to that feature request. This is improving registrar integrations in direction to specific ccTLDs and leads to a smoother domain registrar integration and page load improvement.
I've seen that topic often enough addressed via customer support on our end (and even here in the community board).

Thanks guys!

 

-> https://requests.whmcs.com/idea/hide-register-lock-menu-from-the-domain-which-cant-be-locked

Edited by PapaKai
Link to comment
Share on other sites

Please navigate to the last page of the feature request. I provided there more insights. Someone spam commented the feature request and made that part by that no longer directly accessible to others.

Link to comment
Share on other sites

7 hours ago, PapaKai said:

Please navigate to the last page of the feature request. I provided there more insights. Someone spam commented the feature request and made that part by that no longer directly accessible to others.

It's crazy that WHMCS is not able to manage spam on its own site...  😶

I have here a note about your comment:

A workaround is possible editing clientareadomaindetails.tpl, with something like this:


        {if $lockstatus eq "unlocked"}
            {if $domain|substr:-3 == '.eu' ||  $domain|substr:-3 == '.ru'}
            {else}
               {capture name="domainUnlockedMsg"}<strong>{$LANG.domaincurrentlyunlocked}</strong><br />{$LANG.domaincurrentlyunlockedexp}{/capture}
               {include file="$template/includes/alert.tpl" type="error" msg=$smarty.capture.domainUnlockedMsg}
             {/if}   
        {/if}

This prevents the "domain unlocked" alert banner for .eu and .ru domains...

I see that there's also the $managementoptions.locking smarty variable which maybe can be useful...

Edited by Remitur
Link to comment
Share on other sites

While I enjoy getting ideas at hand, I have to admit that I am looking for an entirely registrar module driven solution. Let me call it "the right way" 🙂

Yes, template changes work. WHMCS should move giving domain registrars and their resellers finally a better experience than let them deal with hacks and workarounds.
Basically, using a hook you can override those template vars as well. That's what we're doing. We just noticed that whenever Registrar X and Registrar Y following that hook approach that Registrar Y (alphabetic order) is overriding the template vars returned by Registrar X. Template Variables are by that a more stable solution.

While it sounds ideal hardcoding it there, it is still the scope of registrar integrations handling that.

  • domain registrar systems know about which TLDs support Registrar Lock
  • so, no template changes required
  • so, no hook subscriptions required (that finally slow down the page load when combined with real-time registrar-api data lookup)
  • straight forward
  • improved UX / UI 

Cheers

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated