Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 7.0.

The Kunena team is also pleased to announce the twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Forum Badges

More
17 years 1 month ago - 17 years 1 month ago #12498 by sudobashnet
Forum Badges was created by sudobashnet
Just thought I would share this with everyone. I've setup badges on my forum (just the one so far we are looking into more) But essentially what you can do is setup board "achievements" (similar to 360) And then anytime someone completes one of these achievements you can then have that badge posted along with the rest of your user information on every message.
[img=http://www.sudobash.net/images/badge_example.jpg]
The following are my notes for the actions I took while setting it up on my own site

Added Badge_360 row to jos_fb_users table with the following attributes:
Type: tinyint(1)
Null: not null
Default: 0

Added entries to /components/com_kunena/template/default_ex/message.php in the following format to query for each badge:
Code:
$database->setQuery("SELECT Badge_360 from jos_fb_users WHERE `userid`={$fmessage->userid}"); $database->loadObject($badge_360); $database->setQuery("SELECT Badge_Rockstar from jos_fb_users WHERE `userid`={$fmessage->userid}"); $database->loadObject($rockstar);
Created the components/com_kunena/template/badges directory (upload any pictures you want to use to this directory. I suggest images around 17x17 pixels.
Added the following further down the file (place before/after wherever you want it to show up) - shows an image if the user has that badge. Repeat entries for new badges. All contained in their own <?php ?>.
Code:
<?php if ($badge_360->Badge_360 == 1) { echo '<img src="'.JURI::BASE().'components/com_kunena/template/badges/xboxLogo.png" border="0" title="Obtained 15k in 360 Achievements">'; } ?> <?php if ($rockstar->Badge_Rockstar == 1) { echo '<img src="'.JURI::BASE().'components/com_kunena/template/badges/rockstar.png" border="0" title="Rock Star (Musician)">'; } ?>

You can see it in action over at my site ( www.sudobash.net ). Just find any post by MattH as thats the only one at present that has a badge.

Feel free to reply with any questions/problems/missing information and I'll do what I can to help.
Last edit: 17 years 1 month ago by sudobashnet.

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

Time to create page: 0.241 seconds