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
This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
Question
enable jomsocial user points, disable activity stream
I want to disable the forum activity in the jomsocial activity stream but still have the user points enabled.
Tried to find the file that is posting the forum activity to the activity stream with no luck, wondering if anybody can point me in the right direction.
administrator\components\com_kunena\libraries\integration\jomsocial edit activity.php so it looks like this.
Code:
<?php
/**
* @version $Id: activity.php 3365 2010-08-31 10:20:27Z mahagr $
* Kunena Component
* @package Kunena
*
* @Copyright (C) 2008 - 2010 Kunena Team All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.com
*
**/
//
// Dont allow direct linking
defined ( '_JEXEC' ) or die ( '' );
class KunenaActivityJomSocial extends KunenaActivity {
protected $integration = null;
public function __construct() {
$this->integration = KunenaIntegration::getInstance ( 'jomsocial' );
if (! $this->integration || ! $this->integration->isLoaded ())
return;
$this->priority = 40;
$this->_config = KunenaFactory::getConfig ();
}
public function onAfterPost($message) {
CFactory::load ( 'libraries', 'userpoints' );
CUserPoints::assignPoint ( 'com_kunena.thread.new' );
// Check for permisions of the current category - activity only if public or registered
}
public function onAfterReply($message) {
CFactory::load ( 'libraries', 'userpoints' );
CUserPoints::assignPoint ( 'com_kunena.thread.reply' );
// Check for permisions of the current category - activity only if public or registered
}
}