Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 811 forks source link

Backend -> Edit Kunena Users: Not all options are available #9714

Closed rich20 closed 4 months ago

rich20 commented 4 months ago

To Reproduce Go to Backend -> Kunena -> Users -> Edit a user -> Forum Settings

Actual result 2 options (see image) cannot be changed as the selection options are missing..

Screenshots nhju7

System information

Desktop

Pinkeltje commented 4 months ago

In earlier versions also. Most of them can be solved by replacing 'class="kinputbox form-control" size="1"', to 'class="form-select" size="1"', In View/User/HtmlView.php

Can't find field Rank Title:

Gindi50 commented 4 months ago

The solution for rank titles is in file /administrator/components/comkunena/src/Model/UserModel.php , in row 234 you have to change the line: return HTMLHelper::('select.genericlist', $yesnoRank, 'newRank', 'class="inputbox form-control" size="5"', 'value', 'text', $user->rank); change to return HTMLHelper::_('select.genericlist', $yesnoRank, 'newRank', 'class="inputbox form-control" size="1"', 'value', 'text', $user->rank); size ="5" must be changed to size="1".

gindi

Pinkeltje commented 4 months ago

Nice! But I think you have to change the class as well.