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

This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) 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, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.

Question [SOLVED] Thread Avatars with JomSocial

More
17 years 2 months ago #6631 by holas84
Open the css file for the board and add the max-width portion of the following code. You can change the number of pixels to whatever your preference is. If you do it, leave a link to your forum so that I can come and see your work!

/com_components/com_kunena/template/default_ex/kunena.forum.css
Code:
span.fb_avatar img { border:1px solid #BFC3C6; padding: 1px; margin:5px; max-width:147px; }

Let me know how it works!
The following user(s) said Thank You: KimH

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

More
17 years 2 months ago - 17 years 2 months ago #6634 by PAUSIMS
EDIT: It works!! It works very well, exactly what I wanted. Thank-you very much for your answer, sure it would be helpful for other people.

I cannot put a link to my site because the forum it's only opened to registered users ;) but it works, so there's nothing special, you can set the size of the avatar in the maximum size.
Last edit: 17 years 2 months ago by PAUSIMS.

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

More
17 years 2 months ago #6737 by holas84
Great! I'm glad that I could be a help yo you!

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

More
17 years 1 week ago #13691 by helmchen
holas84 wrote:

I created a solution to this.

You need to edit the file called view.php in the folder of the template that you are using. Using default_ex you need to do the following:

Locate the following code:

Code:
$msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getThumbAvatar() . '" alt=" " /></span>';

Replace it with the following code:
Code:
$msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getAvatar() . '" alt=" " /></span>';

Notice that we are now getting the Avatar instead of the ThumbAvatar.


Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! .... :laugh:

It works very well.
The following user(s) said Thank You: KimH

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

More
17 years 1 week ago #13697 by Slotpro
edit profile box use big avatar ;)

open file profilebox.php in components/com_kunena/template/default/plugin/profilebox/

see code line 43
Code:
$jr_avatar = '<img src="' . $jsuser->getThumbAvatar() . '" alt=" " />';

edit to
Code:
$jr_avatar = '<img src="' . $jsuser->getAvatar() . '" alt=" " />';

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

More
17 years 4 days ago #14075 by badabing
works thanks a lot.

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

Time to create page: 0.304 seconds