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 is only for reporting defects or problems with Kunena 1.6 test versions with Joomla 1.6. This is NOT a support forum - there is no support for test versions. Users should NOT install K 1.6 alpha or beta test versions on websites with live production data.

Question Global settings in profile

More
15 years 6 months ago - 15 years 6 months ago #94367 by wolfhound512
In K 1.6.4 when registred user edit its profile, he does not see the global settings (language, timezone, etc.).

I think that the error is here: \components\com_kunena\funcs\profile.php

function displayEditUser() {
...
if (...) {
...
} elseif ($jversion->RELEASE == '1.6' && $this->user->authorise( 'com_user', 'edit' )) {

In J1.6 permission to edit the profile defined in the options

ie here:
Code:
JComponentHelper::getParams('com_users')->get('frontend_userparams')

function displayEditUser() {
...
if (...) {
...
} elseif ($jversion->RELEASE == '1.6' && JComponentHelper::getParams('com_users')->get('frontend_userparams')) {

Last edit: 15 years 6 months ago by wolfhound512.

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

More
15 years 6 months ago #95346 by anonymous01
For Joomla 1.5 this algorithm, apparently, does not work. :(

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

More
15 years 6 months ago #95351 by wolfhound512
replace this code:
Code:
if ($jversion->RELEASE == '1.5' && $this->user->authorize( 'com_user', 'edit' )) { $usersConfig = JComponentHelper::getParams( 'com_user' ); if ($usersConfig->get('frontend_userparams', 0)) { $lang = JFactory::getLanguage(); $lang->load('com_user', JPATH_SITE); $params = $this->user->getParameters(true); // Legacy template support: $this->userparams = $params->renderToArray(); $i=0; // New templates use this: foreach ($this->userparams as $userparam) { $this->userparameters[$i]->input = $userparam[1]; $this->userparameters[$i]->label = '<label for="params'.$userparam[5].'" title="'.$userparam[2].'">'.$userparam[0].'</label>'; $i++; } }
by this
Code:
if ($jversion->RELEASE == '1.5' && JComponentHelper::getParams('com_users')->get('frontend_userparams')) { $lang = JFactory::getLanguage(); $lang->load('com_user', JPATH_SITE); $params = $this->user->getParameters(true); // Legacy template support: $this->userparams = $params->renderToArray(); $i=0; // New templates use this: foreach ($this->userparams as $userparam) { $this->userparameters[$i]->input = $userparam[1]; $this->userparameters[$i]->label = '<label for="params'.$userparam[5].'" title="'.$userparam[2].'">'.$userparam[0].'</label>'; $i++; }
The following user(s) said Thank You: anonymous01

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

More
15 years 6 months ago #95374 by anonymous01
Thanks, all works! :)

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

More
15 years 6 months ago #95377 by xillibit
Do you have checked in k1.6.5 ?

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
15 years 6 months ago #95382 by wolfhound512
It is released?

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

Time to create page: 0.123 seconds