show the "ffr level/exp bar" on ppl's forum posts
Collapse
X
-
Re: show the "ffr level/exp bar" on ppl's forum posts
So, after extending the FFR api a bit (http://www.flashflashrevolution.com/...0&postcount=31), this isn't too difficult.. There are still some flaws with my API though, I need to:
Either way, this works for now.. I've made a custom stats/signature generator of sorts - the webhost is pretty slow and the script isnt the greatest, so you might need to refresh a couple times unless the server gives enough bandwidth, but:Code:#1 make it more efficient.. too many unnecessary regexes/loops etc, algorithm slow #2 grab more accurate stats from other parts of the website.. I realised just purely grabbing the advanced stats data isnt enough, if I want accurate stats on # of FCs, # of AAAs (since advanced only tracks since like late april..), I'll need to : -->use the real API to grab level stats -->iterate through each level after using my api to get # of notes -->calc which songs are sdgs, fcs etc.. -->grab # of games played from more accurate spot to track legacy games played
Put in your username for generate signature at the bottom.. It is based off having a pre-saved json of your stats since the host is too slow for my api to call it in the script itself, so if it doesn't have your stats, you'll get a message:
(Srry rushy using you as an example lol, should work for anyone).
After you click that link (and refresh a bunch until it runs lol), and it finally generates the stats (http://dinglesffr.byethost5.com/Play.../rushyrulz.txt), you can go back and generate a signature:Code:No User Data found - please click the link below first: http://dinglesffr.byethost5.com/getAdvancedPlayerStats.php?username=rushyrulz

NOTE: I need to make the avatars dynamic sized because I didn't realise people had non square avatars, easy fix though
-------------------------------------------------------
Now, that brings me to my main problem - I'm not much of an artist, lol.. The way it's set up now, I can make it use:
- Any Font
- Any background for the signature itself
- Could do selectable font colors etc.
Essentially, any of the data at http://dinglesffr.byethost5.com/Play...nglesberry.txt is displayable (right click the page and press "view-source" to get a cleaner view)..
With that said, is anyone interested, and would want to help design signatures/the backgrounds etc? It can be any background, can also select any custom font (if you can find a ttf of it, which is a common format for custom fonts), I'm not much of an artist..
The template is:

-------------
Last edited by Dinglesberry; 08-21-2016, 08:48 AM.Comment
-
Re: show the "ffr level/exp bar" on ppl's forum posts
Like I said, I'm more about the program than the art
I posted the bg template, someone who has good photoshop skillz needs to help ;DLast edited by Dinglesberry; 08-21-2016, 08:58 AM.Comment















Comment