Trending Graphs on Profiles
BF2S.com has been tracking players trends for about two weeks and now the results are available in a snazzy Flash chart on your profile page. You can use the menu to choose from pregrouped sets of graphs, or choose to look at an individual stat from the 26 that I'm tracking.
How to keep your trends up-to-date: Every time your profile is updated, if the last time trend data was stored was over 24 hours ago, new trend data is put in for your account. The simplest way to keep your trending data up to date is just visit your profile page once a day. As a side note, leaderboard queries cause the same update.
As always, you can clique aqui to check it out.
Note: There is a small bug where the last hover number, if long enough, might fall off the display. I'm aware, and trying to find a fix.
Grab the leaderboard and put it on your own site via the BF2S MyLeaderBoard XML Feed.
If you run a PHP site, I've already done all the heavy lifting and have put together a PHP API for you to use complete with readme and examples. Other languages, I'm sorry, I didn't have time (nor do I know perl, ruby, python, asp, etc ;p) If you do use one of those other languages and plan on making your own API, please note a few things:
1) Be kind, release it back to the public.
2) Use some sort of caching (mysql, file, whatever)
3) Please, only use PID's with the feed.
4) The PID limit for the XML feed is 64
#2 is super important because the BF2S.com server WILL BLOCK YOU from pulling more than 3 feeds every 6 hours. (Note, that terminology is correct, this means you could pull one feed every two hours, or three different feeds every 6 hours -- either way.)
- Readme <- seriously, read this if you're going to use it.
- Examples & Examples Source View <- See how easy the PHP API is to use?
- And an example from the MSC clan of how they use it
Why isn't this a full stats package!?!
Since I know this question is going to come up, I might as well answer it right off the bat.
First of all, I am using an XML feed from EA that is not available to the general public (yet). This means that evern IF I gave away my code, you couldn't use it anyway.
Secondly, I don't want to support it. I can spend my time developing more cool features, or I can spend it making sure the package works on Server X with OS y on PHP version Z with this one weird config file. What-the-fuck-ever.
Finally, I got tired of people ripping my work off. Let me explain this one a little better because it's the main reason I'm not releasing a full package again...
When I released the last package, people were happy. It was free and the only thing I asked for was that I was properly credited for the work I did. Guess what? Not only did asshats around the globe start taking out the link to my site (the only 'payment' I asked for!) but they also started passing the package off as their own work and then, on top of all that bullshit, and I can't emphasis this enough, ASKING FOR DONATIONS FOR "THEIR HARD WORK". Suffice it to say, a few bad apples have ruied the bunch.
- Linked Unlocks
The unlocks on the player page are now linked to the appropriate section of UBAR.
- Favorite/Worst Moved
Slid the favorite and worst from the EA feed over to the right side table.