Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

How to display members with avatar only in members module?

12 years 6 months ago
  • William's Avatar
    Topic Author
  • William
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello,
I need help on how to hack the members module in order to display user with avatar only. I found the answer in another post, however is for an older version of Jomsocial.
My Jomsocial version is: 3.1.1

Thank you
Bill

12 years 6 months ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi William,

Please open com_community / models / user.php

go to line 193 and change code from

$query = 'SELECT * FROM ' . $db->quoteName('#__users') . ' '
                . ' WHERE ' . $db->quoteName('block') . '=' . $db->Quote(0) . ' '
                . $filterquery
                . ' ORDER BY ' . $db->quoteName('registerDate') . ' '
                . ' DESC LIMIT ' . $limit;

into
$query  = 'SELECT * FROM ' . $db->quoteName( '#__users' ) . ' as u'
                . ' LEFT JOIN ' . $db->quoteName( '#__community_users' ) . ' as c '
                . ' ON u.id = c.userid'
                . ' WHERE ' . $db->quoteName( 'block' ) . '=' . $db->Quote( 0 ) . ' '
                . ' AND c.avatar != ' . $db->quote('')
                . $filterquery
                . ' ORDER BY ' . $db->quoteName( 'registerDate' ) . ' '
                . ' DESC LIMIT ' . $limit;

This customization only show on member module with "Latest" as active tab

Warm Regards,

David

12 years 6 months ago
  • William's Avatar
    Topic Author
  • William
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

HI David,
The hack that you suggested did not work, It turns the Jomsocial into a blank page.

Any idea?

Thank you,
Bill

12 years 6 months ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi Wil,

Can you give me FTP access ? i will do it for you :)

Warm Regards,

David

12 years 6 months ago
  • William's Avatar
    Topic Author
  • William
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

How can I send you the FTP info privately?
Thank you,

Bill

12 years 6 months ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi Wil,

edit your first post on this topics and add the information into "Private Site Information" section..

Warm Regards,

David

12 years 6 months ago
  • William's Avatar
    Topic Author
  • William
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello David,
I was wondering if you saw the FTP credentials placed on Private site information, since I have not heard from you.

Thank you,
Bill

12 years 6 months ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi Wil,

Sorry for very late reply because i don't check every topics after someone gave me FTP access :) Done now, please check again your website.. if i missed something please let me know :)

Warm regards,

David

12 years 5 months ago
  • William's Avatar
    Topic Author
  • William
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi David,
The members module looks great!

Thank you very much for your great support.
Bill

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW