清除当前访客

清除当前访客 1.1

No permission to download
XF Compatibility
  1. 2.3.x
  2. 2.2.x
移除成员页面上的当前访客链接。
(当前访客链接的示例)
1742209410806.webp

(公共导航开关)
1742209402644.webp

用户组权限示例
1742209393791.webp

设置:

导航至以下位置:

管理控制面板 -> 设置 -> 公共导航 -> 当前访客

在显示条件字段中添加以下内容:

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

用户组权限:

如果您希望允许管理员用户组仍然可以查看当前访客页面,则需要为管理员用户组设置“ bypass ”权限为是。
Author
axtona
Views
292
Extension type
zip
File size
16.9 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
More resources from axtona
Using Composer Packages
Using Composer Packages
XenForo v2 uses Composer behind the scenes to include certain packages used by the core software
Eggy SEO Autopilot
Eggy SEO Autopilot
Automated auditing, metadata, structured data, Google Search Console, IndexNow
Cool Timeline Pro - WordPress 时间线插件
Cool Timeline Pro - WordPress 时间线插件
一个展示你生命历史时间线的高级WordPresstimeline插件
Back
Top