jswilko Posted September 14, 2006 Share Posted September 14, 2006 Hello, When a client logs into their client area they can then view the details of their hosting package and from there then go to their cPanel account. Is there a way for the Login to cPanel button to not be there or to be disabled. The reason I want this is because I am using whmcs for my website design business and most of my customers do not get access to their cPanel accounts. I know I could remove the username and password in the clients details but surely this will then not allow whmcs to suspend the account if need be. Any ideas welcome. Thanks John 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 14, 2006 WHMCS CEO Share Posted September 14, 2006 Hi, This can be done with the client area templates. I think the file you need to look for is called clientareaproductdetails.tpl. You can then remove it from in there. Regards, Matt 0 Quote Link to comment Share on other sites More sharing options...
jswilko Posted September 14, 2006 Author Share Posted September 14, 2006 Hi Thanks for the prompt reply. I've looked at the file but do not have a clue what I'm looking for any chance you could point me in the right direction please. Thanks John 0 Quote Link to comment Share on other sites More sharing options...
chrishaley Posted September 14, 2006 Share Posted September 14, 2006 You should be able to look for <input type="hidden" name="user" value="{$username}"><input type="hidden" name="pass" value="{$password}"><input type="submit" value="{$LANG.clientareacpanellink}"></p> And remove that...should be in line 95 in the latest version. It should still leave the button in there to login to Webmail. If you want to remove the webmail button too, and if you don't have reseller accounts, you can remove lines 93-99. 0 Quote Link to comment Share on other sites More sharing options...
DataHosts Posted October 4, 2006 Share Posted October 4, 2006 Would not remove them but comment out. This way you can reuse later if ever needed. It is a smart practice to not delete any code due to the possibility that later down the road you may wish you still had it for use. 0 Quote Link to comment Share on other sites More sharing options...
jswilko Posted May 17, 2007 Author Share Posted May 17, 2007 Hi, I've just updated my whmcs and the cPanel login button is back again, I've tried to carry out the above mod again but things have changed and I can not find the area that I need to mod. Any help would be welcomed, Thanks John 0 Quote Link to comment Share on other sites More sharing options...
jerett Posted May 21, 2007 Share Posted May 21, 2007 Its about half way down: <p align=center>{$serverclientarea}</p> just do this 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.