Back to vBulletin 3.6 Template Modifications

Show Steam ID Image on Members Profile Under Aditional Info
Mod Version: 1.00, by eSkiSo

This modification is in the archives.
vB Version: 3.6.x Rating: (0 vote - 0 average) Installs: 1
Released: 06 Mar 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes  

Hi there, today i was trying to add a Steam image to the Member Profile witch shows some Steam info. Finally i did it and this is how to do it yourself:

1º Go to Admin CP > User Profile Fields > Add New User Field.
On Profile Field Type choose Single-Line Text Box

Now fill it like this:

* Title: Steam ID
* Description: Enter your Steam ID.
* Max length of allowed user input: 25
* Field Length: 25
* Private Field: No
* Field Searchable on Members List: Your choice!
* Show on Members List: Your choice!
* Regular Expression: ^([A-Za-z0-9 ]+)?$
* Which page displays this option? Edit Profile

Then go to the User Profile Field Manager and see your created field ID in Name Column. (fieldx: x is field ID)

Once you did that go to Admin CP > Styles and Templates > Style Manager > (Skin you're editing) > Edit Templates >
Search Member Info Templates and double click it to expand it
Open MEMBERINFO

Now search:
Code:
$userinfo[age]
There should only be one there, so you will see this:
PHP Code:

                        $userinfo
[age]
                    </
td>
                </
tr>
                </if>
                
$customfields 
Now add this code under $customfileds (dunno if you also have $customfileds or not, if you dont its under </if>)

BTW dont forget to change the number, where i have field10 to the field number you got when creating the field ID

PHP Code:
<tr>
    <
td>
<if 
condition="$userinfo['field10']">
        <
strong>Steam Card</strong>:<br />
<
a href="http://steamcommunity.com/id/$userinfo[field10]target="_blank"><img src="http://steamcard.com/do/original/$userinfo[field10].png" alt="" border="0" width="203" /></a>
</if>
    </
td>
</
tr
Save it and you should have it correctly created =D
Dont forget to click on Install =D

This is how it looks :

Download

No files for download.

Similar Mods

Mini Mods Steam IM Card v4.x (now with Steam Profile Tab) vBulletin 4.x Add-ons
Mini Mods STEAM Profile/Status Display vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024