Steam Authentication & Integration

Steam Authentication & Integration 1.6.3

No permission to download
Disabled all the other addons. Same thing.
I use no proxy.

What about my webserver could cause this? What should I look for?
 
When you get POST errors, You're getting from this:
$this->_assertPostOnly();

It's checking if your request was a POST request from the headers, which for some reason it wasn't.

When you get the lost SteamID error it was dealing with this:
$session = XenForo_Application::get('session');

For some reason it wasn't able to get your XenForo session information. That's where it stores your steam id when using the addon to register or login.

It could be a permission issue on your host with sessions, or something is messing with the headers on your cURL or file_get_contents call. I can't replicate it on my dev install.

Honestly I'm not sure what's exactly causing it, but I highly doubt it's the addon itself.
 
These are the only errors logged by Xenforo.

http://www.thekillingcrew.com/errors.jpg

I have enabled error reporting, and tried it again. Nothing in the error logs in my root folder either.

So this is what happens. If I try to create a new account with Steam, it send me to the Steam page, I sign it, go back to my forums and get the "Lost Steam ID" error.

I then click the Sign Up with Steam again, go thru the whole process, comes back with the POST error. However, I am logged in with that account. It is very strange.

Can you try to create an account and see what happens?

Added the info script if you want to see what is running.

http://www.thekillingcrew.com/info.php
 
Last edited:
Hello, how can I fix this problem. I just want to put nickname under profile picture. I tried to find it in templates, but got nothing

45d11c812b11.jpg
 
Issue User can't connect Steam Account when he has registered with Google Account
A user has registered in my forum by Google Account. Then he wants to connect Steam Account but he can't, because it request an xf account password, but he doesn't have one. He told me he tried it to submit even with empty password field but also then it shows "password needed". But another user said on him with google account it worked when he left password field empty. So i'm not sure if this is a user failure or an issue of steam addon.
 
One other thing, the trophy i setup for "associated" steam is not working, i even run the cron, it's just not awarded. :(
This using a steam account i un-linked from my main account on a test account. I have other users you also mention this, it did before, it isn't doing it anymore.
 
Has this addon been tested with XF 1.4? I am looking at updating my installation of XF to 1.4 and want to make sure it works.

I have not tested it yet, but I can do so tonight on my dev box. I don't think much has changed in terms to external accounts, but I'll have to look if things don't work properly.

One other thing, the trophy i setup for "associated" steam is not working, i even run the cron, it's just not awarded. :(
This using a steam account i un-linked from my main account on a test account. I have other users you also mention this, it did before, it isn't doing it anymore.

See if this helps you:
https://xenforo.com/community/threads/steam-authentication-integration.42694/page-32#post-726279
 
Hello, how can I fix this problem. I just want to put nickname under profile picture. I tried to find it in templates, but got nothing

45d11c812b11.jpg

That's part of the template modifications. You could try adding a <br/> or something to this line in the account_external_accounts template modification for steam. I don't recommend editing it that way, but it's possible. You need to have dev mode enabled.

Example:
Code:
<a href="http://steamcommunity.com/profiles/{$external.steam.provider_key}" class="avatar NoOverlay"><img src="{$stUser.icon}" alt="" /></a><br/>

Issue User can't connect Steam Account when he has registered with Google Account
A user has registered in my forum by Google Account. Then he wants to connect Steam Account but he can't, because it request an xf account password, but he doesn't have one. He told me he tried it to submit even with empty password field but also then it shows "password needed". But another user said on him with google account it worked when he left password field empty. So i'm not sure if this is a user failure or an issue of steam addon.

Does this happen if he tries to add the steam account when he's already logged in? (ie. Goes to External Accounts in his User CP and then tries to associate to Steam). If I recall correctly, it only asks for a password if you're signing in through steam when not logged in.

Hi, how can I make steam banner in signature instead extra user info?

View attachment 82396

I think I laid out the code before earlier in this thread, see if this helps you:

https://xenforo.com/community/threads/steam-authentication-integration.42694/page-4#post-464119

You could probably create a template modification for it now as we're not reliant on hooks any longer. I'll look into adding it as a feature for an upcoming version.

Has this addon been tested with XF 1.4? I am looking at updating my installation of XF to 1.4 and want to make sure it works.

So I just tested the addon on XenForo 1.4. It looks like everything is accounted for and works. All the template hooks are apply correctly on the default template and I was able to associate my account correctly. Now this is a small scale test, but at least everything looks good. Steam Stats is also still working as well.
 
Heya @HowIChrgeLazer
Isn't it supposed to display this External Account on user admin Extra Tab? At least with me it doesn't.

I'm sorry, where are you looking for it? I'm not exactly sure what you mean by user admin extra tab. I do know Steam Integration shows up in External Accounts just fine for the User CP. Is that what you are referring to?
 
I'm sorry, where are you looking for it? I'm not exactly sure what you mean by user admin extra tab. I do know Steam Integration shows up in External Accounts just fine for the User CP. Is that what you are referring to?
When you edit one user, you now have "Extra Tab" that displays Upgrades and External Accounts of the user. ;)

Also my style creator is finding odd what's happening with Steam banners do not display in anyway or form on his style, i have this feeling something gone wrong on a X update of this addon, or even Xenforo that is not fixed on re-install because this addon does not makes a complete uninstall on database/templates/files side.
EDIT: It's fixed now style footer modified on this wasn't letting it load the scripts.
 
Last edited:
hey guys, anyone know how to convert the provider key in xf_user_external_auth database to steam id format?

I'm trying to get this to work with a plugin from sourcemod that queries the xf_user_external_auth database to get the steam id.

This is the query script from the sourcemod plugin, can anyone help me figure this out? I'll be willing to pay a couple bucks as a token of gratitude if someone can do it for me...

Code:
    FormatEx(sQuery, sizeof(sQuery), "\
    SELECT CONCAT('STEAM_0:', provider_key & 1, ':', (provider_key & 0xFFFFFFFF) >> 1), u.username, u.user_group_id, u.secondary_group_ids \
    FROM xf_user_external_auth AS ufv \
    LEFT JOIN xf_user AS u ON (u.user_id = ufv.user_id) \
    WHERE ufv.provider = '737465616d' \
    AND NOT ufv.provider_key = '';");
 
Top Bottom