Problem setting up Keyword Linking

godxdfg

New member
Registered
Joined
Mar 16, 2021
Messages
4
Points
13

Reputation:

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


<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">&nbsp;</div> <xf:ad position="post_below_content" arg-post="{$post}" /> </article>

How can both this code and the plugin work for the guest?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

From where did you get that code?
What is the result you got?
What is not working, can you sent me a link please.
 

godxdfg

New member
Registered
Joined
Mar 16, 2021
Messages
4
Points
13

Reputation:

This code is placed on the site so that all the contents of the site are not displayed to the guest and for example 500 characters from each post.
 
Top