View Full Version : Profile Enhancements - Xbox Live Gamercard Block in Profile
AK47 Nemesis
02-21-2008, 10:00 PM
Demo: http://www.qualitygaming.eu/qg/member.php?u=3
Step 1: Add a new Profile Field with the following options:
Single-Line Text Box
Title: Gamertag
Description: Enter your Xbox Live Gamertag here.
Max length of allowed user input: 15
Field Length: 25
Private Field: No
Field Searchable on Members List: Yes
Show on Members List: Your choice
Which page displays this option? Edit Your Details
Remember the FieldID.
Step 2: Import the attached Product.
Step 3: Modify 2 templates.
1. Admin CP -> Styles & Templates -> Member Info Templates ->
memberinfo_block_gamercard.
Find $userinfo[fieldg] (4 Times!) and change the g to the Gamercard field number.
2. Admin CP -> Styles & Templates -> Member Info Templates -> MEMBERINFO
Look for:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[gamercard] somewhere in between. Best option will be right after $blocks[friends_mini]:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[gamercard]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Step 4: Go to Edit Your Details to add your gamertag to your profile.
Thanks: Big thanks to stangger5 (https://vborg.vbsupport.ru/member.php?u=100434) for his YouTube Mod (https://vborg.vbsupport.ru/showthread.php?t=169824) which explained how i had to do this. This is my first hack by the way, so i hope you will like it.
Please click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=171157) if you use this!
Karnal Sinn
02-22-2008, 08:14 AM
Nice one *installed*
safakuygur
02-22-2008, 08:40 AM
thanks gooddd :)
projectego
02-22-2008, 09:50 AM
* projectego clicks install :)
rb290
03-05-2008, 05:43 AM
hi, nice hack
but could you also tell me what hack is that conversation one and the friends one
AK47 Nemesis
03-05-2008, 05:49 AM
hi, nice hack
but could you also tell me what hack is that conversation one and the friends one
Those hacks are included in vBulletin 3.7.0 Beta 5.
madotds
03-05-2008, 04:34 PM
Hi could someone tell me if they are using this hack on beta 5? I can't find
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Anywhere in my memberinfo template ! what am I missing :(
Fatsobob
03-06-2008, 02:11 PM
I really like this mod and i would love to see it expand a little further so I will lend my opinion.
I think that you should use mygamercard.net instead of the official one. My problem with the official one is the fact it uses iframes and the mygamercard.net flash version is MUCH more feature rich than the other one and it serves the same function.
If I am not mistaken, you could just modify the product.xml to reflect the different gamercard.
<embed src="http://card.mygamercard.net/$userinfo[fieldg]" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash" width="198" height="135">
</embed>
Karnal Sinn
03-06-2008, 05:09 PM
Hi could someone tell me if they are using this hack on beta 5? I can't find
Anywhere in my memberinfo template ! what am I missing :(
Use the SEARCH in template option and input one of the listed lines ie $blocks[stats_mini] and it will take you to that line.
AK47 Nemesis
03-06-2008, 06:48 PM
I really like this mod and i would love to see it expand a little further so I will lend my opinion.
I think that you should use mygamercard.net instead of the official one. My problem with the official one is the fact it uses iframes and the mygamercard.net flash version is MUCH more feature rich than the other one and it serves the same function.
If I am not mistaken, you could just modify the product.xml to reflect the different gamercard.
<embed src="http://card.mygamercard.net/$userinfo[fieldg]" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash" width="198" height="135">
</embed>
Yep, that is possible. For people who don't know how:
Go to Admin CP -> Style Manager -> Edit Templates: memberinfo_block_gamercard
In there look for:
<iframe src="http://gamercard.xbox.com/$userinfo[fieldg].card" frameborder="0" height="140" scrolling="no" width="204">$userinfo[fieldg]</iframe>
Change that to the HTML code from MyGamerCard.Net and replace the part where you have to enter you gamertag with:
$userinfo[fieldg]
(g being the ID to your gamertag Profile Field.)
I will try to make a product containing the GamerScrore Chart service once it's stable again.
NeverBored
03-07-2008, 04:47 AM
Any idea why the gamercard is aligned to right in my profiles? Doesn't make sense since there is nothing that I can see aligning it to the right.
madotds
03-07-2008, 09:25 AM
Use the SEARCH in template option and input one of the listed lines ie $blocks[stats_mini] and it will take you to that line.
Hi cheers I I evntually got this working :) After upgrading to 3.7 beta 5 I never reverted my templates so I didn't even have the new user profile!!
But now I have and all is well again :)
Thank you
Bradley_Wint
03-09-2008, 07:47 PM
This is a great mod if you ask me, especially for gaming forums. What I would like to see is a Xbox button in posts where you usually see like MSN, Yahoo, ICQ, etc as well so when users click the little icon, they see a pop up iframes with the Xbox 360 Gamer tag. Any ideas how to add this feature as well?
Are you intending on making a PS3 gamer tag as well?
EcoCav
03-10-2008, 03:13 AM
How can I center the gamertag? Mine (just like the guy above) is set to the right.
https://vborg.vbsupport.ru/external/2008/04/17.png
jack bro
03-10-2008, 04:00 PM
Thanks this will work so well on my Xbox fourm.
Jack.
FleaBag
03-10-2008, 07:45 PM
Just got this installed! Thank you! My score is pitiful, maybe I should reconsider installing. LOL just kidding!
NeverBored
03-11-2008, 08:16 PM
How can I center the gamertag? Mine (just like the guy above) is set to the right.
https://vborg.vbsupport.ru/external/2008/04/17.png
Obviously there's something going on, this is two people with it aligned to the right. I've looked and see nothing aligning it that way personally... Minor problem but it'd be nice to have it centered.... I tried centering it but it wouldn't. Bump...
Fatsobob
03-13-2008, 10:23 PM
Another bump for aligned to the right.
diola
04-01-2008, 01:33 AM
alignet to ther right here too. :)
NeuroLancer
04-08-2008, 03:06 PM
to fix the right alignment:
find:
<div class="alt2 block_row block_footer">
replace:
<div class="alt2" align="center">
NeverBored
04-08-2008, 08:32 PM
to fix the right alignment:
find:
<div class="alt2 block_row block_footer">
replace:
<div class="alt2" align="center">
thanks :up:
AK47 Nemesis
04-09-2008, 05:38 PM
to fix the right alignment:
find:
<div class="alt2 block_row block_footer">
replace:
<div class="alt2" align="center">
Thanks for fixing mate, updated the product.
Bradley_Wint
04-11-2008, 06:57 PM
Any possibility of this being added to the postbit pages as well so when users click on the icon, they can get a pop up of the gamertag?
brendanc
05-03-2008, 02:51 AM
Working great on my forums. Thanks!
Robbed
05-04-2008, 04:53 AM
Can you fix the uncached template.
Uncached templates: memberinfo_block_gamercard (1)
Thanks
leginag
05-08-2008, 11:03 PM
Nice little add-in =)
tggbrokenwings
05-19-2008, 05:10 PM
installed! Awesome mod thank you SO much!!!!!
|Jordan|
05-20-2008, 01:06 AM
When i enable this mod i get the error: Parse error: syntax error, unexpected T_VARIABLE in /home/xxxx/public_html/forums/member.php(462) : eval()'d code(1) : eval()'d code on line 3
When i disable it, that error goes away ...
eddy315west
05-21-2008, 04:22 PM
i installed this mods works great but for some reason i see my gamercard now twice and every box in the right side of the profile twice. what did i do wrong ?
My mini statistics show twice ,gamercard,friends,albums , group memberships,and recent visitors
eddy315west
05-21-2008, 05:00 PM
fixed the problem sorry ! i should pasted the code twice
|Jordan|
05-27-2008, 03:08 AM
fixed the problem sorry ! i should pasted the code twice
It works for me now. Thanks!
The360Place
06-09-2008, 01:48 AM
Well I did all the steps, but I dont see the gamercard in my profile.....?
xzibit
11-18-2008, 08:26 AM
hello !
can you change this add-on too the new xbox experienc gamercard from maygamercard.net ?
this here
https://vborg.vbsupport.ru/external/2008/11/13.png
and you can make a new add on ?
with the news avatar ?
a avatar box ? with this
https://vborg.vbsupport.ru/
thanks
and soory for my bad english
devoslack
11-21-2008, 10:48 PM
hello !
can you change this add-on too the new xbox experienc gamercard from maygamercard.net ?
this here
https://vborg.vbsupport.ru/external/2008/11/13.png
and you can make a new add on ?
with the news avatar ?
a avatar box ? with this
http://avatar.xboxlive.com/avatar/Cologne360/avatar-body.png
thanks
and soory for my bad english
To achieve this, Go to Edit Templates and go to memberinfo_block_gamercard.
In the template you'll see the following code:
<iframe src="http://gamercard.xbox.com/$userinfo[field10].card" frameborder="0" height="X" scrolling="no" width="X">$userinfo[field10]</iframe>
Your field numbers may be different, and I X'd out height and width because I had customized mine.
Just simply change the code to this:
<iframe src="http://card.mygamercard.net/nxe/$userinfo[field10].png" frameborder="0" scrolling="no" height="120" width="245">$userinfo[field10]</iframe>
Just make sure to change the height and width to match your theme and you're good to go!
Want to see a working example? http://www.yourlifebar.com/members/devo
Goomzee
11-27-2008, 09:21 AM
thankx but i am admin and idon;t have gamertag then how could i get gametag
Goomzee
11-28-2008, 04:06 AM
thankx but i am admin and idon;t have gamertag then how could i get gametag
plz reply my above post
SSC streezer
01-08-2009, 11:14 AM
the mod works just in the user profile - not in the post view (postbits - like in the preview picture).
is there a installation step missing in the tutorial or what is wrong?
zombietom
03-06-2009, 04:24 PM
I fix this mod to also work with PSN network and xbox live at the same time and i have it working with the Gamerfield icon mod (https://vborg.vbsupport.ru/showthread.php?t=196587)
to see an example click here http://www.tzaclan.net/forum/member.php?u=25
anyone interested just email me blacktom@kih.net or post here --
zombietom, i am running vb 3.8.2 does your mod works with my version?
hoping it does ;)
thanks in advance
zombietom
06-12-2009, 02:52 PM
yes, it should work
betts02
06-23-2009, 06:46 PM
sorry to be a pain but i am new to v bulletin,anyway i have done as the instructions say to do but i am using v3.8.3 and i do not see an option for "memberinfo_block_gamercard",
can anybody hep with this please ?
zombietom
06-23-2009, 08:09 PM
Did you get your field id set up? check it and make sure you have the right ID in the code
betts02
06-23-2009, 09:18 PM
added new profile field - done - as it is a new site the number was 5.
Import the attached Product - done
1. Admin CP -> Styles & Templates -> Member Info Templates ->
memberinfo_block_gamercard. - there is no memberinfo_block_gamercard.so i can not edit it.
2. Admin CP -> Styles & Templates -> Member Info Templates -> MEMBERINFO - done
as i said i am new to all this and have checked everything that has been posted up and done it all apart from i do not have an "memberinfo_block_gamercard" option to edit.
Chrisg20
06-25-2009, 04:10 AM
works great, thanks
KoV Animal KL
10-20-2009, 11:22 PM
Won't show up for me.
egclive
01-22-2010, 07:28 PM
is this going to be available for vb 4x
Slam Da Brakes
04-10-2010, 11:01 AM
Nice one and super easy to install!
It's Damn Real!
04-26-2011, 06:22 PM
Will this work for 4.1.2?
Gamelobby
05-21-2011, 01:15 AM
I have an issue that might have something to do with this..
I had this installed, but now have upgraded to vB4.0 (4.1.3) & i still have a gamercard or id showing up in the blocks, even though i dont have this mod installed anymore. Even if i delete the "memberinfo_block_gamercard" template.
Any ideas.?
Thanks
FTG LIQUID CL
12-18-2012, 04:32 PM
wonder if this would work for vb4
FTG LIQUID CL
12-18-2012, 04:58 PM
I got it to work with vb4
Gamelobby
12-28-2012, 07:22 PM
I got it to work with vb4
It used to work, but now it has stopped.?
I recently upgraded to vB4.2 & i swore it was working for a few days, but now it only shows an xbox.com error page instead..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.