CB Profile Update Logger

5 years 10 months ago #305190 by cgwhite
CB Profile Update Logger was created by cgwhite
Within the CB Profile Update Logger there is a field called "User" which shows the username of the member who has updated their profile. Clicking on this username gives you a single page that shows the detail of what has been changed.

Our issue is that our usernames are numbers. So user 752 has changed his profile. How do we display his formatted name on the page that opens having clicked on his username?

Regards,

Chris.

Please Log in to join the conversation.

5 years 10 months ago #305224 by krileon
Replied by krileon on topic CB Profile Update Logger
I assume you're referring to backend as frontend already shows formatname if not "Self" when hovering the user icon. It's not possible to change this in backend without trying to modify the XML to display name instead of username. Modifying the XML will result in your changes being lost on every update of the plugin, but you can find the XML below.

/components/com_comprofiler/plugin/user/plug_cbprofileupdatelogger/xml/views


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.

Please Log in to join the conversation.

5 years 10 months ago #305321 by cgwhite
Replied by cgwhite on topic CB Profile Update Logger
Thank you for that. If I wish to amend the email notification that is sent out to add more CB fields where do I find that and how would I add more CB fields to it?

Please Log in to join the conversation.

5 years 10 months ago #305324 by krileon
Replied by krileon on topic CB Profile Update Logger
The notification email subject and body are language strings. You can use the built in language override functionality shown below to modify it.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived

Language finder is also built into the language overrides as shown below.

www.joomlapolis.com/blog/kyle/18712-language-key-and-text-finder

The strings specifically are as follows.

Key: [username] has updated their profile!
String:
<a href="[url]">[username]</a> has updated their profile. Changed: [changed]. Pending Changes: [pending].<br /><br />[changes]

Key: USER_HAS_UPDATED_PROFILE_OF_USERNAME
String:
[user] has updated the profile of <a href="[url]">[username]</a>. Changed: [changed]. Pending Changes: [pending].<br /><br />[changes]


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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.186 seconds

Facebook Twitter LinkedIn