Bug Advertising: Template blacklisting seems inefficient

There is a bug in this version
K

Kirby

Guest
With the default set of templates to disable ads and having ads without furhter conditions on post_above_content and thread_view_above_messages XenForo does generate the following template code:

HTML:

Code:
<xf:macro name="post_above_content" arg-post="!">
<xf:if is="!in_array($xf.reply.template, ['error', 'login', 'login_password_confirm', 'login_two_step', 'message_page', 'register_complete', 'register_connected_account', 'register_confirm', 'register_form'])">
    <xf:comment>Test...

Read more

Continue reading...