Skip to Content Skip to Menu

[#3402] Kunena Gender

  • GTvB
  • GTvB
  • OFFLINE
  • Posts: 109
  • Thanks: 4
  • Karma: 1
12 years 1 month ago - 12 years 1 month ago #195796 by GTvB
[#3402] Kunena Gender was created by GTvB
Hello,

after reading a similiar post in this forum, I tried the following:

I added a new field in CB (radio button) with values _UE_MALE and _UE_FEMALE.
I connected this field (Beginners mode) to gender in the forum integration plugin.

But still in Kunena the gender is "unknown".
Are you shure, that the values "_UE_MALE" and "_UE_FEMALE", that can be seen in the table, are migrated to integer values 0 and 1 ?

GTvB

Joomla: 2.5.6
CB: 1.8.1
GJ: 2.5.3 RC1
Kunena: 2.0.1
Website language: German
Last edit: 12 years 1 month ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68613
  • Thanks: 9109
  • Karma: 1434
12 years 1 month ago #195832 by krileon
Replied by krileon on topic Re: Kunena Gender
Unless Kunena changed what values equal to Male or Female it translates them to 1 and 2.
Code:
if ( $fields[4] ) { if ( $fields[4] == '_UE_MALE' ) { $gender = 1; } elseif ( $fields[4] == '_UE_FEMALE' ) { $gender = 2; } else { $gender = null; } $userinfo->gender = $gender; }


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.

  • GTvB
  • GTvB
  • OFFLINE
  • Posts: 109
  • Thanks: 4
  • Karma: 1
12 years 1 month ago #195836 by GTvB
Replied by GTvB on topic Re: Kunena Gender
Ok,

but how can I fix my problem ???

GTvB

Joomla: 2.5.6
CB: 1.8.1
GJ: 2.5.3 RC1
Kunena: 2.0.1
Website language: German

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68613
  • Thanks: 9109
  • Karma: 1434
12 years 1 month ago #195841 by krileon
Replied by krileon on topic Re: Kunena Gender
I don't know. I didn't even know there was a problem. Please allow me time to test and investigate.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68613
  • Thanks: 9109
  • Karma: 1434
12 years 1 month ago #195845 by krileon
Replied by krileon on topic Re: Kunena Gender
Was able to confirm as a bug. Please see the below bug ticket for further information.

forge.joomlapolis.com/issues/3402


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 5 months ago #216694 by loicberder
Replied by loicberder on topic Re: Kunena Gender
hello,
this fix is not included in the last realised ?

do we have to apply manually ? could we expected it included ?

Loïc

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn