Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #12  
Old 03-07-2008, 04:47 AM
NeverBored NeverBored is offline
 
Join Date: Feb 2008
Location: CA
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 03-07-2008, 09:25 AM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Karnal Sinn View Post
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
Reply With Quote
  #14  
Old 03-09-2008, 07:47 PM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #15  
Old 03-10-2008, 03:13 AM
EcoCav EcoCav is offline
 
Join Date: Oct 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I center the gamertag? Mine (just like the guy above) is set to the right.

Reply With Quote
  #16  
Old 03-10-2008, 04:00 PM
jack bro jack bro is offline
 
Join Date: Jun 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks this will work so well on my Xbox fourm.

Jack.
Reply With Quote
  #17  
Old 03-10-2008, 07:45 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just got this installed! Thank you! My score is pitiful, maybe I should reconsider installing. LOL just kidding!
Reply With Quote
  #18  
Old 03-11-2008, 08:16 PM
NeverBored NeverBored is offline
 
Join Date: Feb 2008
Location: CA
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EcoCav View Post
How can I center the gamertag? Mine (just like the guy above) is set to the right.

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

Another bump for aligned to the right.
Reply With Quote
  #20  
Old 04-01-2008, 01:33 AM
diola diola is offline
 
Join Date: Jun 2005
Location: Brazil
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alignet to ther right here too.
Reply With Quote
  #21  
Old 04-08-2008, 03:06 PM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to fix the right alignment:

find:
Code:
<div class="alt2 block_row block_footer">
replace:
Code:
<div class="alt2" align="center">
Reply With Quote
Reply

Thread Tools

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 03:30 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.05235 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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