Kunena 6.3.0 released

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

Question Jawards

More
13 years 7 months ago #11 by Cerberus
Replied by Cerberus on topic Re:Jawards
jaward wont work with K1.6 and never will it is based on old legacy j1.0 frame work that would take many hours to bring up to native j1.5 let alone make in intergrate with K1.6

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

More
13 years 7 months ago #12 by woonydanny
Replied by woonydanny on topic Re:Jawards

still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile :(

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

More
13 years 7 months ago #13 by squale
Replied by squale on topic Re:Jawards

Cerberus wrote: jaward wont work with K1.6 and never will it is based on old legacy j1.0 frame work that would take many hours to bring up to native j1.5 let alone make in intergrate with K1.6


wrong
Jawards is now fully 1.5 compatible
here is the code i've insterted in template/default/message.php like i did with older version of kunena , but now no awards appear
Code:
<?php // Hack for jAwards integration, displays some medals of the user $number_medals = 5; // 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=". $fmessage->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='.$fmessage->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 $medal){ $msg_jawards.= "<a href=\"$awards_url\" title=\"$medal->name (en savoir plus)\">" . "<img style='border:0px;padding:0px;' src=\"".KUNENA_JLIVEURL."/images/medals/".$medal->image ."\" alt=\"".$medal->name."\" />" . "</a>"; } $msg_jawards.="</nobr></div>"; unset($medals); echo $msg_jawards; ?>

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

More
13 years 7 months ago - 13 years 7 months ago #14 by Cerberus
Replied by Cerberus on topic Re:Jawards
no jaward is not it a LEGACY plugin and require legacy mode to be on to work meaning it is NOT j1.5 native compatable.
Last edit: 13 years 7 months ago by Cerberus.

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

More
13 years 7 months ago #15 by squale
Replied by squale on topic Re:Jawards
and again it's wrong. now Jawards is 1.5 compatible and my legacy plugin is off

did you clic on the link from peetree21 ?

or see here : joomlacode.org/gf/project/jawards/news/

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

More
13 years 7 months ago #16 by Cerberus
Replied by Cerberus on topic Re:Jawards
jAwards 1.0 has been ported to Joomla 1.5 native, thanks to Chris Lehr. The new functionality is available in jAwards 1.1beta in the "Files" section as a first release intended for testing.


let me point out the word " BETA " come back when it is STABLE and i will do a template that supports this plugin.. and make the information availible to the public

Regards Cerberus

all comment are made ONLY about stable releases, as by the nature of BETA software being for testing only they can not be recommended or intergrated with current RC version of kunena..

FYI: i have used jawards for a very long time right back to fireboard days..

***** This information come from me and only me, i am not a member of the kunena project i am just a user.. *****

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

More
13 years 7 months ago #17 by Fizmatik
Replied by Fizmatik on topic Re:Jawards
Since 2010-09-17 17:00:00-05 jAwards 1.1 is Stable.
This hack integrated jAwards into fb and Kunena of prior versions:
Code:
<?php // Hack for jAwards integration, displays some medals of the user $number_medals = 3; // 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=". $fmessage->userid . "\n ORDER BY RAND() LIMIT ".$number_medals; $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=sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$fmessage->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 $medal){ $msg_jawards.= "<a href=\"$awards_url\" title=\"$medal->name (Click to see more)\">" . "<img style='border:0px;padding:0px;' src=\"".JB_JLIVEURL."/images/medals/".$medal->image ."\" alt=\"".$medal->name."\" />" . "</a>"; } $msg_jawards.="</nobr></div>"; unset($medals); echo $msg_jawards; ?>

Now, when I putting it in profile vertical.php, I get Fatal error: Call to a member function setQuery() on a non-object in /home/rpgmaker/public_html/components/com_kunena/template/default/view/profile.vertical.php on line 90

So, I wanna ask, how can I run sql query in this file now?

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

More
13 years 7 months ago #18 by Fizmatik
Replied by Fizmatik on topic Re:Jawards
Solved for Kunena 1.6.rc3
Code:
<?php // Hack for jAwards integration, displays some medals of the user for Kunena 1.6 $number_medals = 5; // 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; ?>

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

More
13 years 7 months ago #19 by squale
Replied by squale on topic Re:Jawards
i don't know what I am doing wrong, but still doesn't work for me... where to put the code ? in wich file ?

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

More
13 years 7 months ago #20 by Fizmatik
Replied by Fizmatik on topic Re:Jawards
Put it in /components/com_kunena/template/default/view/profile.vertical.php on line 81 after:
<?php echo $this->profile->profileIcon('email'); ?>
</li>

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

Time to create page: 0.518 seconds