信任等级

v1.4.0 user_level 官方出品 Officially signed

信任等级:借鉴 Discourse 的 TL0-TL4 等级体系,行为流水自动考核,门控发帖/回帖,楼层徽章展示

Author FlintHub Verified developer
Downloads18
Min core version1.3.0
Updated2026-11-18 13:47
Log in to download Log in to download the package directly — for servers that cannot install plugins online.
After downloading, upload the zip in your own site admin: App Center → Upload & Install. If your server has outbound access, prefer the online install — it can auto-update.

Screenshots 3

Changelog

1.4.0:声明 provides: ["level"],在核心 1.5.16+ 上接管全站等级显示(内置积分等级自动让位,停用本插件即恢复);列表头像右下角新增等级角标(新设置 show.avatar,默认开);个人主页新增等级徽章(同时注册 profile_user_card_after 与 user_profile_header,覆盖 user_profile 插件启用/未启用两条渲染路径);升级通知改按数据库旧等级判断,换设备/新会话不再漏发。min_core 保持 1.3.0:旧核心忽略 provides,仍是「两套徽章并排」的原有行为。

Files 27 196.3 KB

  • plugins 27 files · 196.3 KB
    • user_level 27 files · 196.3 KB
      • assets 2 files · 15.9 KB
        • script.js 2.6 KB
        • style.css 13.3 KB
      • hook 12 files · 24.4 KB
        • admin_route_register.php 592 B
        • controller_view_before.php 5.3 KB
        • init_after.php 234 B
        • layout_head_end.php 2.1 KB
        • nav_user_menu_items.php 495 B
        • post_create_after.php 962 B
        • profile_badge.php 1.6 KB
        • route_after_dispatch.php 2.8 KB
        • route_before_dispatch.php 8.4 KB
        • route_register.php 550 B
        • thread_create_after.php 633 B
        • vote_after.php 858 B
      • lang 3 files · 33.9 KB
        • en.php 11.5 KB
        • zh.php 11.2 KB
        • zh_tw.php 11.2 KB
      • views 5 files · 39.7 KB
        • admin.php 20 KB
        • checkin.php 5.9 KB
        • error.php 4.2 KB
        • like_list.php 5.5 KB
        • mine.php 4.1 KB
      • AdminController.php 9.6 KB
      • FrontController.php 15.1 KB
      • Plugin.php 40.8 KB
      • plugin.json 1.9 KB
      • 说明.md 14.9 KB

Discussion 0

No discussion yet. Be the first to share your thoughts.
Please sign in to join the discussion.