Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Xbox LIVE Avatars Details »»
Xbox LIVE Avatars
Version: 1.00, by GamingFusion GamingFusion is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 3.8.x Rating:
Released: 11-09-2008 Last Update: Never Installs: 30
Template Edits
 
No support by the author.

This mod does work with 3.7.x as well!

Demo: http://www.gamingfusion.org/commune/showthread.php?t=2 and look under the Hitokyri profile to see the avatar silhouette! (EDIT: My apologies but you have to be a registered user to view this demo. If you still wish to view the DEMO, you will need to register when prompted).

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 Field ID.

Step 2: Modify the Postbit_legacy in your template:

1. Admin CP -> Styles & Templates -> Postbit Templates ->
postbit_legacy

Find

Code:
			<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
After this add:

Code:
<if condition="$post[field#]"><center><img src="http://avatar.xboxlive.com/avatar/$post[field#]/avatar-body.png" width="75" height="150">
</center></if>
Replace the $post[field#] with your field ID you used for your gamertag!

Step 3: Go to Edit Your Details to add your gamertag to your profile.

Step 4: You're done! Enjoy your avatars that will start appearing on November 19th with the launch of the New Xbox Experience!

FAQ

How do I know if the Avatar System is actually working? It's only showing a silhouette.

Answer: If you don't think it is working and want to make sure, temporarily edit your details and edit your gamertag to Major Nelson. If you see something now, you'll know it is working correctly and just waiting for you to get the New Xbox Experience on November 19th. Remember to change your gamertag back to yours and you'll be set!

Enjoy the MOD!
Any questions? Leave them here!

Screenshots

File Type: jpg demopic.jpg (129.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 11-10-2008, 06:27 AM
duckdodger duckdodger is offline
 
Join Date: Feb 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice, thanks!
Reply With Quote
  #3  
Old 11-10-2008, 07:27 AM
GamingFusion GamingFusion is offline
 
Join Date: Sep 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by duckdodger View Post
Looks nice, thanks!
Glad you like it! I just deployed an update (it's small) but adds a Box around the avatar keeping it separate from your forum avatar.

It's completely optional and can be found here:

Code:
<if condition="$post[field5]"><fieldset><legend>Xbox LIVE Avatar</legend>
<div>
<center><img src="http://avatar.xboxlive.com/avatar/$post[field5]/avatar-body.png" width="75" height="150">
</center>
</div>
</fieldset></if>
Reminder: change [field5] to your Field ID.
Reply With Quote
  #4  
Old 11-13-2008, 04:05 AM
stickskills stickskills is offline
 
Join Date: May 2008
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Making this a block in the profile might suit some forums better, but great idea!
Reply With Quote
  #5  
Old 11-20-2008, 08:02 AM
compact123 compact123 is offline
 
Join Date: Jun 2006
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed,thank you...

Reply With Quote
  #6  
Old 11-20-2008, 12:17 PM
Saint Dean Saint Dean is offline
 
Join Date: Oct 2008
Location: UK, Northampton
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.
Reply With Quote
  #7  
Old 11-22-2008, 10:34 PM
Vicros's Avatar
Vicros Vicros is offline
 
Join Date: Dec 2007
Location: Arkansas
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect awesome
Reply With Quote
  #8  
Old 11-23-2008, 08:46 AM
GamingFusion GamingFusion is offline
 
Join Date: Sep 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saint Dean View Post
Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.
I'm working on that now! Thanks for the question! I should have it up next Sunday! (December 30th) Check back then! I'm on vacation at the moment so I'm unable to actually work on this.
Reply With Quote
  #9  
Old 11-24-2008, 08:10 AM
Im Spazzoid Im Spazzoid is offline
 
Join Date: Aug 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saint Dean View Post
Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.
Take the mod that puts the gamercard in a profile block and edit the template to use the code for the avatar instead
Reply With Quote
  #10  
Old 12-12-2008, 04:26 AM
Mike21 Mike21 is offline
 
Join Date: Sep 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well my doesnt show and i tried everything here:

dgpro-gaming.com/forums

my userbar goes ontop for some reason how do i change that
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 01:30 PM.


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.04805 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete