Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Steam Connect - Sign in with your Steam Account! [RC3] Details »»
Steam Connect - Sign in with your Steam Account! [RC3]
Version: 1.4.5, by Disasterpiece Disasterpiece is offline
Developer Last Online: Oct 2019 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.2.x Rating:
Released: 07-14-2011 Last Update: 11-06-2012 Installs: 239
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Steam Connect



INFO


-- Steam Connect Addon for vBulletin 4.2.x;
Development Platform := vBulletin 4.1.3 - 4.2.0, Debian Linux, PHP5, MySQL5, apache2;

Dependencies := lib cUrl (PHP), openid (included);

Author := Andreas "Radon" Rudolph, Disasterpiece;

Contact := radon@purgatory-labs.de, https://vborg.vbsupport.ru/member.php?u=198844

Homepage := http://purgatory-labs.de


WHAT YOU SHOULD KNOW BEFORE INSTALLING

This addon is Unsupported as of 2015 until further notice. I have not enough time or interest in vbulletin to keep this alive.

This addon provides a framework for future extensions which make use of the Steam API.
It helps to determine the SteamID of an user. Unless older methods of inserting the steam
id into a user field, the addon lets the user authenticate with Steam OpenID, therefore
you can trust 100%, that this particular user is the same user as the Steam-ID provided.

Users can link their Steam ID to their forum account or they can create a new account
using details pulled from their Steam Profile.
Like the Facebook connect plugin, it allows users to quickly set up a forum account without
having to define a password or an email address. This option can be disabled in the AdminCP,
however it is encouraged to allow users to use this quick-register feature, since they
already authenticated themselves through steam, so any additional password or email
authentication is just unnecessary.

If the user decides to un-link his forum account with his steam-profile, he has to set up
a password and email first, so the forum account remains usable after this.

At the moment, the addon is in its second RC state, which means that the current versions contain mostly bugfixes and are candidates for a full release.
Until now, the product worked without major problems in productive environments.
Although it is stable as is, the author doesn't provide any guarantee.
Due to the nature of the addon and how vBulletin manages 3rd party code inclusion, additional
login and register methods have been provided by the plugin. It is discouraged to use the
plugin on high profile communities in this early development state.

If you have any further questions, feel free to post in this thread.


F.A.Q. / General Issues / Error Messages

"There has been a problem with the OpenID libary: No OpenID Server found at http://steamcommunity.com/openid"
- Additionally, a 503 HTTP error is thrown. Simple solution: Wait. Steam Community servers are overloaded/down right now, there's nothing you can do about it

Do NOT uninstall the mod if you want to keep the linked users records. Upgrading means uploading the new product xml file for the new version and choose "overwrite" in the upload dialog.
The Installer will handle the update process by its own. Uninstalling the product will erase all the table fields which contain the steam link data.



STEAM CONNECT ADDONS

- Steam Mini Profiles


INSTALL HOWTO

Download Now

File Type: zip product_steamconnect_1_4_2rc2.zip (65.1 KB, 424 views)
File Type: zip product-steamconnect_1_4_4rc3.zip (68.8 KB, 107 views)
File Type: zip product-steamconnect_1_4_5rc3.zip (71.1 KB, 1401 views)

Screenshots

File Type: jpg scr1.JPG (145.1 KB, 0 views)
File Type: jpg scr2.JPG (78.3 KB, 0 views)
File Type: jpg scr3.JPG (65.2 KB, 0 views)
File Type: jpg scr4.JPG (103.9 KB, 0 views)
File Type: jpg scr5.JPG (81.6 KB, 0 views)
File Type: jpg stc_steamicon.JPG (11.4 KB, 0 views)
File Type: jpg stc_adminoption.JPG (75.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
Anbieter, bounty7565, dark alex, Dinnoosaur, mohammadxxx, Popa Andrei, ukhostz

Comments
  #202  
Old 03-10-2012, 07:47 AM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the following error:
Code:
Database error in vBulletin 4.1.11:

Invalid SQL:
ALTER TABLE `user` ADD `steam_link` VARCHAR( 128 ) NOT NULL ;;

MySQL Error   : Duplicate column name 'steam_link'
How would I fix this? Delete the column that already exists?
Reply With Quote
  #203  
Old 03-11-2012, 02:00 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joshskeety View Post
I can report that I receive the error

"Empty or invalid Steam ID transfered!" as well when trying to link the accounts. Here is what is generated in the log file:

Code:
[22:44, 8th Mar 2012] While transferring login process, the cached steam softlink seems to have vanished. Here's what we have:
[22:44, 8th Mar 2012] Array
(
    [51814c9c38be3da806fbacbe8267c9b7] => 76561198038410008
    [81bec68a9392a62de9963c4a0e43a546] => 76561198038410008
    [2cf580ab9d6b9afa65f0a84813fe7017] => 76561198045049347
    [cf2016a3fc0da59edaf7b8a33251628c] => 76561198045049347
    [e40f383a9e3053fb0688aaffaeafad5c] => 76561198038410008
    [5d4ed14e9738d8bb8b9591e2f190d766] => 76561198038410008
    [ede4133f444d574cb030126dae216614] => 76561198038410008
    [0879eed6a816bf46723639e75600cce7] => 76561198045049347
    [30d9bb09adcb6568767d396bebe3b0d3] => 76561198045049347
    [d71add05d151e77cb07d88dfaa271bdb] => 76561198045049347
    [dc738c27cebef09fb0e23c290f87a72c] => 76561198038410008
    [19619a6eca30f9acd8604763d9b36ffe] => 76561198038410008
)

[22:44, 8th Mar 2012] ---
Another thing I notice, is that if I simply register an account with quick register, it works but when I log in I return to the forum and I do not appear to be logged in at all.
The only ways when the softlink transfer may fail is if
a) the session id changes between clicking the "sign in through steam" button and the completion of the steam community sign-in. Which may happen once in a while but reproducable?
b) the datastore somehow doesn't save the softlink or can't fully retrieve all the data.

b is more likely but may be the case if you use non-standard mods or methods which interfere with the datastore.
Maybe you use memcached or xcache to speed-up the datastore? Is this the case?
Or do you use multiple master-master or master-slave database setups?


To explain a bit what causes this and how the process works:
if the user wants to register, he first gets directed to the steamcommunity to prove his steamid.
To avoid that the user changes the steamid in the last register step, the steamid is saved server-side as a softlink in the datastore, so we can set the user's steamid to the id which was retrieved through the steam openid-api in the first step.
It must be somehow related with vbulletin, as the script works on most other forums and configurations. But for me to help you I need to know what different settings/mods/whatever you use to a vanilla vb4/apache2/php setup.
Reply With Quote
  #204  
Old 03-12-2012, 03:18 AM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem fixed. The person who setup the forum commented out the setting for caching method (Meaning datastore was also disabled).

So if anyone runs in to this issue, check that.
Reply With Quote
  #205  
Old 03-14-2012, 01:03 PM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So right now this is what I have in my postbit_legacy:

PHP Code:
<img src="{vb:raw post.steamavatarmedium}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> 
However I notice the avatars will every once in a while display and then disappear and I'll be left with the alt text instead.
Reply With Quote
  #206  
Old 03-15-2012, 10:38 PM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question...

1. Will you be added SteamID connect to registration and the option to add it to a userfield

2. Will you allow users to use their Steam avatar as their forum avatar?
Reply With Quote
  #207  
Old 03-16-2012, 12:08 AM
MadMakz MadMakz is offline
 
Join Date: Apr 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joshskeety View Post
So right now this is what I have in my postbit_legacy:

PHP Code:
<img src="{vb:raw post.steamavatarmedium}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> 
However I notice the avatars will every once in a while display and then disappear and I'll be left with the alt text instead.
Appears that you have the same issue as mentioned by me here?
Reply With Quote
  #208  
Old 03-16-2012, 05:05 AM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MadMakz View Post
Appears that you have the same issue as mentioned by me here?
Appears so. I also get each avatar displayed fine by looking at their details page.
Reply With Quote
  #209  
Old 03-22-2012, 11:04 AM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No solutions or possible ideas on why Avatars will show randomly or with certain users and not display with other users who are linked?
Reply With Quote
  #210  
Old 03-22-2012, 11:17 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hm not really. The url should be correct but if the avatar just doesn't show up then somehow steam must be the cause.

In the next version which should be released somewhen around april-june there will be an optional caching for those steam avatars which should solve the problem.
Reply With Quote
  #211  
Old 03-22-2012, 01:05 PM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
hm not really. The url should be correct but if the avatar just doesn't show up then somehow steam must be the cause.

In the next version which should be released somewhen around april-june there will be an optional caching for those steam avatars which should solve the problem.
Thanks man.
Reply With Quote
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. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09702 seconds
  • Memory Usage 2,370KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete