Hurricane Electric's IPv6 Tunnel Broker Forums
May 20, 2013, 09:56:13 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Finding out the cert level of someone via a script.  (Read 936 times)
lynxus
Newbie
*
Posts: 21


View Profile
« on: June 09, 2011, 03:28:31 am »

I have a internal page for people here where we display everyones certs on the page using a code like:

<img src="http://ipv6.he.net/certification/create_badge.php?pass_name=lynxus&amp;badge=2" border="0" />

This is great, However they are obviously unordered.

Is it possible to somehow get the cert level for a user? Id like to rank people by their level.
IE: My page talks to a DB to get the names, Then would like to talk to HE.net to get that users cert level.

This would update the local database and display as needed here ( Querying he.net once an hour or so? )

Is this possible?

it would be great if you had a php page that could just return the level?

ie:
level.php?username=lynxus
would return a blank page with the word "sage" ?

Any thoughts?

Thanks guys
Logged
jrocha
Network Engineer, Hurricane Electric
Administrator
Jr. Member
*****
Posts: 66



View Profile WWW
« Reply #1 on: June 09, 2011, 07:18:13 pm »

You can get the score for any user from the scoresheet page: http://ipv6.he.net/certification/scoresheet.php?pass_name=jrocha

Currently you'll have to parse the page yourself, and it will only provide you with the raw score. I'll look into seeing if we can provide the level as well.
Logged
lynxus
Newbie
*
Posts: 21


View Profile
« Reply #2 on: June 15, 2011, 01:22:54 am »

Thanks man, Would be great ( Even if you hid it inside a html comment ? )
Logged
lynxus
Newbie
*
Posts: 21


View Profile
« Reply #3 on: June 17, 2011, 01:24:22 am »

Hi,
I cant seem to locate what points represent what level?

Ie:
< 500 - Newb
> 500 & < 1000 = ??

Etc..

Anyone any ideas?

Thanks
Graham

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!