• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Partial Fix Statistics widget might show statistics for content the user cannot acess

Kirby

Member
Showcase
UBS
Showcase Version
SC 3.3.6
XenForo Version
2.3.6
PHP Version
8.3.20
Database & Version
MariaDB 10.11.11
Are there any errors being throw?
No
The statistics widget unconditionally shows statistics for

  • Series
  • Comments
  • Reviews / Ratings

A visitor might not have permission to view this content, so those statistics should not be shown to them.
 
I've marked this as [Partial Fix] as I've wrapped each stat with a "visitor" canViewBlahBlahBlah() permissions check.

Its good enough for now (XF 2.X series). Will revisit when working on XF 3.0 to take per category permissions into consideration for overall viewing of each stat type.
 
Back
Top