Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Xbox.com gamercard for all users Details »»
Xbox.com gamercard for all users
Version: 1.00, by stonyarc stonyarc is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-31-2005 Last Update: Never Installs: 42
Template Edits
 
No support by the author.

Function

These modifications on a vbulletin forum allow you to fully integrate the xbox.com gamercard on your forum next to each and every post a user makes.

This will make it look more or less like the integration on our forum.

Important

First always backup the files that you're going to edit so you can revert to the old version if something goes wrong.

We do appreciate if you gave us the due credits for these functions.

Installation

This modification was tested on vbulletin 3.5.0. You might have to put some codes on another location in your files depending on the version of vbulletin your have.



1. Add a gamertag field to your user (editable in profile) =>

vBulletin features a wide array of input options for you to gather information from your members through the creation of custom profile fields. With these fields you can present a list of options for the user to choose from or you can ask the user to give their own input.

Go to the adminCP and add a custom field => User Profile fields => Add New User Profile Field

You need a "Single-Line Text Box"

Title => Gamertag
Description => Xbox Live Gamertag
Default Value => Leave empty
Max length of allowed user input => 30
Display Size => 30
Display Order => put something like 10 or 15
Field Required => No as default but you can change if you want
Field Editable by User => Yes because gamertags do tend to change
Private Field => No the field is public
Field Searchable on Members List => No
Show on Members List => Yes
Regular Expression => leave empty

Save the field

Go to the User Profile Field Manager and look for your custom field you just added and look for the name column there is an ID for the field.
Something like "fieldXX" where XX is a number. Make sure you remember this value.

2. Go to the template you are using (Styles & Templates/Style Manager) and select Edit templates.

Go to "postbit templates" and select the template you are using (probably postbit or postbit_legacy).
and add the following code:

fieldXX is the field value you got from step 1.

You can embed the code in a div or a special table construction but that is up to you.

Code:
<if condition="$post[fieldXX]">
<iframe src="http://gamercard.xbox.com/$post[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204">$post[fieldXX]</iframe>
</if>
Demonstration

You can see it active on the forum of http://www.xboxusersgroup.com

Support

For support contact us through the feedback forum. ALL MODIFICATIONS ARE DONE AT YOUR OWN RISK. XBOX USERS GROUP IS NOT RESPONSIBLE FOR ANY LOSS OF DATA.

For gamertags with spaces look here for the solution.

Credits

All code is (c)2005 Xboxusersgroup.com and StonyArc.

You are however allowed to change the location / display location of the gamercard however you see fit.

Show Your Support

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

Comments
  #32  
Old 12-29-2006, 05:24 AM
jamesf4218 jamesf4218 is offline
 
Join Date: Dec 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This only appears to work for Xbox 360 and not just Xbox. How do I get Xbox gamertags as well?

Thanks...
Reply With Quote
  #33  
Old 01-02-2007, 08:32 PM
storpappa storpappa is offline
 
Join Date: Dec 2006
Location: USA
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was looking to add xbox tags under the user info and founds this humerous thread of whiners crying over free code. It gets funny when she talks about the law -

Anyone, I am looking to addthe xbox info, so thanks for the thread. Maybe next time the ranters can go to a different thread and cry there ...


Quote:
Originally Posted by xug View Post
It's only makes us feel better and stronger, that sites like yours copy the crap out of sites like XUG, it's that you don't have the template else your site could be seen as a complete mirror, lucky you can't copy our memberbase, Wow 57 Members, good Luck

On a site note, you have violated several laws
Reply With Quote
  #34  
Old 03-30-2007, 01:39 AM
ArabOZ.com ArabOZ.com is offline
 
Join Date: Mar 2007
Location: Saudia arabia, Jeddah
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How i can chane size GamerTag 203×140 to Small size like 150×100px

i hope someone answer me
Reply With Quote
  #35  
Old 04-03-2007, 07:03 AM
M4H M4H is offline
 
Join Date: Nov 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArabOZ.com View Post
How i can chane size GamerTag 203?140 to Small size like 150?100px

i hope someone answer me
I am having the same issues.
Reply With Quote
  #36  
Old 04-03-2007, 01:59 PM
ArabOZ.com ArabOZ.com is offline
 
Join Date: Mar 2007
Location: Saudia arabia, Jeddah
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M4H View Post
I am having the same issues.

you want change the size?
i have idea and use it
it's worked now with me

if you want that i tell you how you can change size..
Reply With Quote
  #37  
Old 02-01-2008, 06:16 AM
playworks playworks is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

change the size of the gamertag box? oh please tell us how? i'm stuck with the 203x140 and it's shifting my whole forum.
Reply With Quote
  #38  
Old 02-01-2008, 09:45 PM
ArabOZ.com ArabOZ.com is offline
 
Join Date: Mar 2007
Location: Saudia arabia, Jeddah
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To Change size Change other website i'm use Mygamertag.net
Just Change old code

USE THIS CODE .. change [fieldXX] 3 time
Code:
<if condition="$post[fieldXX]">
<iframe src="http://card.mygamercard.net/mini/$post[fieldXX].png" scrolling="no" frameBorder="0" height="101" width="151">$post[fieldXX]</iframe>
</if>

Done .. :up:
Reply With Quote
  #39  
Old 02-01-2008, 09:51 PM
ArabOZ.com ArabOZ.com is offline
 
Join Date: Mar 2007
Location: Saudia arabia, Jeddah
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like this photo

Reply With Quote
  #40  
Old 02-14-2008, 10:21 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, INSTALLED!
Reply With Quote
  #41  
Old 03-20-2008, 08:47 PM
odeezie odeezie is offline
 
Join Date: Jan 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know where to find something like this for Play Station? I do searches for it and cannot find anything.
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 08:37 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.09699 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_code
  • (3)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