Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] User Status Tab

11 years 4 months ago - 11 years 3 months ago #229839 by orangeapple
[SOLVED] User Status Tab was created by orangeapple
Hi,

I am wondering if I can get some advice on how to add a couple of new fields to the User Status tab.

First field: Membership Number
This field would show the users ID number, but obviously I don't want to the user to be able update the field when they click on the Edit -> Update your profile link. Is there any way of doing this.

Second field: Email
I currently have the standard Email field on a tab called Contact Info which is great. But I would really like to be able to replicate the email field and put it on the User Status tab as well so as it is nice and prominent when the user goes to their View Profile page. Obviously again, I wouldn't want the user to be able to update this email field on User Status tab when they click on the Edit -> Update your profile link.

Any help or advice would be greatly appreciated.

Many thanks
Brad
Last edit: 11 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48465
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229894 by krileon
Replied by krileon on topic User Status Tab

First field: Membership Number
This field would show the users ID number, but obviously I don't want to the user to be able update the field when they click on the Edit -> Update your profile link. Is there any way of doing this.

Their Joomla/CB User ID? Yes, this is doable. Create a new delimiter field with the contents being [user_id]. Delimiter fields are substitution supported text and HTML. They are also not editable so will provide exactly as you're wanting.

Second field: Email
I currently have the standard Email field on a tab called Contact Info which is great. But I would really like to be able to replicate the email field and put it on the User Status tab as well so as it is nice and prominent when the user goes to their View Profile page. Obviously again, I wouldn't want the user to be able to update this email field on User Status tab when they click on the Edit -> Update your profile link.

If you want it displayed on user status, but editable on a different tab then you need to use a delimiter field and substitute it in. Please see my above reply regarding delimiter field usage. Please also see the below tutorial regarding substitution usage.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb


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 or Create an account to join the conversation.

11 years 4 months ago #229898 by orangeapple
Replied by orangeapple on topic User Status Tab
Ok. I have created the new fields (type: fields delimeter) and given it the title of Member Number, where do I add in the [user_id] so as it comes up on the Tab.

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

11 years 4 months ago #229902 by orangeapple
Replied by orangeapple on topic User Status Tab
It's Ok, I worked it out, it just goes in the Description area.

Thanks for your advice.
The following user(s) said Thank You: krileon

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

11 years 4 months ago #229911 by orangeapple
Replied by orangeapple on topic User Status Tab
Sorry, one last thing. Both those fields are working, however when I go to the Edit your profile page, the User Status tab now comes up as a selectable tab, the fields aren't editable but it just looks strange having that tab on this edit screen when they can't actually edit those fields. Have I set something up incorrectly?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48465
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago - 11 years 4 months ago #229920 by krileon
Replied by krileon on topic User Status Tab
You can hide profile edit display of any field using CB Privacy and setting it to not have a profile edit display (edit the field within CB > Field Management and see Field privacy preferences on the right).

Have I set something up incorrectly?

No, it's normal for delimiter fields to show in profile edit.


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.
Last edit: 11 years 4 months ago by krileon.
The following user(s) said Thank You: orangeapple

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

Moderators: beatnantkrileon
Powered by Kunena Forum