Kunena 6.3.3 released

The Kunena team has announce the arrival of Kunena 6.3.3 [K 6.3.3] 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 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Question Kunena + Jomsocial + AlphaUserPoints

11 years 8 months ago #1 by sunnyjey
There is problem if I use both JS & AUP with Kunena. If I activate AUP Kunena integration, JS integration/ Activities are lost. And if I activate JS Kunena Plugin then I lose 'Points' display below the Kunena Avatar in Topic display.

What is the best way to achieve BOTH
1. AUP points and Medals in Kunena Topic below Avatar
2. Kunena Activites in Jomsocial

I tried by adding following code in default_profile_horizontal.php in Kunena template, but couldnt get display of AUP in Kunena Topic Profile.

<?php <?php $livesite = JURI::base(); $api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; if ( file_exists($api_AUP)) { require_once ($api_AUP); $userrankinfo = AlphaUserPointsHelper::getUserRank('', $this->profile->userid); } $rank = $userrankinfo->rank; ?>

Please help. (I have searched in Kunena Forum, found old thread which promised this integration in Kunena 2.x version)

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

11 years 8 months ago #2 by sunnyjey
Sorry for bumping again! Somebody knows solution for this?

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

11 years 8 months ago #3 by sozzled
I do not know the answer because I do not know anything about AlphaUserPoints or JomSocial. I do not know what other members of the community may have written on our forum about how to make Kunena work with these two products. Have you asked your question on the AlphaUserPoints or JomSocial forums? Do they have an answer for you and, if they have an answer, perhaps you could share your answer here.

Perhaps the answer lies with how you have configured your Kunena - AlphaUserPoints plugin and your Kunena - JomSocial plugin. Perhaps the way to succeed depends on the settings of these plugins or the order in which they are loaded. Maybe the Kunena - AlphaUserPoints plugin needs to be loaded before the Kunena - JomSocial plugin or maybe they have to be loaded the other way around? I don't know.

This is a bit like asking us to look for a needle in a haystack except that we do not know what the haystack looks like or what other things are in the haystack. As you know, the best way to obtain help on this forum is to give as much information as you can about your "haystack" (and your configuration report will do that). We should not have to remind people to post their configuration report when they ask for help.

As I wrote, I do not know the answer but I am responding to your question. I do not know if someone has a solution. If I had any better ideas than the ones I have already written, I would have replied to you sooner. I'm sorry, this is the best I can do in the circumstances. Your configuration report may hold the key to the solution here. I suggest that you post your configuration report and see if someone else can help you.

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

11 years 3 months ago - 11 years 3 months ago #4 by Ratisar1
My hack (Only awards) :
1. Disable Kunena - AlphaUserPoints plugin
2. add code in default_profile_horizontal.php
<?php $api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; if ( file_exists($api_AUP)) { require_once ($api_AUP); } else die('file does not existl '.$api_AUP); $user = & JFactory::getUser(); $userid = $userid ; if(!defined("_AUP_MEDALS_PATH")) { define('_AUP_MEDALS_PATH', JURI::root() . 'components'.DS.'com_alphauserpoints'.DS.'assets'.DS.'images'.DS.'awards'. DS.’large’.DS); } if(!defined("_AUP_MEDALS_LIVE_PATH")) { define('_AUP_MEDALS_LIVE_PATH', JURI::base(true) . '/components/com_alphauserpoints/assets/images/awards/large/'); } $medalslistuser = AlphaUserPointsHelper::getUserMedals ( '', $this->profile->userid ) ; foreach ( $medalslistuser as $medallistuser ) { echo '<img src="' . _AUP_MEDALS_LIVE_PATH . $medallistuser->image . '" alt="" />'; } ?>
Last edit: 11 years 3 months ago by Ratisar1.

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

Time to create page: 0.502 seconds