Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Allow Login Themes to customize styling/HTML of password reset form [Case 42172]

  1. #1
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default Allow Login Themes to customize styling/HTML of password reset form [Case 42172]

    I'm trying to create a custom login theme for both cpanel and whm logins but it seems template files are scattered around.

    My first question is how do I switch to a custom login theme? In Main >> Themes >> Universal Theme Manager >> Manage Login Themes theres no way to activate another theme.

    Secondly, the WHM login theme was easy enough but for the cpanel where is the file that has the initial "Password Reset" form? Its not in the theme's folder and I havent been able to find it.

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    To clarify, before you can switch to a custom login theme it must be installed using WHM via the following menu path:
    WHM: Main >> Themes >> Universal Theme Manager >> Login [Manage Themes]

    You may switch between installed login themes using WHM via the following menu path:
    WHM: Main >> Server Configuration >> Tweak Settings >> Display
    • Default login theme [?]
      The login theme to display for cPanel login. (If you are posting to /login/, you can include “login_theme” as a URI/form variable to overwrite this setting on a per case basis.)


    The login theme name entered/selected must match exactly with what is shown in the Universal Theme Manager.

  3. #3
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDon View Post
    To clarify, before you can switch to a custom login theme it must be installed using WHM via the following menu path:
    WHM: Main >> Themes >> Universal Theme Manager >> Login [Manage Themes]

    You may switch between installed login themes using WHM via the following menu path:
    WHM: Main >> Server Configuration >> Tweak Settings >> Display
    • Default login theme [?]
      The login theme to display for cPanel login. (If you are posting to /login/, you can include “login_theme” as a URI/form variable to overwrite this setting on a per case basis.)


    The login theme name entered/selected must match exactly with what is shown in the Universal Theme Manager.
    Thank you for clearing that up.

    For my second question do you know where the password reset file is? When you allow users to reset their password it adds a section to the login page to reset your password. This section is not part of login_cpaneld.html and it is not in the theme folder. I'm assuming its like the WHM logout file ( /usr/local/cpanel/whostmgr/docroot/logout.html ) in the way that file uses the login theme's header and footer, so it needed to be edited as to not mess up the theme, and that the file is outside the theme's folder.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by FLCLFan View Post
    Thank you for clearing that up.

    For my second question do you know where the password reset file is? When you allow users to reset their password it adds a section to the login page to reset your password. This section is not part of login_cpaneld.html and it is not in the theme folder. I'm assuming its like the WHM logout file ( /usr/local/cpanel/whostmgr/docroot/logout.html ) in the way that file uses the login theme's header and footer, so it needed to be edited as to not mess up the theme, and that the file is outside the theme's folder.
    The files are within each login theme, as seen below:
    Code:
    resetpass_header_cpaneld.html
    resetpass_reset_cpaneld.html
    resetpass_resetform_cpaneld.html
    resetpass_resetform_nouser_cpaneld.html
    resetpass_resetformheader_cpaneld.html
    resetpass_suspended_cpaneld.html
    I was able to see the above files when I downloaded an existing login theme and then extracted the gzip-compressed tar archive.

    You may download existing (installed) login themes via the following menu path:
    WHM: Main >> Themes >> Universal Theme Manager >> Login [Manage Themes]

  5. #5
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDon View Post
    The files are within each login theme, as seen below:
    Code:
    resetpass_header_cpaneld.html
    resetpass_reset_cpaneld.html
    resetpass_resetform_cpaneld.html
    resetpass_resetform_nouser_cpaneld.html
    resetpass_resetformheader_cpaneld.html
    resetpass_suspended_cpaneld.html
    I was able to see the above files when I downloaded an existing login theme and then extracted the gzip-compressed tar archive.

    You may download existing (installed) login themes via the following menu path:
    WHM: Main >> Themes >> Universal Theme Manager >> Login [Manage Themes]
    I went through all those files but they go to the pages you see once you try to reset your password. But none of those files go to the initial password reset form that just asks for your username.

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by FLCLFan View Post
    I went through all those files but they go to the pages you see once you try to reset your password. But none of those files go to the initial password reset form that just asks for your username.
    To help me better understand the difficulty, please elaborate by detailing exactly what is needing to be modified on the form.

  7. #7
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDon View Post
    To help me better understand the difficulty, please elaborate by detailing exactly what is needing to be modified on the form.


    What I need is the location to the file/code underneath that red box. I need to edit that form as to restructure it into one that doesn't use tables and makes use of the "label" tag and etc.. as to be consistant with the rest of my theme.

  8. #8
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by FLCLFan View Post


    What I need is the location to the file/code underneath that red box. I need to edit that form as to restructure it into one that doesn't use tables and makes use of the "label" tag and etc.. as to be consistant with the rest of my theme.
    Thank you for the clarification. I have submitted an internal inquiry on your behalf seeking information regarding login theme customization specific to the password reset form. I will ensure to keep you informed with any available details via this forums thread. For reference and tracking purposes this inquiry has been assigned the following internal case ID: #42172
    Last edited by cPanelDon; 07-16-2010 at 03:50 PM. Reason: Added reference ID number (may be used in a support request/ticket submission)

  9. #9
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDon View Post
    Thank you for the clarification. I have submitted an internal inquiry on your behalf seeking information regarding login theme customization specific to the password reset form. I will ensure to keep you informed with any available details via this forums thread.
    Alright, I'll wait for your reply.

  10. #10
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    I did a search for a line of code that the reset box uses and the block of code is in /usr/local/cpanel/cpsrvd and /usr/local/cpanel/cpsrvd-ssl. Is this seriously where the html for the password reset is coming from?

  11. #11
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by FLCLFan View Post
    I did a search for a line of code that the reset box uses and the block of code is in /usr/local/cpanel/cpsrvd and /usr/local/cpanel/cpsrvd-ssl. Is this seriously where the html for the password reset is coming from?
    It is too early for me to know what precise factors or possibilities may or may not be applicable; however, per the inquiry submitted on your behalf I have requested clarification about login theme customization with specific regard to the password reset "resetpass" form. Upon my receiving actionable information I will update this thread to keep you informed. Your patience and understanding is greatly appreciated.

    P.S. I have updated my earlier reply with a tracking number you may reference if needing to submit a support request.

  12. #12
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by FLCLFan View Post
    Alright, I'll wait for your reply.
    I apologize for the inconvenience, but at the present time it is not possible to customize the password reset form using a login theme; however, per your inquiry there is now an internal feature request tracked by case ID number 42172.

    As a workaround, we recommend to disable the password-reset-via-email option so that it will not interfere with your desired login theme customization. Disabling the ability for end-users to reset their cPanel account password via e-mail will increase the security of your system by reducing the likelihood of unauthorized access.

    You may toggle the password-reset-via-email option using WHM via the following menu path:
    WHM: Main >> Server Configuration >> Tweak Settings >> System
    • Email password reset [?] Allow cPanel users to reset their password via email

  13. #13
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDon View Post
    I apologize for the inconvenience, but at the present time it is not possible to customize the password reset form using a login theme; however, per your inquiry there is now an internal feature request tracked by case ID number 42172.

    As a workaround, we recommend to disable the password-reset-via-email option so that it will not interfere with your desired login theme customization. Disabling the ability for end-users to reset their cPanel account password via e-mail will increase the security of your system by reducing the likelihood of unauthorized access.

    You may toggle the password-reset-via-email option using WHM via the following menu path:
    WHM: Main >> Server Configuration >> Tweak Settings >> System
    • Email password reset [?] Allow cPanel users to reset their password via email
    Thanks.
    These requests/cases can only be tracked by staff right? Or is there a listing for the public?

  14. #14
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Arrow Thread moved to Feature Requests for cPanel and WHM

    Quote Originally Posted by FLCLFan View Post
    Thanks.
    These requests/cases can only be tracked by staff right? Or is there a listing for the public?
    While the internal case is viewable only by staff, this thread will be the source of primary public discussion and used for sharing implementation ideas, asking related questions, and voicing any concerns regarding the feature request. I assure you that any available status updates will be relayed into the forums thread to ensure everyone is kept informed and in-the-loop. I am not yet aware of any plans regarding the feature request; however, if an available ETA is determined, such as a future version number where the feature might be planned, we will update this thread to let you know.

    I have relocated this thread, regarding login theme customization of the password reset form, into the forums area for cPanel and WHM Feature Requests to help increase attention and gain additional feedback regarding if and or how people would like to see the specific request implemented.

  15. #15
    Member Eli L's Avatar
    Join Date
    Aug 2007
    Location
    Bellingham, Washington, United States
    Posts
    57
    cPanel/WHM Access Level

    Root Administrator

    Default

    Alright.

    Since this is a feature request now would it be too big of task to have all files that use a login theme to be moved the theme's folder so they can all be in one place for easy theming? For example /usr/local/cpanel/whostmgr/docroot/logout.html.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Case 12462] Customize threshold for system-wide disk space check
    By cPanelDavidG in forum Archived Feature Requests
    Replies: 7
    Last Post: 04-30-2012, 04:40 PM
  2. Force password reset failing - The new password fields don't match
    By SynAsha in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 06-03-2011, 07:11 PM
  3. Password protected directory login form?
    By senators24 in forum cPanel Developers
    Replies: 9
    Last Post: 09-23-2010, 09:12 PM
  4. MIME HTML on for a PHP Form?
    By ThunderHostingDotCom in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-07-2004, 02:13 PM