• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

Remove current visitors 1.1

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

Description:



Removes Current visitors link from members page.



(Example of Current visitors link)





1742209410806-png.15847





(Example of Public navigation switch)





1742209402644-png.15846





(Example of User group permissions)





1742209393791-png.15845





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.
作者
无名
下载
0
查看
5
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部