Back to vBulletin 3.7 Template Modifications

Steam Community Profile in Postbit
Mod Version: 1.00, by AzH

This modification is in the archives.
vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 11
Released: 02 Nov 2008 Last Update: Never Downloads: 50
Not Supported Template Edits Re-usable Code Translations  

Hi. This is a quick dirty little edit which allows a user to display a link to their Steam Community Profile in their postbit. This mod is brought to you courtesy of http://left4deadforums.com.

First create a New User Profile Field:

Title: Steam Community Profile

Description: Your <a target="_blank" href="https://steamcommunity.com/"><b>Steam Community</b></a> profile page. Please only enter the final part of the URL. For example: "http://steamcommunity.com/id/left4deadforums" I would enter only "<b>left4deadforums</b>".

Default Value: LEAVE THIS BLANK

Max length of allowed user input: 30 (will prevent people posting the full URL. This is a "good thing".)

Field Length: 25

Profile Field Type: Single-Line Text Box

Field Required: No

Field Editable by User: Yes

Private Field: Yes

Field Searchable on Members List: Yes

Show on Members List: Yes

Regular Expression: LEAVE THIS BLANK

Hit save and make a note of the profile field ID for the next step.

Edit template POSTBIT. Find:

PHP Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> 
Add below:

PHP Code:
<if condition="$post['fieldX']"><div>Steam ID: <a href="http://steamcommunity.com/id/$post[fieldX]target="_blank">$post[fieldX]</a></div></if> 
Replace ['fieldX'] with the number of your new profile field.

Save and you're done. Voila!!

DEMO: http://left4deadforums.com/835-left-4-dead-offical-movie-1-a.html

Download

This modification is archived, downloads are still allowed.

File Type: %1$s README.txt (1.5 KB, 61 downloads)

Screenshots

Click image for larger version
Name:	1.png
Views:	736
Size:	7.6 KB
ID:	88905   Click image for larger version
Name:	2.png
Views:	594
Size:	5.8 KB
ID:	88906  

Similar Mods

Miscellaneous Hacks Steam freinds status in postbit vBulletin 3.7 Add-ons
Mini Mods Steam IM Card vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024