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

Question How to exclude Super Admin from userlist

More
17 years 2 months ago #5579 by Matias
Ah, I thought that you meant online list.

There is currently no way to hide it, but you can to it by changing SQL query in template/default/plugin/userlist/userlist.php

How to do it need some thinking, but.. :)

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

More
17 years 2 months ago #5647 by Eric
Matias wrote:

Ah, I thought that you meant online list.

There is currently no way to hide it, but you can to it by changing SQL query in template/default/plugin/userlist/userlist.php

How to do it need some thinking, but.. :)


Hi Mathias,

Hhhmmmm....... well..... in which way I can change userlist.php then?
Maybe an option to hide the super admins in the user list is something for the next version? :)

Cheers,
Eric :unsure:

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

More
17 years 2 months ago - 17 years 2 months ago #5681 by Matias
Something like this to the line 69:
Code:
if ($search != "") { $query .= " WHERE (name LIKE '%$search%' OR username LIKE '%$search%') AND u.id NOT IN (62)"; $query_ext .= "&search=" . $search; } else { $query .= " WHERE u.id NOT IN (62)"; }
Last edit: 17 years 2 months ago by Matias.

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

More
17 years 2 months ago #5770 by Eric
Matias wrote:

Something like this to the line 69:

Code:
if ($search != "") { $query .= " WHERE (name LIKE '%$search%' OR username LIKE '%$search%') AND u.id NOT IN (62)"; $query_ext .= "&search=" . $search; } else { $query .= " WHERE u.id NOT IN (62)"; }


Thank you, works fine now!

Cheers,
Eric :woohoo:

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

Time to create page: 0.247 seconds