Remove current visitors

Add-ons Remove current visitors 1.1

Register & Get access to index
Compatible XF Versions
2.0 , 2.1 , 2.2 , 2.3
Visible Branding
No
Description:

Removes Current visitors link from members page.

(Example of Current visitors link)

1742209410806.png


(Example of Public navigation switch)

1742209402644.png


(Example of User group permissions)

1742209393791.png


Setup:

Navigate to the following:

Admin control panel -> Setup -> Public navigation -> Current visitors

Add the following to the Display conditions field:

$xf.visitor.hasPermission('removeCurrentVisitors', 'bypass')

User group permissions:

If you would like to allow the Administrative user group to still be able to view the Current visitors page, then set the "Bypass" permission to Yes on the User group permissions for the Administrative user group.

Questions and answers:

Q: Will this add-on prevent direct URL access to the Current visitors page?
A: Yes.
Author
XenForo
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenForo

Latest updates

  1. AndyB Remove current visitors 1.1

    Remove current visitors v1.1 changes: Added "Bypass" to the user group permissions.
Back
Top Bottom