10-22-2009
|
#2 |
| Newbie Join Date: Oct 2009 Posts: 2 | Re: How to create new [hide][/hide] bbcode? Open the bbcode_code template of the appropriate skin.
Delete everything it it, place code given below and save. HTML Code: <div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
$vbphrase[code]:
</div>
<pre class="alt2" dir="ltr" style="margin: 0px;
padding: $stylevar[cellpadding]px; border: 1px inset;
width: $stylevar[codeblockwidth]; text-align: left;
height: {$blockheight}px; overflow: auto">
<if condition="$show['member']">$code
<else />Only registered members can see this code.
<a href="$vboptions[bburl]/register.php">Click here to Register.</a>
</if>
</pre>
</div> Now do the same for bbcode_code_printable template.
The code is : HTML Code: <div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
$vbphrase[code]:
</div>
<hr />
<if condition="$show['member']">
<code style="margin:0px" dir="ltr" style="text-align:left">
$code
</code>
<else />
Only registered members can see this code.
<a href="$vboptions[bburl]/register.php">
Click here to Register.
</a>
</if>
<hr />
</div> |
|
| |