[REQ] STEAM Profile/Status Display

This is something that will give your users an ability to view member's status for their STEAM account. Offline/online/games playing/etc.

You can find an example here:

TF2Maps.net Forums

Just look at any thread and find a post. The widget should be in the upper right hand corner of the post.

Nothing has to be installed on your server.

Step 1
Create a custom user profile field. Name it Steam ID.
PHP:
Single-Line Text Box  	Editable, Searchable, Members List
Find what your field id is. It should look something like fieldx where x is the number.

Step 2
Plug your field id in to the following code
PHP:
<if condition="$post['fieldx']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[fieldx]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
Make sure to change x to your id.

Step 3
Place the code in step 2 that has been changed to reflect your profile field after
PHP:
$template_hook[postbit_messagearea_start]
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			<div class="smallfont">
in your postbit or postbit_legacy (depending on what you use) template

If you would just like to have the options of having the status as sigs, visit http://steamprofile.com
 
Back
Top