By Bart on Tuesday, 10 June 2014
Posted in Technical Issues
Replies 4
Likes 0
Views 2K
Votes 0
Hello,

I am using the latest version of EasyDiscuss and AlphaUserPoints. The Integration is configured in EasyDiscuss to make use of AlphaUserPoints and rules are enabled and working.

In AlphaUserPoints Configuration there is no place to direct the Profile to link to EasyDiscuss, there is only K2, Kunena etc, this was a simple add-on into the AlphaUserPoints config files to enable the Profile link to goto EasyDiscuss profile. This was achieved in (components\com_alphauserpoints\config.xml & helpers.php)

My problem is with the avatar Integration, "Use avatar picture from" There is no integration to use EasyDiscuss default avatar with AlphaUserPoints, Config is also in (components\com_alphauserpoints\config.xml & helpers.php)

I have tried but am unsuccessful in creating the calling method to use the EasyDiscuss default avatar (profile pic)
Please can you assist as we make use of the AlphaUserPoints modules and they don't integrate to EasyDiscuss unless enabled in this config.

EasyDiscuss says it integrates with AlphauserPoints but this seams like only a partial integration unless I am missing some add-on somewhere.

Thank You for your assistance.
Update, this is what the jomsocial call looks like:

case 'jomsocial':
$query = "SELECT avatar FROM #__community_users WHERE userid = '".$userinfo->id."'";
$db->setQuery($query);
$result = $db->loadResult();
if(!empty($result)) {
$avatar = JURI::base(false). $result;
} else {
$avatar = JURI::base(true)."/components/com_community/assets/default_thumb.jpg";
}
break;
·
Tuesday, 10 June 2014 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brat,

I am really sorry because we are not aware that AUP is not fully integrated with EasyDiscuss.
If I understand you correctly, you want to create your own module right? If you want to use EasyDiscuss profile avatar, you can use this as guide:

// 1. you need to include /components/com_easydiscuss/views.php

// 2. call joomla user
$my = JFactory::getUser( $id );

// 3. avatar is in profile
$profile = DiscussHelper::getTable( 'Profile' );
$profile->load( $my->id );

// 4. you can use getAvatar( )
var_dump($profile->getAvatar());



Hope this will help.
Thanks.
·
Tuesday, 10 June 2014 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Bart & Mohd,

I'm interested in how to integrate Alphauserpoints and EasySocial / EasyDiscuss so that Alphauserpoints RANK (or badges) will be displayed in EasySocial / EasyDiscuss. How can I create a module to do this? Or which files can I modify to do this? Can you help, bearing in mind that I can modify files but I'm not a programmer.

Thanks.....
Abi
·
Thursday, 30 July 2015 18:27
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Abi,

Thanks for heading up on this,

Unfortunately we do not have plan for Easysocial integration with AUP is because the existing system already have build-in point system.

Perhaps you can consider to use Easysocial default point system, because Easydiscuss point system is integrated with Easysocial.
·
Friday, 31 July 2015 12:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post