Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    3
    cPanel/Enkompass 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,189
    cPanel/Enkompass 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/Enkompass 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
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    942
    cPanel/Enkompass 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/Enkompass 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
    Member
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    146

    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/Enkompass 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/Enkompass 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.

Similar Threads & Tags
Similar threads

  1. 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
  2. Customize login page
    By labeach in forum Themes and Branding
    Replies: 21
    Last Post: 08-25-2010, 02:44 AM
  3. Customize cPanel Login
    By fedlerner in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-06-2009, 01:00 PM
  4. how to customize the new login page ?
    By Radio_Head in forum Themes and Branding
    Replies: 18
    Last Post: 11-30-2004, 12:36 AM
  5. how to customize the new login page
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-17-2004, 03:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube