The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

hide skins/do not allow people to change

Discussion in 'User Experience' started by Chrissifer, Jun 15, 2007.

  1. Chrissifer

    Chrissifer Registered

    Joined:
    Jun 15, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    I have on my cpanel a custom skin which I want to 'force' people who have cpanels on my server to use.

    If there any way whatsoever how i can prevent users from changing the skin I WANT them to use?

    I have a root WHM and give people resellers, and they can change the skin in their packages options, but i do not want this - i want them to only be able to use the one skin. - Apart from deleting all the skins and leaving the one i want them to use on (which i've tried but cpanel automatically installs them again when doing auto cron updates)

    Any ideas folks?


    to restrict resellers to using one skin only? - this skin is set in the setup for default skin too.
     
  2. GnomeyNewt

    GnomeyNewt Active Member

    Joined:
    May 1, 2006
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    The Stars!
    Edit the index.html in /usr/local/cpanel/base/frontend/x3/branding directory. I have just removed the sections completely or you can hide them with <!-- --> comment tags.

    If you want to remove the icons options (like in preferences,mail,etc), edit the file dynamicui.conf in /usr/local/cpanel/base/frontend/x3 directory. I just removed the line for those icons I do not want to show.

    When I did this in the main theme area it applied to all of my accounts automatically. In another thread they were saying we'd have to do it per reseller... which I did not want to do! Hope that helps. I'm still learning about this new skin myself!
     
  3. Chrissifer

    Chrissifer Registered

    Joined:
    Jun 15, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    its not a cpanel installed skin I am using as my default skin whcih i want them to use.

    I've set the cpanel skin changer to dissabled, but resellers can change the skin by using their WHM and using edit package or creating new account using another skin.


    Is there a way to drop the Theme dropdown from the whm sections:

    create account
    modify account
    create packages
    modify packages
     
  4. GnomeyNewt

    GnomeyNewt Active Member

    Joined:
    May 1, 2006
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    The Stars!
    Ahh.. yes you can. You will have to edit your whm skin tho. What I do is make a copy of the default skin. Than I edit those files to resemble what I need and reset the reseller to my new theme. I also remove the option to change themes in my theme, otherwise they can change their theme in whm too. You can see the whm themes at:

    /usr/local/cpanel/whostmgr/docroot/themes

    You have to do a lot of testing to figure out where everything is.

    There is no branding type options as far as I know for WHM? I might be wrong on that tho.
     

Share This Page