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

Reply
 
Thread Tools
XBOX gamercard and NXE avatar in postbit Details »»
XBOX gamercard and NXE avatar in postbit
Version: 1.1, by JAnders JAnders is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 11-20-2008 Last Update: Never Installs: 11
Template Edits
Re-useable Code Translations  
No support by the author.

This is a simple modification I created for my forum and I believe someone may find it handy.

I will display the Avatar's thumbnail and gamertag on the users posts. if you place the mouse over the avatar it'll show the avatar and the gamercard on the gamertag. depending on which you place the cursor over.

IMPORTANT:
This works with gxbox live requires it to be installed.


TO INSTALL:
Go the admin panel. Select Styles and templates --- Style Manager. Find postbit_legacy

Find the following:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
add below:
Code:
<if condition="$post[field#]"><fieldset><legend>XBox LIVE Gamercard</legend>
<div>
<a href="http://avatar.xboxlive.com/avatar/$post[field#]/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','$post[field#]');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/$post[field#]/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="http://gamercard.xbox.com/$post[field#].card" target="_blank" onmouseover="gXBL_show('gamercard','$post[field#]');" onmouseout="return gXBL_hide();">$post[field#]</a></fieldset>
</if>
Make sure to replace [field#] with the field number where gamertags are stored.

Demo: www.fifamexico.net/foros

Update: v.1.1
fixed missing fieldset closing tag.

Show Your Support

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

Comments
  #12  
Old 12-22-2008, 06:08 PM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

avatar only the avatar doesn't show? or both the gamertag and avartar don't show on mouse over?

do they show in the gxboxlive hack?
Reply With Quote
  #13  
Old 09-19-2009, 08:09 AM
Gold Jok3 Gold Jok3 is offline
 
Join Date: Sep 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm using vbulletin 3.8.4

is this work?
Reply With Quote
  #14  
Old 09-19-2009, 07:37 PM
Nephalim Nephalim is offline
 
Join Date: Apr 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gold Jok3 View Post
i'm using vbulletin 3.8.4

is this work?
Yes, it is working perfect in Our forum. Sorry it's brand new and not 'live' yet. But this Mod does work!

ONE IMPORTANT THING!!!!!!!
Once installed with the Xbox live leaderboard (which works too in 3.8.4) You have to go to >>>
Admin panel >>> Vbulletin options >>> Style and Language settings!

Change Use Legacy (Vertical) Postbit Template to "YES". And it will work instantly!!!:up:

FREAKIN' Cool mod!
Reply With Quote
  #15  
Old 09-28-2009, 07:48 PM
Daryn Daryn is offline
 
Join Date: Nov 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to just have the avatar and gamecard displayed without a mouseover?
Reply With Quote
  #16  
Old 09-28-2009, 09:00 PM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it is...i have it that way
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 03:13 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.06104 seconds
  • Memory Usage 2,248KB
  • Queries Executed 20 (?)
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
  • (1)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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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