About
FAHStat is a statistics system for Folding@Home, designed primarily for the creation of forum signatures. It allows you to upload a background image of your choice (jpeg, png and gif accepted) and then overlay your user and/or team statistics on the top, all of course dynamically updated as you ascend the rankings. To get started, click on the General Settings link to the left and upload your background. It really is that simple! Once you're done, just copy and paste the VB code from the box that appears at the bottom of every page.
FAHStat only provides statistics for Team 10, OcUK.
News
18/09/2011 - Version 2.1.10
Tweaked CSS
Changes- Tweaked CSS to increase padding around main content area.
16/03/2011 - Version 2.1.9
Minor addition to About page
Additions- Added line to About page clarifying that FAHStat only provides statistics for Team OcUK.
27/11/2010 - Version 2.1.8
Added PayPal donate button
Additions- Added PayPal donate button.
24/09/2010 - Version 2.1.7
Moved to VDS
Changes- Moved FAHStat to a VDS I'm managing myself, as I've outgrown shared hosting.
27/08/2008 - Version 2.1.6
Altered 'Last update' code
Changes- In 2.1.5, a preformatted string was written to the lastupdate file at the end of an update and this was included directly in the editor title bar. In 2.1.6, the local timestamp is written to the file and this is formatted each time the editor page is called.
22/08/2008 - Version 2.1.5
Improved update mechanism.
Additions- Added 'Last update' to title bar.
Changes
- Removed redundant update mechanisms to simplify code.
- Removed PHP4 backwards compatibility to simplify code.
29/09/2007 - Version 2.1.4
Rehosted.
Decommissioned and sold the server after having run it for 4 or 5 years in my bedroom. I'd been working towards this for several months (moving the services it ran to other providers). Silence is golden! Rehosted with Vidahost, who've been excellent with regards to support, and kindly included free Cron job support as this is a service to the OcUK forums! Have been modifying FAHStat as necessary to make it compatible with Vidahost's environment over the last few weeks.
Changes- Added code that defines PHP5 only functions if PHP4 is being used (PHP5 is available when scripts are run through Apache, but not via Cron jobs)
- The Cron job now works by using wget to call the update script through Apache because I can't get the command line update mode working. Haven't had chance to investigate fully.
- Only unique configurations are written to the log file, to prevent it growing indefinately.
As you may have guessed, I'm a bit preoccupied with other things (A2 levels) right now so haven't had time to do things 'properly' - it's all a bit hackish.>
11/05/2007 - Version 2.1.3
Additions to GUI.
Additions- Created an examples page which shows all user signatures (signatures are added when you have finished configuring them).
- Added favicon, displayed by the browser in the title bar, site tabs etc.
- Added a few new fonts (Segoe UI and Segoe UI Bold).
10/01/2007 - Version 2.1.2
Various fixes, additions and improvements to GUI.
Fixes- Fixed a bug reported two months ago in the function that loads settings from a URL on the General settings page, whereby entering an invalid URL would mess up the settings array and cause errors to be written all over the screen. An alert is now returned on failure and confirmation on success using the notification box I added in 2.1.
Additions
- Added this news section to the about page.
30/12/2006 - Version 2.1.1
Update script modified to be run via the PHP CLI rather than using wget to call it through Apache. Stopped redirecting output to /dev/null so I get email reports every update.
22/12/2006 - Version 2.1
Various fixes, additions and improvements to GUI.
Fixes- Rebuilt client side GUI layout from scratch to be more standards complient (still plenty that can be improved though).
- Use of Cascading Style Sheets means the text and forms layout works a little better across different browsers.
- Validation of uploaded images actually works properly now (more detail given in messages - they were a little ambiguous before regarding failed uploads). File information now returned on success and failure to aid sorting upload problems.
Additions
- This 'About' page.
- Wrote a notification box system that will show information about file uploads and possibly more in future.
- The logo at the top of the page. Made by me on ProDESTKOP, originally for use in the Team OcUK Folding sticky, but decided it would look good here too.
Changes
- Default page set to the new 'About' page.
- Ordering of Statistics settings pages on left hand side menu. Now ordered by likelihood of use.
- Removed link to Templates page (which I never actually completed) after deciding it wasn't worth the effort.
Late August - Early September 2006
Migrated server from Windows XP to Debian Etch. Updates now done by calling the update script with wget, scheduled with cron and all outputs sent to /dev/null. Fonts folder now part of FAHStat (no C:\Windows\Fonts to read them from!).
Late August 2006
Added a large collection of fonts to the server.
4/08/2006 - Version 2.0
GUI complete and annouced to Team OcUK.
Fixes- Averages calculation rewritten, now working for all users and much more reliable.
- PNG and GIF backgrounds now supported correctly (though this was a bit of a hack - they are writtent to disk as JPEG first and then reread).
Additions
- The GUI!
- gen_qual variable to adjust the quality of the output image.
- New mode 'team' (i.e. ?mode=team) allows bypassing of the no uid specified error, handy if you want to create a team banner for use on a web page for example. Unfortunately this cannot be set via the GUI so you must create the image as though for a user and then edit the URL changing mode to 'team' instead of 'user'.
Changes
- Statistics are now updated every three hours (was daily before).
- uid and canvas variables have been renamed 'gen_uid' and 'gen_canvas'.
- Operating mode no longer 'use' but 'user' instead (i.e. ?mode=user).
19/07/2006 - Version 2.0 Alpha
Version 2.0 Alpha complete with full customisation. Started completely from scratch (no Version 1.0 code used). Announced to Team OcUK.
Known Problems- Averages not being calculated correctly for some users.
- GIF and PNG images not fully supported - rendering problems occur.
- Difficult to use due for those unfamiliar with it due to lack of GUI.
Changes
- Moved from original V1.0 location to dedicated subdomain, fahstat.piggott.me.uk.
- Fully customisable!
Statistics
The system supports nine different statistics, as follows:
- grnk - Global user ranking (i.e. position with all other FAH contributers globally).
- urnk - User rank (i.e. within Team OcUK).
- unm - User name - the user name of the person whose stats are being shown.
- pts - User's Points count.
- wus - User's WU count.
- tpts - Total Team Points count.
- twus - Total Team WU count.
- trnk - Team rank.
- avg - User's Points average for last 24 hours (based on last 7 days).
Formatting Options
For every statistic described above, individual formatting options can be applied.
- ang - Angle of the text. 0 is horizontal. Measured anti-clockwise.
- size - Size of the font.
- font - The font used. Must include ".ttf". e.g "Verdana.ttf" (this is the default). The server has all fonts which come as standard with Windows XP.
- col - Colour of the text. Specified as a hexadecimal.
- bor - Size of border around text in pixels. 0 disables.
- brcl - Colour of border around text. Specified as a hexadecimal.
- x - The X co-ordinate of the lower left corner of the text. Measured from the left of the background.
- y - The Y co-ordinate of the lower left corner of the text. Measured from the top of the background.
- en - Enables or disables displaying of the statistic. 0 disables. Default is enabled for all except grnk.
- pre - The prefix to the actual statistic. e.g. "Username: " in "Username: piggott". Defaults exist and of course vary per statistic (would be stupid if it said "WUs: piggott"!).
30/06/2006
Had idea for customisable system, recieved well by Team OcUK. Many good suggestions made by the team (addition of Average Points statistic in particular).
16/05/2006 - Version 1.0
Basic script made with fixed settings (background, colours, fonts etc. not changeable). Username, rank, credit and WUs shown. Located pretty deep in my main site's hierarchy (not ideal in the event of changes to the piggott.me.uk domain).
To use the image in your forum signature, use the following VB code: