1. alfred100
  2. General
  3. Thursday, October 15 2015, 06:44 PM
how can i show online users name and acl like online users module?

how can i show users acl in member list?
admin Accepted Answer
Admin
Hi,
You can use same way at https://www.easy-profile.com/component/easydiscuss/problem-showing-avatar.html

To override module view you need to copy:
- from /modules/mod_jsnusers/tmpl/default.php
- to /templates/your-template-folder/html/mod_jsnusers/default.php

To override Table list layout (only user part)
- from /components/com_jsn/views/list/tmpl/table_user.php
- to /templates/your-template-folder/html/com_jsn/list/table_user.php

To override User list layout (only user part)
- from /components/com_jsn/views/list/tmpl/default_user.php
- to /templates/your-template-folder/html/com_jsn/list/default_user.php
  1. more than a month ago
  2. General
  3. # 1
alfred100 Accepted Answer
thanks for answering. by this way i can add acl to user list. but my firs question is to show just online users like who is online module. i mean just show online users name and acl with one parameter like city. for eamplae:

online users:
alfred
pro user- from uk

afshin
basic user- from turkey



i want to show online users as a module like above
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
to filter only online users you can add this in SQL Custom Where parameter (modules or menu items)
user_id IN (SELECT DISTINCT userid FROM #__session WHERE client_id=0)


You will find this example at https://www.easy-profile.com/docs/69-sql-custom-where-list-and-module.html
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.