Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Donations Bar Generator

How to setup/use

  • Make sure your webserver supports php.
  • Download the newest verion here: https://github.com/Nickfost/Donations-Bar-Generator/zipball/master
  • Open the file in your text editor of choice.
  • Edit the configuration as required. (Under Configuration header in PHP file.)
  • Include it in your script as needed! (include_once('donation_bar.php');)
  • Say thanks!
  • It might need tweaking to make it perfectly position in your layout.

TODO

  • Move the css into the <head> tag, so as not to ruin valid HTML5.
  • Make it more customisable.
  • Move to a method instead of a script to include.
  • Move configuration into a separate script, so as to minimise potential problems.

Changelog

2.0.3

  • another attemp at stats.. should be finished by now

2.0.2

  • working on stats still disabled by defualt

2.0.1

  • Tiny Things... (Wording and comments)

2.0

  • Near complete rewrite.
  • Moved from a table to <div>s aswell as some css.
  • Cleaned up configuration to make it easier for users.
  • Math is now cleaned and streamlined, making the script simpler.
  • Cleaned up debug section so that it's a simple var_dump().

1.5

  • Fixed the rounding of the percent
  • Updated version number

1.4

  • Added the ability to change the color in the text displayed on the bar
  • Added the ability to limit the number of decimal places after the percentage can be displayed
  • Updated Version number & synced with GitHub

1.3

  • Fixed some incompatabilities with crappy browsers
  • Fixed the size of text not working becuase of not using the "px" letters after the number (stupid css)
  • Updated version number

1.2

  • Added font size
  • Changed breakline tag in debug to using paragraph tags
  • Color apeared in debug where defined (you'll see)
  • Updated version number

1.1

  • Added changelog (:D)
  • Cleaned up a few loose things (cant really remember)
  • updated version number

1.0

  • Initial release

About

Donations Bar Generator. Simple, Effective, and Free.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors