- Developer
- AndyB
- Compatible XF 2.x versions
- 2.2 / 2.3
Description:
Removes Current visitors link from members page.
(Example of Current visitors link)
(Example of Public navigation switch)
(Example of User group permissions)
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.
Removes Current visitors link from members page.
(Example of Current visitors link)
(Example of Public navigation switch)
(Example of User group permissions)
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.