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
  #92  
Old 11-24-2012, 09:25 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, but i have an issue with the quote box.. see attached pic.

It was colored in & it blocked the avatar, but now i made the background clear so you can at least see the avatar. Is there a reason the quote box is extending beyond, & into the avatar image.?

Anyway to fix.?

Thanks
Attached Images
File Type: jpg quote.jpg (20.1 KB, 0 views)
Reply With Quote
  #93  
Old 11-25-2012, 03:58 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
Works great, but i have an issue with the quote box.. see attached pic.

It was colored in & it blocked the avatar, but now i made the background clear so you can at least see the avatar. Is there a reason the quote box is extending beyond, & into the avatar image.?

Anyway to fix.?

Thanks
Your answer is here:

https://vborg.vbsupport.ru/showpost....74&postcount=2
Reply With Quote
Благодарность от:
Gamelobby
  #94  
Old 01-11-2013, 05:21 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So that worked great (i should have looked at earlier posts), but now that i upgraded to 4.2 the quote box is still good, but it keeps all text at 80% width too all the way down the post, not just at the avatar.?

I like how it used to wrap around the image instead.
Can this be fixed easily.? It's not a huge deal, just curious.

Thanks
Reply With Quote
  #95  
Old 01-27-2013, 09:07 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hoping someone can help with my issue

You can see by the image that it cuts some of the video off at 48 seconds where the video is actually 1.04 long
I can click to remove adverts.etc or change quality either

[URL=http://imageshack.us/photo/my-images/259/vbhelp.png/]

Can anyone help ?

Cheers in advance
Reply With Quote
  #96  
Old 01-28-2013, 03:02 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
Hoping someone can help with my issue

You can see by the image that it cuts some of the video off at 48 seconds where the video is actually 1.04 long
I can click to remove adverts.etc or change quality either

[URL=http://imageshack.us/photo/my-images/259/vbhelp.png/]

Can anyone help ?

Cheers in advance
Go to your bbcode_video template and change the width and height of the youtube player there
Reply With Quote
  #97  
Old 01-28-2013, 11:02 PM
Inspector G Inspector G is offline
 
Join Date: Dec 2012
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mind If I ask a really Dumb question? No not that one...

I was wondering, this would be unique to each individual user correct?
Kinda would seem stupid if not...
So I was also wondering how the user would input their unique id and where?

Then once that was done, why not use it as their avatar instead of the AVATAR and move it out of their post area all together? or be able to choose it as a Signature?

Seems like it would be clean and efficient and not create any issues with posting.
If you have not done this WHY?

Now the really Dumb one.
Can you Teach me How to make a persons Avatar (prefer Signature) their XBOX live character?
I think it is pretty cool Just reading you guys are able to even do this stuff...
I am running VB 4.2 patch 3...

Also would wonder if it would work on VB5 the same way?
I do see the Live Avatar mod, but I still wonder about the Signature mod?
Reply With Quote
  #98  
Old 01-28-2013, 11:13 PM
Inspector G Inspector G is offline
 
Join Date: Dec 2012
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I knew it was a dumb question sorry about that...I found the mod for profile
Never Mind that one wont run on 4.2 p 3 it was 3.8
Reply With Quote
  #99  
Old 02-09-2013, 06:52 PM
Inspector G Inspector G is offline
 
Join Date: Dec 2012
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No reply's at all...
Still wonder if this will run on 4.2 I see in a post above someone is running it on 4
Reply With Quote
  #100  
Old 02-10-2013, 12:14 PM
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Location: uk
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it installed on 4.2 and working
Reply With Quote
  #101  
Old 02-10-2013, 03:01 PM
Inspector G Inspector G is offline
 
Join Date: Dec 2012
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The next thing I would like to ask, since I see so many pages and then revisions...

Does anyone have the correct code to start off with and instructions or is the only way to get it too completely sift through the entire thread a post at a time?

I know that sounds lazy, not at all...

I just am not attempting to screw things up so I can then go all the through the thread post by post to fix it, when I could have just skipped the whole process with a couple lines of code, this is way over my head.

But I would like to be able to have this on my site working it looks awesome...

Thanks again for at least telling me it runs on 4.2...
Ok I am going for it...
I think I see some of the answers to a couple questions I had asked...
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 11:53 AM.


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.07193 seconds
  • Memory Usage 2,344KB
  • Queries Executed 28 (?)
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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete