Results 1 to 18 of 18
  1. #1
    Join Date
    May 2001
    Location
    Coconut Creek, FL.
    Posts
    31

    Exclamation Aaarrrggg. Question on re-skinning Cpanel - I'm STUCK:

    Hey folks...

    I'm in the process of re-skinning my CPanel. Everything was going smoothly. However....I noticed something I can't figure out. (Iconic Theme)

    Lets use the mail directory for example:
    pops.html shows account, login, and then pulls any accounts from "listpoptables"
    At the bottom there is a link to add an account and go back.

    Everything was well and good...until I actually used it, and when you have mail accounts set-up the "listpoptable" adds options to the page...delete account, read web mail, autoconfigure outlook, etc.

    I CAN"T FIND "listpoptable" to see/edit the code anywhere! I need to be able to change the links/images it calls when it loads on the pops.html page.

    ANY help is greatly appreciated! Thanks in advance!!

  2. #2
    Join Date
    May 2001
    Posts
    682
    I heard there is a replace for cpanel coming out in July or so.. maybe August.. but it's soon. And unless my info is incorrect it's a totally redesigned panel.. it's not even going to be called cpanel. So it's more than an upgrade.. it's a replacement. You might want to find out for sure if this info is correct before you spend too much time on this customization unless you don't want to upgrade when it's time. From what I'm told it will offer automatic signsups and more than likely billing built in.

  3. #3
    Join Date
    Dec 2000
    Location
    Lowlands
    Posts
    718
    Are you talking about the VDI or NOCSOFT version ???

    ;-)

  4. #4
    Join Date
    Jun 2000
    Location
    Southern California
    Posts
    12,136
    I believe this applies to both.
    HostHideout.com - Where professionals discuss web hosting.

    • Chicken

  5. #5
    Join Date
    Jan 2001
    Posts
    78
    i am remembering that i read it in a thread in this forum

    it say
    it will be for

    NOCSOFT version


    and will be with a different name

    bu i am not sure

  6. #6

    Re: Aaarrrggg. Question on re-skinning Cpanel - I'm STUCK:

    Originally posted by knipper
    I CAN"T FIND "listpoptable" to see/edit the code anywhere! I need to be able to change the links/images it calls when it loads on the pops.html page.

    ANY help is greatly appreciated! Thanks in advance!!
    The reason you can't find it is because it's compiled into the main Cpanel binary. Cpanel is not an open-sourced product. The majority (probably 95%) of the code is compiled before being distributed to prevent it from being copied/stolen, etc. The only people with access to the source code are the program developers.

    Hope that helps.

    Best Regards,
    Matt Lightner
    mlightner@site5.com
    Matt Lightner - http://www.mattlightner.com/
    - First initial to the last name at the mail service provided by the world's largest search engine
    - Founder and CEO (Former) Site5.com, sold in 2008
    - Really honestly wants to be a good WHT citizen but can never remember all the correct etiquette. Mods, sorry in advance

  7. #7
    Join Date
    May 2001
    Location
    Coconut Creek, FL.
    Posts
    31

    hhhmmmm...

    Thanks Matt,

    But that doesn't make sense as I have seen several "versions" of CPanel with different skins. This even includes Demo versions, for a different "look and feel" of the site. (basically to match the exsisting site)

    For an example of what I am refering to (if you have access the the "iconic" theme of "CPanel) I have been able to change all the mail pages...but when you add a new user the results of "listpoptable" populate a table cell within the exsisting page.

    Unfortunately, it pulls the data including all the images and formating of the "iconic" theme into that table. for example the "delete, read web mail" etc, images which are part of the "iconic" theme.

    I suppose I can just create new images called the same name, so at least it looks like the rest of the site. Hopefully it won't wack out the table layout (which I corrrected from their "rough" html style.

    Thanks....any other tips?

  8. #8
    The table structure for the list of POP accounts is fixed, but if you replace the original images with your own (using the same filenames), they'll show up.

    Mark Vockler
    Aletia Hosting
    Aletia Hosting » www.Aletia.com
    Full-Featured, High-Performance Hosting
    Email sales@aletia.com » AIM: AletiaCorp » ICQ: 111160011

  9. #9
    Join Date
    Mar 2001
    Location
    The Office
    Posts
    352
    Yeah it sorta poses a problem because the lists are generated in that huge helvetica font and it breaks up the tables, I tried to force it to change by putting span tags around it but it still stays the same... I was wondering where is the list generated from? Like is it a mySQL table? or is there a file it pulls all the mail accounts out of? I don't think it would be that hard to write a perl script to replace that pops.html page and have it be however you want....

  10. #10
    Join Date
    May 2001
    Location
    Coconut Creek, FL.
    Posts
    31

    got it...

    Luckily the images sizes are not hard coded into the script. SO, I just crated new smaller images with the same name. Now they still show up, but look like the rest of my site and don't break the tables (especially with long addresses) I wish I could change the size of the font though!

    Knipper

  11. #11
    Join Date
    Mar 2001
    Location
    The Office
    Posts
    352
    I don't think cpanel was planned out very well. Like the fact that they switch between .gif and .jpg on the same mail table lists??? What's that about? You can't do transparency with .jpg.. And if you are gonna use .jpg then use it everywhere don't switch formats in the middle of a page... or when they use that huge helvetica font for the layout of the cells, but in the mime types they force times font. They need to leave all the fonts untouched so it is using "default" that way when people put font tags or css tags around any generated code they WILL return as the template specifies... Also the directory paths of images is all screwy, some like mail calls images out of the root 'images' folder while the web protect features calls all images out of a local images folder insite the "htaccess" folder. Another is the mail images called mainacct.jpg file, this images is also reused in the FTP accounts. Why they choose to use force us to put images in either of these two is beyond me, better still why not have to different images for ftp and the mail one? Cpanel is a great concept, but it needs a lot of polishing....

  12. #12
    Join Date
    May 2001
    Location
    Coconut Creek, FL.
    Posts
    31

    Lightbulb you're not kidding....

    I noticed when I copied the Iconic directory there were duplicate images everywhere!!

    Here is an example. You know all the "image slices" they use (over 50 images) for the "look" of CPanel? I found duplicates in at least 3 places....

    /images
    /pics/
    /final/images/

    and I think there was even another one I can't recall now.

    I also found serveral pages that must have been test pages when they were determining the layout. Text of the page included things like "Blah blah", and didn't include any cpanel tags/references, etc.

    Oh well.....just kinda funny.

  13. #13
    Join Date
    Aug 2000
    Location
    Sheffield, South Yorks
    Posts
    3,627
    It would be nice if the new version of the 'CPanel' had a template system like vBulletin or similar - it would make things so much more simple.
    Karl Austin :: KDAWS.com
    The Agency Hosting Specialist :: 0800 5429 764
    Partner with us and free-up more time for income generating tasks

  14. #14
    Join Date
    Jun 2000
    Location
    California, USA
    Posts
    191
    If you would like to change the font that shows up in those tables.. try adding this to your style sheets:

    td{color: #000000; font-family:verdana, sans-serif, arial; font-size: 12px}

    of course, replacing those values with what you want your font to look like.. this will force a special font type in all your table cells.

    also, while making my cpanel skins I found that the <pre> tag was spitting out the font at such a teenie tiny size that I had to change it with, again, the magic of css

    pre {font-family:verdana, arial; text-decoration:none; FONT-SIZE: 11px;}

    you can really change alot of the look for cpanel with just a style sheet sooo.. it isn't really bad in that aspect. what really annoys me is in the area for ftp, the pre-written code for the table is messed up, making it so that where it reads anonymous@domain.com the mainacct.jpg image shows up below it instead of beside it. bad html from the programmers there.. my bad for never reporting it as a tiny bug.

  15. #15
    Great to see you around again, Elena!!

    Mark Vockler
    Aletia Hosting
    Aletia Hosting » www.Aletia.com
    Full-Featured, High-Performance Hosting
    Email sales@aletia.com » AIM: AletiaCorp » ICQ: 111160011

  16. #16
    Originally posted by ckizer
    I don't think cpanel was planned out very well. Like the fact that they switch between .gif and .jpg on the same mail table lists??? What's that about? You can't do transparency with .jpg.. And if you are gonna use .jpg then use it everywhere don't switch formats in the middle of a page... or when they use that huge helvetica font for the layout of the cells, but in the mime types they force times font. They need to leave all the fonts untouched so it is using "default" that way when people put font tags or css tags around any generated code they WILL return as the template specifies... Also the directory paths of images is all screwy, some like mail calls images out of the root 'images' folder while the web protect features calls all images out of a local images folder insite the "htaccess" folder. Another is the mail images called mainacct.jpg file, this images is also reused in the FTP accounts. Why they choose to use force us to put images in either of these two is beyond me, better still why not have to different images for ftp and the mail one? Cpanel is a great concept, but it needs a lot of polishing....
    Everybody complains ... you should have taken a look at the previous skin before I created this one, and then you would give it it's true value

    Those skins where created for my own personal use, good or bad, then in a moment of "DUMBNESS" I decided everybody would have it ... (real smart Carlos) .. Now everybody complains that it sucks .. I will look for the skin that you would be using and show it to you

    cheers
    Carlos Rego
    OnApp CVO

    The Cloud Engine

  17. #17
    there you go

    http://old:old@66.78.30.69:2082

    take a look
    Carlos Rego
    OnApp CVO

    The Cloud Engine

  18. #18
    Originally posted by CRego3D
    http://oldld@66.78.30.69:2082
    LOL...man, that's really....!!!

    Mark Vockler
    Aletia Hosting
    Aletia Hosting » www.Aletia.com
    Full-Featured, High-Performance Hosting
    Email sales@aletia.com » AIM: AletiaCorp » ICQ: 111160011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •