Jump to content

WHMCS - WHM API USE


RisesWayne

Recommended Posts

  • 2 months later...

Do you want only staff to see the list?  If so, would be best to use an addon and use the _output function.  A custom page (additional page you refer to) would allow anyone to get access unless you did session checking and such.

Once you know where to output, just get the list of servers with cpanel server modules and use the cpanel API as you mentioned to login and get the list. 

Link to comment
Share on other sites

On 3/4/2019 at 5:54 AM, RisesWayne said:

How do we show all users on the custom page? On 'WHMCS' you already have cpanel module. We need to use this.
 

You would need to use the cpanel API to get the listing of users.  If you wanted to use the built-in cpanel module, you would need to figure out what functions to call in order for it to an api call to the cpanel server.   Once you have that, you call it to get the server's users and display on the page.   If you are unsure about any of that, would be best to hire a developer to do it. 

Link to comment
Share on other sites

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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