Hello
There is a problem with installing the above plugin and setting it up
This plugin does not work for guests when the following code is enabled
How can both this code and the plugin work for the guest?
There is a problem with installing the above plugin and setting it up
This plugin does not work for guests when the following code is enabled
<article class="message-body js-selectToQuote">
<xf:ad position="post_above_content" arg-post="{$post}" />
<xf:if is="!$xf.visitor.user_id">
<xf:set var="$snippetPost" value="{{ snippet($post.message, 300) }}" />
{{ bb_code($snippetPost, 'post', $post) }}
<xf:if is="$snippetPost != $post.message">
<div class="blockMessage blockMessage--important blockMessage--iconic">
</div>
</xf:if>
<xf:else/>
{{ bb_code($post.message, 'post', $post) }}
</xf:if>
<div class="js-selectToQuoteEnd"> </div>
<xf:ad position="post_below_content" arg-post="{$post}" />
</article>
How can both this code and the plugin work for the guest?