vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Xbox Live Gamercard Block in Profile (https://vborg.vbsupport.ru/showthread.php?t=171157)

AK47 Nemesis 02-21-2008 10:00 PM

Xbox Live Gamercard Block in Profile
 
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:

Code:

$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]:

Code:

$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 for his YouTube Mod 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 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

[high]* projectego clicks install :)[/high]

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

Quote:

Originally Posted by rb290 (Post 1457287)
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
Quote:

$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.
Code:

<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

Quote:

Originally Posted by madotds (Post 1457772)
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

Quote:

Originally Posted by Fatsobob (Post 1458510)
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.
Code:

<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:
Code:

<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:

Code:

$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

Quote:

Originally Posted by Karnal Sinn (Post 1458630)
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

Quote:

Originally Posted by EcoCav (Post 1461190)
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:
Code:

<div class="alt2 block_row block_footer">
replace:
Code:

<div class="alt2" align="center">

NeverBored 04-08-2008 08:32 PM

Quote:

Originally Posted by NeuroLancer (Post 1486002)
to fix the right alignment:

find:
Code:

<div class="alt2 block_row block_footer">
replace:
Code:

<div class="alt2" align="center">

thanks :up:

AK47 Nemesis 04-09-2008 05:38 PM

Quote:

Originally Posted by NeuroLancer (Post 1486002)
to fix the right alignment:

find:
Code:

<div class="alt2 block_row block_footer">
replace:
Code:

<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

Quote:

Originally Posted by eddy315west (Post 1527068)
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

Quote:

Originally Posted by xzibit (Post 1667977)
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/Co...vatar-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:

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:

Code:

<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

Quote:

Originally Posted by Goomzee (Post 1673911)
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 --

DNG 06-11-2009 12:55 PM

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


All times are GMT. The time now is 04:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01547 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (14)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete