[VNXF] Best Statistics Pro – Thống kê nâng cao, tối ưu hiệu năng cho XenForo

[VNXF] Best Statistics Pro – Thống kê nâng cao, tối ưu hiệu năng cho XenForo 2.0

Không được phép mua ($12.00)
  • Switched cache from file to XF cache (Redis/Memcached) per user group
  • Cache key pattern: vnxf_bstat_{widgetKey}_gr{groupId}, TTL 180s
  • Auto-clear cache for all user groups when widget config changes
  • Optimized JavaScript formatTimeAgo: cached phrase templates, reduced DOM lookups
  • Multi-language time ago phrases: English master + Vietnamese override
  • Optimized admin widget options template: extracted tab fields into reusable macro, removed code duplication, moved inline styles to LESS
  • Improved widget tab UI:
    • Username font-size 16px -> 12px, font-weight 600 -> 500
    • Username right-aligned with overflow ellipsis
    • Added column-gap: 4px for grid layout
    • Hidden verified icon (.user_verified) inside widget
v1.4 (22-01-2026)
Bảo mật: Sửa lỗi SQL injection
Code Quality: Refactor sử dụng XenForo Finder pattern
XF 2.3: Cập nhật sử dụng ::class constants
Modern Code: Đổi tên method theo quy tắc camelCase
Admin UI: Tối ưu với reusable macros
Đặt tên và sắp xếp rõ ràng hơn trên trang bán addon (Payhip)

1766569302194.png


Up lại bản [VNXF] Best Statistics Pro version 1.3 (XenForo 2.2.x) bị lỗi

Xin cảm ơn ý kiến góp ý của bạn @7chulun
  • Like
Reactions: 7chulun
Cải tiến bảo mật & chức năng
  • Tăng cường bảo mật cho tính năng tải lại qua AJAX: giờ đây chỉ cho phép người dùng đã đăng nhập sử dụng.
  • Việc xóa cache đã được phân quyền: chỉ moderator và admin mới có quyền thực hiện.
  • Sửa thêm một số lỗi liên quan đến việc hiển thị và xử lý bài viết ghim (sticky).




Security & Functionality Improvements
  • Improved security for the AJAX reload feature: now restricted to logged-in users only.
  • Cache clearing is now permission-based: only moderators and administrators can perform this action.
  • Additional bug fixes related to sticky threads display and handling.
  • Like
Reactions: thahtrung06
  1. Tối ưu tốc độ load dữ liệu khi forum có hàng triệu thread
  2. Sửa một số lỗi hiển thị phần user
  3. Làm gọn lại css, phối màu đơn giản, dễ nhìn hơn
  • Thân thiện và chuẩn SEO hơn.
  • Loại bỏ hoàn toàn jQuery
  • Thêm loại thread resource
  • Tách cache ra theo usergroup
Back
Top