![]() |
Progress BBCode
1 Attachment(s)
This will show your progress in your posts on anything you would like.
Installation: 1.) Upload the files to your VBulletin root. 2.) Go to your AdminCP -> Custom BB Codes -> Add New BB Code Title: Progress BB Code Tag Name: percentage Replacement: Code:
<div style='background:url(images/progress/progress_incomplete.png) repeat-x; background-color: #cccccc; border: 1px solid black; width:95%; margin-top: 2px;'><div style='background:url(images/progress/progress_complete.png) repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{option}%; height:18px;'> {option}% {param}</div></div> [progress=100]Complete[/progress] Use Option: Yes Button Image: images/progress/progress.png Remove Tag If Empty: No Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes Disable Automatic Link Parsing Within This BB Code: Yes 3.) Save and you are ready to go. 4.) Marked Installed. =] *Replace progress_complete.png and progress_incomplete.png with your own images to change the way the progress bar looks |
<a href="http://www.consolediscussions.com/forum/forum.php" target="_blank">Demo</a>
|
*tagged*
|
Yeah, this isnt bbcode at all. this is just progressbars that havent yet been made into bbcode...
|
Quote:
[progress=100]Complete[/progress] *Where the complete is, you can replace with your own text related to the progress bar. Like: [progress=71]Complete on server migration[/progress] |
TheInsaneManiac, your replacement code need {param} in it instead of the text. That is why it isn't working properly.
|
Quote:
|
Did you update the file also?
|
Quote:
|
Needs some fixing I think.
If you do a low percentage "such as 2%", and write a long line of text between the open and close tags, it displays on the next line. For example I did Percentage=1. Then I wrote 'something very long like this' and it put all the text in a column that only spans the width of 0-1% (ie the green section of the progress bar). This equates to about 2 letters per line... |
All times are GMT. The time now is 10:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|