Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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 size72 avatars does not exist while size200 avatar does

More
13 years 9 months ago - 13 years 9 months ago #125271 by contender
1) The kunena profile avatar (size200) usually works within kunena, sometimes not.
Your profile avatar on the head of the forum page (size72) almost never works.


2) I am using the size72 avatars within Jreviews, but it calls from the /media/kunena/avatars/resized/
folder
Last edit: 13 years 9 months ago by contender.

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

More
13 years 9 months ago #125272 by sozzled
If you don't have the folder structure, like I described in my earlier post, uninstall Kunena then re-install it again (you won't lose any messages posted on your forum). I hope that helps.

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

More
13 years 9 months ago #125275 by Matias
You should use this instead:
Code:
$avatarURL = KunenaFactory::getUser()->getAvatarURL(72);

But before that you should check Kunena version:
docs.kunena.org/index.php/Detecting_Kunena_Version

That should create the avatar image of size 72 (you can have whatever size you want to).

I'm not sure why avatars are not generated inside Kunena -- do you have modified version of our template?

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

More
13 years 9 months ago #125436 by contender
Sozzled, my folder structure is exactly the way you have it shown

Matias wrote: You should use this instead:

Code:
$avatarURL = KunenaFactory::getUser()->getAvatarURL(72);

But before that you should check Kunena version:
docs.kunena.org/index.php/Detecting_Kunena_Version

That should create the avatar image of size 72 (you can have whatever size you want to).

I'm not sure why avatars are not generated inside Kunena -- do you have modified version of our template?


the only modification I did to Kunena:
/components/com_kunena/template/default/loginbox/login.php
removed lines 34 to 75 and replaced it with a login from JFBConnect

in administrator/components/com_kunena/kunena.xml
Code:
<extension type="component" version="1.6" method="upgrade"> <name>com_kunena</name> <version>1.7.2</version>

I know I started with a 1.7.2 installation.

Where would I use?
Code:
$avatarURL = KunenaFactory::getUser()->getAvatarURL(72);

thank you so much for the help!

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

More
13 years 9 months ago - 13 years 9 months ago #125460 by Matias
I believe that the problem is in your change; you cannot take avatars directly from the server; you need to use our API instead. If you have above line (fetching avatar), you can just replace ing src with $avatarURL.

PS. In Kunena 2.0 you can write a simple plugin which does the same as you're trying to do.
Last edit: 13 years 9 months ago by Matias.

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

More
13 years 9 months ago #125537 by contender
I do not believe the issue lies in my change because sometimes both size72 and size200 avatars are created and displayed, sometimes only either one, or sometimes niether.

Also, all size36 avatars within the userlist are always displayed correctly.

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

Time to create page: 0.277 seconds