• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Steam Community OpenID Login

Getting a new error when someone tries to register a new account.

Code:
Fatal error: Call to undefined method XenForo_DataWriter_User::setIdenity() in /home/********/public_html/csgonation/community/library/Dark/SteamLogin/ControllerPublic/Kyouko.php on line 208
 
Getting a new error when someone tries to register a new account.

Code:
Fatal error: Call to undefined method XenForo_DataWriter_User::setIdenity() in /home/********/public_html/csgonation/community/library/Dark/SteamLogin/ControllerPublic/Kyouko.php on line 208

I got this error to, I fixed it by uploading the .php file from the last release and everything seems to be working fine now. I didn't have time to debug the code in the new version so I just re-upped the old one.
 
I was able to get it working on my site.

By changing line 208 in Kyouko.php from this
Code:
$writer->setIdenity('Steam', $id);

to this

Code:
$writer->setCustomFields(array('Steam' => $id), array('Steam'));

I was then able to sign on with a new account.
 
Thanks for the reply, later this morning I'll apply that fix myself. BTW, what version of xenforo are you using, 1.1 beta or 1.0?
 
Here I have found a problem with 1.1b4 (steam is 0.0.2).

You try to login, when Steam redirects to the forum you ask to associate to an existing account, when you press of you get to an empty page with the following URL: http://www.eqnomadi.org/forum/register/steam/register and the user in NOT associated.

Here's the PHP error:
Code:
Fatal error: Call to undefined method XenForo_DataWriter_User::setIdentity() in [fullpath]/forum/library/Dark/SteamLogin/ControllerPublic/Kyouko.php on line 150

Hope this helps
 
Are you using the most recent version of the Steam Login?

That error on line 150 should have been fixed with the 1.1 version in the this post
http://xenforo.com/community/threads/steam-community-openid-login.18958/page-2#post-272492

Once you update that you need to apply the fix I posted above.

http://xenforo.com/community/threads/steam-community-openid-login.18958/page-3#post-278273

Edit: Also make sure your using the 1.1 version of the Steam Idenity
http://xenforo.com/community/threads/steam-identity-service.9819/
 
Anyone else seen this or have an idea on how to fix it?
Code:
Error
Invalid login. Is your Steam profile public?

Users get that after trying to login through Steam. Their profiles are public though and even I have tried and received the same result.
 
More info regarding the above...

The URL contains the following after attempting to login:
Code:
openid.error=realm+and+return_to+do+not+match

If I change openid.realm to $returnTo to match it doesn't give the "Invalid login. Is your Steam profile public?" error, but doesn't log me in either.
 
Not exactly sure what I am doing wrong... I am almost positive I had it installed correctly, suppose not... Anywho, here is what I have:

39ptwN.png


I have it displaying the correct Steam Identity in my Contact Details....

bGfe2z.png


But this is what I always get, nothing else:

QIPRS8.png


Then, if I go to login normally, I get this:

HaBY1M.png
 
Can you fix this ASAP? It also prevents users from logging in using facebook and twitter... i want to be greedy and have three methods.
 
Anyone else seen this or have an idea on how to fix it?
Code:
Error
Invalid login. Is your Steam profile public?

Users get that after trying to login through Steam. Their profiles are public though and even I have tried and received the same result.
We fixed this by changing the following line from:
PHP:
$callbackUri = XenForo_Link::buildPublicLink('canonical:register/steam', false, array(
to:
PHP:
$callbackUri = XenForo_Link::buildPublicLink('full:register/steam', false, array(
 
Help me! FORUM 1.1.2
Code:
ErrorException: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper &quot;https&quot; - did you forget to enable it when you configured PHP? - library/Dark/SteamLogin/ControllerPublic/Kyouko.php:288
 
Help me! FORUM 1.1.2
Code:
ErrorException: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper &quot;https&quot; - did you forget to enable it when you configured PHP? - library/Dark/SteamLogin/ControllerPublic/Kyouko.php:288
Compile PHP with SSL enabled and/or load openssl extension
 
Top Bottom