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.

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 Everyone in the activity stream - design as it should be, or maybe not?

More
16 years 10 months ago #37466 by JerryLeeLewis

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

More
16 years 10 months ago #37501 by fxstein
Ok - here is an update:

I was able to speak to our fellow colleagues at jomsocial. While jomsocial does not support a full ACL for the activity stream at the moment, its internal privacy setting structure allows us to expand the activity stream to cover most cases you guys are looking for.

We can mark activities to be displayed to the public or for registered users only.

Doing so allows us to add activities for registered only forums to the stream - however anything higher than registered will still no be put in there (e.g. your private moderator forums that leverage higher Joomla ACL levels) or security would be compromised.

I have made that change in the Kunena 1.6 code line.

For those that cannot wit until then here is the little snippet of code that changes the default behaviour:

Search for this piece of code in post.php (it is in there 2x times)
Code:
// Check for permisions of the current category - activity only if public if ($thisCat->getPubAccess() == 0)

and replace both with:
Code:
// Check for permisions of the current category - activity only if public or registered if ($msg_cat->pub_access == 0 || $msg_cat->pub_access == -1) {

next find the two instances of this:
Code:
$act->app = 'wall'; $act->cid = 0; CFactory::load ( 'libraries', 'activities' ); CActivityStream::add ( $act );

and replace with:
Code:
$act->app = 'wall'; $act->cid = 0; // jomsocial 0 = public, 20 = registered members if ($msg_cat->pub_access == 0){ $act->access = 0; } else { $act->access = 20; } CFactory::load ( 'libraries', 'activities' ); CActivityStream::add ( $act );

This should do the trick.

Hope this helps!

fxstein

We love stars on the Joomla Extension Directory . :-)

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

More
16 years 10 months ago #37582 by JerryLeeLewis

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

More
16 years 10 months ago #37847 by JerryLeeLewis
just tried and get this error :
Parse error: syntax error, unexpected T_ELSE in /xx/components/com_kunena/template/default/post.php on line 610

can you Post the fixed Post.php ??

Thanks

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

Time to create page: 0.112 seconds