Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
GamerCards Block in Profile Sidebar and Postbit Details »
GamerCards Block in Profile Sidebar and Postbit
Mod Version: 3.1.1, by BaziCenter (Coder) BaziCenter is offline
Developer Last Online: Jun 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (81 votes - 4.73 average) Installs: 739
Released: 03 Jan 2010 Last Update: 20 Dec 2012 Downloads: 4084
Not Supported Uses Plugins Auto-Template Additional Files Re-usable Code Translations External Content  

This hack is for vBulletin v4.x.x so it's NOT working with vB3.x.

-----------
vB3.8.x compatible version:
http://www.vbulletin.org/forum/showthread.php?t=250964
-----------


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 (Added in v3.0)
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!)
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 us.playstation.com -> My Profile -> Portable ID -> Generate Portable ID.
EU: Login to eu.playstation.com -> My Account -> My Portable ID -> Generate Portable ID.

2) For showing the Steam GamerCard, users must do the following:
Login to 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 steamcard.com and 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 - Initial version (3rd January 2010)
v1.1 - Added feature: new sidebar on right location (4th January 2010)
v2.0 - GamerCards added to the postbit too! (6th January 2010)
v2.5 - Better pop-ups with more options, added EU psn version, minor fix (7th January 2010)
v2.6 - Added WOL display, fixed the EU PSN compatibility with right sidebar, minor bugs fixed (13th January 2010)
v2.6.1 - W3C Validation fixed, better code (14th January 2010)

v2.6.2 - Syntax error fixed (only gamercard.php changed) (18th January 2010)
v2.6.3 - Now compatible with vB4.0.4 (23rd June 2010)
v3.0 - Added Raptr.com support, Steam pop-up page updated, some codes changed (22nd September 2010)
v3.0.1 - xbox.com links updated (31st October 2010)
v3.0.2 - Steam pop-up links fixed (5th January 2011)
v3.1 - Added user psn portable id selection menu, CSS data moved in to the <head>, Steam pop-up links fixed (15th May 2011)

v3.1.1 - Xbox.com links were fixed, bug fixes (20th December 2012)

Q: Why there are two versions for download?
A: 'bc-gamercards-vb4-v3.0.2.zip' works only on vB4.0.7 and lower! (I do not support these vB versions anymore).
'bc-gamercards-vb4.1-v3.1.zip' works on vB4.1.x.


NOTE: If you want to upgrade to v3.1 you MUST uninstall your current product first and then install it again because of new added DB codes.


Please Mark As Installed if you use this modification.

By the way this is my first hack, so I hope you like it.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	gamercards_1.png
Views:	5780
Size:	70.1 KB
ID:	108944   Click image for larger version

Name:	gamercards_2.png
Views:	4260
Size:	7.9 KB
ID:	108945   Click image for larger version

Name:	gamercards_3.jpg
Views:	3289
Size:	48.3 KB
ID:	109056   Click image for larger version

Name:	gamercards_vbsettings.png
Views:	1984
Size:	212.8 KB
ID:	109246  

Click image for larger version

Name:	gamercards_4.png
Views:	5683
Size:	133.0 KB
ID:	109412  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Xbox Gamercards [NXE enabled] GamingFusion vBulletin 3.7 Template Modifications 26 11 Jun 2009 14:20

  #511  
Old 04 Jun 2016, 17:21
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
I'm trying to change the Xbox Live Gamercard to show from "https://www.mygamerprofile.net/gamercards.php" using the "Xbox One Small" Gamercard Style since the one used in this addon is for Xbox 360.

For some reason, the gamercard isn't changing when I tried updating it. I was editing the "memberinfo_block_gamercards" and "postbit_gamercards_xboxlive", but I must've done something wrong in the process. I reverted the templates back until I'm able to successfully make this change. Any guidance would be appreciated.
Reply With Quote
  #512  
Old 05 Jun 2016, 11:38
charlesr charlesr is offline
 
Join Date: Aug 2009
In case it helps, here's what my postbit one looks like. http://pastebin.com/xRRqGqfH
Reply With Quote
  #513  
Old 06 Jun 2016, 09:32
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
Originally Posted by charlesr View Post
In case it helps, here's what my postbit one looks like. http://pastebin.com/xRRqGqfH
Did you do anything else? Like edit your "memberinfo_block_gamercards" template?
Reply With Quote
  #514  
Old 07 Jun 2016, 10:48
charlesr charlesr is offline
 
Join Date: Aug 2009
I thinned down the member info block to remove gamercards and only leave the gamertag links. http://pastebin.com/R1bkh9Q4

Did you figure out how to integrate what you wanted into the postbit?
Reply With Quote
  #515  
Old 13 Jun 2016, 04:27
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
Originally Posted by charlesr View Post
I thinned down the member info block to remove gamercards and only leave the gamertag links. http://pastebin.com/R1bkh9Q4

Did you figure out how to integrate what you wanted into the postbit?
Unfortunately, no, I didn't yet.
Reply With Quote
  #516  
Old 13 Jun 2016, 11:20
charlesr charlesr is offline
 
Join Date: Aug 2009
Assuming you've tried but failed, put a link to a pastebin of the contents of your xbox postbit template and I'll try and figure it out for you.
Reply With Quote
  #517  
Old 18 Jun 2016, 10:33
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
Originally Posted by charlesr View Post
Assuming you've tried but failed, put a link to a pastebin of the contents of your xbox postbit template and I'll try and figure it out for you.
Here is my current postbit_gamercards_xboxlive (http://pastebin.com/5xryBhh5)

I reverted it back to the default since what I had wasn't working correctly.
Reply With Quote
  #518  
Old 22 Jun 2016, 22:40
charlesr charlesr is offline
 
Join Date: Aug 2009
Try this: http://pastebin.com/QneyBSsB

If it works, note that the site you want to use has various card styles, so you'll need to change the image url and iframe sizes according to the one you want.
Reply With Quote
  #519  
Old 23 Jun 2016, 14:23
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
Originally Posted by charlesr View Post
Try this: http://pastebin.com/QneyBSsB

If it works, note that the site you want to use has various card styles, so you'll need to change the image url and iframe sizes according to the one you want.
I copied and pasted everything identically and it still shows the original gamercard on user's profiles?

The one I want to use from there is the "xosmall" one. I've seen this on other vBulletin 4 sites.

I did also notice that the original gamercard uses "%20" for spaces and the new one I'm trying uses "+" for a space.

The old one ends in ".card" and the new one ends in ".png" too?

For example:

Old:
https://gamercard.xbox.com/en-US/major%20nelson.card

New:
https://www.mygamerprofile.net/card/...jor+nelson.png

Last edited by Cody.9791; 23 Jun 2016 at 15:13.
Reply With Quote
  #520  
Old 25 Jun 2016, 14:26
charlesr charlesr is offline
 
Join Date: Aug 2009
That code was for the postbit only. What happens when you click on the xbox logo under people's names in a thread now?
Reply With Quote
  #521  
Old 25 Jun 2016, 14:27
charlesr charlesr is offline
 
Join Date: Aug 2009
Can you create a user for me and PM me the user/password and a link to your site so I can have a look?
Reply With Quote
  #522  
Old 25 Jun 2016, 19:33
Cody.9791 Cody.9791 is offline
 
Join Date: Jul 2015
Originally Posted by charlesr View Post
Can you create a user for me and PM me the user/password and a link to your site so I can have a look?
PM sent.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:17.

Layout Options | Width: Wide Color: