Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
RoG's Xbox Live Avatar in Posts Details »»
RoG's Xbox Live Avatar in Posts
Version: 1.00, by Shadawg Shadawg is offline
Developer Last Online: Aug 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 01-20-2010 Last Update: Never Installs: 46
Template Edits
Code Changes  
No support by the author.

Okay this is my first release. for postbit legacy

Screenshot at the bottom.....

Create a new profile field or use an existing one for xbox live gamertag.

First step, you may have already done this.

In Postbit.css find

Code:
.postbitlegacy .after_content {
 position: relative;
 width: 100%;
 clear:both;
}
and replace with

Code:
.postbitlegacy .after_content {
 position: relative;
 width: 100%;
 clear:none;
}
Second Step.

In postbit.css

find

Code:
.postbitlegacy .signature, .postbitlegacy .lastedited {
underneath that code you will find

Code:
margin-top: ?em;
replace that number with 17, so it will look like this.
Code:
margin-top: 17em;
Step Three

Now go to the postbit_legacy and find

Code:
{vb:raw template_hook.postbit_messagearea_start}
add after

Code:
<vb:if condition="$post['fieldx']"><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.fieldx}/avatar-body.png" align="right" width="150" height="300"/></vb:if>
Replace the x with xbox live profile field number.

Thats it

Hope you all enjoy it

Screenshots

File Type: jpg xbox-postbit.jpg (101.6 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 07-01-2010, 02:08 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work on 4.0.3??
Reply With Quote
  #33  
Old 07-08-2010, 11:36 AM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it should do, if not i will get a working code.....
Reply With Quote
  #34  
Old 07-08-2010, 12:53 PM
x626xblack x626xblack is offline
 
Join Date: Oct 2009
Location: Houston Tx.
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I may suggest. Instead of editing the CSS templates and having revert issues for upgrades use the Extra CSS template. No code to revert or change when upgrading or updating.
Reply With Quote
  #35  
Old 07-11-2010, 06:10 AM
EQmandingo EQmandingo is offline
 
Join Date: Sep 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EXCELENT!!! Honestly one of the simplest template mods to implement and I might add for a gaming community one of the most worthwhile addons. Please continue to concoct some more brews similar to this one.
Reply With Quote
  #36  
Old 07-12-2010, 02:47 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EQmandingo View Post
EXCELENT!!! Honestly one of the simplest template mods to implement and I might add for a gaming community one of the most worthwhile addons. Please continue to concoct some more brews similar to this one.
Thanks man, i have another mod but its a mixpod.com playlist mod. Dunno to release that or not.....
Reply With Quote
  #37  
Old 09-07-2010, 06:11 AM
top dogs 360 top dogs 360 is offline
 
Join Date: Jul 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
For th xbox gamer card to appear, its

Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.fieldXX}.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe></td></tr></vb:if>
I need to try to make the postbit_legacy wider to accomodate this but am stuck
Did anyone figure this out as I can change the width to 190 to accommodate the postbit legacy but the gamercard cuts off.
http://www.xboxhounds.com/showthread...=3677#post3677


www.xboxhounds.com
Reply With Quote
  #38  
Old 09-08-2010, 01:26 PM
top dogs 360 top dogs 360 is offline
 
Join Date: Jul 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
For th xbox gamer card to appear, its

Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.fieldXX}.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe></td></tr></vb:if>
I need to try to make the postbit_legacy wider to accomodate this but am stuck

I finally figured this out. In postbit.css find;


.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width: {vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
clear:both;


Okay what you want to change is the width from this:


{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}}

to this:
205px;
Reply With Quote
  #39  
Old 09-09-2010, 12:55 AM
N2L Fatality N2L Fatality is offline
 
Join Date: Dec 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im running 4.0.6 and looking in the Postbit section I can not find anything with those code. It keep coming up blank. Anyone know what to do to add this to 4.0.6?
Reply With Quote
  #40  
Old 09-09-2010, 05:42 AM
top dogs 360 top dogs 360 is offline
 
Join Date: Jul 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by N2L Fatality View Post
Im running 4.0.6 and looking in the Postbit section I can not find anything with those code. It keep coming up blank. Anyone know what to do to add this to 4.0.6?
Make sure you in postbit.css for step 1 & 2 then postbit_legacy for step 3. In postbit_legacy its about 40% the way down right after this. {vb:raw template_hook.postbit_messagearea_start}

See it live @ XboxHounds
Reply With Quote
  #41  
Old 09-09-2010, 11:37 AM
N2L Fatality N2L Fatality is offline
 
Join Date: Dec 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea the postbit_legacy i could find but in 4.0.6 i can find anything for step 1 and two?
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 09:54 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.06735 seconds
  • Memory Usage 2,333KB
  • Queries Executed 26 (?)
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
  • (9)bbcode_code
  • (4)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
  • (4)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
  • (1)postbit_attachment
  • (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_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