Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question CB Integration - Profile tab says "You are not authorized to view this page!"

More
14 years 10 months ago #99334 by bjones211
Still get the same error after trying those settings. When I login as my non-admin account, I get the error at the top of the site: "The profile page is not available for guests" so it must really think I'm still a guest for some reason. I also still get the same "You are not authorized to view this page!" when I click on the profile tab or my username while in Kunena.

Here is my config file again:
onfidential]Joomla! version: Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 Platform: Apache/2.2.17 (CentOS) ( www.espiritusanto.cc ) PHP version: 5.2.17 | safe_mode: Off | register_globals: On | mbstring: Enabled | GD: Not installed | MySQL version: 5.1.56[/confidential]

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 300 seconds | Max execution memory: 64M | Max file upload: 20M

This message contains confidential information

Joomla default template details : rt_paradox_j15 | author: RocketTheme, LLC | version: 1.5.0 | creationdate: December 1, 2010

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.6.4 | creationdate: 2011-05-07

Kunena version detailled: Installed version: 1.6.4 | Build: 4832 | Version name: Kerkrade | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: CommunityBuilder 1.4

Third-party SEF components: None

Plugins: System - Mootools Upgrade: Disabled | System - Mootools12: Disabled

Modules: None

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

More
14 years 10 months ago - 14 years 10 months ago #99336 by sozzled
In this case, I think the issue relates to your Joomla menu. I think you have restricted access to your Community Builder pages in some other way (unrelated to Kunena). As you have indicated earlier, the issue arises when you login (but not from Kunena)

We may be able to help but, as this does not appear to be Kunena-related, that's something that's a little outside the standard service offered here. I suggest that you carefully review your Joomla menu items to see what protection you have applied, who can access certain pages, etc. I could also work with you on that, if this is something that appeals to you, and we could probably resolve the issue in less than an hour.
Last edit: 14 years 10 months ago by sozzled.

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

More
14 years 10 months ago #99338 by bjones211
My CB login is set to public as well as all my Kunena menu items (except for New Topic, No Replies, and My Posts are set to registered). You clearly have a bug in one area of integration as the message at the top of the site that says "The profile page is not available for guests" comes from your code, not CB. I get this by logging in from Kunena as a registered user. Looking at your code in components/com_kunena/profile.php I think this code needs restructured:


if (!$userid) {
$this->user = $this->my;
}
else {
$this->user = JFactory::getUser( $userid );
}

if ($this->user->id == 0 || ($this->my->id == 0 && !$this->config->pubprofile)) {
$this->_app->enqueueMessage ( JText::_('COM_KUNENA_PROFILEPAGE_NOT_ALLOWED_FOR_GUESTS'), 'notice' );
return;
}

$integration = KunenaFactory::getProfile();
$activityIntegration = KunenaFactory::getActivityIntegration();
$template = KunenaFactory::getTemplate();
$this->params = $template->params;

if (get_class($integration) == 'KunenaProfileNone') {
$this->_app->enqueueMessage ( JText::_('COM_KUNENA_PROFILE_DISABLED'), 'notice' );
return;
}


The message, "You are not authorized to view this page" is coming from CB and I think may have something to do with how permission/user level is passed from Kunena onto the CB request for profile information.

Thanks,
Brian

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

More
14 years 10 months ago - 14 years 10 months ago #99436 by vau3677
Recently I've upgraded Kunena and Community Builder to the newest versions. Later, found out that there is an issue with these 2 messages.
I've spent about 3 hours to solve the problem and here is what I found.
At that time I was using Joomla 1.5.23, Kunena 1.6.4(upgraded from 1.6.0), CB 1.4(upgraded from 1.3).
When I try to log in thru CB, no messages displayed, but when I log in thru Kunena I get the message "The profile page is not available for guests", and when I try to post on forum, the category menu is blank and if I try to select a category, there are only sections which are not selectable, and when I click "submit" button I get another message "You are not authorized to view this page!".
Started pointing out the problem from installing a fresh joomla (to exclude recent extensions installed, such as Admin Tools, Joomla Stats, Qlue404 and database itself.)
Copied the folder with my website template into Joomla templates directory, installed CB 1.4 and Kunena 1.6.4, played with settings but with no results. Continued on my existing website(on local server) and uninstalled CB, all worked fine. Installed CB 1.3, had the issue back. Downgraded Kunena to 1.6.0, worked fine, except the styles issue. Upgraded to 1.6.3, the problem came back. Downgraded to 1.6.2 and all was working perfectly. Upgraded CB to 1.4 and nothing has changed. Downgraded Kunena to 1.6.2 on remote server and the problem is gone there also.

Now, I have my question, why Kunena versions 1.6.3 and 1.6.4 aren't working properly with CB.
Last edit: 14 years 10 months ago by vau3677.

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

More
14 years 10 months ago #99461 by vau3677
hmm, moved...
So, what is the solution, stick to 1.6.2 forever?

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

More
14 years 10 months ago #99467 by bjones211
It seems there's not a whole lot of acceptance on the developer that this is his problem even though I've proved it, you've proved it, and I'm sure others are seeing it also. I basically commented out the error in the code and redirected the Kunena menu Profile tab to a CB profile type to work-around these issues...

Brian

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

Time to create page: 0.262 seconds