The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Steam Connect - Sign in with your Steam Account! [RC3] Details »» | |||||||||||||||||||||||||||||||||||||||||||||||
Steam Connect - Sign in with your Steam Account! [RC3]
Developer Last Online: Oct 2019
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
Screenshots
Supporters / CoAuthors Show Your Support
|
7 благодарности(ей) от: | ||
Anbieter, bounty7565, dark alex, Dinnoosaur, mohammadxxx, Popa Andrei, ukhostz |
Comments |
#532
|
|||
|
|||
Don't know about vb5.. definitely installs and works on vb4.2.4
I had an issue where it eventually after about a month stopped retrieving profile data for no reason at all but still worked, possibly because of a semi-domain change, but otherwise works if your settings are right. About to give it a go on a reinstall on 4.2.4 after a host change. |
#533
|
||||
|
||||
Running vb4.2.4 I have recently started getting the following error when users try to login
Code:
There has been an error with your request. Please inform the Administrator, if the problem persists.. I've tried disabling quick registration but that just changes the error to: Code:
There is no forum account which is linked to this Steam Account. FIXED: I will leave this here for anyone having similar issues in the future. The issue for me was the API key. It may be worth resetting the key if you encounter similar issues which do not give error logs. |
#534
|
|||
|
|||
Any one know how I can get users to link there accounts after they have registered the normal way the steam link button is not showing up?
|
#535
|
|||
|
|||
worked like a charm, deleted 1 user and systemfail in this mod, cant reproduce it, the button just disapeared
|
#536
|
|||
|
|||
Hi Guys I have been trying to get the Steam avatar to show up in the post bit but I can not get it to work any one have any ideas?
https://vborg.vbsupport.ru/showpost....8&postcount=18 |
#537
|
|||
|
|||
I know this is no longer supported, but has steam changed something that breaks this system for the most part? Getting "FETCH ERROR" whenever I check my steam info through /profile.php?do=steamlink. The only thing that appears to be caching is the steam level (in the tmp files).
|
#538
|
||||
|
||||
So I tried to use this with Vbulletin 4.2.5, and I am only getting one error that is being logged:
Malformed cachefile: <file>.cache deleted. I carefully reviewed the code and echoed out portions to see where it goes wrong. It seems to not like something in the array "$match", and only returns an empty array. This results in the cache file being written with nothing or missing data to be considered malformed. I figured if Steam did modify the API, some changes will need to be made. I am only a beginner in PHP so it'll be hard, and I have limited time. I'd share this to hopefully turn the bugfixing into a communal effort. Any help is greatly appreciated, hoping to get this working! |
#539
|
||||
|
||||
Match array no longer works as expected on 4.2.5 vb (PHP 7.1)
[shame this is no longer supported] Had to do some modifications to the functions_steamconnect.php file to get Avatar, DisplayName & Community URL to show. Replace Previous Code in (functions_steamconnect.php): Code:
$match = array(); preg_match_all("/\w*(\".+\": .+,?)\n/", $raw_json, $match); if (!isset($match[1]) || !is_array($match[1])) { DEVDEBUG("stc_profiling[] = Time: ".(microtime(1)-$time).", ret: http404"); return false; } $steam_info = array(); // We filter just for the fields we actually need. $additional_fields2 = explode("\n",$vbulletin->options['stc_additionalfields']); $whitelist = array_unique(array_merge(array('steamid', 'communityvisibilitystate', 'personaname', 'profileurl', 'avatar', 'avatarmedium', 'avatarfull'),$additional_fields,$additional_fields2)); $values = $match[1]; foreach ($values AS $val) { $match = array(); preg_match("/\"(.+)\": ([^,]*),?/", $val, $match); if (is_array($match) && count($match) == 3) { $name = $match[1]; $value = trim($match[2]); if (!in_array($name, $whitelist)) continue; // Not a setting we're looking for. skip.. // Strip quotes and slashes if ($value{0} == '"' && $value{strlen($value)-1} == '"') $value = stripslashes(substr($value, 1, -1)); $steam_info[$name] = $value; } } With either options below Code:
$steam_info = array(); $json_decoded = json_decode($raw_json); foreach ($json_decoded->response->players as $player) { $steam_info['steamid'] = $player->steamid; $steam_info['communityvisibilitystate'] = $player->communityvisibilitystate; $steam_info['personaname'] = $player->personaname; $steam_info['profileurl'] = $player->profileurl; $steam_info['avatar'] = $player->avatar; $steam_info['avatarfull'] = $player->avatarfull; $steam_info['avatarmedium'] = $player->avatarmedium; } or Code:
$steam_info = array(); $json_decoded = json_decode($raw_json); $steam_values = array('steamid', 'communityvisibilitystate', 'personaname', 'profileurl', 'avatar', 'avatarmedium', 'avatarfull'); foreach ($json_decoded->response->players as $player) { foreach ($steam_values as $steam_value) { $data = $player->$steam_value; if($data != null && $player != null) $steam_info[$steam_value] = $data; } } |
#540
|
|||
|
|||
Quote:
|
#541
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|