Это форк Vinaora Nivo Slider, пришлось переименовать, в силу требования JED. Даже старую версию качать можно было только с варезных сайтов, нашпигованную троянами. Зачем оно такое, согласитесь.
\components\com_kunena\funcs\profile.php
function displayEditUser() {
...
if (...) {
...
} elseif ($jversion->RELEASE == '1.6' && $this->user->authorise( 'com_user', 'edit' )) {
JComponentHelper::getParams('com_users')->get('frontend_userparams')
function displayEditUser() {
...
if (...) {
...
} elseif ($jversion->RELEASE == '1.6' && JComponentHelper::getParams('com_users')->get('frontend_userparams')) {
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Sozzled: We are aware that, because of problems in J! 1.6 there were issues that prevent the ability for Joomla extensions to modify the timezone settings with Joomla user accounts. This is documented in the SVN in tracker item 25597. I don't know any more than what was written there.
It is possible (and I'm just guessing this is what was done) that the ability to change timezone settings with Kunena was disabled as part of K 1.6.4 because of the problems the developers encountered with J! 1.6. Until such time as J! 1.6 is fixed this problem remains. It is probable, therefore, that K 1.6.4 does not give you the ability to change the timezone settings even with J! 1.5.23. I have made a small change to Dates and times in Kunenaarticle to help other users who may be affected like you were.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
\components\com_kunena\funcs\profile.php
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++;
}
}
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++;
}
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Ну, логика - штука неумолимая... если у тебя не работает, а у меня - работает, значит - ты что-то делаешь неправильно.14karat пишет: теперь анкета у меня вообще не работает
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Заменить вот эту строчку -14karat пишет: а хак как применить?
} elseif ($jversion->RELEASE == '1.6' && $this->user->authorise( 'com_user', 'edit' )) {
} elseif ($jversion->RELEASE == '1.6' && JComponentHelper::getParams('com_users')->get('frontend_userparams')) {
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.