Whatpulse Stats Checker - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: General Chit Chat (/forumdisplay.php?fid=14)
+----- Thread: Whatpulse Stats Checker (/showthread.php?tid=30857)
Whatpulse Stats Checker by jren207 on 09-01-2004 at 09:29 PM
Yes you may have seen me talking about it in say the shoutbox for example. This is a php script which allows you to check yours and other peoples WhatPulse stats
When you load the page there is a textbox. Enter the username of the persons stats you want to see then click Find User Info.
It will then switch to a page with the selected users stats displayed. This includes keycount, Click Count,...., website, even their team rank and of course their rank. Links on it are clickable so you can visit their website without leaving the page and you can visit the team page.
This script has been developed by me using the WhatPulse API. This was a basic php script which I have built upon and given a good interface.
Guess what... it's your's to use on your website. The whole script is contained in one file which only totals at just 11.7 Kb file size. All you need to do is upload it and run it. No MySQL or anything like that required. Just make sure your hosting company supports PHP.
A tip: the action of the form is index.php?page=2 so I suggest making a directory called whatpulse and uploading the file into it then it will be .../whatpulse - .../whatpulse/index.php?page=2
The file name is: whatpulse-index.php
The MD5 for the file is: da51058facbedf869a194d516a4007c6
Please leave the credit on. If you need help, contact information is found within the file at the top,
Also please note that if the WhatPulse website is down, the checker will not work. This isn't a problem with the script
Enjoy
RE: Whatpulse Stats Checker by RebelSean on 09-01-2004 at 09:30 PM
Nice work JREN207, I have it on my site now! Yall can view it here.
RE: Whatpulse Stats Checker by user27089 on 09-02-2004 at 01:23 PM
It works really well jren, good work, it looks really nice
RE: Whatpulse Stats Checker by jren207 on 09-02-2004 at 02:35 PM
I might make it a little more customizable with colours etc.
e.g.
$tablecolor = "#FF9900";
$descfont = "#4778AA";
and so on...
i'm glad that you like it
RE: Whatpulse Stats Checker by WDZ on 09-02-2004 at 02:39 PM
Uhh... typo...
<?=$avpks?>
RE: Whatpulse Stats Checker by jren207 on 09-02-2004 at 02:40 PM
omg ur right
I must be blind...
I have now uploaded a corrected version. Please replace the other version you had on your site with the new one.
I haven't added the customization features yet..
RE: Whatpulse Stats Checker by WDZ on 09-02-2004 at 02:45 PM
And another thing: all the values are wrapped with spaces, and though it's not a problem for most of them, the URLs turn out dodgy...
<a href="http://whatpulse.org/stats/team.php?tid= 1438 ">http://whatpulse.org/stats/team.php?tid= 1438 </a>
($teamid has spaces in it)
Fortunately, whatpulse.org strips the spaces from tid and still shows the right page.
RE: Whatpulse Stats Checker by jren207 on 09-02-2004 at 02:49 PM
I can't figure out why that happens...
The links work so it isn't a major problem at the moment.
RE: Whatpulse Stats Checker by WDZ on 09-02-2004 at 02:53 PM
Well, the spaces come from the API source, and the parser doesn't remove them for some reason...
You could simply add a trim() in grabVar()...
code: function grabVar($data, $var) {
$tvar = trim($data[$var]);
return ($tvar == "" ? "Information not available" : $tvar);
}
RE: Whatpulse Stats Checker by jren207 on 09-02-2004 at 03:13 PM
it works
I have now uploaded another version. It now eliminates the spaces in URLS
The attachment wont change help.
EDIT: sorry, you just need to refresh the window the code opens in, ur browser has cached the old code if you viewed it before
|