vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   My Team Hack (https://vborg.vbsupport.ru/showthread.php?t=104599)

hellekim 11-16-2006 01:52 PM

Quote:

Originally Posted by hellekim (Post 1067907)
I lost this one when I upgraded to 3.6.0 - I tried to modify the template, but nothing happened - any ideas?

I was just blind and reading through the manual again, fixed this.

GafferSports 12-11-2006 09:10 PM

I have installed this and made simple Scottish images. I am not sure if I can add them as a zip here 'tho, nor whether I can post an example url.

SBlueman 05-20-2007 12:16 AM

Great Mod! I modified it just a bit to all members to show their favorite teams for the NFL, Major League Baseball, NBA, NHL and NCAA Football:

I added the new user profile fields as per the instructions for each new option, uploaded the images into their own folders in the images/MyTeam/ folder and then I added this to my postbit template:
Code:

<div class="smallfont"><strong><font color="#000066">Favorite Teams:</font><br>
              &nbsp;
              <!-- MyTeam Hack by Injektilo - Start -->
              <if condition="$post[field5] != ''"><img src="images/MyTeam/nfl/$post[field5].gif" title="$post[field5]" align="center"></if>
              <!-- MyTeam Hack by Injektilo - End -->
              &nbsp;
              <!-- MyTeam Hack by Injektilo - Start -->
              <if condition="$post[field6] != ''"><img src="images/MyTeam/mlb/$post[field6].gif" title="$post[field6]" align="center"></if>
              <!-- MyTeam Hack by Injektilo - End -->
              &nbsp;
              <!-- MyTeam Hack by Injektilo - Start -->
              <if condition="$post[field7] != ''"><img src="images/MyTeam/nba/$post[field7].gif" title="$post[field7]" align="center"></if>
              <!-- MyTeam Hack by Injektilo - End -->
              &nbsp;
              <!-- MyTeam Hack by Injektilo - Start -->
              <if condition="$post[field9] != ''"><img src="images/MyTeam/nhl/$post[field9].gif" title="$post[field9]" align="center"></if>
              <!-- MyTeam Hack by Injektilo - End -->
              <!-- MyTeam Hack by Injektilo - Start -->
              <if condition="$post[field10] != ''"><img src="images/MyTeam/ncaa/$post[field10].gif" title="$post[field10]" align="center"></if> </strong></div>
              <!-- MyTeam Hack by Injektilo - End -->

And these are the results:

Profile Options:
http://img523.imageshack.us/img523/7...optionsxl0.jpg

Mini Profile:
http://img412.imageshack.us/img412/9...profilelz1.jpg

Most excellent!


All times are GMT. The time now is 11:29 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.00984 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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