Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change Style For All Accounts

Discussion in 'General Discussion' started by PCZero, Feb 1, 2018.

  1. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    592
    Likes Received:
    45
    Trophy Points:
    178
    Location:
    Earth
    I have all users on Paper Lantern but across my 30-50 users they have several different styles. How do I make a mass change for all users to be on a new style?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You can disable the change style feature from the feature list, so no cPanel account will be able to use it and then they will be forced to use only Paper Lantern...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hi PCZero,

    It looks like the only way to make a mass change is via the command line. The script /usr/local/cpanel/scripts/modify_accounts will allow you to change the style of your users. Here is an example for all users:

    Code:
    /usr/local/cpanel/scripts/modify_accounts --all-users --theme=paper_lantern --style=basic
    [code]
    
    Running the script with --help will show all options for the script.
    
    Once you make that change you likely want to remove the change style privilege that 24x7server mentioned.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    592
    Likes Received:
    45
    Trophy Points:
    178
    Location:
    Earth
    24x7 thanks but that is not relvant to the question asked.

    Kenneth much appreciated. I was not aware of the style parameter on that script. That will do exactly what I am looking for.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice