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
  #142  
Old 12-10-2011, 02:53 AM
Psyd0x Psyd0x is offline
 
Join Date: Dec 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem, the steam icon not appear in the post bit, can you tell me how to fix it?
Reply With Quote
  #143  
Old 12-10-2011, 03:38 AM
Strategos Strategos is offline
 
Join Date: Nov 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
That's a good suggestion. Will do in the next update.



That shouldn't happen! Do you have backups? I'll check later if this might occur somehow, but it relies on the vbulletin upgrade system, wich only performs additional process and does nowhere remove any entries at all, or did you uninstall the plugin first? In this case the user table columns are dropped.
Yeah I uninstalled the plugin and uploaded the new one and it reset the activation status of everybody.
Reply With Quote
  #144  
Old 12-10-2011, 09:15 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, have you by any chance read my suggestion regarding making unlink an option to groups? So not everyone can unlink.
Reply With Quote
  #145  
Old 12-11-2011, 12:07 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Strategos View Post
Yeah I uninstalled the plugin and uploaded the new one and it reset the activation status of everybody.
You shouldn't do that, upgrading a product means uploading the product xml file and choose overwriting, that way only the install routines for the next version update are processed.
If you uninstall, the uninstall routine will drop all relevant tables.

I suggest to revert to a backup and in the future only upgrade without uninstalling the mod.
I'll add a note so the problem won't happen to other users.


Quote:
Originally Posted by FF|Skyrider View Post
Also, have you by any chance read my suggestion regarding making unlink an option to groups? So not everyone can unlink.
I have, but I'm not sure if this would be an useful feature. If all users are allowed to link their profile any time they want, they should be able to un-link as well.

Depending on how skilled you are with php, you could add the required code snippets yourself in the function which unlinks the users.
In any case, this seems to be a too special request, but I'll consider it nontheless for the next update.

Quote:
Originally Posted by Psyd0x View Post
I have a problem, the steam icon not appear in the post bit, can you tell me how to fix it?
Do you have a custom style?
Do you have the plugin activated?
Reply With Quote
  #146  
Old 12-12-2011, 01:21 AM
Strategos Strategos is offline
 
Join Date: Nov 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
Also, have you by any chance read my suggestion regarding making unlink an option to groups? So not everyone can unlink.
Yes that is a good idea. I think it would be appropriate because I have a system where, in order to post, people must register their steam acc. Therefore, if they get banned, they cant create another acc and continue trolling. 100% antispam
Reply With Quote
  #147  
Old 12-13-2011, 10:16 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must congratulate you on a brilliant job on this - the potential for the future is enormous!

Probably a daft question but what template conditions/variables should I use for the following:

- IF steam linked user
- IF steam avatar is available
- IF steam profile is public/profile
- VAR User SteamID (post.steam64?)

What is your recommended location for the steam cache and the file permissions for that folder?

Thanks in advance
Reply With Quote
  #148  
Old 12-15-2011, 01:20 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cadellin View Post
- IF steam linked user
HTML Code:
Linked=<vb:if condition="$vbulletin->userinfo['steam_link']">1<vb:else />0</vb:if>
Quote:
- IF steam avatar is available
Won't work, because the data steam returns gives you a generic url to the avatar, which returns the default questionmark avatar if none was specified. So in short: There is no way to find that out.

Quote:
- IF steam profile is public/profile
Coming in the next update. For now you can only check that in the code, not in templates yet.
PHP Code:
global $vbulletin;

$steamid get_user_steamid($vbulletin->userinfo);
$steaminfo fetch_steam_info($steamid$vbulletin->options['stc_apikey']);

if (
$steaminfo['communityvisibilitystate'] == '3') {
echo 
'Public';
} else {
echo 
'Private';

Quote:
- VAR User SteamID (post.steam64?)
HTML Code:
{vb:raw bbuserinfo.steam_code}
Where you can replace bbuserinfo with any other var containing userinformation, like for example in postbit templates.

Quote:
What is your recommended location for the steam cache and the file permissions for that folder?
I recommend the /tmp folder on linux machines, so if you use multiple vbulletin instances, they can all share the same cached files instead of one of their own.
Also, it's good style to keep all cached data at one location. At least it should remain outside a web-accessible directory for privacy reasons.

Folder permissions should be 0777, but as long as the webuser has read/write permission, it's good enough.
Reply With Quote
  #149  
Old 12-15-2011, 09:49 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply Disasterpiece everything works (including avatars) exactly how I wanted so you've been invaluable.

Can I be cheeky and suggest a steam icon permission so users can choose to show/hide in postbit would be very useful as I know some people will want to use this for login but not share their info.

It might also be useful to add instructions for cache setup to the instructions - I didn't immediately realise the address had to be from the server root.
Reply With Quote
  #150  
Old 12-16-2011, 02:20 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The suggestion to add an option to hide the steam details has already been mentioned, I'm not 100% sure how to offer this completely, but It will be in the next major version. Soon.

@Instructions for cache: Aye, noticed the lack of an understandable description too.
Reply With Quote
  #151  
Old 12-16-2011, 09:44 AM
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I disable the Unlink Feature? I don't want people to be able to unlink steam id's after they have linked them. Only admins should be able to do it via admin user settings.
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:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05283 seconds
  • Memory Usage 2,381KB
  • 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_html
  • (1)bbcode_php
  • (10)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