Strange issue with cb online module

1 year 10 months ago #329485 by liaskas
Strange issue with cb online module was created by liaskas
Hello...

We are using cb online module...

Display Mode: Online users

User-text: Customized to fit our needs.

When admin is logged in frontend the module works as expected and this is what he sees:


But Registered users are not able to view the Usernames of the logged in users...


Can you please point us to the right direction so that "formatname" also becomes visible for registered users on cb online module?

Thank you.

The custom code we use in User-text field is the following:
<div class="row">
  <div class="column1">[cb:userfield field="avatar" reason="list" /]</div>
  <div class="column2">[cb:userfield field="formatname" reason="list" /][cb:if cb_sex_predefined="_UE_GENDER_1"]<div id="circlem"></div>[/cb:if][cb:if cb_sex_predefined="_UE_GENDER_2"]<div id="circlef"></div>[/cb:if][cb:if cb_sex_predefined="_UE_GENDER_3"]<div id="circlec"></div>[/cb:if][cb:if cb_sex_predefined="_UE_GENDER_4"]<div id="circlet"></div>[/cb:if]</div>
 </div>
Attachments:

Please Log in to join the conversation.

1 year 10 months ago #329486 by liaskas
Replied by liaskas on topic Strange issue with cb online module
Please ignore this support ticket...

Problem solved by replacing...

field="formatname"

with

field="username"

in the custom code script.

Please Log in to join the conversation.

1 year 10 months ago #329488 by krileon
Replied by krileon on topic Strange issue with cb online module
formatname should work there unless it's configured to not display on profile or is on an unpublished tab. Same can happen to any field. Be sure to keep in mind userfield substitutions respect access permissions.


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: liaskas

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn