Raised This Month: $51 Target: $400
 12% 

Convert STEAMID to Steam Community ID


Post New Thread Reply   
 
Thread Tools Display Modes
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-25-2009 , 11:13   Re: Convert STEAMID to Steam Community ID
Reply With Quote #201

Quote:
Originally Posted by 8088 View Post
Yes, you can. You can get the friendids/'steamID64' from http://steamcommunity.com/groups/Valve/members (and every subpage) of the ones that don't use a custom URL, but you will have to 'visit' every member page of the ones that do use a custom URL.
Why not just use the xml page and parse that? It would be so much easier:

http://steamcommunity.com/groups/Val...listxml/?xml=1
bl4nk is offline
8088
Veteran Member
Join Date: Jan 2008
Old 08-25-2009 , 11:28   Re: Convert STEAMID to Steam Community ID
Reply With Quote #202

Because I wasn't aware of the existence of memberslistxml. Of course I checked if members?xml=1 would show any XML, but it didn't. By the way, when using memberslistxml, appending /?xml=1 isn't necessary.

Thanks for the tip, makes it a lot easier indeed. And much faster.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
james12
New Member
Join Date: Sep 2009
Old 09-07-2009 , 23:55   Re: Convert STEAMID to Steam Community ID
Reply With Quote #203

Can You guys share this with us? =D!

http://www.noobsticks.com/members/8088/
james12 is offline
8088
Veteran Member
Join Date: Jan 2008
Old 09-08-2009 , 00:16   Re: Convert STEAMID to Steam Community ID
Reply With Quote #204

I already did, more or less.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
james12
New Member
Join Date: Sep 2009
Old 09-08-2009 , 00:33   Re: Convert STEAMID to Steam Community ID
Reply With Quote #205

No not Steam2friends, the Big Module NoobSticks is using =D That Would be Epic!
james12 is offline
8088
Veteran Member
Join Date: Jan 2008
Old 09-08-2009 , 00:37   Re: Convert STEAMID to Steam Community ID
Reply With Quote #206

I'm not sure what you're referring to. If you mean the HTML and CSS, you can apply your own style to what I posted before. I left mine out on purpose.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
james12
New Member
Join Date: Sep 2009
Old 09-08-2009 , 19:31   Re: Convert STEAMID to Steam Community ID
Reply With Quote #207

This is what im talking about =D
Attached Thumbnails
Click image for larger version

Name:	Steam-Module.jpg
Views:	572
Size:	13.6 KB
ID:	49334  
james12 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 09-09-2009 , 04:17   Re: Convert STEAMID to Steam Community ID
Reply With Quote #208

That is the Steam2Friends module 8088 is referring to. He wrote it and he released it.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 09-12-2009 , 04:47   Re: Convert STEAMID to Steam Community ID
Reply With Quote #209

Quote:
Originally Posted by 8088 View Post
Since I've received several requests for a vBulletin plugin, I decided to provide one which covers the basics and can be modified at will. I'll leave modification, optimization and styling to you. As stated before, KoST wrote most of the code, all props to him. I just turned it into a poor vB plugin (one of my few skills is pressing Ctrl+C followed by Ctrl+V).

As for optimization, grabbing the XML (add ?xml=1 to a Friend's page - example) instead of parsing complete HTML pages might speed up things. Also, not loading the Steam2Friends part with javascript until the complete page has loaded could increase the user/visitor friendliness. To enable memcached support, open steam_function.php and follow the instructions.

As for styling, you could have a look at the original Steam Community pages for inspiration, or create your own style. To create a style of your liking, you can simply use CSS and (X)HTML. See the attached .xml file for the basic XHTML.

Here are the instructions for this basic plugin :
  1. create a subfolder named 'steamtools' in the folder where your forum (index.php) resides
  2. create a subfolder in 'steamtools' named 'icons'
  3. make 'icons' writable for the webserver (chmod to 755)
  4. open steam_function.php in a plain text editor like notepad, and replace the paths in lines 58 and 62 accordingly. Note that these paths need to be absolute and not relative!
  5. upload steam_function.php to 'steamtools'
  6. create a sinlge-line text box custom profile field named 'Steam ID' (note this is case sensitive, if you want to change this, change the occurring instances in the .xml and .php files as well)
  7. create a single-selection radio buttons custom profile field named 'Steam Community' with these two values : 'Yes, make the links visible' and 'No, hide the links' (note this is all case sensitive, if you want to change this, change the occurring instances in the .xml and .php files as well)
  8. import product-steam2friends.xml in the admin panel

Oh, it's only been tested on vBulletin 3.7.x. It may or may not work on other versions.
Any way this script can be changed to be used on a standalone page instead of vB? I'm thinking of using it as a forum/bb signature. Of course this isnt directly related to the steamid -> steam profile conversion but from the screenshot, it looks quite neat. There are alternatives like steamcard.com but it doesnt really get your in-game status and I'd also like to host it myself.

edit: nvm I found this: http://forums.alliedmods.net/showthread.php?t=81047

Last edited by anon666; 09-12-2009 at 05:20.
anon666 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-12-2009 , 06:10   Re: Convert STEAMID to Steam Community ID
Reply With Quote #210

Did I do something wrong when I installed it, all I get is extra info in my contact area.
Attached Thumbnails
Click image for larger version

Name:	Top Notch Clan - View Profile- DontWannaName_1252750166148.jpg
Views:	554
Size:	86.1 KB
ID:	49587  
__________________

DontWannaName is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode