-
AuthorPosts
-
February 9, 2011 at 9:50 am #159942
I recently upgraded to the most recent stable Kunena build (1.6.3) and they have changed the directory of the avatars and profile links (removing previous references to fireboard). So now the profile avatars when using Kunena integration do not have an image or link.
The old directory looked like…
/images/fbfiles/avatarsNow it looks like…
/media/kunena/avatars/usersIs there a way we can remedy the avatar and profilelink issue?
Thanks!
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
February 12, 2011 at 6:57 am #376305Hello,
We created new Improvement of jacomment:
http://pm.joomlart.com/browse/JACOMMENT-288
We will release with this Improvement in next version.
Please open file componentscom_jacommenthelpersjahelper.php
You can edit:
$fireboardAvatar = ‘images/fbfiles/avatars/’ . $imgPath;
to
$fireboardAvatar = ‘media/kunena/avatars/’ . $imgPath;
default in line 1743Best Regards.
February 15, 2011 at 9:09 pm #376849This avatar fix did not work for me.
We also need the profile links to work.
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
February 17, 2011 at 7:45 am #377094Hello,
This is simple code and make your site can get avatar.if(is_file(JPATH_SITE.DS."media".DS."kunena".DS."avatars".DS."users".DS."avatar".$userID.".png")){
return JURI::root () . "media/kunena/avatars/users/avatar".$userID.".png";
}else{
return false;
}
I will find the best solution and will release with this bug fixed in next version.
Please check:
http://halomontage.com/editors/38-hazmat/64-invincible#commentsBest Regards.
February 19, 2011 at 7:14 am #377458Ok, but this only works if the image is a .png so its not really a solution. And there is still no link to the profile.
Any ways, I guess I will wait till a new version is released. Also, we should be able to link to a users profile using the users name as well, not just the avatar. This would enable profile linking even if we decide the comment template doesn’t need the user avatar.
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
February 21, 2011 at 7:18 am #377678Hello,
@avatar
We will find the best solution when we have time.
@users profile
We already provided user id for each comment.
You can ask questions from Kunena to get User Link then edit this code:
Find the code in components/com_jacomment/themes/default/html/items.php(default in line 79)
<span class="comment-user"><?php echo $item->strUser; ?></span>
then edit it to
<span class="comment-user"><a href="THIS_USER_LINK"><?php echo $item->strUser; ?></span>
I will be off for this week and i shall help you when back
Best Regards.
September 18, 2011 at 11:56 am #413378<em>@nghiatd 222004 wrote:</em><blockquote>Hello,
This is simple code and make your site can get avatar.if(is_file(JPATH_SITE.DS."media".DS."kunena".DS."avatars".DS."users".DS."avatar".$userID.".png")){
return JURI::root () . "media/kunena/avatars/users/avatar".$userID.".png";
}else{
return false;
}
I will find the best solution and will release with this bug fixed in next version.
Please check:
http://halomontage.com/editors/38-hazmat/64-invincible#commentsBest Regards.</blockquote>
where should i copy this code?
September 18, 2011 at 5:37 pm #413441Sade, I am assuming they have fixed this by now…. but if they haven’t this company is a joke
September 18, 2011 at 6:03 pm #413450max: 🙁 its still not works for me, if nobody help to me, i accept the money back
but i hope somebody help fix itManos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
September 18, 2011 at 6:18 pm #413456Hi sade,
I have replied on your other thread also! This issue has been solved since then so i must check on your installation to see if there is something wrong or not working as it should and provide help to solve this one for you too.
Regards
Manos
September 18, 2011 at 6:20 pm #413457thank you, sent PM with admin user
btw, its tipical, if something works for 99 people perfectly, i am the 100. one, for who havent 🙁
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
September 18, 2011 at 6:42 pm #413462<em>@max power 268655 wrote:</em><blockquote>Sade, I am assuming they have fixed this by now…. but if they haven’t this company is a joke</blockquote>
Hi, that fix is for J.1.5.x not J.1.7.x
Regards
Manos
February 25, 2012 at 6:49 am #439942dear all,
I configured the avator with kunena, now it shows the profile pic, but now I need the profile link as well.
could you provide me any idea ?? :((
thanksbashirnoori.com
-
AuthorPosts
This topic contains 13 replies, has 5 voices, and was last updated by bashirnoori1 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum