[bbcode] wbb3 to phpbb3 - Progressbar

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
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
Locked
Daniel_Knecht
BBCoder II
BBCoder II
Posts: 23
Joined: 08 Jun 2010, 13:48
Location: Germany
Contact:

[bbcode] wbb3 to phpbb3 - Progressbar

Post by Daniel_Knecht »

Hello,
i have make a phpbb3 BBCode für a Stylish Progressbar for your Forum.

UPDATE 1

BBCode:

Code: Select all

[progress={NUMBER},{INTTEXT1},{INTTEXT2}]{TEXT}[/progress]
HTML Code:

Code: Select all

<div>{TEXT}<div style="background:url(images/progress_back.png) repeat-x; border:1px solid black; width:50%; height:18px;"><div style="background-color:#{INTTEXT1};width:{NUMBER}%; height:9px;"></div><div style="background-color:#{INTTEXT1}; width:{NUMBER}%; height:9px; opacity:0.8;"></div></div><div style="color:#{INTTEXT2}; font-weight:bold; margin-top:-19px; position:absolute;">&nbsp;&nbsp;&nbsp;{NUMBER}%</div></div>
Helpline:

Code: Select all

Progressbar: [progress=percent,progressbarcolor,textcolor][/progress]

Images you need to Download: (right click > save as...)
Image

Example:
Visit: Progressbar DEMO
Last edited by Daniel_Knecht on 06 Sep 2010, 22:59, edited 2 times in total.
Sorry for my bad English :(
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: [bbcode] wbb3 to phpbb3 - Progressbar

Post by Stoker »

Looks very nice
Board rules! No PM support
Daniel_Knecht
BBCoder II
BBCoder II
Posts: 23
Joined: 08 Jun 2010, 13:48
Location: Germany
Contact:

Re: [bbcode] wbb3 to phpbb3 - Progressbar

Post by Daniel_Knecht »

UPDATE 1

Here is the first Update for the Progressbar...
Your Browser must be ready CSS3.

New:
- The Text is center of the Progressbar
- You can set a Text befor the % Text (Example: This is my Bar: 50%)
- The Text have a little Black Glow
- The Progressbar have a Glow like the Bar-Color.

Fixes:
- Little fixes in the HTML Code.

BBCode:

Code: Select all

[progress={NUMBER},{INTTEXT1},{INTTEXT2}]{TEXT}[/progress]
HTML Code:

Code: Select all

<div style="background:url(images/progress_back.png) repeat-x; border:1px solid black; width:50%; height:18px; box-shadow: -1px -1px 1px #{INTTEXT1}, 1px -1px 1px #{INTTEXT1}, -1px 1px 1px #{INTTEXT1}, 1px 1px 1px #{INTTEXT1}; margin-left:2px;"><div style="background-color:#{INTTEXT1}; width:{NUMBER}%; height:9px;"></div><div style="background-color:#{INTTEXT1}; width:{NUMBER}%; height:9px; opacity:0.8;"></div></div><div style="color:#{INTTEXT2};"><div style="position:relative; margin-top:-19px; width:50%; text-align:center; text-shadow: 0 0 0.4em #000">{TEXT}&nbsp;<b>{NUMBER}%</b></div></div>
Helpline:

Code: Select all

Progressbar: [progress=prozent,balkenfarbe,textfarbe]text (optional)[/progress]

Example:
Visit: Progressbar DEMO
Sorry for my bad English :(
Locked