Skip to Content Skip to Menu

How to find and edit PHP file responsible for user profile edit

5 years 8 months ago - 5 years 8 months ago #311139 by Afrikao.com
Hello,
there is small but long-term annoying issue relating to user profile edit.

When user wants to change password on profile edit - we see
Password
Verify Password
Current Password

To avoid a misunderstanding - it should be
New Password
Verify New Password
Current Password

But word "Password" is strictly associated with _UE_PASS.
If we override language template to "New Password" - we will see absurd
New Password
Verify New Password
Current New Password

So the only current way to fix it - use hardcode of a file responsible for user profile edit.
Inspect element shows this is line
<label for="password" id="cblabpassword" class="col-form-label col-sm-3 pr-sm-2">Password</label>
just change to
<label for="password" id="cblabpassword" class="col-form-label col-sm-3 pr-sm-2">New Password</label>

My question is - where to find this file ?
...or any other way ?
Thanks in advance,
Best regards
Serge
Last edit: 5 years 8 months ago by Afrikao.com.

Please Log in or Create an account to join the conversation.

  • fg88
  • fg88
  • OFFLINE
  • Posts: 14
  • Thanks: 5
  • Karma: 1
5 years 8 months ago #311147 by fg88
Which CB version do you use ?

On last version :

on the password field setting page, tab Parameter > Tab Validation

you can define translation :

Current : VERIFY_CURRENT_SOMETHING
Verify : _UE_VERIFY_SOMETHING

That way, you can have different translation for each field
The following user(s) said Thank You: Afrikao.com

Please Log in or Create an account to join the conversation.

5 years 8 months ago #311149 by Afrikao.com
Thanks for your answer but you did not get my point.
Open as USER any "Edit Profile".
Usually very first tab - Contact Info.
And there ->
Password
Verify Password
Current Password
right ?
Can you (as admin) change very first word "Password" to "New Password" ? To have
New Password
Verify Password
Current Password
-> To avoid misunderstandings from user's side ?
It MUST be CLEAR for any level of user without any kind of "thinking"...where "new password, where "verify" etc"
During very long time this is the minor but very annoying issue from Community Builder...
I use CB for about 6 years - but they still miss to fix this.
Try to change it ;) you've got I'm right...

Please Log in or Create an account to join the conversation.

  • fg88
  • fg88
  • OFFLINE
  • Posts: 14
  • Thanks: 5
  • Karma: 1
5 years 8 months ago #311155 by fg88
Which CB version do you use ?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 8 months ago #311159 by krileon
We do not support core edits. Modifying the core code would not resolve your issue anyway as field output is generated.

Edit your password field and change the title from _UE_PASS to New Password (or do so using language overrides) then click the Parameters tab and under Validation adjust "Label for the verify password field" and "Label for the verify current field" as needed (e.g. change them to Verify New Password and Current Password). You can even override the verify and current password field descriptions there. Note this assumes your CB install is up to date. If it is not then update.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Afrikao.com

Please Log in or Create an account to join the conversation.

5 years 8 months ago #311183 by Afrikao.com
Thanks a lot ! A little tricky but it solves the problem...
...IMHO I still think it would be better just to add this by default for Profile Edit.
I mean "New Password" for the field where new password should be typed...instead of just word "Password"
Best regards,
Serge

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum