(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 🙂
(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 🙂
It would be great if I have this mod :D
Hope to hear from admin soon :D
P/S: Sorry about my poor english =.=
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 ;)