Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 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

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 No Posts to Display when user not logged in and viewing JomSocial profile page

More
13 years 1 month ago #1 by zevious
Hello,

On this site whenever you view a JomSocial profile index page and you aren't logged in, the left column "Latest Topics" that displays on every page changes to "No posts to display" and all the posts disappear. If you are logged in, you can view the same page with no difficulty. This seems to be repeatable behavior. Any ideas why / how to fix it?



The access level on the modules is set to "Public" so I'm not sure what's causing that.

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

More
13 years 1 week ago - 13 years 1 week ago #2 by truz
Hi,

I had the same problem but with CB instead of JomSocial:
"No Posts to Display" when user not logged in and viewing home page.

I fix it adding this code:
Code:
if($this->session->allowed=="na") { $q="select * from #__kunena_categories where pub_access=0 AND published=1"; $this->db->setQuery ( $q ); $cat_list=""; foreach ( $this->db->loadObjectList ('id') as $cat ) { $cat_list .= $cat->id.","; } $this->session->allowed = substr($cat_list,0,-1); }

to the file:
Code:
components/com_kunena/funcs/latestx.php
at line 75 (at the end of the "__construct" function)

Kunena 1.6.3
Kunena Latest 1.6.2

Cheers
Last edit: 13 years 1 week ago by truz.

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

Time to create page: 0.365 seconds