XF 2.1 Hide Current visitor actions

Max

Well-known member
How to hide Current visitors list which contains members, guests, bots and their private activity, URLs etc.. from other members.
I can not find any permission. This is a huge privacy issue.
 
For various widgets, edit the widget and use the Display condition:

To restrict to admins only, add this
Display condition: is="$xf.visitor.is_admin"

For other conditionals see


To restrict viewing of member lists at all:

AdminCP >> Groups & permissions >> Permissions >> User group permissions

Registered, Unregistered / Unconfirmed (or whatever other groups you want to add)
View member lists = No
View member profiles = No

For bots, use robots txt:

Code:
User-agent: *
Disallow: /whats-new/
Disallow: /account/
Disallow: /attachments/
Disallow: /goto/
Disallow: /posts/
Disallow: /login/
Disallow: /members/
Disallow: /admin.php
Allow: /
 
  • Like
Reactions: Max
Top Bottom