FAH Stat Sigs (with GUI)

Associate
Joined
27 Apr 2004
Posts
2,377
As I mentioned before going, I've been on holiday for the last two weeks. I didn't forget about the FAH Statsig system I had started though (http://forums.overclockers.co.uk/showthread.php?t=17602540 - I would post in there but I think a new thread is justified to avoid confusion with the now unnecessary long explanatory posts).

Link to the builder: http://fahstat.piggott.me.uk

Fixes
  • Averages are now calculated correctly for all users.
  • .png and .gif backgrounds now function correctly.
Additions
  • The GUI has landed!
  • gen_qual variable allows setting of image quality (just make sure it doesn't go above the 20kB forum limit!).
  • 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).

Thanks to the GUI you can ignore all of the above though ;) unless you currently have your signature with a URL from the old version, in which case you should replace 'uid' with 'gen_uid' and 'canvas' with 'gen_canvas' to make it work again.

Ho hum... I think that's everything. The main thing of course is the GUI, and should be relatively self explanatory. Any questions just ask me :) Unfortunately one of the things about being on holiday is the lack of an internet connection, and thus I couldn't go Googling for resources. All I had was the PHP Manual so I the layout leaves a little to be desired. The other major thing is the colour options; at present they still take a hexadecimal input (no pop up window with a palette yet :o ). Aside from that though I'm pretty pleased with it. :)

For examples of what can be achieved with it, either see the other thread or have a play around with it and see what you can do yourself. My sig at present is an example, albeit a little unimaginative (and no doubt went out of fashion during my holiday).

Sig at time of writing (to avoid confusion if I make a new one):


Note: I have been re-assigning hostnames, domain names and ip addresses (internal and external) today on my network, and so there is a possibility that some people will be temporarily unable to access any fahstat related content due to DNS propagation time.
 
null said:
[*]Statistics are now updated every three hours (was daily before).

Why do it every three hours?

From their FAQ:

How can I get a copy of all of the current stats?
Please feel free to download http://fah-web.stanford.edu/daily_user_summary.txt or http://fah-web.stanford.edu/daily_team_summary.txt . These files are updated every 6 hours. Please DO NOT run a crawler on our cgi pages. Such actions will result in your IP being permanently banned.

Same seems to apply to our text stats file: http://vspx27.stanford.edu/teamstats/team10.txt
 
Thanks for that Garp. When I made the first version they updated daily because that is the same as your version, and it is stated in the sticky that this is so because Stanford only update daily.

However when writing this version I was poking around EOC and found this:
Q: How often are the EOC Folding stats updated?
A: Every 3 hours, starting at 12 midnight central time (GMT -6). The text in the upper left corner displays general info about processing times. NOTE: The time does shift by an hour during daylight savings. Stanford only updates their data files every 3 hours, so don't ask if I can update it hourly.
I haven't bothered to investigate myself and actually watch the stats file (this uses team10.txt too). I'm about to do so though and shall adjust the update frequency as appropriate (it's difficult to choose with different sources saying different things :p). Doesn't do any harm at least anyway, just a few more kB of traffic.

null :)
 
Code:
[IMG]http://fahstat.piggott.me.uk/?mode=user&urnk_font=ARIALNBI.TTF&urnk_pre=u
r:&urnk_x=241&urnk_y=30&unm_font=ARIALNBI.TTF&unm_pre=&unm_size=30&unm_x=242&pts_font=ARIALNBI.TTF&pts_pre=cr:&pts_x=268&pts_y=30&wus_en=0&tpts_en=0&twus_en=0&trnk_en=0&avg_font=ARIALNBI.TTF&avg_pre=av:&avg_x=314&avg_y=30&gen_uid=lemonman&gen_canvas=protein1.jpg[/IMG]

There we are. The forum software is censoring the bit that says u r (without the space). IT does this to cut down on users suing lame txt speak rather than proper typed English. However, in this case it is censoring your URL and thus preventing it from being referenced. I don't know if there is a solution.

EDIT: I got that to display by inserting a carriage return between the u and the r in the censored bit of the URL.

EDIT2: You might want to just redesign it and use the string "rank" instead of "u r"
 
Last edited:
yep that's what it looks like on the OcUK FAHStat Builder preview but not when I paste the code.

How did you get that window? and in words of one syible or less what replaces the **

*any one with a small child that was up all night will know my situation*

Edit: that all makes perfect sence, and many thanks but brain can't link theory into practice as I've had 2h sleep in last 40h :o
 
Last edited:
The problem is that with "rank" in the place of "u r" there is no room left to display the actual number that corresponds with your rank. I played with that earlier and made the same discovery.

EDIT: For posterity's sake I'll post the sig we're discussing:
 
Thanks billy - just changed that - and now 100% with you -

I thought the '**' 'U_R' and 'rank' was actual code and not my title (prefix for those that have used the GUI) for the user rank variable - doh!

Edit: Spacing changed & User Rank prefix changed to Number (** - no)

Edit2: the above edit shows my problem - u and r can not be placed together as billy said many posted above
forum rules live by them or its ** to you :D

Edit 3 - How could I forget - thanks Null, great sig creator only one improvement I can see - the inclusion of a user defined text string (not linked to stats) but even without that it rocks!
 
Last edited:
shadowscotland said:
only one improvement I can see - the inclusion of a user defined text string (not linked to stats) but even without that it rocks!
I did think about that when designing it, but realised that it can be added to the background file - i.e. add some text to the background before uploading it. Advantage of this is twofold - 1) less work for me (:p) and mainly 2) keeps the GUI a bit tidier and thus hopefully making it easier to use. Of course it is then harder to make changes to said text but the compromise was worth it.

Nice sig you've got there now, it's good to see people using some inspiration :D

null :)
 
I uploaded the unedited OcUK logo from the top left by accident to see if it was working, as I can't upload jpegs or png's but it seems gifs work.

It's called vBulletin_logo7.gif, I used it to create OcUK.gif which is what I'm using, the edited logo at 400x75.

You need some way of making the code automatically resize to 400 x 75 cause forums rules state no larger may be used, and when I selected the vBulletin_logo7.gif it allows it at it's original size.

Could you remove vBulletin_logo7.gif for me as I didn't mean to upload it and it's no use to anyone :)
 
Back
Top Bottom