RepPip??
I thought it was rep power, but it can't be. :P
Printable View
RepPip??
I thought it was rep power, but it can't be. :P
What?
You can use this API for your application, it should provide you with what you need, if it doesn't.. I can add it probably.
I could probably make a way to determine how much rep you have from the number and type of pips.
Rep Pips are the little icons.
As the rep power isn't displayed on the profile ;(
wow this is good ;)
That's the sort of code you'd need to do it. The page is stored in the $content variable. (For the people who wanted a way of doing it). If you want/need to know how to get the information via a username not a user id then I'll explain it in a different thread.PHP Code:<?php
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'http://clubhabboforum.net/login.php?do=login');
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt ($curl, CURLOPT_POSTFIELDS, "Login data which is POSTed when you login. I'd have an example here, but it would include my account information, lol.");curl_setopt($curl, CURLOPT_COOKIEJAR, 'cookie');
curl_setopt($curl, CURLOPT_COOKIEFILE, 'cookie');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec ($curl);
curl_setopt($curl, CURLOPT_URL, 'http://clubhabboforum.net/member.php?u=152');
$content = curl_exec ($curl);
curl_close ($curl);
?>
It works :D
http://www.shanes.sawhosting.com/php...hp?name=--ss--
(Replace --ss-- with someone else)
The next step is now turning it into GD.
Caleb, I think we're killing the server by running this script as the forum seems to be lagging quite alot O.o
I don't think it's us.
This is great.
An aprox. rep ammount could be added through the ammount of blocks, obviously it won't be exact - but you know!
It's not the script, that's basically just a single request to the server, just like you and me browsing.