• 15-06-2015, 18:04:57
    #1
    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

  • 15-06-2015, 23:29:50
    #2
    Şöyle farklı şekilde bir başka eklenti var:

    https://xenforo.com/community/resour...-hack-v1.1618/