Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Which file?? Kunena+JomSocial activities

More
16 years 11 months ago - 16 years 11 months ago #34438 by mibnbikes
Hi Kunena people,

I have just recently upgraded to 1.5.7 and I discovered that the Kunena thread´s and post are now integrated with JomSocial avtivities.

I would like to have this function removed, which file should I edit and what to remove/replace??

Cheers.

Regards Mikkel.
Last edit: 16 years 11 months ago by mibnbikes.

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

More
16 years 11 months ago #34464 by xillibit
Hello,

look in the components\com_kunena\default\post.php, remove the lines 280 to 300 :
Code:
if ($thisCat->getPubAccess() == 0) { //activity stream - new post $JSPostLink = CKunenaLink::GetThreadPageURL($fbConfig, 'view', $catid, $pid, 1); $content = stripslashes($message); $content = smile::smileReplace($content, 0, $fbConfig->disemoticons, $smileyList); $content = nl2br($content); $act = new stdClass(); $act->cmd = 'wall.write'; $act->actor = $kunena_my->id; $act->target = 0; // no target $act->title = JText::_('{actor} '._KUNENA_JS_ACTIVITYSTREAM_CREATE_MSG1.' <a href="'.$JSPostLink.'">'.stripslashes($subject).'</a> '._KUNENA_JS_ACTIVITYSTREAM_CREATE_MSG2); $act->content= $content; $act->app = 'wall'; $act->cid = 0; CFactory::load('libraries', 'activities'); CActivityStream::add($act); }

and 314 to 334 :
Code:
if ($thisCat->getPubAccess() == 0) { //activity stream - reply post $JSPostLink = CKunenaLink::GetThreadPageURL($fbConfig, 'view', $catid, $thread, 1); $content = stripslashes($message); $content = smile::smileReplace($content, 0, $fbConfig->disemoticons, $smileyList); $content = nl2br($content); $act = new stdClass(); $act->cmd = 'wall.write'; $act->actor = $kunena_my->id; $act->target = 0; // no target $act->title = JText::_('{single}{actor}{/single}{multiple}{actors}{/multiple} '._KUNENA_JS_ACTIVITYSTREAM_REPLY_MSG1.' <a href="'.$JSPostLink.'">'.stripslashes($subject).'</a> '._KUNENA_JS_ACTIVITYSTREAM_REPLY_MSG2); $act->content= $content; $act->app = 'wall'; $act->cid = 0; CFactory::load('libraries', 'activities'); CActivityStream::add($act); }

I don't provide support by PM, because this can be useful for someone else.

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

More
16 years 11 months ago #34477 by mibnbikes
Many thanks Xillibit, works great.

Is there anyway to make somehow of a override function, like for JomSocial? In the html folder of my local template I created a com_kunena folder where I placed the post.php file. It seems to work fine, is that an OK way to do it?

Again, thanks a bunch.

Regards Mikkel.

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

Time to create page: 0.105 seconds