vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - RoG's Xbox Live Avatar in Posts (https://vborg.vbsupport.ru/showthread.php?t=233751)

betts02 02-28-2010 09:44 AM

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

JVCode 02-28-2010 09:30 PM

Quote:

Originally Posted by NO deadliner (Post 1991365)
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 ?

In Postbit_Legacy

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.

betts02 03-02-2010 08:17 PM

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

x YNWA x 03-04-2010 10:22 AM

I have a problem with when people quote it goes over the avatar...

betts02 03-04-2010 10:35 AM

Quote:

Originally Posted by x YNWA x (Post 1996780)
I have a problem with when people quote it goes over the avatar...

https://vborg.vbsupport.ru/showpost....3&postcount=18

Shadawg 03-04-2010 08:25 PM

read the first page......

XLCR GODFATHER 03-25-2010 08:51 PM

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:

XLCR GODFATHER 03-25-2010 09:19 PM

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

Shadawg 03-28-2010 01:14 PM

No problem at all, go right ahead :)

JasonReynolds 06-28-2010 10:45 AM

I really really love your layout :D


All times are GMT. The time now is 06:04 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.01053 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete