Kunena 6.4.13 Released

The Kunena team has announce the arrival of Kunena 6.4.13 [6.4.13] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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 6.0
Hint: This version is primarily intended to facilitate an upgrade if Joomla was first updated to version 6.1 before Kunena was up to dated.

Question Kunena and jAwards Integration

More
15 years 1 month ago #98210 by BoardBoss
Greetings all - I am posting in the general talk forum because I have searched these forums, and Googled many other sites, although I have thus far been unsuccessful in my quest for an answer to my question. I have found posts or sites that suggest that jAwards will integrate with Kunena with a hack; however, I cannot confirm that is with the latest versions.

My environment is Joomla 1.5.23, Kunena 1.6.4 and jAwards 1.1. I would appreciate an answer to he question: has anyone successfully integrated jAwards 1.1 into Kunena 1.6.4? If so, I would appreciate a reply with how, or a link to where this is detailed. Thanks in advance!

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

More
15 years 1 month ago #98221 by xillibit
Hello,

I never heard something about jawards integration into Kunena, but the jawards components hasn't been updated since a bit more than an year, so...

I don't provide support by PM, because this can be useful for someone else.

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

More
15 years 1 month ago #98257 by BoardBoss
Thank you for the reply, xillibit. I understand what you mean about the last update for jAwards being very old; however, after reading this thread: www.kunena.org/forum/9-extensions-module...ds?limit=10&start=20 it made me wonder.

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

More
15 years 1 month ago #98397 by legu
humm, i dont think so...

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

More
15 years 1 month ago - 15 years 1 month ago #98497 by Lodder
Yes it does work. I have tested it on my website blackpanthergaming.com using Kunena 1.6.4 and the latest version of Jawards. The coding I have used will show 10 medals probaby about 5 per line, depending on the width of the profile info. This is of course editable. ;)
Put it in /components/com_kunena/template/default/view/profile.vertical.php on line 81 after:
<?php echo $this->profile->profileIcon('email'); ?>
</li>
Code:
<?php // Hack for jAwards integration, displays some medals of the user for Kunena 1.6 $number_medals = 10; // number of medals to show $query = "SELECT b.image, b.name" . "\n FROM #__jawards_awards AS a" . "\n LEFT JOIN #__jawards_medals AS b ON b.id = a.award" . "\n WHERE a.userid=". $this->profile->userid . "\n ORDER BY RAND() LIMIT ".$number_medals; $database = &JFactory::getDbo(); $database->setQuery( $query ); $medals = $database->loadObjectList(); // URL links to the jAwards-Tab for Community Builder which displays all // medals of the user - change to another URL of needed $awards_url=JRoute::_('index.php?option=com_comprofiler&task=userProfile&user='.$this->profile->userid."&tab=getawardstab"); // CSS-class "ja_medals" allows individual styling of medal images and // container. "nobr" keeps the medals from breaking apart, display them // in one row. $msg_jawards = "<div class=\"ja_medals\"><nobr>"; foreach ($medals as $med){ $msg_jawards.= "<a href=\"$awards_url\" title=\"$med->name\">" . "<img style='border:0px;padding:0px;' src=\"".KUNENA_JLIVEURL."/images/medals/".$med->image ."\" alt=\"".$med->name."\" />" . "</a>"; } $msg_jawards.="</nobr></div>"; unset($medals); echo $msg_jawards; ?>
Last edit: 15 years 1 month ago by Lodder.

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

More
15 years 1 week ago #102864 by Lodder
also works with Kunena 1.6.5 ;)

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

Time to create page: 0.245 seconds