AndyB - Remove current visitors - Xenforo 2

AndyB - Remove current visitors - Xenforo 2 1.1

  • Thread starter Thread starter xenvn
  • Start date Start date
AndyB - Remove current visitors - Xenforo 2.webp


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

Similar threads Most view View more
Back
Top Bottom