Home | Reviews | EOC Forums | File Downloads | RealTime Pricing Engine | Free Magazines | Folding Stats Contact Us
FAH Stats
Update: Current
11.24.14, 3pm CST
Time Now: 4:28pm
Next Run: 92 min




All Donations Help With Server Expenses & Future Features


UPDATE: Wednesday, November 5th 2014 The front page has been updated with new information!

Sig Images

I guess it was bound to happen sooner or later. I finally dug up some old code and made a sig image system for use by anyone. Obviously your Team & User Name have to be tracked in these stats, otherwise it will just give you an error.

Currently there are 3 basic styles to choose from, but you can customize the colors to your heart's content.

Here's a basic example of how to use the sig images:

First - You can use the UserID from the EOC Stats (preferred):
- http://folding.extremeoverclocking.com/sigs/sigimage.php?u=32359

Second - You can use your User Name + Team ID:
- http://folding.extremeoverclocking.com/sigs/sigimage.php?un=HotRod&t=11314

Third - You can use your Team ID only (this will obviously only show the team stats):
- http://folding.extremeoverclocking.com/sigs/sigimage.php?t=11314

Alternate Method - If the site doesn't allow query strings or requires a file with an image extension, you can use a directory structure in place of the ? and & tags
- http://folding.extremeoverclocking.com/sigs/sigimage.php/un=HotRod/t=11314/sigimage.gif

Note: Any of the tags for the query string will work in the directory scheme. If your name doesn't work with the un tag then lookup your actual userid here and use the u tag instead.

If you get it working correctly, you should have something that looks like this:

Adding Your Stats To A Forum Signature - Most forums use standard BBCode, which doesn't use HTML for safety reasons. An example of the string you would insert would be as follows.
- With hyperlink to your stats:
-- [URL=http://folding.extremeoverclocking.com/user_summary.php?u=32359][IMG]http://folding.extremeoverclocking.com/sigs/sigimage.php?u=32359[/IMG][/URL]
- Without a hyperlink to your stats (plain image only):
-- [IMG]http://folding.extremeoverclocking.com/sigs/sigimage.php?u=32359[/IMG]

Extra Options
You can change various colors by using standard hex codes. Simply append them to the URL string. You don't have to use all of them, the default colors are used for any variables that are omitted.

  • c1 = Default Text Color
  • c2 = Background Body Color
  • c3 = Background Header Color
  • c4 = Border Color
  • c5 = Override Text Rank Colors

ex: http://folding.extremeoverclocking.com/sigs/sigimage.php?u=32359&c1=FFFFFF&c2=000000&c3=000000&c4=0000CC&c5=FFFFFF

Would end up looking like this:

Note: If you define a 'c5' color, you loose the auto-color rankings for the individual / team. I added it because some people might want a color scheme that conflicts with one or more of the colors used in the scale.

You can choose alternate styles by adding a bg=# in the URL string (where # is a number between 0 & 2 currently). If you set only a TeamID then you don't need to set the bg=2 flag as that is redudant. Technically you could set your UserID only and the bg=2 to show the team info, but I don't know why someone would want to do that.

  • 0 = Default (Technically you don't need to add it if you want the default bg.)
  • 1 = User Stats Only (Essentially half the default image)
  • 2 = Team Stats Only (You really don't need to set this, it's here for completeness)

ex: http://folding.extremeoverclocking.com/sigs/sigimage.php?u=32359&bg=1

Background 0 (Default)


Background 1 (User Info Only)


Background 2 (Team Info Only)

Other Info:

The data actually changes *slightly*, if your team rank goes up/down within the past 7 days, it will display that info (with the up/down arrow) instead of Work Units. Also the User / Team color corresponds to the stats colors.

For team only images, if your team's users are not being processed then it doesn't show the user field, it just moves the WUs up one row.

The code does cache the images to files, and clears out the cache after each stats update. Also I put header info for last-updated & expires to help with image caching there too. Not sure how well the headers will work out, worst-case I can remove them.

 

 

Changelog:

  • v0.4.1 (02-04-2010)
    • Added some missing text
  • v0.4.0 (07-27-2006)
    • Added ability to use a directory structure
    • Added team only stats
  • v0.3.1 (08-22-2005)
    • All images are output as gif (slightly smaller file sizes)
    • Team ID is properly color-coded for BG #1
  • v0.3.0 (08-19-2005)
    • Added a couple more styles
  • v0.2.0 (08-16-2005)
    • Changed Display To Show Points "Today" instead of the last "Update"
    • Added ability to change various colors
    • Fixed a couple small bugs
    • Modified image caching code
  • v0.1.0 (08-12-2005)
    • Initial Beta Release
Folding Stats 2.3.0
Copyright 2000-2014 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy
Page generated in 0.001 seconds (86.10% PHP - 13.90% MySQL) with 3 queries. 180KB of memory used.
Secret Forum