Version: 1.0.1, by Mycologist
Developer Last Online: Feb 2013
Category: Mini Mods -
Version: 4.0.0
Rating:
Released: 12-23-2009
Last Update: 12-26-2009
Installs: 88
Template Edits
Re-useable Code Additional Files Translations
No support by the author.
Description
Integrates SteamProfile badges into your forum. Allows forum users to see the current status of other members, including, adding them as Steam firends, viewing their profile, joining their current game and viewing their Team Fortress 2 backpack. The script accepts Steam IDs (ex STEAM_X:X:XXXXXXXX), Steam Community IDs (17 digit number) or Steam Community Aliases. I have included my vB4 skin as the default for the widget.
Go to AdminCP > User Profile Fields > Add New User Profile Field > Single-Line Text Box.
Enter in what ever title and description you want.
Optional To only accept Steam IDs add the following to "Regular Expression":
Code:
STEAM_[0-9]:[0-9]:[0-9]{4,}
Change the "Display Page" option to "Options: Other".
Save.
Make note of the field number (ex field5).
Go to AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit_legacy.
Find the following line:
Code:
<vb:if condition="$post['title'] OR $show['messageicon']">
Replace fieldX, in both locations, in the following line of code with your noted field number from above. Then add the code to a new line after the previous line:
One user on my forum has only 4 digits number one he's Steam ID like STEAM_0:1:111
He get This user has not yet set up their Steam Community profile.
Well, if your users would like to take advantage of this mod, they will have to have a stream profile setup; there's no way around this. As for the short steam id, you could just delete or modify "regular expression". Example:
I've installed everything correctly, and even used my 2 ID's *SteamID and profile ID*, both doesn't work. It doesn't show anything new in posts. I even replaced the X with the new profile field number that is correctly with the new one. On top of that, all files are uploaded correctly, and it loads the script files correctly if I copy/paste them in the browser.
How can I add the Steam Profile thing below the Post Count. Example.
You can add Step 14's code to pretty much anywhere in your postbit. Play around and see what you can come up with. Post a screen if you find a good place to use it.
I've installed everything correctly, and even used my 2 ID's *SteamID and profile ID*, both doesn't work. It doesn't show anything new in posts. I even replaced the X with the new profile field number that is correctly with the new one. On top of that, all files are uploaded correctly, and it loads the script files correctly if I copy/paste them in the browser.
Are you possibly using another template other than postbit_legacy for you forum's postbit? Could you post the URL of the site you are trying to install this mod on?
Can you tell me what you did to make it appear on top of the quote in the style.css, what did you add/edit? Because I would like to configure something a bit so I need to know this. Thanks.
Are you possibly using another template other than postbit_legacy for you forum's postbit? Could you post the URL of the site you are trying to install this mod on?