By Jan on Tuesday, 20 October 2015
Posted in General
Replies 7
Likes 0
Views 1K
Votes 0
Is there a way to adjust the user listing view?
Right now I see this a 'regular' userlist.


Is it possible to create, for example an overview like this?


Bigger photos? Or add some details in the results overview, like age, hometown etc.?

I've looked at the documentation here:
http://stackideas.com/docs/easysocial/administrators/module-positions/users-listing

But couldn't really find an answer. Also postitions like 'es-users-between-user' are not shown at my modules in Joomla, although I can see them on my site when adding '?tp=1'


--Jan
Hello Jan,

It is not a setting. You just have to remove es-avatar class from this line

<a href="<?php echo $user->getPermalink();?>" class="es-avatar pull-left">

in this file ../components/com_easysocial/themes/wireframe/users/default.list.php.

Hope this helps.
·
Tuesday, 20 October 2015 18:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jan,

To customize this view, you need to go to this file: ../components/com_easysocial/themes/wireframe/users/default.list.php in line 99 - 259. This is where Easysocial loop through all users and display them in list.
·
Tuesday, 20 October 2015 12:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

Thanks for point me to the file! Could make some changes here ;-)

I don't understand the Avatar size part. I edit this code (line 108 default file)
<img src="<?php echo $user->getAvatar( SOCIAL_AVATAR_MEDIUM );?>" alt="<?php echo $this->html( 'string.escape' , $user->getName() );?>"/>

I change the 'SOCIAL_AVATAR_MEDIUM' into 'SOCIAL_AVATAR_SQUARE' or 'SOCIAL_AVATAR_LARGE', but it doesn't seem to affect the avatar size in the user list of the search results. Am I doing something wrong?

--Jan
Jan
·
Tuesday, 20 October 2015 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jan,

It is because the class of the .es-avatar is fixed to 40x40: http://screencast.com/t/yi3teDQnuB2 .
·
Tuesday, 20 October 2015 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Aha so that's the case!

Can you tell me the name of the file with these setting and where it is located?
I've been looking around, but can't find it....

I'm almost there
Jan
·
Tuesday, 20 October 2015 18:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Nick! you're the best!

I managed to change the avatar size here, so I now know where to look to do some more editing and fine-tuning.

--Jan
Jan
·
Tuesday, 20 October 2015 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jan,

Great! You're welcome.
·
Tuesday, 20 October 2015 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post