Go Back   Steam Users' Forums > Steam Discussions > Steam Community Discussion

Reply
Click here to go to the first staff post in this thread.  
Thread Tools Display Modes
Old 03-14-2011, 01:50 PM   #16
jessecar96
 
 
 
Join Date: Apr 2010
Reputation: 49
Posts: 46
Does this still work anymore? When I sign in it doesnt return the steamID64 when I use "echo SteamSignIn::validate();"

I'm a little confused on this. I'm trying to set up a sign in through steam website. if you can help add me on steam. https://steamcommunity.com/id/jessecar96
jessecar96 is offline   Reply With Quote
Old 03-15-2011, 06:04 PM   #17
Chris201092
 
Join Date: Jul 2010
Reputation: 9
Posts: 59
I dont understand...

Can somebody in simple english tell me what this does?

Last edited by Chris201092: 03-15-2011 at 06:06 PM.
Chris201092 is offline   Reply With Quote
Old 03-16-2011, 05:05 AM   #18
Boone
 
 
 
Join Date: Feb 2009
Reputation: 166
Posts: 79
It allows you to use this http://steamcommunity.com/dev on your webpage.

In other words, if you're building a web page and would want people to log in, you can use steam for that. Thats about it, in simple english.

Last edited by Boone: 03-16-2011 at 05:07 AM.
Boone is offline   Reply With Quote
Old 06-27-2011, 04:56 AM   #19
WiKer
 
Join Date: Jan 2009
Reputation: 0
Posts: 78
So how can i use this script?

I write SteamSignIn::genUrl(); after the script and i don`t see no buttons or links.
As i saw at the first post i don`t need to install openid on my site for this to work?
WiKer is offline   Reply With Quote
Old 06-27-2011, 05:17 AM   #20
WiKer
 
Join Date: Jan 2009
Reputation: 0
Posts: 78
hurray,

i think i found how


Quote:
$steam_login_verify = SteamSignIn::validate();
if(!empty($steam_login_verify))
{
echo "success + $steam_login_verify";
}
else
{
$steam_sign_in_url = SteamSignIn::genUrl();
echo "<a href=\"$steam_sign_in_url\"><img src='http://cdn.steamcommunity.com/public/images/signinthroughsteam/sits_large_noborder.png' /></a>";
}
WiKer is offline   Reply With Quote
Old 06-27-2011, 10:55 AM   #21
Method320
 
 
 
Join Date: Aug 2007
Reputation: 236
Posts: 729
I'm OK with php. Not an expert, but I'd love to use this on my Wordpress site, Valve News. Can anyone lend a hand? Ill give you a cookie (rep)
Method320 is offline   Reply With Quote
Old 06-28-2011, 06:49 AM   #22
Obsidian1510
 
Join Date: Jul 2010
Reputation: 6
Posts: 130
Quote:
Originally Posted by MjrNuT View Post
I don't know how to incorporate validating the account. Validating the input is one thing, but after is another. So meaning, if a user inputs a invalid STEAMID value, then response is: Invalid SteamID or No Existing Account.
Like he said, check against the steam XML feed to see if it exists.
If it doesn't, that XML feed should 404 on you.
Obsidian1510 is offline   Reply With Quote
Old 11-26-2011, 07:41 AM   #23
lezvamp
 
Guest
Posts: n/a
THANK YOU

Dude I have been struggling with this for AGES as I'm new to php. I just have to say thank you and I love you =)
  Reply With Quote
Old 11-26-2011, 07:44 AM   #24
lezvamp
 
Guest
Posts: n/a
And Wiker all you need to do for the button itself is put <?php echo SteamSignIn::genUrl(); ?> in the a href="" link which would be around the image ... Though you probably figured that out =P
  Reply With Quote
Old 02-20-2012, 06:00 AM   #25
Thebuilderdd
 
 
 
Join Date: Feb 2012
Reputation: 0
Posts: 10
I am using OpenID, and if you COULD connect Steam, what would the Trusted Site be?
Thebuilderdd is offline   Reply With Quote
Old 07-02-2012, 04:45 AM   #26
beonard6
 
 
 
Join Date: Aug 2010
Reputation: 7
Posts: 28
this method is perfect! thanks!
I've tried other versions, but they won't work (throws some errors like OHMYGODTHISISNOTOPENIDPROVIDER) or requires Perl.
beonard6 is offline   Reply With Quote
Old 07-02-2012, 07:03 AM   #27
privatebob4
 
 
 
Join Date: Dec 2011
Reputation: 0
Posts: 38
Hello Syntax_Error! I'd love to talk to you about this, would it be possible that I can get your steam username/email/preferred contact preference?
privatebob4 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Discussions > Steam Community Discussion


Thread Tools
Display Modes

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 Off
HTML code is Off



All times are GMT -7. The time now is 02:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.