Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
My Team Hack Details »»
My Team Hack
Version: 1.00, by Injektilo Injektilo is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-05-2006 Last Update: 01-07-2006 Installs: 44
Template Edits
 
No support by the author.

My Team Hack




What does this hack do?
Gives the ability to your users to select the team they support from the "Edit Profile" page, and a graphic bar with the team's logo will display in their posts, in postbit and postbit_legacy

Installation difficulty
This hack is very easy. It only takes 2 minutes to install. (IF it takes you more than 2 minutes then vbulletin.org is not the place for you to be )

What do you have to edit
You only have to edit 1 template (postbit or postbit_legacy)
and add a new profile field
(All instructions are included in a text file)

So far, i've just included all teams from English Premiership. In the next days i will add teams from Spain and Italy, or if some of you need other countries as well, just post it here

If you like this hack please clickity click this ->

Check the 3 screenshots below:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 11-16-2006, 01:52 PM
hellekim hellekim is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hellekim View Post
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.
Reply With Quote
  #73  
Old 12-11-2006, 09:10 PM
GafferSports GafferSports is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #74  
Old 05-20-2007, 12:16 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:


Mini Profile:


Most excellent!
Reply With Quote
Reply


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 06:36 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.03734 seconds
  • Memory Usage 2,246KB
  • Queries Executed 20 (?)
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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete