Steam Authentication & Integration

Steam Authentication & Integration 1.6.3

No permission to download
I would try this on a test board if you can, but here's my dev test of it back in September running XenForo 1.4.1. It's been working and the test user has never been demoted since:

Promotion Options:
IMG

Apply This Promotion While...
IMG

Promotion history as proof:
IMG

I can manually run the cron and everything works, the user is offline and doesn't get demoted. I even removed the add this user to registered users checkbox, saved it, and manually ran the cron again. Still works, no demotions.

I also rebuilt the User Group promotions and manually ran the cron again. My test user is still apart of the "Steam Yay!" group as well as the registered group.

OK, thks for your help :)
I'll try to check this behavior on my test board too.
And thank you for your support on the other thread :)


I also rebuilt the User Group promotions and manually ran the cron again. My test user is still apart of the "Steam Yay!" group as well as the registered group.
If you let the cron running by itself, w/o any click from ACP ?
It appears on my board that this strange behavior is only running during cron, but not during cache rebuild nor cron task manually...
 
Last edited:
Okay update about that server error.

Just had 5 Server Errors like that caused by the same Steam ID; that seems to be if the person is unable to register with steam, tries again and again, it will only end up on more Server Errors. o_O
 
Hello everyone, so I wanted to clarify the issue. TacTicToe's webhost had APC on and it was causing problems with XenForo.
I am getting the "Lost Steam ID" error when a user clicks 'Associate Account' after having signed into Steam.

I checked with my host and they said APC isn't on - is there any other reason why I could be getting the error?

No Server Error Logs.
 
OK, thks for your help :)
I'll try to check this behavior on my test board too.
And thank you for your support on the other thread :)



If you let the cron running by itself, w/o any click from ACP ?
It appears on my board that this strange behavior is only running during cron, but not during cache rebuild nor cron task manually...

Both letting it run on its own and manually running it. As well as re-building cache. My test user remains in the Steam Group. Just checked it right now and it's still in it.

Okay update about that server error.

Just had 5 Server Errors like that caused by the same Steam ID; that seems to be if the person is unable to register with steam, tries again and again, it will only end up on more Server Errors. o_O

I wonder if the user's browser is doing something weird or the user is using some sort of proxy. I can't replicate the issue and it sounds like it works for you as well when you try to register. I can look into OpenID a bit more to see if I can find out what's happening, but I wish I could see what they are doing to make it fail. That would give me more insight into the problem.

I am getting the "Lost Steam ID" error when a user clicks 'Associate Account' after having signed into Steam.

I checked with my host and they said APC isn't on - is there any other reason why I could be getting the error?

No Server Error Logs.

Well, your version of PHP is currently end of life. It could be suhosin's php settings causing issues with your XenForo install.

Unfortunately, it seems that you're on a shared host, so your best bet is to talk to support and see what they can do for you, but when you get that error it's a webserver configuration issue. I would do a Google search about your shared host and see if anybody else is having problems with XenForo.
 
Both letting it run on its own and manually running it. As well as re-building cache. My test user remains in the Steam Group. Just checked it right now and it's still in it.
As you suggested, I add another group (registered) in the benefits of the promotion. Members who match the criteria (steam associated) are yoyo-ing between the "steam yay" group and no group. Members who don't belong to the registered group (in primary group, as moderators for example on my board) are also yoyo-ing between no groups and "steam yay" + "registered" in secondary groups.

So, no improvement...


edit : just to know, you tested with 1.4.1, but what about your next tests on 1.4.2 XF version ?
 
Last edited:
Well, your version of PHP is currently end of life. It could be suhosin's php settings causing issues with your XenForo install.

Unfortunately, it seems that you're on a shared host, so your best bet is to talk to support and see what they can do for you, but when you get that error it's a webserver configuration issue. I would do a Google search about your shared host and see if anybody else is having problems with XenForo.

I've tried turning shuosin off and increasing the setting values, but to no avail. Is there any chance you could send me your php.ini settings? (<? phpinfo(); ?>)

The weird thing is that this worked off-the-bat, but after a few people associated their account, it just stopped working randomly.

Edit: After having said that, I disabled the "TaigaChat (Free)" xenforo addon (displays on sidebar, on all pages) and it works fine now. I'll have to see why it's interfering.

Edit: Not sure why, I simply stopped showing the addon for the 'register_steam' template page and it's working fine.

Thank you!
 
Last edited:
Hi there

I tried to deactivate all my addons (except Steam* of course :)) but no change..
I'm really desesperate...

Any other idea ?
Is it possible it's caused by a database corruption ?

Edit : I tried on another xf board I own, no more success ! Same behavior... Yoyo

Is your plugin fully compilant? 1.4.2 xf version both.

Enjoy
 
Last edited:
hi have error codes
Code:
ErrorException: copy(/www/htdocs/w01263e7/ligev.de/internal_data/image_cache/1/1098-6528bf32ca2c53fbcc455dbfd0558e08.data): failed to open stream: Permission denied - library/XenForo/Helper/File.php:253
Generiert durch: Unbekanntes Benutzerkonto, Vor 8 Minuten
Stapelverfolgung
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/www/htdoc...', '/www/htdocs/w01...', 253, Array)
#1 /www/htdocs/w01263e7/ligev.de/library/XenForo/Helper/File.php(253): copy('/www/htdocs/w01...', '/www/htdocs/w01...')
#2 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(320): XenForo_Helper_File::safeRename('/www/htdocs/w01...', '/www/htdocs/w01...')
#3 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(115): XenForo_Model_ImageProxy->_fetchAndCacheImage('http://media.st...', Array)
#4 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(26): XenForo_Model_ImageProxy->refreshImageIfRequired(Array)
#5 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(197): XenForo_Model_ImageProxy->getImage('http://media.st...')
#6 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(129): XenForo_ProxyOutput->_outputImage(false)
#7 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(345): XenForo_ProxyOutput->output()
#8 /www/htdocs/w01263e7/ligev.de/proxy.php(12): XenForo_ProxyOutput::run()
#9 {main}
Benötigter Status
array(3) {
  ["url"] => string(207) "https://www.ligev.de/proxy.php?image=http%3A%2F%2Fmedia.steampowered.com%2Fsteamcommunity%2Fpublic%2Fimages%2Favatars%2F49%2F4978949cde16178fcd8efd2a7bea30b2dc57ef65.jpg&hash=cb9cb85c8467296db6ab5d9c26b624b7"
  ["_GET"] => array(2) {
    ["image"] => string(114) "http://media.steampowered.com/steamcommunity/public/images/avatars/49/4978949cde16178fcd8efd2a7bea30b2dc57ef65.jpg"
    ["hash"] => string(32) "cb9cb85c8467296db6ab5d9c26b624b7"
  }
  ["_POST"] => array(0) {
  }
}
 
hi have error codes
Code:
ErrorException: copy(/www/htdocs/w01263e7/ligev.de/internal_data/image_cache/1/1098-6528bf32ca2c53fbcc455dbfd0558e08.data): failed to open stream: Permission denied - library/XenForo/Helper/File.php:253
Generiert durch: Unbekanntes Benutzerkonto, Vor 8 Minuten
Stapelverfolgung
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/www/htdoc...', '/www/htdocs/w01...', 253, Array)
#1 /www/htdocs/w01263e7/ligev.de/library/XenForo/Helper/File.php(253): copy('/www/htdocs/w01...', '/www/htdocs/w01...')
#2 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(320): XenForo_Helper_File::safeRename('/www/htdocs/w01...', '/www/htdocs/w01...')
#3 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(115): XenForo_Model_ImageProxy->_fetchAndCacheImage('http://media.st...', Array)
#4 /www/htdocs/w01263e7/ligev.de/library/XenForo/Model/ImageProxy.php(26): XenForo_Model_ImageProxy->refreshImageIfRequired(Array)
#5 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(197): XenForo_Model_ImageProxy->getImage('http://media.st...')
#6 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(129): XenForo_ProxyOutput->_outputImage(false)
#7 /www/htdocs/w01263e7/ligev.de/library/XenForo/ProxyOutput.php(345): XenForo_ProxyOutput->output()
#8 /www/htdocs/w01263e7/ligev.de/proxy.php(12): XenForo_ProxyOutput::run()
#9 {main}
Benötigter Status
array(3) {
  ["url"] => string(207) "https://www.ligev.de/proxy.php?image=http%3A%2F%2Fmedia.steampowered.com%2Fsteamcommunity%2Fpublic%2Fimages%2Favatars%2F49%2F4978949cde16178fcd8efd2a7bea30b2dc57ef65.jpg&hash=cb9cb85c8467296db6ab5d9c26b624b7"
  ["_GET"] => array(2) {
    ["image"] => string(114) "http://media.steampowered.com/steamcommunity/public/images/avatars/49/4978949cde16178fcd8efd2a7bea30b2dc57ef65.jpg"
    ["hash"] => string(32) "cb9cb85c8467296db6ab5d9c26b624b7"
  }
  ["_POST"] => array(0) {
  }
}
this error has fixed , it was not a problem from the addon! i dont have in the internal_data/image_cache not the chmod 777 ... now its go ^^
 
When trying to register using "login with steam" after i sign in with steam it takes me to the register page on my site and autofills the uesrname with the steam name.
After i fill in the rest (email, pass, age, gender) and click submit, i get the following error: Please enter a value for the required field 'username'.
 
Hi there

I tried to deactivate all my addons (except Steam* of course :)) but no change..
I'm really desesperate...

Any other idea ?
Is it possible it's caused by a database corruption ?

Edit : I tried on another xf board I own, no more success ! Same behavior... Yoyo

Is your plugin fully compilant? 1.4.2 xf version both.

Enjoy

I've tested it on the latest version without issue.

View attachment 88910

How can I move this to the bottom of the user details container?

You can alter message_user_info in template modifications under SteamAuth. I'm not sure how your other addons are placing their content, but I have steam auth set to place Steam Profile right after the message_user_info_text hook.

If you want it to go where you're asking, try to replace

Find:
Code:
<xen:if hascontent="true">
        <div class="extraUserInfo">

with the following
Find:

Code:
        </div>
    </xen:if>
      
</xen:if>

Not sure if it'll work, but I might do what you're looking to do.

When trying to register using "login with steam" after i sign in with steam it takes me to the register page on my site and autofills the uesrname with the steam name.
After i fill in the rest (email, pass, age, gender) and click submit, i get the following error: Please enter a value for the required field 'username'.

  • Do you get any server error messages?
  • Do normal registrations work?
  • Does your username have any special characters?
  • What version of XenForo are you using, what version of the addon are your using?
 
I hope you can help, (amazing plugin btw) I made sure Display Steam login bar on vistor panel is enabled in the options yet its not showing up under sign up now button. Any ideas?

http://fialaandinvert.com

Thanks
 
Last edited:
Any examples of this working? The website in your description @HowIChrgeLazer - http://ragecagegaming.com/ - does not exist.

I have installed it on AVForums and I associated my account ok.
The Steam page CSS looks screwed up, though.

View attachment 90697
On us this addon works mostly, but everyday i have server errors, i have around 50 steam registrations per day on my forum, something wrong with malformed urls as the developer says. Side of that is working!
 
Is it possible to change the sign in though steam button to its bigger brother:

sits_large_noborder.png


I've tried replacing it in the /styles/default/steamauth/ dir and it didn't matter if I replaced or completely removed it, it was still there. Even flushed all my cache and different computer that I've never looked at my site before.

Thanks for the awesome plugin btw!
 
@HowIChrgeLazer I have installed this on AVForums and there are three issues which I hope you will address, please. One is minor, two are not and break the addon.
The minor one is that your footer template modification relies on the presence of
Code:
<ul class="footerLinks">
which doesn't exist in our footer. It means the css and js includes fail. I manually added them, but you might want to use an alternative method of getting this done.

The first major issue is that the cron fails because our server is set up with sensibly tight security.
In your code you have
Code:
//Check for cURL. If it can be used, use it!
        if((function_exists('curl_version')) && !ini_get('safe_mode') && !ini_get('open_basedir'))
This fails because open_basedir is enabled.
And allow_url_fopen=0 so the cron crashes.

Our host (Tim at Nimbus) *strongly* advises against allowing allow_url_fopen=1 and allowing open_basedir.
May I request that you reconsider your checks, here? Why do you need !ini_get('open_basedir') ?

The second major issue is that your addon does not cater for sites with a secure socket layer configured. I.e. all calls for external resources must have https.
This is going to be an issue for you on more and more sites as Google has indicated that it favours secure sites and more people use them.
For example, in the external account association page you bring in the Steam Avatar using http rather than https.
If you look in the Xenforo code for bringing in the Gravatar, you will see how they do it.
Please consider fixing these issues to make your addon as great as it could be.
Thanks.
 
Last edited:
Top Bottom