Back to vBulletin 3.8 Add-ons

GamerCards Block in Profile Sidebar and Postbit
Mod Version: 1.0.2, by BaziCenter

vB Version: 3.8.x Rating: (5 votes - 4.80 average) Installs: 38
Released: 22 Sep 2010 Last Update: 05 Jan 2011 Downloads: 250
Not Supported Uses Plugins Auto-Template Additional Files Re-usable Code Translations External Content  

This hack is for vBulletin v3.8.x and hasn't been tested with earlier versions.

-----------
vB4 compatible version:
GamerCards Block in Profile Sidebar and Postbit
-----------

Info:
This hack will add a new block in your user profile sidebar which contains user GamerCards and GamerIDs.
Also GamerCards show up on the postbit too. (pop-up pages)

Features:
-Global enable/disable system.
-Ability to change the block location in profile sidebar.
-Can choose to show only GamerIDs and not GamerCards.
-Ability to disable certain platform(s).
-Can show GamerCards with relevant icons in the postbit.
-This mod currently support the following platforms:
  • XBOX Live Gamertag
  • PlayStation Network ID (both US & EU versions)
  • Wii Friend Code (wii doesn't have a gamercard)
  • XFIRE Username
  • Steam Community ID
  • Raptr.com
Install:
1) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product] -> Import XML product.
2) Upload the "gamericons" folder to your forum_dir/images/misc folder.*
3) Upload the "gamercard.php" to your forum's root folder.
4) You should create a "Single-Line Text Box" User Profile Field for each platform (if you don't have). (Help!

Spoiler (click to open)


To create User Profile Field Go to:
AdminCP -> User Profile Fields -> Add New User Profile Field -> Single-Line Text Box.
example info for XBOX Live Gamertag field:
  • Title: XBOX Live Gamertag
  • Description: Enter your XBOX Live Gamertag.
  • 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)

repeat this steps for other platforms as well.

Close
)
5) Enter the field ID of each platform in vB Options -> "GamerCards Block Options" settings.

* If you have a custom style, you have to copy the gamericons folder in the misc folder of each style!

Upgrade:
1) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product] -> Import XML product.
When you want to import the XML, set Allow Overwrite to 'Yes'.
2) Upload the "gamericons" folder to your forum_dir/images/misc folder.
3) Upload the "gamercard.php" to your forum's root folder.

Notes:
1) For showing the PSN GamerCard, users must do the following:
US: Login to https://www.us.playstation.com/ -> My Profile -> Portable ID -> Generate Portable ID.
EU: Login to https://eu.playstation.com/ -> My Account -> My Portable ID -> Generate Portable ID.

2) For showing the Steam GamerCard, users must do the following:
Login to http://steamcommunity.com/ -> Edit my Profile -> Copy the text from the "Custom URL" box into the Steam ID field.
* Steam GamerCard is not official and generates from http://steamcard.com/ and http://www.steamprofile.com/.
Note: Steam postbit pop-up page now support real Steam ID which is: STEAM_X:X:XXXXX.

3) XFIRE mini profile & EU PSN images will be resized with mouse hover.

4) You can use these optional Regular Expressions (regex) for the fields:
  • XBOX Live Gamertag: ^([A-Za-z0-9 ]+)?$
  • PlayStation Network ID: ^([A-Za-z0-9-_]+)?$
  • Wii Friend Code: ^([0-9]{4}[- ][0-9]{4}[- ][0-9]{4}[- ][0-9]{4})?$
  • XFIRE Username: ^([a-z0-9]+)?$
  • Steam ID: ^([A-Za-z0-9-_]+)?$ (this regex is for Custom URL only)
  • Raptr.com ID: ^([A-Za-z0-9-_]+)?$
Versions:
v1.0 - Ported for vB3.8.x (22th September 2010)
v1.0.1 - xbox.com links updated (31st October 2010)
v1.0.2 - Steam pop-up links fixed (5th January 2011)


Please Mark As Installed if you use this modification.

Download

File Type: %1$s bc-gamercards-vb3-v1.0.2.zip (23.1 KB, 216 downloads)

Screenshots

Click image for larger version
Name:	gamercads_profile.jpg
Views:	433
Size:	60.4 KB
ID:	122223   Click image for larger version
Name:	gamercards_postbit.jpg
Views:	653
Size:	92.7 KB
ID:	122224   Click image for larger version
Name:	gamercards_vbsettings.png
Views:	192
Size:	212.8 KB
ID:	122225   Click image for larger version
Name:	gamercads_profile2.jpg
Views:	377
Size:	23.2 KB
ID:	122226  

Similar Mods

Profile Enhancements GamerCards Block in Profile Sidebar and Postbit vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024