aog
New Member
Posts: 6
inherit
232823
0
Jul 18, 2024 22:00:40 GMT -8
aog
6
May 2016
wonthaggi
|
Post by aog on Nov 30, 2022 15:30:54 GMT -8
Is there a script or code (whatever it is called) where I can hide & is only seen by staff, the "Threads and Posts" box in the Forum Information & Statistics box on the front page. If not hide all the statisics boxes at the bottom of the page, to only be seen by staff. Also please let me know where to place the code Many Thanks
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 1, 2022 13:07:26 GMT -8
aog - Go to Admin > Structure > Layout Templates - the Home template. In the Home template look for this line: <td class="icon">$[image.stats]</td> Then go UP 3~4 lines and you'll see: <tr> <td> Between these tags add: {if $[current_user.is_staff]} so that it looks like this: <tr> {if $[current_user.is_staff]} <td> Then scroll down until you see this line: <td class="icon">$[image.members]</td> Then go UP 3~4 lines and you'll see: </td> <td> Between the tags add {/if} so it looks like this: </td> {/if} <td> At the bottom of the page click the Save Changes button. Note this is a per theme modification. If you have multiple themes, you would need to do this for each theme.
|
|