Closed keitharm closed 10 years ago
If you continue work with your signature generating script, you can now reference the getUserInfo() function that is found in functions.php.
It accepts a username as a parameter and will return a PDO Object that looks something like this.
stdClass Object ( [id] => 4370 [username] => TheMaster [score] => 40.78 [posts] => 853 [reputation] => 59 [joindate] => 1274673600 [ppd] => 0.69 [url] => http://webdevrefinery.com/forums/user/4395-themaster/ [avatar] => http://i2.wp.com/webdevrefinery.com/forums/public/style_images/Cielo/profile/default_large.png )
Done!
If you continue work with your signature generating script, you can now reference the getUserInfo() function that is found in functions.php.
It accepts a username as a parameter and will return a PDO Object that looks something like this.