![]() |
RoG's Xbox Live Avatar in Posts
1 Attachment(s)
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 { Code:
.postbitlegacy .after_content { In postbit.css find Code:
.postbitlegacy .signature, .postbitlegacy .lastedited { Code:
margin-top: ?em; Code:
margin-top: 17em; Now go to the postbit_legacy and find Code:
{vb:raw template_hook.postbit_messagearea_start} 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> Thats it Hope you all enjoy it |
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 Code:
width:80%; |
tagged, will see how others like it and then give it a whirl, good idea!
|
Having a problem with the members sigs
A line abopve the sigs runs in to the avatars |
Okay, i'll check your site out.....
|
You need to find this in postbit.css
Code:
.postbitlegacy .signature, .postbitlegacy .lastedited { Code:
margin-top: ?em; it will look like this... Code:
margin-top: 17em; |
I know it was stated mate and i tried to follow that, BUT
Code:
margin-top: ?em; The code i have is Code:
.postbitlegacy .signature, .postbitlegacy .lastedited { |
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... |
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 { Code:
.postbitlegacy .signature, .postbitlegacy .lastedited { |
thats strange it didnt have em after it, try replacing the 17em with just "17" there, if that does not work, try "17px"
|
Quote:
I am running v4.0.0, will this make a difference ? is the "em" changed in v4.0.1 ? |
that could be it, templates are alot different between the versions...... i'll get you added on msn
|
Okay have fixed the problem, for 4.0.0 users only.
Find Code:
.postbitlegacy .postrow.has_after_content { Example Code:
.postbitlegacy .postrow.has_after_content { |
1 Attachment(s)
hi m8 i have trobles with this look at the limage
https://vborg.vbsupport.ru/external/2010/02/9.jpg |
Great work i like this one. You have a clue how i can add the Xbox Gamercard on the Leftside in postbit ? i have try to make it like in version 3.8 but that dosent work :/ maybe you can help me out ?
|
Quote:
Find the template called bbcode.css Find Code:
.bbcode_container div.bbcode_quote Code:
width:80%; |
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
If possible can you help me again ?
I have a new theme from last time you did the fix for me if you remember ? The awards mod goes through the avatar and the fix you did for my postbit_legacy gamer card If possible can you help with bith ? cheers in advance |
Quote:
Find: <dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd> ADD BELOW <vb:if condition="$post['fieldx']"> <center><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.fieldx}/avatar-body.png" width="100" height="200"> </center> </vb:if> Replace the x with xbox live profile field number. |
For th xbox gamer card to appear, its
Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option"> |
I have a problem with when people quote it goes over the avatar...
|
Quote:
|
read the first page......
|
This is the first template mod I have ever done too my site. VB Suite 4.0.2 pl2
Very easy to follow just had to scroll thru the comments to find the bbcode.css fix and worked like a charm. Perfect!!!! Thank You....:up::up: |
I have an Idea for another version of this code to show other Gamer info in the postpost bit using some of the code changes you used here with variations. Is there any problem reusing some of what you have done here if I give you credit for the original Idea in my mod
|
No problem at all, go right ahead :)
|
I really really love your layout :D
|
does this work on 4.0.3??
|
Yes it should do, if not i will get a working code.....
|
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.
|
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.
|
Quote:
|
Quote:
http://www.xboxhounds.com/showthread...=3677#post3677 www.xboxhounds.com |
Quote:
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; |
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?
|
Quote:
See it live @ XboxHounds |
Yea the postbit_legacy i could find but in 4.0.6 i can find anything for step 1 and two?
|
All times are GMT. The time now is 08:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|