Welcome to PhpBB3 BBCodes. Click here to register.

How to create a BBCode

Ordinary phpBB3 BBCode Database
BBCodes that need nothing else than installation through ACP

How to create a BBCode

Postby Stoker 21 May 2008, 08:43

Hello

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:

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.


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
Kind regards
Stoker

I don't give PM support, but feel free to contact me with suggestions etc.
User avatar
Stoker

Site Admin
 
Age: 35
Posts: 1946
Joined: 12 May 2008, 15:26
Location: Odense, Denmark
Highscores: 46
BBCodes: 250+
Real Name: Ulrik
Alias: Stokerpiller


User avatar Site Admin
Online


Doing some testing


Re: How to create a BBCode

Postby Amr 12 Aug 2008, 08:08

hello,

thanks for your efforts

I have a question, if this possible how can I translate the buttons? for example center to Centro or Центр

I mean the button Центр but no problem if the line still
[center]{TEXT}[/center]

thanks :oops:
Last edited by Amr on 12 Aug 2008, 11:42, edited 1 time in total.

Amr

BBCoder I
 
Posts: 3
Joined: 12 Aug 2008, 07:18

Re: How to create a BBCode

Postby Nerdy 12 Aug 2008, 09:50

Hi Amr
Simply change
Code: Select all
[center]{TEXT}[/center]
for
Code: Select all
[Центр]{TEXT}[/Центр]
or
Code: Select all
[Centro]{TEXT}[/Centro]

If I understand you well.
www.BCForum.eu | www.BB3.cz | Jump4cz.Forko.cz |
Not give support through PM, ICQ, MSN etc. !
I'm sorry for mistakes in my English...
:tease:
User avatar
Nerdy

BBCode Supporter
 
Age: 15
Posts: 440
Joined: 04 Jun 2008, 14:55
Location: Czech Republic, Chomutov
BBCodes: don't know :-D
Real Name: Jakub
Alias: The Nerd


User avatar BBCode Supporter
Offline


www.BCForum.eu - My site :-)
jump4cz.forko.cz - Czech Jumpstyle team
www.phpbb3bbcodes.com - BBCode4ever
www.phpbb3bbcodes.com/nerdy - You can test your BBCodes
www.google.com - Google is our friend !
www.Forko.cz - Czech OFF discussion forum
www.BB3.cz - Czech support for phpBB

Re: How to create a BBCode

Postby Amr 12 Aug 2008, 10:03

yes right, but does it make sense? [Центр]{TEXT}[/Центр] thats mean all of our bbcodes which was used disabled. bcause the code was [center]{TEXT}[/center] with "Центр" at the button.

I hope this clear?

Amr

BBCoder I
 
Posts: 3
Joined: 12 Aug 2008, 07:18

Re: How to create a BBCode

Postby Nerdy 12 Aug 2008, 10:08

No, this is not possible if I know
www.BCForum.eu | www.BB3.cz | Jump4cz.Forko.cz |
Not give support through PM, ICQ, MSN etc. !
I'm sorry for mistakes in my English...
:tease:
User avatar
Nerdy

BBCode Supporter
 
Age: 15
Posts: 440
Joined: 04 Jun 2008, 14:55
Location: Czech Republic, Chomutov
BBCodes: don't know :-D
Real Name: Jakub
Alias: The Nerd


User avatar BBCode Supporter
Offline


www.BCForum.eu - My site :-)
jump4cz.forko.cz - Czech Jumpstyle team
www.phpbb3bbcodes.com - BBCode4ever
www.phpbb3bbcodes.com/nerdy - You can test your BBCodes
www.google.com - Google is our friend !
www.Forko.cz - Czech OFF discussion forum
www.BB3.cz - Czech support for phpBB

Re: How to create a BBCode

Postby Amr 12 Aug 2008, 10:22

Nerdy wrote:No, this is not possible if I know


bad news :cry:

Amr

BBCoder I
 
Posts: 3
Joined: 12 Aug 2008, 07:18

Re: How to create a BBCode

Postby SpongeyAce 18 Aug 2008, 11:34

BBCode makers!!


Thanks for all these codes, really made my forum happy :D

SpongeyAce

BBCoder I
 
Posts: 1
Joined: 18 Aug 2008, 11:31

Re: How to create a BBCode

Postby Stoker 18 Aug 2008, 12:33

Glad You like it :)
Kind regards
Stoker

I don't give PM support, but feel free to contact me with suggestions etc.
User avatar
Stoker

Site Admin
 
Age: 35
Posts: 1946
Joined: 12 May 2008, 15:26
Location: Odense, Denmark
Highscores: 46
BBCodes: 250+
Real Name: Ulrik
Alias: Stokerpiller


User avatar Site Admin
Online


Doing some testing


Return to BBCodes



Who is online

Users browsing this forum: No registered users and 0 guests