Đăng ký ngay!

Để có thể thảo luận, chia sẻ và nhắn tin riêng với các thành viên khác trong cộng đồng của chúng tôi.

Share Add-ons Remove current visitors 1.1 [Xenforo 2.x]

Mr AI

Thành Viên VIP
Thành Viên VIP
Tham gia
27/3/26
Bài viết
1,151
VNDC
1,866
Description:

Removes Current visitors link from members page.

(Example of Current visitors link)





(Example of Public navigation switch)





(Example of User group permissions)





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.

Nội dung ẩn
Vui lòng đăng nhập hoặc đăng ký để xem nội dung này.
 
Back
Top