xx1
Junior Member
Posts: 225
inherit
194450
0
Mar 8, 2024 6:31:37 GMT -8
xx1
225
May 2013
xx1
|
Post by xx1 on Mar 1, 2023 8:21:02 GMT -8
Forum URL: (private)
Is there a way to remove the 'User's Online', with the exception of Staff?
Thanks xx1
|
|
#e61919
Support Staff
224482
0
1
Apr 19, 2024 14:58:17 GMT -8
Scott
23,257
August 2015
socalso
|
Post by Scott on Mar 1, 2023 8:34:32 GMT -8
xx1 - Just to be clear, which part of this do you want removed? A = the part that lists how many members and guests online B = the list of members online Or both A & B?
|
|
xx1
Junior Member
Posts: 225
inherit
194450
0
Mar 8, 2024 6:31:37 GMT -8
xx1
225
May 2013
xx1
|
Post by xx1 on Mar 1, 2023 11:04:52 GMT -8
'B'. Forum Information & Statistics Board Statistics Users Online
|
|
#e61919
Support Staff
224482
0
1
Apr 19, 2024 14:58:17 GMT -8
Scott
23,257
August 2015
socalso
|
Post by Scott on Mar 1, 2023 11:18:38 GMT -8
xx1 - please note this will be a per theme change, meaning you would need to make the modification to all active themes - if you wish this to apply to all themes. I currently made the change to your Large Text theme. Please review and let me know if this is how you want that area to display. If so, I'll post the instructions for you to apply it to your other themes.
|
|
xx1
Junior Member
Posts: 225
inherit
194450
0
Mar 8, 2024 6:31:37 GMT -8
xx1
225
May 2013
xx1
|
Post by xx1 on Mar 1, 2023 11:29:53 GMT -8
Is it possible to make it so Staff members can see who is online?
Tx Scott.
|
|
#e61919
Support Staff
224482
0
1
Apr 19, 2024 14:58:17 GMT -8
Scott
23,257
August 2015
socalso
|
Post by Scott on Mar 1, 2023 11:35:52 GMT -8
|
|
xx1
Junior Member
Posts: 225
inherit
194450
0
Mar 8, 2024 6:31:37 GMT -8
xx1
225
May 2013
xx1
|
Post by xx1 on Mar 1, 2023 12:01:36 GMT -8
Looks good, Scott. Can you give me the details.
|
|
#e61919
Support Staff
224482
0
1
Apr 19, 2024 14:58:17 GMT -8
Scott
23,257
August 2015
socalso
|
Post by Scott on Mar 1, 2023 12:21:42 GMT -8
xx1 - Go to Admin > Structure > Layout Templates, Home template. Roughly around line 44 (line number may differ based on theme) look for this code: <tr><td> {foreach $[online_user]} In front of the <tr> add this: {if $[current_user.is_staff]} so it looks like this: {if $[current_user.is_staff]}<tr><td> {foreach $[online_user]} Then go down to line 50 (again depends on theme) and look for this: {/if} </td></tr> and after the </tr> add this: {/if} so it looks like this: {/if} </td></tr>{/if} Make sure to click Save Changes button. Again, this is a per theme modification. After you make the change for one theme, you can use the Current Theme dropdown at the top of the page to select the next theme to modify. Please let me know if you have any questions.
|
|
xx1
Junior Member
Posts: 225
inherit
194450
0
Mar 8, 2024 6:31:37 GMT -8
xx1
225
May 2013
xx1
|
Post by xx1 on Mar 1, 2023 12:23:54 GMT -8
Thanks, Scott. I appreciate the help. xx1
|
|