Skip to Content Skip to Menu

[SOLVED] Standard forum plugin, but rank is wrong

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 5 months ago - 12 years 5 months ago #199552 by fribse2011
After doing a bit of experimenting with the new forum plugin, I've given up due to timeconstraints, so I'm sticking with the standard CB plugin for forum.

But looking in kunena, a user that is above registered, and part of our special group called Member, is shown as Administrator in Kunena.

What is going on? What fields are used by the standard Forum plugin?
I would like to remove the fields that are not used of course.

I've entered the Advanced sidebar, and this is used: <li class="kpost-userrank">[cb:userfield field="forumrank"/]</li>

If I choose 'Beginner' instead, it shows the correct rank?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 12 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #199624 by krileon
Replied by krileon on topic Re: Standard forum plugin, but rank is wrong
We pull the rank directly from Kunenas database. The only time we override is if they're a site moderator then they're given the Administrator rank. Please check and see if their group falls under the moderator group within CB > Configuration > Moderation.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 5 months ago - 12 years 5 months ago #199656 by fribse2011
Replied by fribse2011 on topic Re: Standard forum plugin, but rank is wrong
Hi Kyle

Well, as soon as I set it to 'Beginner' it shows the correct rank, but then it also shows 'Gender' which is undefined (and it does so even without the setting of the Gender field in the mapping list in the plugin).

Is it because the cb:userfield definition is wrong with the standard forum plugin?
Oh, and the user does not belong to the CB Mod group

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 12 years 5 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #199665 by krileon
Replied by krileon on topic Re: Standard forum plugin, but rank is wrong
Beginner lets Kunena render everything. We're just passing CB field values to the Kunena user object. Advanced uses substitutions, which works as we're using it here at Joomlapolis. Perhaps there's an issue with the usergroup setup? Does it display fine if the user is Registered instead of "Member"?


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 5 months ago - 12 years 5 months ago #199725 by fribse2011
Replied by fribse2011 on topic Re: Standard forum plugin, but rank is wrong
I've tried posting with a 'registered user', no change in the rank displaying.
It is shown as Administrator if the user is merely registered.
In the ACL, only the group Registered is ticked in the level Registered. The group Club Member, is ticked for the level Member.
If you wish to see it for yourself, you're welcome to have some credentials for the backend?

My fear is that because I've experimented with the new forum plugin, something has gone wrong somewhere.

The fact that it is shown correctly in 'Beginner' mode also tells me that Kunena shows it correctly, and the groups are correct, it is the substitution that somehow is wrong.
The substition I've used is:
Code:
<ul class="kpost-profile"> <li class="kpost-username"><a rel="nofollow" title="" href="index.php?option=com_comprofiler&task=userProfile&user=[user_id]&Itemid=47" class="kwho-admin">[cb:userfield field="formatname"/]</a></li> <li class="kpost-avatar"><a rel="nofollow" title="" href="index.php?option=com_comprofiler&task=userProfile&user=[user_id]&Itemid=47" class="kwho-admin"><span class="kavatar">[cb:userfield field="avatar"/]</span></a></li> <li>[cb:userfield field="onlinestatus"/]</li> <li class="kpost-userrank">[cb:userfield field="forumrank"/]</li> <li class="kpost-userposts">Posts: [cb:userfield field="forumposts"/]</li> <li class="kpost-karma">Karma: [cb:userfield field="forumkarma"/] [karmaminus] [karmaplus]</li> <li>[cb:userfield field="cb_bestyrelse"/]</li> </li> <li><a href="index.php?option=com_comprofiler&act=connections&task=addConnection&connectionid=[user_id]" title="Tilføj som ven"> <img src="http://www.dkdb.dk/components/com_kunena/template/dkdb/images/icons/friend.png"></a> <a title="Klik her for at sende en privat besked til denne bruger" href="/component/uddeim/?task=new&recip=[user_id] "> <span class="kicon-profile kicon-profile-pm" alt="Klik her for at sende en privat besked til denne bruger"></span></li> </ul>

It's like the administrator is displayed, because it has '0' in the 'demand' for number of posts to fullfill the rank in Kunena, and that it doesn't see if they have the other requirements.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 12 years 5 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #199759 by krileon
Replied by krileon on topic Re: Standard forum plugin, but rank is wrong
Don't know what to tell you. It's working fine on 3 different installs and also working fine on Joomlapolis (look to the left of your post message). CB Forums can't cause any of this. However, if you've both Forum integration and CB Forums enabled they could be fighting one another for display (only use 1).


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.

Moderators: beatnantkrileon
Powered by Kunena Forum