Is that from an add-on?
If so, you will need to contact the author for support.
Yeah it is (and looks like it's unsupported). I never had any problems with it on XF 1.2 though.
Is that from an add-on?
If so, you will need to contact the author for support.
<xen:if is="???????">
<xen:container var="$head.robots">
<meta name="robots" content="noindex, follow" />
</xen:container></xen:if>
Is there a way to display content on the first new post of a thread, and then the first post on subsequent pages?
I'm trying to remove an add-on.
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">
Ads goes here...
</xen:if>
Code:<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}"> Ads goes here... </xen:if>
As far as I know, you can't do that with xenforo conditionals only.If they are logged in that is where I want to put the ad, otherwise the first post of the page is fine.
As far as I know, you can't do that with xenforo conditionals only.
Only DP addon can do that.
<xen:if is="{$renderedChildren} AND {$level} == 2">
<ol class="secondaryContent">
<xen:foreach loop="$renderedChildren" value="$child">
{xen:raw $child}
</xen:foreach>
</ol>
</xen:if>
no such luck.Have you tried wrapping the output in a div or span and applying float?
<a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a></h3>
<a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a>test</h3>
<a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a><xen:foreach loop="$renderedChildren" value="$child">{xen:raw $child}</xen:foreach></h3>
<a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a><xen:foreach loop="$renderedChildren" value="$child"><span class="xt-custom-children-child">{xen:raw $child}</span></xen:foreach></h3>
with:
.xt-custom-children-child {
float: top;
}
<xen:if is="{xen:helper ismemberof, $visitor, 1, 2}">
media.net ad code here
</xen:if>
<xen:hook name="ad_above_content" />
We use essential cookies to make this site work, and optional cookies to enhance your experience.