Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question add new kwho-class

More
12 years 6 months ago - 12 years 6 months ago #1 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: 12 years 6 months ago by qontrixz.

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

More
12 years 6 months ago #2 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
12 years 6 months ago #3 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
12 years 6 months ago #4 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
12 years 6 months ago #5 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
12 years 6 months ago #6 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.

More
12 years 6 months ago #7 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class
i'm not that good @PHP... can someone help me?

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

More
12 years 6 months ago #8 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class

qontrixz wrote:

qontrixz wrote: anyone? :(

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

More
12 years 6 months ago #9 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class
[IMG

Forever Alone

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

More
12 years 6 months ago #10 by qontrixz
Replied by qontrixz on topic Re: add new kwho-class

qontrixz wrote:


Forever Alone

[IMG

Forever Alone

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

Time to create page: 0.377 seconds