09 Jun

WHMCS Service Information Display

In WHMCS v5, there was an area of the template where ‘service information’ was shown. I’m referring to the username, server, domain, etc. With the v6 template, this disappeared. Using this action hook, you can return the WHMCS service information display to your clients. Take a look. As always, if you have questions, please do contact us. If you want something custom developed, or customized, again, please do contact us. We’re absolutely here and ready to help however we can.

The problem:

Sometimes, clients just need a reminder of what their password is, what their server, or username is. It’s natural. This is why this information was originally provided in v5. Unfortunately, it was removed from the secondary sidebar in v6.

The solution:

This hook will return the WHMCS service information display to the sidebar in v6, but ONLY if the client is on a page where it should be shown. This will show the following information

  1. Username
  2. Password
  3. Domain
  4. IP Address
  5. Hostname
  6. NS1
  7. NS2

This provides a greater WHMCS service information display than was done in v5.

 

Usage:

Simply copy and paste the following code into a php file in your includes/hooks directory:

Now, take a look at your client’s service page. You should see an additional sidebar with this WHMCS service information display. See below

serviceinfo