By Adam O. on Monday, 16 January 2017
Likes 0
Views 1.1K
Votes 0
Hi there,

I've got question about avatar size generated on Easyblog pages (e.g. bloggers page). At now it by default loads me avatar with _medium prefix, but I need to load _square size.

My avatars are loaded from Easysocial profile (I have turned on avatar integration).
I have tried to use this line:

<?php echo $author->getAvatar( SOCIAL_AVATAR_SQUARE ); ?>


in wireframe/authors/default.php (I need this in authors page), but with no result...

I'll be very grateful for your help!

Best regards
Adam
Hey Adam,

Actually that $author->getAvatar() is under Easyblog user library which handle all the avatar integration instead of Easysocial library, if you would like to update this avatar size to show `Square` size, you have to modify on this core file ->
JoomlaFolder/administrator/components/com_easyblog/includes/avatar/adapters/easysocial/client.php and you can refer on my attached screenshot below.

Currently that is no easy way to update the avatar size from the Easyblog theme file.
·
Monday, 16 January 2017 10:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex many many thanks for your help! It is exactly what I need

I've got one big and very importatnt for me supplication...

Mark don't want to help me with one of very important case and reply "its not supported area".

I understand, that not every area of topics are supported, but think, that satisfaction from the use your components and making it better and useful has huge influence of opinion and recomendation.

So... very please... help me with this simple thread in the same way like this about avatar size.

I need only a piece of code to show correct value in my profile view...

Here is my topic:

https://stackideas.com/forums/how-to-load-autocomplete-correct-name


I'll be very grateful for your help!
Best regards!
Adam
·
Monday, 16 January 2017 23:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Adam,

Please do understand that we do not provide support for customizations. If everyone has a question like this, we definitely don't have time to write software at all.

Thank you for understanding.
·
Monday, 16 January 2017 23:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, it's not customization. Its question about how to load value from field - autocomplete, because normal echo $user->getFieldValue('AUTOCOMPLETE-SCHOOL'); and echo $user->getFieldData('AUTOCOMPLETE-SCHOOL'); is not working.

As I see, in MANY cases you send simple piece of code, what is helpful and allows to solve simple thread, so I don't understand why its so big problem, to write a few line of code - like in this thread about avatar size - simple question -> simple answer what allows to solve many problems in project.

You spend more time to reply "we can't", "it's no supported", etc., than simply reply "here is a line of code".

You've got great support, what helps and allow to develop users their social sites as they need, so please... it's not request to customize my site. I need only a piece of code, because normal mentioned above is not working...

Best regards
Adam
·
Tuesday, 17 January 2017 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Tuesday, 17 January 2017 01:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post