Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] 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

Question AUP Medals

More
14 years 9 months ago #100266 by mstephan
AUP Medals was created by mstephan
I've just started messing with AUP and I had a question. It seems there once was more integration between Kunena and AUP and it's a bit hazy on what it used to do. The purpose of this thread is for me to ask if anyone has been able to show a user's medals within the forum. (Like under Post Count). How would one go about making this hack?

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

More
14 years 9 months ago #100268 by sozzled
Replied by sozzled on topic Re: AUP Medals
I've seen it done; I'm not sure how. I've never used this. A search of AUP medals on the forum may help.

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

More
14 years 9 months ago - 14 years 9 months ago #100269 by mstephan
Replied by mstephan on topic Re: AUP Medals

sozzled wrote: I've seen it done; I'm not sure how. I've never used this. A search of AUP medals on the forum may help.

I did just that right before I made this thread. I also asked on AUP's support site although they don't get much traffic. :side:

It's good to hear that it's possible. I think it would be very useful.
Last edit: 14 years 9 months ago by mstephan.

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

More
14 years 9 months ago #100278 by thetoast
Replied by thetoast on topic Re: AUP Medals
I need to know what version of AUP you use.This might only workif you have AUP 1.5.X and keunea 1.6.4

Navigate here

/components/com_kunena/template/default/view

open the profile.vertical.php

Starting around line 74 do you see this? if not add it.
Code:
<?php endif ?> <?php if ( $this->usermedals ) : ?> <li class="kpost-usermedals"> <?php foreach ( $this->usermedals as $medal ) : ?> <?php echo str_replace('<img', '<img width="32" height="32"', $medal); ?> <?php endforeach ?> </li> <?php endif ?>

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

More
14 years 9 months ago #100313 by mstephan
Replied by mstephan on topic Re: AUP Medals
I'm using AUP Version 1.6.1 and a DEV build of Kunena but I will try the hack within the hour and get back to you. Thanks a lot for the help. :D

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

More
14 years 9 months ago #100314 by mstephan
Replied by mstephan on topic Re: AUP Medals
The code was already there but it was a little different.
Code:
<?php if ( $this->usermedals ) : ?> <li class="kpost-usermedals"> <?php foreach ( $this->usermedals as $medal ) : ?> <?php echo $medal; ?> <?php endforeach ?> </li> <?php endif ?>

I modified the code to meet your post yet no trophies showed before or after.

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

Time to create page: 0.252 seconds