There is a site on livestreet.
There are records in each entry extra field - price (RUB. of the type xxx, or yyy usd)
There are third-party php script that counts the total value of all records. That is, makes a request to the database and summarizes the value of all fields "price".
Also, if you enter the user id, the script can show the value of records of a specific user.
The source code of the script:
How to get this script to work on livestreet? And how to register a function to automatic on the page of the user opredelila his id and correspondingly, the output would be the total cost of his records.
Please tell me.