Jump to content

Display cpanel nameservers in client area


host.mahmud

Recommended Posts

  • 4 weeks later...
On 9/9/2019 at 6:35 PM, host.mahmud said:

Hi,
Please check the screenshot. We want to display cpanel nameservers list and server name with server IP which I included when I added a new server in WHMCS. Kindly help me how can I get nameservers list, IPs and server hostname to show in the client area.

Thanks.

Screenshot 2019-09-09 at 5.26.29 PM.png

I also need this

Link to comment
Share on other sites

  • 2 years later...
On 3/3/2022 at 5:14 PM, ShahidMalla said:

Login whmcs then go to servers and add nameserver and ip address then click on save! 

This will don't have effect needed for them.

Solution:
Navigate to Your_WHMCS_Folder->modules->servers->cpanel->templates and edit file "overview.tpl"

For display Nameservers add code
 

<div class="panel panel-default card mb-3" id="">
            <div class="panel-heading card-header">
                <h3 class="panel-title card-title m-0">Nameservers</h3>
            </div>
            <div class="panel-body card-body text-center">
		Nameserver #1: {$serverdata.nameserver1}
		Nameserver #2: {$serverdata.nameserver2}
            </div>
        </div>

 

Link to comment
Share on other sites

  • 3 months later...
  • 9 months later...

Please check the screenshot. We want to display cpanel nameservers list and server name with server IP which I included when I added a new server in WHMCS. Kindly help me how can I get nameservers list, IPs and server hostname to show in the client area.

Link to comment
Share on other sites

  • 9 months later...

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.

×
×
  • 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