BBCode help.

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

BBCode help.

Postby Re4p3r 666 » June 15th, 2010, 10:11 am

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?
User avatar
Re4p3r 666
As Ninja As Myst

 
Posts: 239
Joined: October 25th, 2009, 12:13 pm
Location: as far away from YOU as possible!

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: BBCode help.

Postby Demonik » June 16th, 2010, 12:56 am

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!
User avatar
Demonik
The One They Call "Oi, prick!"

 
Posts: 622
Joined: July 28th, 2009, 2:13 am
Location: Somewhere far, far away.... Nah just kidding I'm waving at you through the window

Credit To Team

Thumbs Up given: 0 times
Thumbs Up received: 6 times


Return to Programming