Page 1 of 1

BBCode help.

PostPosted: June 15th, 2010, 10:11 am
by Re4p3r 666
I want to put the
Code: Select all
[/warn][/warn]
code on my forums, but I don't know how to set it up. Can someone help?

Re: BBCode help.

PostPosted: June 16th, 2010, 12:56 am
by Demonik
This tutorial is completely assuming you use freeforums (at least I think that's what Runouw used...):

1. Go to the Admin control panel.

2. Go to the Posting tab.

3. Go to the "Add a new BBCode" button.

4. In the BBCode usage section, put:
Code: Select all
[warn]{TEXT}[/warn]

- This is to give an example of how it will be used.

5. In the HTML replacement section, put:
Code: Select all
<table style='margin:0;width:450px;min-height:100px;border:1px dashed #740000;'><tr><td align='middle' bgcolor='#ff6060' valign='center' width='1%'><br /><FONT color='#ffffff' size='+7'><b> ! </b></font><br /></td>
<td valign='top' cellpadding="5" style='background:#F2DDDD' >{TEXT}</td>
</tr></table>

- This is basically the "code" for the BBCode function, that allows it to work.

6. In the Help Line section, put:
Code: Select all
[warn]TEXT[/warn]

- When users hover over the "Warn" BBCode button (when posting), this message will be displayed. Basically to help the user understand how to... use it.

7. Then tick the box if you want it to display in the posting page...

8. Click Submit.

9. VOILA!