Hello, you mean for SEO? It depend on your settings, if you set the notice for 5 characters your threads have only "Hello" visible for your guests / robotsThis bad for Robots?
ok thanksHello, you mean for SEO? It depend on your settings, if you set the notice for 5 characters your threads have only "Hello" visible for your guests / robots
Regards, SyTry
Hello, I don't have tested it, so I don't knowCompatible with XF 2.2.x ?!
i select all pages but it just hides on 1st pageCompatible with XF 2.2.x ?!
This add-on was developed on 2.1, the add-on need to be adapted to the new system from XFi select all pages but it just hides on 1st page
/admin.php?options/groups/discourager/Can this addon restrict view only on specific threads? I would like to only force users to register on selected articles ("premium content"), and not all regular content, as I feel that would be too restrictive as my site is fairly new.
Hello, yes of course we'll update this add-on. We'll see what we can do about your suggestion too !Hello,
This plugin can now only hide content from the first post, not all other posts.
I hope an update comes.
If there is an update, I have a suggestion.
Except for the first post, only the option to hide comments can be added.
<xf:contentcheck>
<xf:pagenav
page="{$page}" perpage="{$perPage}" total="{$totalPosts}"
link="threads" data="{$thread}" params="{$pageNavFilters}" hash="{$pageNavHash}"
wrapperclass="block-outer-main" />
<xf:contentcheck>
<xf:if is="in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'bottom' OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'all'">
<xf:pagenav
page="{$page}" perpage="{$perPage}" total="{$totalPosts}"
link="threads" data="{$thread}" params="{$pageNavFilters}" hash="{$pageNavHash}"
wrapperclass="block-outer-main" />
</xf:if>
<xf:if is="!in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'top' OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'none'">
</xf:if>
<xf:macro name="{{ $templateOverrides.post_macro ?: 'post_macros::post' }}"
arg-post="{$post}"
arg-thread="{$thread}"
arg-highlightedPosts="{$highlightedPosts}"
args="{$templateOverrides.post_macro_args}" />
<xf:if is="!in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_all_posts">
<xf:macro name="{{ $templateOverrides.post_macro ?: 'post_macros::post' }}"
arg-post="{$post}"
arg-thread="{$thread}"
arg-highlightedPosts="{$highlightedPosts}"
args="{$templateOverrides.post_macro_args}" />
<xf:else />
<xf:if is="!in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $post.isFirstPost() OR in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups)">
<xf:macro name="{{ $templateOverrides.post_macro ?: 'post_macros::post' }}"
arg-post="{$post}"
arg-thread="{$thread}"
arg-highlightedPosts="{$highlightedPosts}"
args="{$templateOverrides.post_macro_args}" />
</xf:if>
</xf:if>
<xf:pagenav
page="{$page}" perpage="{$perPage}" total="{$totalPosts}"
link="threads" data="{$thread}" params="{$pageNavFilters}" hash="{$pageNavHash}"
wrapperclass="block-outer-main" />
<xf:if is="in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'top' OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'all'">
<xf:pagenav
page="{$page}" perpage="{$perPage}" total="{$totalPosts}"
link="threads" data="{$thread}" params="{$pageNavFilters}" hash="{$pageNavHash}"
wrapperclass="block-outer-main" />
</xf:if>
<xf:if is="!in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'bottom' OR !in_array($xf.visitor.user_group_id, $xf.options.sc_rcv_excluded_usergroups) AND $xf.options.sc_rcv_show_pagenav == 'none'">
</xf:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.