Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

WHM >> Overview / Change cPanel Styles for Paper Lantern

cp_Sky shared this idea 8 years ago
Open Discussion

As a reseller or root administrator, it would be convenient to be able to manage users Styles directly from the WHM interface for all users( perhaps similar to that of the manage shell interface https://documentation.cpanel.net/display/ALD/SSH+Shell+Access ).


Currently this is possible through the API in a loop or an otherwise created script to do so, though can take some time depending on the method used to connect over the API. For instance serially:


for i in $(/bin/ls /var/cpanel/users/) ; do echo -e "bash <( curl -sL https://raw.githubusercontent.com/cpanelsky/apipass/master/apipass ) 'cpanel?cpanel_jsonapi_user=$i&cpanel_jsonapi_apiversion=3&cpanel_jsonapi_module=Styles&cpanel_jsonapi_func=update&type=default&name=basic'"|bash ; done

Replies (3)

photo
1

In version 60 you can manage the installed styles in WHM, and change the default style used in Paper Lantern, but you can't adjust the styled used for individual accounts through WHM. Is your request more about the adjusting of non-default settings, or more about being able to manage users' configured styles, in WHM?

photo
1

Sorry for any confusion!


To clarify : This was originally added as a suggestion to be able to manage all users styles individually, from a single interface; like the WHM Shell Management interface does for a user(s) set passwd set shell, the notion being whether at just a reseller level for only their owned accounts, or root level for all accounts, rather than having to do it with the API in a loop(to be sure it is done in accordance with how would be executed in the interface), which can be somewhat timely depending on the specific method of access to the API used.

photo
1

The strategy we were using (which I could have explained better, yes) is to address use-cases where your editing large groups of users first. With Style Management in v60, you can update default settings system-wide or default settings for accounts you control if you're a reseller. In future iterations we will be adding a style picker to the Edit a Package interface next and then on individual user edit pages.

photo
photo
1

No worries! This wouldn't be resolved in 60, then, so I'll leave it open!

Leave a Comment
 
Attach a file