How to create a BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 13:04
Location: bbcode table

How to create a BBCode

Post by BBCode Bot » 04 Mar 2010, 09:59

How to create a BBCode

A little guide to the people who doesn't know how to create a BBCode.

This explanation of the BBCode is found in the FAQ:
BBCode is a special implementation of HTML, offering great formatting control on particular objects in a post. The use of BBCode is granted by the administrator, but it can also be disabled on a per post basis from the posting form. BBCode itself is similar in style to HTML, but tags are enclosed in square brackets [ and ] rather than < and >. For more information on BBCode see the guide which can be accessed from the posting page.

Tutorial:
To create a BBCode You have to go to the Administration Control Panel
Choose the Postings tab.
Now click the Add a new BBCode button down in the rigth corner.

You will get this screen:
Image

To make it easier I will use an example.
We will create a BBCode that makes a textarea with black borders and a white background.

In the BBCode usage area You put this code:

Code: Select all

[textarea]{TEXT}[/textarea]
In the HTML replacement area You put this code:

Code: Select all

<div style="border: 1px solid black; padding: 10px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);">{TEXT}</div>
In the Helpline area You put this code:

Code: Select all

Textarea: [textarea]Your text here[/textarea]
Under Settings, Display on posting page You can choose if You want the BBCode to appear on the posting page. If so just check it. If not, do nothing.

The result will be this:

[textarea]Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur blandit, massa a posuere aliquam, lectus lectus hendrerit velit, ac vestibulum augue neque a est. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur metus. Curabitur quis libero. Morbi mollis, lacus porttitor tristique blandit, mauris mi congue sapien, a hendrerit dui felis suscipit elit. Etiam quis mauris hendrerit orci tincidunt egestas. Nam lobortis, leo id bibendum scelerisque, pede massa mollis neque, eu placerat risus diam ut tellus. Pellentesque auctor. Morbi sit amet augue. Nam purus felis, lacinia nec, aliquet sit amet, placerat id, eros. Proin eget augue. Ut aliquet. Nullam ut eros id odio iaculis varius.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus convallis ante bibendum est. Pellentesque mi mi, ultrices vel, dapibus sed, cursus laoreet, pede. Aenean gravida. Proin ut elit. Ut non erat pharetra erat placerat commodo. Curabitur at ligula. In hac habitasse platea dictumst. Proin vitae pede vitae metus consequat hendrerit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed elementum sapien in turpis. Fusce malesuada dapibus quam. Quisque venenatis turpis luctus massa. Nam tristique porta mauris. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut mauris enim, fringilla nec, consectetuer sed, dapibus nec, augue. Aliquam ligula diam, feugiat sit amet, adipiscing sit amet, venenatis sit amet, erat. Sed sed mi vitae nisi porttitor facilisis. Sed erat.[/textarea]

Edit 23. september 2008:
I have made a small video tutorial (no sound) that illustrates how to install a bbcode.
You can view it here:
BBCode Video Tutorial


farukh_khan_2050
BBCoder II
BBCoder II
Posts: 8
Joined: 06 Jun 2010, 05:22

Re: How to create a BBCode

Post by farukh_khan_2050 » 06 Jun 2010, 05:42

Thanx for sharing bro...........

Ghoostrocks
BBCoder II
BBCoder II
Posts: 27
Joined: 06 Apr 2010, 16:42

Re: How to create a BBCode

Post by Ghoostrocks » 05 Jul 2010, 12:57

Can we submit a bbcode?

User avatar
Stoker
Site Admin
Site Admin
Posts: 3535
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: How to create a BBCode

Post by Stoker » 05 Jul 2010, 17:58

Sure you can: Submit a BBCode
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 16:14
Location: Don't really know!

Re: How to create a BBCode

Post by cisco007 » 05 Jul 2010, 18:09

looks like you did already anyways!


User avatar
Deloxic
BBCoder I
BBCoder I
Posts: 2
Joined: 20 Jun 2010, 03:10
Location: Portugal

Re: How to create a BBCode

Post by Deloxic » 10 Jul 2010, 23:24

Thank you very much for the post it's very useful.
[center]Image[/center]

bbnoob
BBCoder I
BBCoder I
Posts: 1
Joined: 30 Jul 2010, 14:42

Re: How to create a BBCode

Post by bbnoob » 30 Jul 2010, 14:46

ummm.... Can you submit a bbcode that makes a text box you can scroll down and up, because i'm making a super Mario flash level codes forum, submit your level codes. Please, someone reply today!

cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 16:14
Location: Don't really know!

Re: How to create a BBCode

Post by cisco007 » 30 Jul 2010, 15:43

i'll reply. why don't you search the forum, i am sure there is one, and next time post all support questions in the support forum!