Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question add new kwho-class

More
15 years 1 month ago - 15 years 1 month ago #108996 by qontrixz
add new kwho-class was created by qontrixz
Hi there!

my code:
Code:
if ($userid == 0) { $uclass = 'kwho-guest'; } else if (CKunenaTools::isAdmin ( $userid )) { $uclass = 'kwho-admin'; } else if (CKunenaTools::isModerator ( $userid, false )) { $uclass = 'kwho-globalmoderator'; } else if (CKunenaTools::isModerator ( $userid )) { $uclass = 'kwho-moderator'; } else if ( ALL USERS OF Joomla Usergroup "V.I.P" ) { $uclass = 'kwho-vip'; } else { $uclass = 'kwho-user'; } }


My Problem:
Until now I add all the user manually via
$userid == ID || userid == otherID etc...
this is way to awkward...

Now i want to get ALL User of an Joomla Usergroup (e.G. Usergroup VIP).

Please help me. Thanks ;)
Last edit: 15 years 1 month ago by qontrixz.

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

More
15 years 1 month ago #109000 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class
anyone? :(

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

More
15 years 1 month ago #109053 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class

qontrixz wrote: anyone? :(

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

More
15 years 1 month ago #109056 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class

qontrixz wrote:

qontrixz wrote: anyone? :(


Noone knows how to get all members of an joomla ACL usergroup? really? -.-

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

More
15 years 1 month ago #109060 by xillibit
Replied by xillibit on topic Re: add new kwho-class
Hello,

Don't need to bump the topic every hour, this kunena part need to be more user-friendly. There isn't easy ways to fix that, you need to add a check for each usergroup :(

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

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

More
15 years 1 month ago #109067 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class
finally a answer.. ok

how is it done in the category system? there you can check the usergroups, too

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

Time to create page: 0.117 seconds