Post: [PHP] Trophy Level Calculator (Soruce)
01-29-2011, 02:55 AM #1
DeLeTeD
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); I coded this randomly over a year ago, it was posted on ngu maybe 8 months ago or so. It can calculate the users level based on the number of trophies inputed. The code itself kind of sucks, however I have no real use for it, so enjoy. Here is the source (no images, if you can code customize to your liking, if not oh well go away)

index.php
You must login or register to view this content.

calculator.php
You must login or register to view this content.




I also have a whole class and set of functions however not sure if anyone would want it. You can create your own psn cards, or do whatever you like with the data.

Preview:

    
$this->psnName = $psnName;
$this->psnURL = 'https://profiles.us.playstation.com/playstation/psn/profiles/'


Not sure as a friend owns a gaming card site, so we will see.
(adsbygoogle = window.adsbygoogle || []).push({});
01-29-2011, 10:08 PM #2
HtD
Dark Knight
How'd u get into the premium section?

The following user thanked HtD for this useful post:

68+1
01-29-2011, 10:09 PM #3
Originally posted by HtD View Post
How'd u get into the premium section?


Lol he didn't a mod probably moved it here. Winky Winky
01-29-2011, 10:10 PM #4
HtD
Dark Knight
Originally posted by Hondarydr View Post
Lol he didn't a mod probably moved it here. Winky Winky


No duh...Its a joke.
01-29-2011, 10:13 PM #5
Originally posted by HtD View Post
No duh...Its a joke.


Damn dude just trying to help out no need to be a smart ass with me.

Also if it was a joke why were you so serious about it in the sb?
01-29-2011, 10:15 PM #6
HtD
Dark Knight
Originally posted by Hondarydr View Post
Damn dude just trying to help out no need to be a smart ass with me.

Also if it was a joke why were you so serious about it in the sb?


/facepalm
I wasnt serious..The other kids in there made it SEEM serious.
01-29-2011, 10:16 PM #7
Originally posted by HtD View Post
/facepalm
I wasnt serious..The other kids in there made it SEEM serious.


Still you didn't have to be such an ass...I'm done here.

To Mods: Why exactly was this moved to premium? Why couldn't it been in general?
02-01-2011, 07:42 PM #8
DeLeTeD
Maggbot timeout!
nope no mod moved it here.

The usage could be turned it into a function and have the username, and totals auto entered.

example

trophy($name, $p, $g, $s, $b);

have it all pass through a post or get request
02-03-2011, 07:41 PM #9
bmxdude9
Million Miles Of Fun!
Pretty nice, is this how Tonic's site and all of that works?
02-08-2011, 01:05 AM #10
DeLeTeD
Maggbot timeout!
The preview of which I showed is how tonics site is. I actually access data a bit differently & cache it. I think my way over his way is a bit better for server resources. The trophy calculator is not a gamer card generator. They are separate scripts. I have known tonic and dos for a while and releasing it would be unfair to there hard work, so I probably won't. Enjoy with what you get.

PS - I do freelancing if you are really interested.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo