Removes Current visitors link from members page.
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.
Attachments