1. abhinav.cyber
  2. Support
  3. Monday, January 18 2016, 02:39 PM
Hi,

to display only friends i have have got custom query from support as below.

user_id IN (SELECT DISTINCT friend_id FROM #__jsnsocial_friends WHERE user_id={user id raw})

it works fine.

however, i need to display user photo only (not name etc) with green mark for being online (as the "Recently Joined" tab displays in social network plugin)

please advice .
Accepted Answer
admin Accepted Answer
Admin
Hi,
you can override layout of module by copying file from /modules/mod_jsnusers/tmpl/defaul.php into /templates/your-template-folder/html/mod_jsnusers/default.php and change new file.

You can also create different overrides, for example /templates/your-template-folder/html/mod_jsnusers/onlineusers.php and set to use this layout in module options (Advanced->Altenative Layout)
  1. more than a month ago
  2. Support
  3. # Permalink


There are no replies made for this post yet.
However, you are not allowed to reply to this post.