Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Xbox Live Gamercard Block in Profile Details »»
Xbox Live Gamercard Block in Profile
Version: 1.00, by AK47 Nemesis AK47 Nemesis is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Beta 4 Rating:
Released: 02-21-2008 Last Update: 04-07-2008 Installs: 142
Uses Plugins Template Edits
Re-useable Code  
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-22-2008, 08:14 AM
Karnal Sinn Karnal Sinn is offline
 
Join Date: Jan 2008
Location: Long Island, NY
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one *installed*
Reply With Quote
  #3  
Old 02-22-2008, 08:40 AM
safakuygur's Avatar
safakuygur safakuygur is offline
 
Join Date: Sep 2007
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks gooddd
Reply With Quote
  #4  
Old 02-22-2008, 09:50 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* projectego clicks install [/high]
Reply With Quote
  #5  
Old 03-05-2008, 05:43 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, nice hack

but could you also tell me what hack is that conversation one and the friends one
Reply With Quote
  #6  
Old 03-05-2008, 05:49 AM
AK47 Nemesis AK47 Nemesis is offline
 
Join Date: Dec 2006
Location: The Netherlands
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rb290 View Post
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.
Reply With Quote
  #7  
Old 03-05-2008, 04:34 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-06-2008, 02:11 PM
Fatsobob's Avatar
Fatsobob Fatsobob is offline
 
Join Date: Jun 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #9  
Old 03-06-2008, 05:09 PM
Karnal Sinn Karnal Sinn is offline
 
Join Date: Jan 2008
Location: Long Island, NY
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madotds View Post
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.
Reply With Quote
  #10  
Old 03-06-2008, 06:48 PM
AK47 Nemesis AK47 Nemesis is offline
 
Join Date: Dec 2006
Location: The Netherlands
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fatsobob View Post
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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06089 seconds
  • Memory Usage 2,308KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete