[bbcode] wbb3 to phpbb3 - Infoboxes

User submitted BBCodes
Let us see what You have
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.

[textarea]Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden[/textarea]

[bbcode] wbb3 to phpbb3 - Infoboxes

Post by Daniel_Knecht »

Hello again,
here is my second self made bbcode for phpbb3 and your forum.
There are 4 bbcode for 4 Boxes.

Infobox
BBCode:

Code: Select all

[infobox]{TEXT}[/infobox]
HTML Code:

Code: Select all

<div style="margin-bottom: 10px; background: #b2ccff; padding: 6px; height:auto; border: 2px solid #80aaff; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;"><img src="images/infoM.png" alt="" style="padding-right: 6px; vertical-align: middle;" />{TEXT}</div>
Helpline:

Code: Select all

Box:[infobox]{TEXT}[/infobox]
Errorbox
BBCode:

Code: Select all

[errorbox]{TEXT}[/errorbox]
HTML Code:

Code: Select all

<div style="margin-bottom: 10px; background: #ffb2b2; padding: 6px; height:auto; border: 2px solid #ff8080; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;"><img src="images/errorM.png" alt="" style="padding-right: 6px; vertical-align: middle;" />{TEXT}</div>
Helpline:

Code: Select all

Box:[errorbox]{TEXT}[/errorbox]
Warnbox
BBCode:

Code: Select all

[warnbox]{TEXT}[/warnbox]
HTML Code:

Code: Select all

<div style="margin-bottom: 10px; background: #ffe5b2; padding: 6px; height:auto; border: 2px solid #ffd580; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;"><img src="images/warningM.png" alt="" style="padding-right: 6px; vertical-align: middle;" />{TEXT}</div>
Helpline:

Code: Select all

Box:[warnbox]{TEXT}[/warnbox]
Successbox
BBCode:

Code: Select all

[successbox]{TEXT}[/successbox]
HTML Code:

Code: Select all

<div style="margin-bottom: 10px; background: #b8e5a1; padding: 6px; height:auto; border: 2px solid #99e573; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;"><img src="images/successM.png" alt="" style="padding-right: 6px; vertical-align: middle;" />{TEXT}</div>
Helpline:

Code: Select all

Box:[successbox]{TEXT}[/successbox]
Image you need to Download: (right click > save as...)
ImageImageImageImage

Example:
Visit: Boxes DEMO

Re: [bbcode] wbb3 to phpbb3 - Infoboxes

Post by neptune »

can you make it so, when its more than one line of text, the button is also in the mid and not so

Image

Re: [bbcode] wbb3 to phpbb3 - Infoboxes

Post by Daniel_Knecht »

Hello,
I look sometimes what can be made there ;)

Re: [bbcode] wbb3 to phpbb3 - Infoboxes

Post by KukY13 »

I like these boxes. However, I do mind some things with the code.