Hello admin

(written by Alex)

Hello admin,

Can I ask how to hide the content of tag like your forum?

I would really appreciate it if you can help.

Thank you very much 🙂

This entry was posted in Chat Corner. Bookmark the permalink.

5 Responses to Hello admin

  1. JamesColin says:
    Haha, that's a nice feature to bring in new members :-)
  2. Alex says:
    Yes, That's a very nice feature :D. I have a forum about HD, and the download links are put in tag. But people visit, take the links, but not register :(.

    It would be great if I have this mod :D

    Hope to hear from admin soon :D

    P/S: Sorry about my poor english =.=
  3. admin says:
    Hello

    In template bbcode_code find:
    <div class="bbcode_container">
      <div class="bbcode_description">{vb:rawphrase code}:</div>
      <pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']">style="height:<vb:if condition="$blockheight<$vboptions['codemaxlines']">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre>
    </div>
    replace it with:
    <vb:if condition="$show['member']">
      <div class="bbcode_container">
        <div class="bbcode_description">{vb:rawphrase code}:</div>
        <pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']">style="height:<vb:if condition="$blockheight<$vboptions['codemaxlines']">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre>
      </div>
    </vb:if>
    <vb:if condition="$show['guest']">
      <div class="bbcode_container">
        <div class="bbcode_description">{vb:rawphrase code}:</div>
        <pre class="bbcode_code">Please <a href="https://www.YOURDOMAIN.com/register.php" target="_self">register</a> to see this code!</a></pre>
      </div>
    </vb:if>
    Then go to vBulletin Settings and set "Cached Posts Lifespan" to 0.

    Have fun ;)
  4. Alex says:
    Thank you admin. It works like a charm :D.
  5. admin says:
    You are welcome ;)

Leave a Reply to JamesColin Cancel reply

Your email address will not be published. Required fields are marked *

*