MarketplaceToolsClient Area Nameserver Widget

Client Area Nameserver Widget

By Marketplace Admin★ ★ ★ ★ ★1 downloads

Client Area Nameserver Widget
PRODUCT DETAILS

About this product

How It Works
When a client views a hosting service, the hook:

Detects the server linked to that service
Queries the WHMCS database for up to 4 nameservers assigned to that server
Injects a "Nameservers" panel into the secondary sidebar with each nameserver listed as a clickable item
Clicking any nameserver copies it to clipboard instantly - with a visual "Copied ✔" confirmation
No page reloads. No modals. Pure inline interaction.

Benefits
Zero client confusion - Clients always have the correct nameservers for their specific server, not generic ones
One-click copy - Clipboard copy with live feedback means fewer mistakes when entering nameservers at a domain registrar
Dynamic & accurate - Pulls nameservers directly from tblservers, so updates in your WHMCS admin reflect immediately
Up to 4 nameservers - Supports all four nameserver slots per server
No template edits required - Hooks into the native WHMCS sidebar system; works with any compatible theme
Informational tooltip - An info icon reminds clients these nameservers are for use at their domain registrar
How to Use
Download the hook file
Upload it to /path/to/whmcs/includes/hooks/
Ensure your servers have nameservers configured under Setup → Products/Services → Servers in the WHMCS admin
Done - the nameserver panel will automatically appear in the client area sidebar for any active service linked to a server with nameservers configured
No configuration file needed. No database changes. Plug and play.