vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - XBL Hacks (https://vborg.vbsupport.ru/showthread.php?t=234332)

betts02 01-27-2010 10:00 PM

XBL Hacks
 
Firstly i take no credit for ANY of the original mods/hacks

With many people asking what mods/hacks work from v3.x.x to v4.x.x i needed to see what worked for my board as i updated myself

So these mods/hacks are simply edited tags,etc for them to work or just simply following the instructions on each mod/hack as it works for v4.0.0

Original mod/hack

Bungieinfo Halo 3 Games in Profile Tab

https://vborg.vbsupport.ru/showthrea...ghlight=bungie

Works on v4,0,0

Xbox Live Recent Games in Profile Tab

https://vborg.vbsupport.ru/showthread.php?t=196843

Works on v4.0.0

Xbox Live Gamertag

https://vborg.vbsupport.ru/showthread.php?t=219102

Replace

Code:

<!--- / Xbox gamertag --->
<if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/$post[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe></td></tr></if>
<!--- / End Xbox gamertag --->

With

Code:

<vb:if condition="$post['field5']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.field5}.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe></td></tr></vb:if>

YOU NEED TO ALTER THE WIDTH OF YOU POSTBIT TO MATCH

Works on v4.0.0


Anything is postbit_legacy

Create a new profile Field (remember the field id number)
Directions:
1. In adminCP go to user profile fields
2. Click on add new profile field
3. Single-Line Text Box
Title - optional
Description -optional
Rest of options are optional, I just left them as they were
Click save and remember the fielf number for each 1 you create


Add the following Code in your postbit legacy, The choice is yours where to place it

I added the following for my site but you may place anywhere you wish

Code:

<vb:if  condition="$post['fieldxx']">&nbsp;<div class="smallfont"><b>XBL Gamer-Tag :    {vb:raw post.fieldxx}<b></vb:if>

<vb:if  condition="$post['fieldxx']">&nbsp;<div class="smallfont"><b>Clan Tag : {vb:raw post.fieldxx}<b></vb:if>

<vb:if  condition="$post['fieldxx']">&nbsp;<div class="smallfont"><b>Clan URL : {vb:raw post.fieldxx}<b></vb:if>

Where each xx is, Remember the field number and place here for each 1 you require, Each field number must match the actual user profile field you created.


IF you do install ANY of these mods/hacks please click install on the original coders mod

I take no credit for any of these mods/hacks, just the testing of them to work and the addition of tags,etc

Enjoy


All times are GMT. The time now is 07:40 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.01257 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete