Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 05-14-2012, 08:07 PM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have 4.1.12 and i can not find the code that needs to be edited any ideas why,marccap,your forums look great
Reply With Quote
  #73  
Old 05-15-2012, 01:30 AM
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Location: uk
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the codes should be where they are stated at the start of this thread. Try searching in "search templates" for the code or part of the code to find it.
Reply With Quote
  #74  
Old 05-15-2012, 11:08 PM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found it ,made the changes but the avatars are not showing up,i use profile field 5 for my xbox live gamer card,can i use this profile field for the avatar or do i need to make another profile field
Reply With Quote
  #75  
Old 05-16-2012, 02:25 AM
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Location: uk
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FTG LIQUID CL View Post
found it ,made the changes but the avatars are not showing up,i use profile field 5 for my xbox live gamer card,can i use this profile field for the avatar or do i need to make another profile field
Should be all in one field - Double check all the coding or search "fieldX" to make sure the fields have been completed
Reply With Quote
  #76  
Old 05-21-2012, 01:18 AM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working thanks for your help
Reply With Quote
  #77  
Old 06-23-2012, 04:31 PM
killerford's Avatar
killerford killerford is offline
 
Join Date: Jan 2012
Location: United Kingdom
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work for 4.2?
Reply With Quote
  #78  
Old 06-23-2012, 05:07 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by killerford View Post
Will this work for 4.2?
Yes mate, the edits are still the same so it still works.
Reply With Quote
  #79  
Old 07-07-2012, 12:57 AM
Luis's Avatar
Luis Luis is offline
 
Join Date: May 2011
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love this ... thx

work on 4.1.11
Reply With Quote
  #80  
Old 07-10-2012, 06:21 PM
zapiy zapiy is offline
 
Join Date: Jul 2008
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still works and still brilliant..

Cheers
Reply With Quote
  #81  
Old 09-18-2012, 11:43 AM
killerford's Avatar
killerford killerford is offline
 
Join Date: Jan 2012
Location: United Kingdom
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done this and this code https://vborg.vbsupport.ru/showthrea...ight=gamercard and the other one to add it to your profile and it's only showing in people's profile when you click their name.. I'm using the same profile field for all three and it's not showing in the postbit on the posts nor is the avatar showing in the right hand side and I've done everything step by step.

I'm using 4.2
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 12:05 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.04805 seconds
  • Memory Usage 2,329KB
  • 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
  • (7)bbcode_code
  • (2)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