- Posts: 13
- Thank you received: 0
Kunena 6.3.8 Released
The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question Add rank in UserList
I looking for add a new column in user list page.
How to add the rank (text, no img) of users to the user list page?
It's in userlist.php, but i dont know the name for recover the rank name of user.
Can you help me?
<tr class="ksth userlist">
<tr class="k<?php echo $usrl_class ;?>">
"XXX" is what i seek.
Thanks
Please Log in or Create an account to join the conversation.
Just add this in "userlist.php" in <tr class="ksth userlist">...
And add this in "us-US.com-kunena.ini"
NOW, recover rank...
May be, but dont work
DAMN.., i just want to display the rank_title of user !
Please Log in or Create an account to join the conversation.
CAN YOU HELP ME PLEASE ?
Please Log in or Create an account to join the conversation.
or
echo $user->getRank(0, 'title');
Please Log in or Create an account to join the conversation.
"...Call to undefined method stdClass::getRank() in components/com_kunena/template/default/userlist/userlist.php..."
Please Log in or Create an account to join the conversation.
I didn't remember that the page was using results directly from the database and not user objects..
This code is a bit slow, but should work:
Please Log in or Create an account to join the conversation.
THANKS MATIAS !!! :kiss:
Can you help me to create a filter for groups? :silly:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
But now, how to filter the list by rank?
for exemple:
my varialble is called $rankfilter
in a dropdown menu, i define $rankfilter to 7 for display only users have rank=7
...
Please Log in or Create an account to join the conversation.