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
  #492  
Old 01-03-2015, 03:09 PM
mikez006 mikez006 is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ran into a problem with usergroups.

Primary usergroup for all new members (including Steam Connect) is: usergroup1
Steam Connect users are added to a secondary usergroup: Steam Users

We have multiple membership plans which move members to different primary usergroups.

If a "Steam" user upgrades their account, their primary usergroup is changed. However when the Steam Connect cache time expires, it reacquires their Steam info, but then changes their primary usergroup back to the default usergroup (usergroup1).

Increasing cache time to a very large number will solve this, but then their info will never update.

Is there a way that the primary usergroup change can be disabled after the Steam users registers for the first time?

Update: I doesn't appear to be the cache time. I set it for 90 days, but members are still being removed from their upgraded usergroups and are being move back to the default usergroup1.

Any ideas?
Reply With Quote
  #493  
Old 01-05-2015, 01:56 PM
Grouper Grouper is offline
 
Join Date: Sep 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your get_user_steamid() is broken. user info doesn't include steam_link even though it is in the database. If you provide get_user_steamid() with no params then you will always get a return false because of this.
Reply With Quote
  #494  
Old 01-06-2015, 10:55 PM
Yumiyashi Yumiyashi is offline
 
Join Date: Apr 2013
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possibility of port to vb5?
Reply With Quote
  #495  
Old 01-06-2015, 11:08 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I doubt it. vB5 is not made to be mod friendly.
Reply With Quote
  #496  
Old 01-07-2015, 01:57 AM
mikez006 mikez006 is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using 4.2.2.

I commented out this line from the Steam Connect cron job and it solved the problem.

Code:
$finishat = update_user_steamgroup_assoc(null, null, 1, 1, 1);
Reply With Quote
  #497  
Old 01-07-2015, 02:13 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear you came up with a solution to your issue mikez006.
Reply With Quote
  #498  
Old 01-24-2015, 06:03 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tdev1 View Post
Works fine here, except when steam web API goes down, then even 1 second timeout is too much.

The following change allows timeouts below 1 second:
PHP Code:
    $timeout 0.3;
// ...
    
curl_setopt$chCURLOPT_CONNECTTIMEOUT_MS$timeout 1000 );
    
curl_setopt$chCURLOPT_TIMEOUT_MS$timeout 1000 ); 
You never 'mentioned' where you changed this though. Showing the code is awesome, but the location of where to find it is another question.
Reply With Quote
  #499  
Old 01-27-2015, 07:07 PM
mfowler70 mfowler70 is offline
 
Join Date: Apr 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Had another idea. Hopefully this one is good like my last one was.

Regarding the Steam avatars, when they're online in Steam, the border is Green. When they're offline, it's Blue. When you click the avatar, it sends you to their community profile.
Did anyone ever figure out how to accomplish this?
Reply With Quote
  #500  
Old 01-28-2015, 12:05 PM
mfowler70 mfowler70 is offline
 
Join Date: Apr 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, this is how I tackle the issue with non-Steam avatars not showing up using the method outlined previously in this thread. I'm sure the code isn't proper and I'm no programmer but this works for me.

PHP Code:
<vb:if condition="$post['steam_code']"><a href="http://steamcommunity.com/profiles/{vb:raw post.steamid}" target="_blank" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"><img src="{vb:raw post.steamavatarmedium}" /></a>
            <
vb:else /><class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"><img src="{vb:raw post.avatarurl}" /></a>
            </
vb:if> 
Reply With Quote
  #501  
Old 01-29-2015, 06:04 AM
Doc913 Doc913 is offline
 
Join Date: Nov 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfowler70 View Post
By the way, this is how I tackle the issue with non-Steam avatars not showing up using the method outlined previously in this thread. I'm sure the code isn't proper and I'm no programmer but this works for me.

PHP Code:
<vb:if condition="$post['steam_code']"><a href="http://steamcommunity.com/profiles/{vb:raw post.steamid}" target="_blank" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"><img src="{vb:raw post.steamavatarmedium}" /></a>
            <
vb:else /><class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"><img src="{vb:raw post.avatarurl}" /></a>
            </
vb:if> 
Where should the code be pasted?
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 08:22 PM.


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.07363 seconds
  • Memory Usage 2,383KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (3)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
  • (1)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