hide skins/do not allow people to change

Chrissifer

Registered
Jun 15, 2007
2
0
51
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.
 

GnomeyNewt

Active Member
May 1, 2006
28
1
153
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!
 

Chrissifer

Registered
Jun 15, 2007
2
0
51
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
 

GnomeyNewt

Active Member
May 1, 2006
28
1
153
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.