Remove current visitors

Remove current visitors 1.1

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Removes Current visitors link from members page.

(Example of Current visitors link)

pic001.jpg


(Example of Public navigation switch)

pic002.webp


(Example of User group permissions)

pic003.webp


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
AndyB
Views
644
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

  • User agent
    User agent
    Allows seeing the types of devices members are using to view your forum.
  • View map
    View map
    Creates a button called View map for use in messages.
  • Remove install the app
    Remove install the app
    Removes 'Install the app' link on mobile devices.
  • GPX viewer
    GPX viewer
    Shows GPX attachments in a Google map.
  • Shop eBay
    Shop eBay
    Shop eBay widget.

Latest updates

  1. See description

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