TPOCJames
05-26-2006, 10:00 PM
Simple hack, quite nice on forums. This hack will allow you to have a subject and text inside a small box.
Instructions
Go into your Admin CP.
Go to the bbCode manager.
Click "Add New bbCode".
Your title can be anything you want, box would be the best choice.
Tag can be anything you want. I have entered box as my choice.
In replacement, you enter the following code:
<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
<tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
<tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>
You may also set for it to have a preset width. You can do so with the following code:
<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="%[enter a number from 10 - 100 here]>
<tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
<tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>
After you have pasted your code selection, test it by typing in Testing....
Select use {option} to yes.
Save the bbCode and you're done! Try it out and give some feedback.
Instructions
Go into your Admin CP.
Go to the bbCode manager.
Click "Add New bbCode".
Your title can be anything you want, box would be the best choice.
Tag can be anything you want. I have entered box as my choice.
In replacement, you enter the following code:
<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
<tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
<tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>
You may also set for it to have a preset width. You can do so with the following code:
<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="%[enter a number from 10 - 100 here]>
<tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
<tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>
After you have pasted your code selection, test it by typing in Testing....
Select use {option} to yes.
Save the bbCode and you're done! Try it out and give some feedback.