Jump to content

disable client get epp code?


Jan38

Recommended Posts

Hi Jan,

 

Why isn't there an option to switch this on and off on clientbases?

you could edit the template so that this would work for specific clients only - the trick would be in finding a method to flag the clients that this would to apply to...

 

two obvious options would be to assign them to a client group, or add specific text to the "Notes" field in their client profile - there are other options, but ideally you would want to use a value that could be easily accessed using Smarty in the template.

 

once you know how you're marking these clients, then you could modify the {if $getepp} line to check for that second condition, e.g they are in a specific client group; Notes contains the correct phrase etc..

Link to comment
Share on other sites

  • 2 months later...
  • 11 months later...

I think there would be at least four ways to do this...

 

  1. go to Domain Pricing - http://docs.whmcs.com/Domain_Pricing - and untick the EPP Code checkbox for each TLD, that should prevent the link appearing for those TLDs.
  2. you could edit the clientareadomaingetepp.tpl template and change its content.
  3. you could modify the sidebar link to another URL, e.g the appropriate support department... though I won't post the code as it currently doesn't work 100% of the time - I know why, just trying to figure a way around it! :roll:
  4. you could remove the Get EPP link from the sidebar...

<?php


use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar)
{

   if (!is_null($primarySidebar->getChild('Domain Details Management'))) {
            $primarySidebar->getChild('Domain Details Management')
                           ->removeChild('Get EPP Code');
   }

});

Link to comment
Share on other sites

Well,

 

It seems to me that in the new version 6 this can be a simple option for the owner. Most companies do not have this. You can ticket email or call them and then you get in some kind of process where you can get the EPP code.

 

why isn't this properly embedded?

Link to comment
Share on other sites

  • 1 month later...
did not try that one yet, hoped that this maybe a standard function to allow or disallow from admin panel

unfortunately they will not implement it soon if you open a forum post, you need to submit your idea/feature here and vote for it (also anyone interested) so WHMCS may consider adding it in future release:

check these requests: https://requests.whmcs.com/search/epp

 

this request is what you ask for: https://requests.whmcs.com/topic/hoster-has-control-over-who-can-see-and-get-the-epp-code

 

so for now you can take the work around way

Link to comment
Share on other sites

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