Results 1 to 9 of 9

Thread: Customize cPanel login page

  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    3
    cPanel/WHM Access Level

    Root Administrator

    Smile Customize cPanel login page

    i need to know how to customize cpanel login page or where can i find it in system?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,289
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    Quote Originally Posted by esharaf View Post
    i need to know how to customize cpanel login page or where can i find it in system?
    This can currently be customized by way of copying /usr/local/cpanel/base/unprotected/cpanel to /usr/local/cpanel/base/unprotected/yourtheme replacing yourtheme with what you want to name your login theme. You edit the HTML and then in Tweak Settings set the login theme to the theme you just made.

    Since this is existing functionality and not a request for new functionality, I am moving this out of the feature request forum.

    Root access and knowledge of SSH or SFTP is required to do this modification.

  3. #3
    Registered User
    Join Date
    Jan 2012
    Posts
    3
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    I need to put a script generate captache inside webmail Login Page so after user enters wrong password 3 times , i reguried him to type this captache also to login , how can i do that?

  4. #4
    Registered Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    1,051
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    hehe, I'd rather include the CAPTCHA from the beggining, as if the "user" enters their login info incorrectly more than 3 times, you may be rather under bot attack.

  5. #5
    Registered User
    Join Date
    Jan 2012
    Posts
    3
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    ok i need a code to apply that can u provide me with working one

  6. #6
    Registered Member
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    272

    Default Re: Customize cPanel login page

    captchas suck. they provide VERY little added security at all.

  7. #7
    Registered User
    Join Date
    Apr 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    Hi. This in my first post so please be patient with me..

    I have done like cPanelDavidG said and after editing the main.tmpl and login.tmpl I managed to successfully create my custom pages (WHM, cPanel and Webmail).

    But I still have a little problem when entering a wrong username or password. In this case I am redirect to :2095/login/ but the "Invalid Login" messages doesn't show. On the other hand the Logout message is ok.

    In login.tmpl there is this piece of code:

    SET shownotice = logout || msg_code;
    SET notice_message = msg_code
    ? (login_messages.$msg_code || locale.maketext('An authorization error occurred. Please try again.') )
    : locale.maketext('You have logged out.')
    ;

    And I think that msg_code is not being set somehow. I am not using js-min/login.js I am just redirecting my form like this:

    <form id="login_form" action="/login/" method="post" id="login_form" target="[% login_target %]">

    In case of sucess or logout there is no problem but in cases of invalid login I can't show to users the reason why.

    Can anyone help me with this one?

    (I've searched for solutions but didn't found one)

  8. #8
    Registered User
    Join Date
    Apr 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Customize cPanel login page

    Is there any other way of doing this? Like create my own login page in PHP and redirected to cpanel or webmail? But in case of failure how can I return it to my page? I already tried has explained where http://docs.cpanel.net/twiki/pub/All...ing_cPanel.pdf but it does not redirect to my page. And also tried failurl like explained where WLScripting.com ŧ cPanel, WHM, Webmail login script but it stills does not redirect to my page.

    I really do need help on this one.

  9. #9
    Registered User
    Join Date
    Jun 2012
    Posts
    3
    cPanel/WHM Access Level

    Reseller Owner

    Default Re: Customize cPanel login page

    I would like to know how I can change the skin of cpanel login, webmail, whm
    I have the service through a hosting
    I am a reseller
    I have access only to / home on the server, but I didnīt see the path / usr / local / cpanel / base / unprotected /
    how I can make the changes? at least be able to change only the logo!
    thanks a lot!

Similar Threads

  1. Customize WebMail Login Page
    By hicom in forum User Experience
    Replies: 3
    Last Post: 02-16-2012, 02:30 PM
  2. Webmail login page and customize webmail server installation
    By patelbhavin8008 in forum E-mail Discussions
    Replies: 2
    Last Post: 05-25-2011, 05:22 AM
  3. Customize login page
    By labeach in forum User Experience
    Replies: 21
    Last Post: 08-25-2010, 02:44 AM
  4. how to customize the new login page ?
    By Radio_Head in forum User Experience
    Replies: 18
    Last Post: 11-30-2004, 12:36 AM
  5. how to customize the new login page
    By Radio_Head in forum General Discussion
    Replies: 1
    Last Post: 06-17-2004, 03:24 AM
bargain