• 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.

Fixed Comments are loaded unconditionally

Kirby

Member
AMS Premium
CAS Premium
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
UBS Version
2.3.8
XenForo Version
2.3.6
PHP Version
8.3.20
Database & Version
MariaDB 10.11.11
Are there any errors being throw?
No
As far as I can see, blog entry comments are loaded unconditionally for actionView.

This seems to be a bit inefficient, especially if there is a significant amount of blog entries which don't have comments at all (like it is the case for us) .

Ideally comments should only be loaded if the visitor has permission to view comments and there are visible comments (e.g comment_count > 0), the visitor has approriate moderating permissions or the visitor posted a pending comment within the session.
 
I've made a few adjustments in the upcoming release that should cover all the bases now. We can always make further adjustments if need be.

Note: This is applicable to the BlogEntryPage Controller actionView as well. Pages (which are for multi-page blog entries) also fetch comments.

Fixed this for Recent Reviews as well :)
 
Last edited:
Back
Top