Kunena 6.2.5 & module Kunena Latest 6.0.7 released

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

Question Kunena + Jomsocial + AlphaUserPoints

More
11 years 4 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.

Code:
<?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.

More
11 years 4 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.

More
11 years 4 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.

More
10 years 11 months ago - 10 years 11 months ago #4 by Ratisar1
My hack (Only awards) :
1. Disable Kunena - AlphaUserPoints plugin
2. add code in default_profile_horizontal.php
Code:
<?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: 10 years 11 months ago by Ratisar1.

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

Time to create page: 0.338 seconds