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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question User / Memberlist -> don't shows the Admin (62)

More
15 years 3 months ago #83718 by boccio
Thank you for your help,
I'll search for sourcecode... but if soemone already know which line to modify...
suggestions will be really appreciated
Thans again

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

More
15 years 3 months ago #83739 by xillibit
Look in \components\com_kunena\funcs\userlist.php around line 73

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: boccio

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

More
15 years 2 months ago - 15 years 2 months ago #83915 by boccio
Thank you so much!!!!
For further reference I'll post changes here:

The file is exactly
\components\com_kunena\funcs\userlist.php

changed LINE 72 from
Code:
$query .= " AND (name LIKE '%{$this->db->getEscaped($this->search)}%' OR username LIKE '%{$this->db->getEscaped($this->search)}%') AND u.id NOT IN (62)";
to
Code:
$query .= " AND (name LIKE '%{$this->db->getEscaped($this->search)}%' OR username LIKE '%{$this->db->getEscaped($this->search)}%')";

and also on LINE 75 from
Code:
$query .= " AND u.id NOT IN (62)";
to
Code:
$query .= "";

you only have to remove the string AND u.id NOT IN (62) because userID 62 is standard Joomla administrator ID.
Perfect result!!!
Last edit: 15 years 2 months ago by boccio.
The following user(s) said Thank You: profesionalas

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

More
15 years 2 months ago #85965 by profesionalas
Hello, in user list not showing super administrator, thats me... it shows that is 12 users but when click on it it shows only 11 users where problem??? thanks

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

More
15 years 2 months ago #85973 by xillibit
Hello,

It's the normal behaviour of userlist to don't show admin

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 2 months ago #85978 by profesionalas
I need that in user list would show my profile, because I am user too, only my rank is diferent

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

Time to create page: 0.273 seconds