Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.
<article class="message-body js-selectToQuote">
<xf:ad position="post_above_content" arg-post="{$post}" />
<xf:if is="$snippet">
{{ bb_code_snippet($post.message, 'post', $post, $snippet) }}
<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>
2.2.0 'da post_macros ilgili kod bu şekilde
Kod:<article class="message-body js-selectToQuote"> <xf:ad position="post_above_content" arg-post="{$post}" /> <xf:if is="$snippet"> {{ bb_code_snippet($post.message, 'post', $post, $snippet) }} <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>
Buna göre sizin kodu nasıl güncellemem gerekiyor
<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">
İçeriğin tamamını görüntülemek için lütfen giriş yapınız.
</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>
Çok sağolasın. İD olarak değiştirmiştik burda şekli ile aldımBu kısım aşağıdakiyle değiştirilecek.
PHP:<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"> İçeriğin tamamını görüntülemek için lütfen giriş yapınız. </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>
Can anyone help me?How can I enable it for one forum only?
Can anyone help me?
<xf:if is="$forum.node_id == x">
codes..
</xf:if>
After inserting this code, all the texts of the forum will be deletedShow content in a specific forum:
HTML:<xf:if is="$forum.node_id == x"> codes.. </xf:if>
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.
Bu sitenin çalışması için temel çerezleri ve deneyiminizi geliştirmek için isteğe bağlı çerezleri kullanıyoruz.