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.

Resellers adding custom Cpanel

Discussion in 'General Discussion' started by creed, Sep 18, 2002.

  1. creed

    creed Member

    Joined:
    Aug 19, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    I am currently with a host as a reseller. They allow me to upload my custom Cpanel to my own account directory, and then somehow point Cpanel to my directory so that it shows up in WHM when you assign a new account a CPanel theme. Well I have an account on another host, but they don't know how to do it. Does anyone know how to do this, so I can explain to them. I don't want to ask my current host how to do it because I will be leaving shortly. Thanks
     
  2. kualo

    kualo Member
    PartnerNOC

    Joined:
    Jun 2, 2002
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    3
    ln -s /home/username/themename /usr/local/cpanel/base/frontend/
     
  3. CGarson

    CGarson Well-Known Member

    Joined:
    Jul 29, 2002
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    That's very useful.
     
  4. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    questions for Nick or someone who knows what I'm talking...

    Just a question ...

    cpanel runs as ... cpanel user right?
    is not dangerous to use other non tested cpanel themes ?
    I mean, what if they put some php code on it ... can someone using this method do something bad ??

    Also ...
    suppose you have 10 clients, each one with their custom cpanel theme ...
    can you make that each reseller see only their theme ?
    or all 10 resellers will see the 10 themes ?

    Regards.
     
  5. CGarson

    CGarson Well-Known Member

    Joined:
    Jul 29, 2002
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    I dont have too much experiance with the way cPanel themes work. But, I do not think you can put any PHP code or anything of tht nature. The user 'cpanel' I dont think has superuser privaliges. So far, all resellers can see all themes.
     
  6. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    [quote:af7c5108ed][i:af7c5108ed]Originally posted by kualo[/i:af7c5108ed]

    ln -s /home/username/themename /usr/local/cpanel/base/frontend/[/quote:af7c5108ed]

    Will this work for WHM also?


    ln -s /home/username/WHMtheme /usr/local/cpanel/whostmgr/docroot/theme/

    -Ed
     
  7. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    btw... I do not recomend custom user WHM's at all ...
    as WHM run as root ... right?

    Beeeeeeee Beeeeeeeee Danger! ;)
     
  8. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    [quote:956c2d8395][i:956c2d8395]Originally posted by kualo[/i:956c2d8395]

    ln -s /home/username/themename /usr/local/cpanel/base/frontend/[/quote:956c2d8395]

    Will this work for root suspended.page?

    host.domain.com/suspended.page to home/username/public_html/suspended.page
     
Loading...

Share This Page