Kunena 6.1.3.2 Released

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

Question add new kwho-class

More
11 years 11 months ago - 11 years 11 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: 11 years 11 months ago by qontrixz.

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

More
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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
11 years 11 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.297 seconds