News:

Get the latest news and updates on SimpleDesk!

Main Menu

Signature Progress

Started by Senkusha, March 13, 2010, 07:29:58 PM

Previous topic - Next topic

Senkusha

I noticed there is a signature with a percentage.  I'd like to know, having never done anything like it before, how do you automate the progress on the picture?

Gruffen

On a daily basis (through cron) we have a script whose job it is to query the database for the current level of closed, and total, issues in Project Tools for the project related to SD, which spits out two numbers. Turning that into a percentage is trivial enough, then it's plugged into a script to just generate the images.

http://www.simpledesk.net/community/general-discussion/php-gd-images-203.0.html has a bit more on how the images are made.