Page 1 of 1

[bbcode] wbb3 to phpbb3 - Infoboxes

Posted: 08 Jun 2010, 14:11
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

Posted: 08 Sep 2010, 14:37
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

Posted: 08 Sep 2010, 15:02
by Daniel_Knecht
Hello,
I look sometimes what can be made there ;)

Re: [bbcode] wbb3 to phpbb3 - Infoboxes

Posted: 08 Sep 2010, 16:30
by KukY13
I like these boxes. However, I do mind some things with the code.