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 - 17 years 2 months ago #5249 by holas84
On my site, I am using Kunena with JomSocial, much like here. On each thread post, the user's avatar is displayed as a 64x64 image. Is there a way to change that size so that it fills up the width of that sidebar. I would prefer to have something that is maybe a 100x100 or 128x128. Does anyone know how to go about that?

Thank you in advance.
Last edit: 17 years 2 months ago by holas84.

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

More
17 years 2 months ago #5504 by PAUSIMS
I have the same doubt. Hope that somebody could help us soon ;)

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

  • Sethu
  • Sethu's Avatar
  • New Member
  • New Member
More
17 years 2 months ago #5827 by Sethu
Replied by Sethu on topic Re:Thread Avatars with JomSocial
Can u post an image or the page adress where you want this mod.

64x64 appers on diffrent pages and i want to make sure where exactly u want to change.

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

More
17 years 2 months ago #5875 by holas84
This page right here. To the right of this page you will see who posted this post. It will say your username followed by your user type in (parenthesis). Below that is the 64px avatar. Below that it says Fresh Boarder and then the rank, etc. But I am talking about this very page.

This is JomSocial's $ThumbAvatar reference, and I would like to see it use the regular $Avatar reference which is larger. We could then scale it through css to be the same width as that username area box that it is in. I think that would look much cleaner.

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

More
17 years 2 months ago #5889 by holas84
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.
The following user(s) said Thank You: KimH, jamal

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

More
17 years 2 months ago #6340 by PAUSIMS
Well, but the avatar is too big :lol: would be perfect if we could change the JomSocial's size of ThumbAvatar to 100x100. Sombody can tell us how to do this?

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

Time to create page: 0.263 seconds