Skip to Content Skip to Menu

[#4822] Forums plugin and Kunena fields mapping

10 years 3 weeks ago - 10 years 3 weeks ago #251912 by alwaysontask
Hello, I'm running CB 2.0.2 - J 2.5.27 - Kunena 3.0.6 - Php 5.4.16

I've successfully mapped a new text field to Kunena for the forum signature of my users and it is displaying properly on the forum, but if I try to map other fields like skype, gender, custom text I don't see them on the forum underneath the avatar.

Before the upgrade I was using the old forum integration that now has been discontinued, and it was working fine.

Any idea?
Last edit: 10 years 3 weeks ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
10 years 3 weeks ago #251940 by krileon
Replied by krileon on topic Forums plugin and Kunena fields mapping
The mapping just pushes the values to Kunenas user database table for that user. Check _kunena_users to confirm the values have been pushed. Whether Kunena displays them or not is entirely up to Kunena, but believe some of them you need to enable the display for. However, if you are overriding the sidebar then they likely won't display as that's normally where Kunena would display them.


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.

10 years 3 weeks ago - 10 years 3 weeks ago #252025 by alwaysontask
Replied by alwaysontask on topic Forums plugin and Kunena fields mapping
Thank you Kyle, no I'm not overriding the sidebar and by checking the database I see that some values have been pushed and others haven't.
For sure I can't map the PersonalText field (and that's the only one that I really need, I tried with a text field, drop down field, radio button, but no success) as it doesn't appear on the sidebar, but if I manually type some text in the database personaltext rows it does work properly by displaying on the sidebar, underneath the avatar.

I wonder if that's due to a misconfiguration on my website or it's a CB Forums issue.

Can you map a personaltext field on your testing environment?
Last edit: 10 years 3 weeks ago by alwaysontask.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 3 weeks ago #252068 by nant
Replied by nant on topic Forums plugin and Kunena fields mapping

alwaysontask wrote: Thank you Kyle, no I'm not overriding the sidebar and by checking the database I see that some values have been pushed and others haven't.
For sure I can't map the PersonalText field (and that's the only one that I really need, I tried with a text field, drop down field, radio button, but no success) as it doesn't appear on the sidebar, but if I manually type some text in the database personaltext rows it does work properly by displaying on the sidebar, underneath the avatar.

I wonder if that's due to a misconfiguration on my website or it's a CB Forums issue.

Can you map a personaltext field on your testing environment?


Please download and install the latest nightly build from here:
www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build

and retest.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
10 years 3 weeks ago #252123 by krileon
Replied by krileon on topic Forums plugin and Kunena fields mapping
Was able to confirm your issue. Please see the below quickfix.

IN: components/com_comprofiler/plugin/user/plug_cbforums/models/kunena20.php
ON: Line 755
FORM:
Code:
case 'online': $field = 'showOnline'; break;
TO:
Code:
case 'online': $field = 'showOnline'; break; case 'personaltext': $field = 'personalText'; break;

It's due to personaltext not properly mapping to Kunenas personalText. Once the quickfix is applied you'll need to re-save your profile for it to map the field value over.

forge.joomlapolis.com/issues/4822


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.

10 years 2 weeks ago #252199 by alwaysontask
Replied by alwaysontask on topic Forums plugin and Kunena fields mapping
Thank you, it works!

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

Moderators: beatnantkrileon
Powered by Kunena Forum