• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Steam Identity Service

Status
Not open for further replies.
Pretty sure you do still need it.

I made some changes to my install of it as you can see.

steam.webp

I will post what I did when I have more time, if anyone is interested.
 
What I did was a run off of this post by Da Vinci Risk.

Follow those directions as described in that post.

Once you get to the point where you edit "library/Dark/Steam/EventListener/TemplatePostRender.php":

Change this line: (Which is after the "member_view" call.)
Code:
$output = preg_replace_callback('#(<a href="http://steamcommunity.com/profiles/)([^"]+)(">.*?</a>)#', array('Dark_Steam_EventListener_TemplatePostRender', 'profileReplace'), $output);

With this:

Code:
$output = preg_replace_callback('#(<a href="http://steamcommunity.com/profiles/)([^"]+)(">.*?</a>)#', array('Dark_Steam_EventListener_TemplatePostRender', 'profileSteamView'), $output);

I chose not to display the Steam profile in the message area, as it seemed a bit overwhelming and out of place so I left the User Field option for "Viewable in message user info" unchecked.

Also note that the Steam-profile download from google has to be installed in your root directory..
 
This simple addon allows your members to add their Steam ID under their profile contact details (using XenForo's Identity Service system Now using Custom User Fields in XF 1.1) in all the common formats (plain steam id, community id, /profiles/ or /id/ URL) with automatic conversion to a plain STEAM_0 ID. Additionally, the Steam ID is displayed as a link to the relevant Steam profile.
Could you add the following features to your addon?

1. Option to require verification of the entered steamID via the Steam Web API: http://steamcommunity.com/dev

2. Option to force unique SteamIDs. (i.e. a person cannot use a steamID that has already been used by another account).

The second feature might seem kind of redundant, but it has its uses.

Thanks.
 
Status
Not open for further replies.
Top Bottom