Feature Requests
Share ideas, discuss and vote on requests from other users in community
 
This object is in archive! 

Better cPanel Shortcut Control

natselection shared this idea 4 years ago
Under Consideration

Currently the cPanel integration adds a series of icons into the users dashboard but there is no per user/service control.

The

problem we currently face is many of our clients host email accounts

with Google or Outlook so the quick icons for Email and the block for

quickly creating new email addresses does not apply for them and it

makes it confusing for many users.

We typically disable those

icons in cPanel so they do not display. However, they still display in

the WHMCS users dashboard and when clicked send the user to their cPanel

account with a blank page.

Please add the ability to control those icons based on users or service so they can be disabled as needed.

Comments (4)

photo
1

Hi,

The cPanel shortcuts can be customised in WHMCS by editing the /modules/servers/cpanel/templates/overview.tpl tempalte file.

photo
1

They can be customized based on the specific user and service?

photo
1

Sure! The $moduleParams variable is available in this template which contains data like package ID, product ID, domain, client ID, client name, client group ID.

All of which can be used within the template to conditionally display content: https://developers.whmcs.com/themes/conditionals/

More informaiton on using variables is published here: https://developers.whmcs.com/themes/variables/

photo
1

As per natselection's comment, how do you tailor the view based upon a user and which cPanel package is applied?

Can you not query cPanel via the API and only show the relevant icons?