[SOLVED] Problem with rank in kunena forum.

13 years 9 months ago #134788 by krileon
Replied by krileon on topic Re:Problem with rank in kunena forum.
Are you getting the errors in CB or in Kunena? If you've unpublished the plugin and are still recieving the errors on frontend then the source is coming from elsewhere as none of the plugins code should be loaded once unpublished. Please check that you do not have some other forum integration present or that something isn't including CBs forum plugin model library. I could not duplicate your issue with or without custom ranks. Your users appear out of sync if issue persists. Try synchronizing users in CB and in Kunena.

Post edited by: krileon, at: 2010/06/04 18:06


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 to join the conversation.

13 years 9 months ago #134811 by mediaguru
Replied by mediaguru on topic Re:Problem with rank in kunena forum.
I've synced until the cows come home. Here's the error:

PHP Notice: Trying to get property of non-object in /httpdocs/components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.model.php on line 126

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in to join the conversation.

13 years 9 months ago #135002 by krileon
Replied by krileon on topic Re:Problem with rank in kunena forum.
mediaguru wrote:

I've synced until the cows come home. Here's the error:

PHP Notice: Trying to get property of non-object in /httpdocs/components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.model.php on line 126

This means your user is probably missing from _fb_users. Can not duplicate your issue however, sorry.

The line in question is referring to the following.

[code:1]
if ( $userDetails->rank != 0 ) {
[/code:1]

Which is obtained via the following.

[code:1]
$userDetails = $this->getUserSettings( $user, $forum, $supportsDbRanks );
[/code:1]

Which is the following query.

[code:1]
$query = 'SELECT f.*'
. $additional
. "\n FROM " . $_CB_database->NameQuote( '#__' . $forum->prefix . '_users' ) . 'AS f'
. ', ' . $_CB_database->NameQuote( '#__users' ) . 'AS u'
. "\n WHERE f." . $_CB_database->NameQuote( 'userid' ) . " = u." . $_CB_database->NameQuote( 'id' )
. "\n AND f." . $_CB_database->NameQuote( 'userid' ) . " = " . (int) $user->id
[/code:1]

You're welcome to explore the code and perform debug steps on it and submit a possible fix, but as it stands do not see nor can I confirm an issue.


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 to join the conversation.

13 years 9 months ago #135026 by mediaguru
Replied by mediaguru on topic Re:Problem with rank in kunena forum.
Poked around the code for a while. I ended up upgrading to Kunena 1.5.x. We'll see if that helps.

Your responses ARE appreciated and I'll let you know if I find a resolution.

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in to join the conversation.

13 years 9 months ago #135102 by mediaguru
Replied by mediaguru on topic Re:Problem with rank in kunena forum.
Just checked my logs. The error is now gone after updating to Kunena 1.5.x.

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.313 seconds

Facebook Twitter LinkedIn