Kunena 6.3.0 released

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

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
12 years 11 months ago - 12 years 11 months ago #1 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')) {

Attachments:
Last edit: 12 years 11 months ago by wolfhound512.

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

More
12 years 11 months ago #2 by Smirnov
For Joomla 1.5 this algorithm, apparently, does not work. :(

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

More
12 years 11 months ago #3 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: Smirnov

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

More
12 years 11 months ago #4 by Smirnov
Thanks, all works! :)

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

More
12 years 11 months ago #5 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
12 years 11 months ago #6 by wolfhound512
It is released?

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

More
12 years 11 months ago #7 by xillibit
sorry, it's a mistake

anyway, thanks for this fix, i will test it later

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.

Time to create page: 0.474 seconds