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
  #2  
Old 01-21-2010, 04:08 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will help people out who are struggling with this.

Found a problem when a quote is being used, it goes over the avatar.

Fix for it is here.

Find the template called bbcode.css

Find

Code:
.bbcode_container div.bbcode_quote
add underneath it

Code:
width:80%;
if you have any bugs report them here, i will do my best to get them fixed
Reply With Quote
  #3  
Old 01-22-2010, 03:22 PM
TunerNetwork TunerNetwork is offline
 
Join Date: Jul 2004
Location: CT
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged, will see how others like it and then give it a whirl, good idea!
Reply With Quote
  #4  
Old 01-27-2010, 01:33 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problem with the members sigs

A line abopve the sigs runs in to the avatars
Reply With Quote
  #5  
Old 01-27-2010, 08:01 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, i'll check your site out.....
Reply With Quote
  #6  
Old 01-27-2010, 08:04 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to find this in postbit.css

Code:
.postbitlegacy .signature, .postbitlegacy .lastedited {
there you will find

Code:
margin-top: ?em;
you need to replace whatever number you have before the "em;" and put 17

it will look like this...

Code:
margin-top: 17em;
this was stated in the first post....
Reply With Quote
  #7  
Old 01-27-2010, 09:02 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it was stated mate and i tried to follow that, BUT

Code:
margin-top: ?em;
Was not like this, I can not remember exactly what it was but it was slightly different

The code i have is

Code:
.postbitlegacy .signature, .postbitlegacy .lastedited {
   margin-top: 17em;
   padding: 0 {vb:stylevar padding};
Reply With Quote
  #8  
Old 01-27-2010, 09:23 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

then that should work then, 17 makes the signature line underneath the avatar.....

If you like you could contact me on aim so i can take a closer look at your template...
Reply With Quote
  #9  
Old 01-27-2010, 09:52 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am currently on my old pc as my newer 1 is getting fixed, This pc is really XXXXXX

So it willnot install aim, i have msn at betts02@tiscali.co.uk or if you view the thread at>>>http://www.nextgenerationgamers.co.u...0557#post10557

And scroll to post number 11 you will see the lads sig with the line above it, Please forget the gamer card image rolling over as i am trying to fix that now, but you will see the line i mean

What i have is

Code:
.postbitlegacy .signature, .postbitlegacy .lastedited {
   margin-top: 17em;
   padding: 0 {vb:stylevar padding};
What i had was

Code:
.postbitlegacy .signature, .postbitlegacy .lastedited {
	margin-top: 0;
	padding: 0 {vb:stylevar padding};
This is for the default theme and the same for my style theme
Reply With Quote
  #10  
Old 01-28-2010, 12:43 AM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats strange it didnt have em after it, try replacing the 17em with just "17" there, if that does not work, try "17px"
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 04:51 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.04283 seconds
  • Memory Usage 2,312KB
  • 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
  • (16)bbcode_code
  • (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