SimpleDesk

Community => General Discussion => Topic started by: Senkusha on March 13, 2010, 07:29:58 PM

Title: Signature Progress
Post by: Senkusha on March 13, 2010, 07:29:58 PM
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?
Title: Re: Signature Progress
Post by: Gruffen on March 13, 2010, 07:39:05 PM
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.