Is it possible to show the avatar when clicked on a member in the Members list?

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 11 months ago #125467 by Eric de Waal
Hi,

In the members list menu item there is an option to show the avatar. I do not want to do that, because with 1000+ member that makes the list very long...

But if a member on the list is clicked, I want to show the avatar on the profile page that appears.
It is possible to set for the Custom fields, but I found no option for the avatar.
Or did I overlook something?

Regards, Eric

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

More
5 years 11 months ago #125468 by Tuan Pham Ngoc
Hi Eric

If avatar is showing on member list page, it will be shown on member profile details page.

In case you want to show on profile page but not on the list, code modification will be needed. You can submit a support ticket sending us;

- Super admin account
- Link to the members list page

We will look at it and give you the quotation

Regards,

Tuan

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 11 months ago #125482 by Eric de Waal
Hi Tuan,

I found out how it works and will go for a view override of com_osmembership\view\members\tmpl\default.php. Set $showAvatar to 0 in line 15 and I'm done!

Best, Eric

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

More
5 years 11 months ago #125484 by Tuan Pham Ngoc
Yes, simple like that. I'm glad you figured out how to do that yourself

Tuan

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