XenForo forumunuzda BB kodu olarak eklediğiniz HTML ve PHP kodlarını ziyaretçilerden gizlemek için aşağıdaki talimatları uygulamanız yeterlidir.
Adım 1: bb_code_tag_code şablonunda;
bulun:
<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>değiştirin:
<xen:if is="!{$visitor.user_id}">
Üzgünüz fakat bu BB kodunu görmek için <a href="{xen:link register}">giriş yapmalı / kayıt olmalısınız</a>!
<xen:else />
<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>
</xen:if>Adım 2: bb_code_tag_html şablonunda;
bulun:
<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>değiştirin:
<xen:if is="!{$visitor.user_id}">
Üzgünüz fakat bu BB kodunu görmek için <a href="{xen:link register}">giriş yapmalı / kayıt olmalısınız</a>!
<xen:else />
<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>
</xen:if>Adım 3: bb_code_tag_php şablonunda;
bulun:
<div class="code">{xen:raw $content}</div><xen:comment><!-- content is escaped via parser --></xen:comment>değiştirin:
<xen:if is="!{$visitor.user_id}">
Üzgünüz fakat bu BB kodunu görmek için <a href="{xen:link register}">giriş yapmalı / kayıt olmalısınız</a>!
<xen:else />
<div class="code">{xen:raw $content}</div><xen:comment><!-- content is escaped via parser --></xen:comment>
</xen:if>Demo Önce
Sonra 