MyBB Community Forums

Full Version: [MyCode] Progress Bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Quick and effective, i use this on my site for dev work.

Expression:
\[progress=([0-9]+?)\](.*?)\[/progress\]

Replacement:
<div>$2<div style="background:url(images/progress/prog_grey.png) repeat-x; background-color: #cccccc; border: 1px solid black; width:50%; margin-top: 2px;"><div style="background:url(images/progress/prog_green.png) repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%;  width:$1%; height:18px;">&nbsp;&nbsp;&nbsp;$1%</div></div></div>

Example:
[progress=25]Current Progress[/progress]

- 25 Represents the %

Screen shot:
http://i45.tinypic.com/300a1c1.png

Be sure to upload the folder progress to your images folder..
That sir, is very cool. Thanks. Big Grin
Thanks nice work.

Turkish Information: [Image: Turkey.GIF]
[Image: ilerleme.png]

More information: (Turkish) [Image: Turkey.GIF]
http://destek.mybb.com.tr/showthread.php?tid=912
GooD job , i am create plugin Big Grin
the images dowland for topic XD
Im new to the coding. Were do we put this in the index templates or what?
(2010-07-17, 06:43 PM)BUKET Wrote: [ -> ]Im new to the coding. Were do we put this in the index templates or what?

Go to Admin Control Panel > Configuration > My Code > and input the above values.
This is Fantastic, ¬°THANKS!
I don't see any changes despite adding the MyCode? How to make it work?
Very VERY cool idea. Going to use it on my forums as well!
goes over 100%!
Pages: 1 2 3