By J Burke on Monday, 22 August 2016
Posted in Technical Issues
Replies 5
Likes 0
Views 516
Votes 0
Hello, I have a problem with author avatars not showing up at "EasyBlog - Latest Blogs Module" in "Latest posts by blogger" module type only and i need that exact module type (in other module types it works as expected). "show author avatar" setting is set to "yes".
Hello,

I tried to access your site and the author's avatar does seem to appear fine for me on the front page of the site. Take a look at my screen shot here, http://take.ms/FX9wM

Am I looking at the right place?
·
Monday, 22 August 2016 21:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, please ignore my reply above because I just realized you actually included the URL to the problematic page. I am checking it now.
·
Monday, 22 August 2016 21:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay, just checked the codes and the reason that the avatar is not showing up (it's not a bug), is because:

1. You have configured the module to filter blog posts by specific author.
2. Since all the posts would belong to a particular author, the avatar would be the same for all.
3. Therefore in our module, we do not display the avatars since it doesn't make sense really
4. Having said the above, I have modified the file /modules/mod_easybloglatestblogs/tmpl/default_item.php and at line 21, I have replaced the codes below,


<?php if ($params->get('showavatar', true) && !$bloggerLayout) { ?>


With,


<?php if ($params->get('showavatar', true)) { ?>


This will cause the avatar to render but you get what I mean about item #3 above
·
Monday, 22 August 2016 21:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,
I thought that when I choose avatars to show up they will do so regardless of whether there are several authors or just one , but your logic does make sense too.
Anyway, thank you for a quickfix and your comments, very much appreciated!
·
Tuesday, 23 August 2016 09:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, it actually does do that in the initial versions of EasyBlog but some of our customers has been requesting us to remove the avatar when they pre-selected an author since the avatar would be the same throughout each posts and this is why, we actually added this exception
·
Tuesday, 23 August 2016 10:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post