Nesooo Posted August 30, 2018 Share Posted August 30, 2018 Hi, can anybody tell me or is there already some hook that can change WHMCS login links for reseller (clients that have WHM) to login to their cPanel account? 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted August 31, 2018 Share Posted August 31, 2018 In the service page the customer has both button/links: to WHM and to cPanel. (I agree that that page is quite confusing: I edited the related .tpl, removing almost everything but the button to WHM) 0 Quote Link to comment Share on other sites More sharing options...
Nesooo Posted August 31, 2018 Author Share Posted August 31, 2018 1 hour ago, Remitur said: I found this file: /modules/servers/cpanel/templates/loginbuttons.tpl: <form action="clientarea.php" method="post" target="_blank"> <input type="hidden" name="action" value="productdetails" /> <input type="hidden" name="id" value="{$serviceid}" /> <input type="hidden" name="dosinglesignon" value="1" /> <input type="submit" value="{if $producttype=="hostingaccount"}{$LANG.cpanellogin}{else}{$LANG.cpanelwhmlogin}{/if}" class="btn btn-primary modulebutton" /> <input type="button" value="{$LANG.cpanelwebmaillogin}" onClick="window.open('http{if $serversecure}s{/if}://{if $serverhostname}{$serverhostname}{else}{$serverip}{/if}:{if $serversecure}2096{else}2095{/if}/')" class="btn btn-default modulebutton" /> </form> What to change to use only cPanel link for any type of product, I did try to edit hostingaccount to resller etc. but it still use WHM login URL for resellers and I wish to use only cPanel link 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.