The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with a progress widget please.
Hi guys, I'm looking to build a widget either HTML or PHP to display progress.
Let's say I set a target of ?1000. Perhaps I add this to the database or more simply just use a text file on my server. I read the single line of text from the text file which is my current value. I want to display that value as a progress bar. For example, progress bar min value = 0 progress bar max value = 1000 Read value from file, EG, 125 Show this value on the progress bar. Secondly, I want a button that opens an input box where I enter a value, and it adds that value to the value stored in the text file then updates the progress bar. I've got some PHP code for reading and writing to a text file , but I've not idea where to start with a progress bar and input box. Here's what I've got so far, simply displaying the value from the file. PHP Code:
Thanks B. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|