- Posts: 22
- Thank you received: 1
Kunena 6.4.8 Released
The Kunena team has announce the arrival of Kunena 6.4.8 [K 6.4.8] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.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 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.
Solved Usernumber in "post profile"
<?php
{
echo '#'.$userinfo->username;
}
?>
We've figured out it's the file "components/com_kunena/template/default/view/profile.vertical.php" that needs to be edited. This gives the name of the user:
<li class="kpost-username">
<?php echo CKunenaLink::GetProfileLink ( intval($this->profile->userid), $this->escape($this->username) ); ?>
</li>
How do we get the field "username" from tabel "_user"?
Please Log in or Create an account to join the conversation.
I'm not quite sure why you want to find the user "number" but that's your business. I don't know the precise information that will answer your question, either, but it would help to know what version of Kunena you are describing. Can you please give us that information? Thanks.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
This code takes data from "_kunena_messages":
<li class="kpost-username">
<?php echo CKunenaLink::GetProfileLink ( intval($this->profile->userid), $this->escape($this->username) ); ?>
</li>
How do we get the field "username" from tabel "_user"?
Please Log in or Create an account to join the conversation.
Add it underneath the line you pasted above.
Author of Using Joomla from O'Reilly Media. | www.usingjoomlabook.com
Please Log in or Create an account to join the conversation.
<li class="kpost-usernum">
#<?php echo intval($this->profile->username); ?>
</li>
The actual "member number" is sort of "holy" in the Swedish Ducati Club (the lower the number is the longer you've been a member).
Thanks!
Please Log in or Create an account to join the conversation.