Kunena 6.2.6 released

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

Question AUP Medals

More
12 years 9 months ago #1 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
12 years 9 months ago #2 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
12 years 9 months ago - 12 years 9 months ago #3 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: 12 years 9 months ago by mstephan.

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

More
12 years 9 months ago #4 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
12 years 9 months ago #5 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
12 years 9 months ago #6 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.

More
12 years 9 months ago #7 by mstephan
Replied by mstephan on topic Re: AUP Medals
What version of Joomla are you running, Toast?

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

More
12 years 9 months ago - 12 years 9 months ago #8 by thetoast
Replied by thetoast on topic Re: AUP Medals
AUP 1.5.X and keunea 1.6.4

I use Joomla 1.5.3 not 1.6

The code is modified to show the medal at a certain size. 32x32px or else the medals display as full size which i thing is to big.

this might be your problem. But i know that there have been problem with the new AUP and Kunena.

Not going to use J1.6.x until i know everything i want to use works.

AUP is still a little broken.

Do you have any medal awarded to people?
Last edit: 12 years 9 months ago by thetoast.

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

More
12 years 9 months ago #9 by mstephan
Replied by mstephan on topic Re: AUP Medals
Yeah... I think that is probably the problem.

Is there anything in kunena configuration that you need to setup to get this link? Or is it automatic once you have both components?

Thanks for taking your time to help me.

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

More
12 years 9 months ago #10 by thetoast
Replied by thetoast on topic Re: AUP Medals
for me i didn't have to do anything. except edit the code to get my desired size other then that it worked right away.

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

Time to create page: 0.406 seconds