Skip to main content

cPanel users interface

Comments

7 comments

  • cPanelLauren
    You can but it depends on what you're looking for - I'd suggest checking through the UAPI documentation for what is and isn't available
    0
  • ca2236
    Thanks I was checking out this doc
    0
  • cPanelLauren
    Everything in the cPanel Applications can be called as a cPanel user. There's a secondary section WHM Applications that only a privileged user would be able to utilize. I don't see WordPress Manager as an available option there though. There ARE several Wordpress Instance Manager functions available with the UAPI though not necessarily available with that WHMAPI1 function - UAPI Modules - WordPressInstanceManager - Developer Documentation - cPanel Documentation
    0
  • ca2236
    Thanks, is there a way to create a link to that module? I know we can create integration links, Which I tried, (and didn't work) however, that is not what we want and just creates a second link to potentially the same thing. I could have done something wrong, but if it creates a secondary link to the same thing in the interface, it is not what we want. As I understand this, we would need to create a new user link, (whmapi1 get_users_links user=example ) and needs to be compatabile with cpanel api not an integration link. If this is something we need to pay support for, please let me know :)
    0
  • cPanelTJ
    Hi @ca2236 , Are you wanting a link to the Wordpress Manager interface that the cPanel user can use? Or are you wanting it for root/resellers to use as they impersonate the user from WHM?
    0
  • ca2236
    Hi @cPanelTJ Please forgive me if I use the wrong terms, still learning this. But I wanted to set a userlink where if you use the api "whmapi1 get_users_links user=
    0
  • SamuelM
    Hello @ca2236 You could use the following command to generate a link that can be used to access the Site Software >> cPanel >> Blogs >> WordPress page in cPanel, as the user: whmapi1 create_user_session user=${USER} service=cpaneld locale=en app=Site_Software_WordPressX
    Note, this would take you to the page where you can Install, Mange, and Uninstall Wordpress. It is different from the landing page of the Wordpress Manager that can be accessed in cPanel. The landing page of the Wordpress Manager in cPanel lists the existing Wordpress installations for the current cPanel user. The same results can be obtained by running the following API command: uapi --user=username WordPressInstanceManager get_instances
    Unfortunately it does not appear that the create_user_session function provides an option to access the Wordpress Manager with the "app" parameter.
    0

Please sign in to leave a comment.