Kunena 7.0.8 Released

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

Solved to big avatar in reply screen

More
11 years 3 months ago #165055 by ruud
Replied by ruud on topic to big avatar in reply screen
Hi, just had a look at the code (I'm not a developer so bear with me :))

in file components/com_kunena/template/crypsis/layouts/topic/edit/history/default.php

replace
Code:
$useravatar = $profile->getAvatarImage('img-polaroid', 'profile');
with
Code:
$useravatar = $profile->getAvatarImage('img-polaroid', 'post');

fixes it (although I don't know what it might possibly break, as I do not understand the 'profile' parameter...
this is the function that is called:
Code:
public function getAvatarImage($class = '', $sizex = 'thumb', $sizey = 90)

so I guess 'profile“ is a variable holding the 200px (as 'post' does 144px, 'welcome' does 72px, 'list' does 36px)

sharing = caring
The following user(s) said Thank You: Josh

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

More
11 years 3 months ago #165056 by ruud
Replied by ruud on topic to big avatar in reply screen
and if you want to make the avatar size for the topic 'consistent'

in file: components/com_kunena/template/crypsis/layouts/user/profile/default.php
replace
Code:
$avatar = $user->getAvatarImage('img-polaroid', 120, 120);
with
Code:
$avatar = $user->getAvatarImage('img-polaroid', 'post');

sharing = caring

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

More
11 years 3 months ago #165062 by 810
Replied by 810 on topic to big avatar in reply screen
strange that blue eagle, always loaded the right size, its the same line.


But I will change it to post.

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

More
11 years 3 months ago #165065 by 810

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

More
11 years 3 months ago #165067 by ruud
Replied by ruud on topic to big avatar in reply screen

810 wrote: please try github.com/Kunena/Kunena-Forum/pull/3113

Hi, just tested the parts I could test, looks okay to me :)

One question:
there are different classes used for the avatar in the various places:
* img-rounded
* img-thumbnail
* img-polaroid

For ease of styling it would be better to only have one class for all of them.
That would also make the look and feel more consistent :) Because the size of the images is variable, there is in my opinion no need for different classes...

Would even be an idea to have this class as a variable in the backend? That is the way e.g. Easyprofile is working. I use cjblog on my site and the avatar is set to 'img-avatar'. In Easyprofile I can configure to also use 'img-avatar': that way I have a consistent look and feel without changing css etc. Just a though :)

sharing = caring

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

More
11 years 3 months ago #165079 by Josh
Replied by Josh on topic to big avatar in reply screen
Agreed, either a single class or a option in the backend to change it would work great. People often are not inclined to mod php files to change a class. ;) Styling a existing class seems a bit easier even if some styling has to be overridden.
The following user(s) said Thank You: ruud

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

Time to create page: 0.240 seconds