Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question JomSocial and Kunena Karma Integration

More
15 years 4 months ago #78695 by Neocold
yaksushi, that certainly is one way to do it.

However (and this is a personal preference), I believe that the link to my Forum Settings page is more appropriately placed under the Profile dropdown. This method is also much simpler to apply manually.

Edit file **/components/com_community/libraries/toolbar.php

change:
Code:
$defaultCoreMenuArray['PROFILE_EDIT_PREFERENCES'] = $this->_addDefaultItem( JText::_('CC EDIT PREFERENCES'), CRoute::_('index.php?option=com_community&view=profile&task=preferences') );

to:
Code:
$defaultCoreMenuArray['PROFILE_EDIT_PREFERENCES'] = $this->_addDefaultItem( JText::_('CC EDIT PREFERENCES'), CRoute::_('index.php?option=com_community&view=profile&task=preferences') ); $defaultCoreMenuArray['Forum Settings'] = $this->_addDefaultItem( JText::_('Forum Settings'), CRoute::_('index.php?option=com_community&view=profile&task=forumsettings') );

yes, essentially you are just adding another part, but I find it more clear to tell people to change than to add ;)

yaksushi, sorry I couldn't do this for you immediately, but as I'm sure you understand I must meet supporters requests first :)

This is now available in version 2.3 of my JomSocial and Kunena Profile Integration


Maker of:
JomSocial and Kunena Profile Integration
JomSocial and Kunena Karma Integration
Both are available at my website.
The following user(s) said Thank You: yaksushi

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

More
15 years 4 months ago - 15 years 4 months ago #78743 by Azure
Wow, that was quick! :woohoo: Great job too! Thanks! B)

I'll be putting something under your Christmas tree for tomorrow morning. Promise not to look and make sure you leave me a bottle of Guinness on the mantle. I have a bottle opener. ;)

Neocold wrote:

Azure wrote: Well done, Neocold! Great solution!

As you're probably aware after your direct intervention with bedding your other excellent hack in for me, I have changed the Kunena Karma to an 'applaud' system, completely disabling negative karma so that only positive feedback can be given to a poster. I am using Jomsocial to display member profiles but because of the craziness of operating two different karma systems, switched the JS one off.

Could your hack be tweaked to display my 'applaud' (positive karma) count on the JS profile page without having to set up the JS karma system? Further, would it be feasible to be able to include Kunena 'thank you's' received and given on the Jomsocial profile page?

Cheers,

Azure


Azure, your request has been completed and applied to your website, if you have any questions or requests about it feel free to PM or email me.


"Do or do not, there is no try..."
Last edit: 15 years 4 months ago by Azure.

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

More
15 years 4 months ago - 15 years 4 months ago #78765 by yaksushi
Neo, yes your solution is much better! I'll will be implementing yours. :)

Thanks for all your great work! Wasn't a fortune but I did drop a little in your stocking. Merry Christmas!
Last edit: 15 years 4 months ago by yaksushi.

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

More
15 years 4 months ago #79673 by yaksushi
Neo,

Noticed when I switched my forum setup so the profiles are on top the Karma + - does not show up.





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

More
15 years 4 months ago #79677 by Neocold
yaksushi,

Congratulations you have found a Kunena bug! Hehe, this is not brought on by my hack but the simple solution is to go to **/components/com_kunena/template/default/view/profile.horizontal.php and replace:
Code:
<div> <?php if ($this->userposts) : ?> <span class="kpost-userposts"><?php echo JText::_('COM_KUNENA_POSTS') . intval($this->userposts); ?></span> <?php endif ?> <?php if ($this->userpoints) : ?> <span class="kpost-userposts"><?php echo JText::_('COM_KUNENA_AUP_POINTS') . intval($this->userpoints); ?></span> <?php endif ?> </div>

with:
Code:
<div> <?php if ($this->userposts) : ?> <span class="kpost-userposts"><?php echo JText::_('COM_KUNENA_POSTS') . intval($this->userposts); ?></span> <?php endif ?> <?php if ($this->userpoints) : ?> <span class="kpost-userposts"><?php echo JText::_('COM_KUNENA_AUP_POINTS') . intval($this->userpoints); ?></span> <?php endif ?> <?php if ( $this->userkarma ) : ?> <li class="kpost-karma"> <span class="kmsgkarma"> <?php echo $this->userkarma ?> </span> </li> <?php endif ?> </div>

It would appear that when the karma was added someone forgot to add it to the horizontal as they did the vertical profile display.

Maker of:
JomSocial and Kunena Profile Integration
JomSocial and Kunena Karma Integration
Both are available at my website.
The following user(s) said Thank You: yaksushi

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

More
15 years 4 months ago #79749 by yaksushi
Once again thanks Neo! I've reposted this as a possible bug in with your solution. Ur the Man!

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

Time to create page: 0.259 seconds