Quote:
Originally Posted by CoZmicShReddeR
First off Steam Card is horrible... I hate how it requires all lower case and names not numbers... Ideally we would want something where user adds their Steam account to the website and the website draws a custom card much like the mini card.
I was looking at your info was just wondering if the fictional name was supposed to be the same as the output name? Like vb:raw steamid_mycard was wondering why isn't the name reflective of the steamid_facard name??
|
Yeah, I've heard a lot of bad things about Steam Card but I don't know enough about coding to put something custom together. Ideally we would just connect directly to Steam's API if possible and draw a custom card as you suggested. There is a mod that allows you to use the Steam OpenID or w/e it's called to login with your Steam account but I don't know how to work off of that.
Regarding the difference between facard and mycard it was just a copy/paste issue. When I first started a made a plugin that only loaded the currently logged in user, hence the mycard. Then I switched to facard for "free agent card". All of the code in the plugin itself is now facard.
All I need is to get the userid for the agent's page. With my limited experience the only way I know to proceed at the moment is to grab the agent number from the URL and try to use that to find the userid from the database but I'm sure there must be an easier way.