cPanel Themes, Icons, and you!

Nathan Lyle

Member
Jul 9, 2018
18
6
3
Toledo, Ohio
cPanel Access Level
Reseller Owner
I reached out to the UI team about these options and they told me to open a feature request for it, so I created this:


I added the notes that @PeteS shared in his most recent reply, but anyone is now free to comment on that case if you're looking for something specific to be added there.
It would be great to have an easy way to over-ride with CSS the background colors (and/or images) as well as the icons and text colors. I could do all that in paper lantern, and am now stuck not able to do so, since customizing requires a higher level of shell access apparently that is installed by default on my server for security reasons.
 
  • Like
Reactions: cPRex

stormy

Well-Known Member
Nov 22, 2003
240
59
178
Spain
cPanel Access Level
Root Administrator
Is there any documentation on how to actually override the icons? I can see a list of icons here, and their filenames:
 

stormy

Well-Known Member
Nov 22, 2003
240
59
178
Spain
cPanel Access Level
Root Administrator
No, overriding the icons isn't something we support at this point.
Thanks. There really seems to be some kind of power struggle here between cPanel and its user base. I understand that brand considerations make you want to keep some kind of unified look, but if people love the old icons so much, and they were part of the brand - why not offer them officially?

Anyway, I don’t want to beat a dead horse here. I appreciate all you’re doing in the forum!
 
Last edited:

AzeDK

Well-Known Member
Jul 14, 2011
51
27
143
cPanel Access Level
Root Administrator
No, overriding the icons isn't something we support at this point.
Any chance we can get a better icon for "File Manager" ? I don't see the logic in having a person face as the biggest part of the icon.

It would be better if you took the "File tree" from the "Mailing Lists" icon and kept the folder in the corner.

The current "File Manager" icon always confuses me with the "Email Accounts" icon, as both are the first icon in the category, and both have the similar person in it.

I have added my take on how File Manager icon could look.
 

Attachments

PeteS

Well-Known Member
Jun 8, 2017
389
88
78
Oregon
cPanel Access Level
Root Administrator
Well, if you're not aware, you're not, but it's a thing. I'll leave it at that.
Instead of leaving it "at that," how about telling us what you tried and what's not working about it? There are plenty of people that would be interested in customizing icons.
 
Last edited:

stormy

Well-Known Member
Nov 22, 2003
240
59
178
Spain
cPanel Access Level
Root Administrator
Ok. With the latest cPanel update, /scripts/upcp actively searches for some code that was shared in the forum (in a thread that was locked afterwards), and removes it from /scripts/postupcp. I got a laugh out of it.
 

martin MHC

Well-Known Member
Sep 14, 2016
338
75
78
UK
cPanel Access Level
Root Administrator
Can you post the code snippet or link to that thread so I can confirm this?
I also use the same code block on the locked thread, and to avoid this overwriting (and various other aspects) I have prevented my WHM updating beyond 102 for now, until there's a better GUI (and various other aspects) in place.

With respect to Stormy's message, the script that imports the old icons should be run from the /usr/local/cpanel/scripts/postupcp_icons address, which is a CPanel propriatory script and so this was why the old thread on the forum was locked (according to the lock message) . The destination location of all icons actively used by CPanel (whereever they came from) is apparently: dest=/usr/local/cpanel/whostmgr/docroot/themes/x/icons/ . If this address has changed then that's why the new icons are not being replaced.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
A few thoughts.

/usr/local/cpanel/scripts/postupcp_icons is not something created by cPanel. This was the recommended file path by the user - he even says " File ( can't upload core file so please copy and paste and save as postupcp_icons )"

So we wouldn't edit/remove that file. Is that what you're seeing happening?
 

stormy

Well-Known Member
Nov 22, 2003
240
59
178
Spain
cPanel Access Level
Root Administrator
Ok, now that the cat is out of the bag, I'll come out and say it.
/scripts/upcp is actively searching for "/usr/local/cpanel/scripts/postupcp_icons" inside /scripts/postupcp and removing that line if found.

I got a chuckle out of it. Very nice "mouse and cat" game! :D Now, can you please tell the developers to leave that alone?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
@stormy - our update doesn't remove any data from the /scripts/postupcp file. I just tested this to confirm. Like I mentioned earlier, cPanel doesn't own or create /usr/local/cpanel/scripts/postupcp_icons - that's something that @martin MHC recommended for the filename, so we wouldn't have any knowledge of the file.