The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
North American Sports Team Icons Details »» | |||||||||||||||||||||||||||
Want to show off the pride of your favorite sports team and allow your members to do the same?
This mod creates such a feature on your site. Your members can select up to 3 teams they root for or support. This will show up in the postbit area on the forum. Whether it's the NFL, MLB, NBA, NHL, or NCAA, we have it covered. You can add your own custom images as well or add to the list already provided. It's an easy little add on with big results. Step By Step Installation: 1) Upload the entire "teams" folder in your forumname.com/images/folder. 2) Go to your admincp->User Profile Fields->Add New User Profile Field. 3) For the Profile Field Type pick the 4th selection from the dropdown list. The name of it is "Single-Selection Menu". Now press continue. 4) On the new page, fill out this information : Title: My Favorite Sports Team Description: Select your favorite team from the NFL, MLB, NBA, NHL, or NCAA. Options: (Copy and paste in the options box, the list below. Copy it exactly as it is, and keep in mind that each team must appear on a separate line) LIST OF TEAMS IN FILE Set Default: None Display Order: Don't change this. Only thing you have to do, is to WRITE DOWN the number(ID) given in the "Display Order" field. You will need it later on during this installation.!!! Field Required: No Field Editable by User: Yes Private Field: No Field Searchable on Members List: No Show on Members List: No Option Input: Allow user to input their own value for this option: No Max length: Don't change it Display Size: Don't change it Regular Expression: Leave it blank Display Page: Select "Edit Profile" Click SAVE button. If you just want one team listed, continue on, but only use one line of the <if condition> line below in the code you must Add. If you want to add more teams, then just add more lines between the <div> code. Also if you want more teams listed... MAKE SURE YOU COMPLETE THE ABOVE STEP FOR AS MANY TEAMS AS YOU WANT YOUR USERS TO SELECT. 5) Now go to Styles & templates->Style Manager. Now you are looking at all the styles you are using for your forum. Pick the style you want to apply this hack by changing the dropdown selection next to it, to "Edit Templates". 6) On the new page, find the postbit or postbit_legacy template (depends which one you are using for your forum) and double click on it to edit it. 7) In your code find: Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> Code:
<div align="center"> <if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if> <if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if> <if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if> </div> BEFORE clicking Save, change the [fieldX] to the number(ID) given by the system in step 4 Display Order. For example [fieldX] will be changed to [field9]. Change all 3 [fieldX] and now you may click Save. Finally, if you covered all the above steps correctly, you will be able to see a dropdown selection list for American Sports Teams Hack in your UserCP-> Edit Profile NOTE: The above code is for 3 teams listed in your postbit side-by-side. If you don't care for the team logos I created, simply create your own and name them how you would want them entered on the option drop down. You'll notice that the images names are the same as we have listed. This mod/hack could be used for almost anything that you wanted your members to be able to select an image in place of text. Any questions or problems, please let me know. FYI, I included the college teams in this mod, but if you just want the professional sports, just do not copy those team names in the options area. Enjoy! Version 1.2: Added UFL logos to the system. Version 1.1: 1. Edited the file to fix a spelling error. 2. Changed the icons for Columbus Blue Jackets, Oklahoma City Thunder, and NFL. Download Now
Show Your Support
|
Comments |
#2
|
|||
|
|||
BTW, this mod does not require any additional modification to work.
Just follow the instructions and install the required changes to make it work. As I said, you can change the images to whatever you want. |
#3
|
|||
|
|||
ok its very nice any demo for that please
|
#4
|
|||
|
|||
any demo?
|
#5
|
||||
|
||||
tunes link says what it is! http://www.my247forums.com/showthread.php?t=49224
|
#6
|
|||
|
|||
Nice Mod, I made 3 custom Fields so The User can choose their 3 favorite teams and have them displayed, Minor Error Pheonix Suns has Phoenix Sunss and therefore the image wont display, easily fixable but you may wanna change it in the download. Interested if any one creates a Soccer or NHL list
|
#7
|
|||
|
|||
You should rename this to North American Sports team Icons
There are at least 7 Canadian teams in there. |
#8
|
|||
|
|||
Very Nice, But there is no more Seattle Supersonics for the NBA, they moved to and are known as the Oklahoma City Thunder
|
#9
|
|||
|
|||
great mod,but im having a problem maybe someone could help me solve...
seems i can only chose 1 team from the dropdown menu and it is displaying in postbit same team x 3 ... how do you pick multiple teams from single choice menu as shown on this url >> http://www.my247forums.com/showthread.php?t=49224 EDIT: my bad im just a little slow,got it sorted,great mod |
#10
|
|||
|
|||
Sorry, guys... I made this about a year ago and have been using it faithfully. I figured it was time to share. That is why some of the teams need fixed.
I'll fix those issues and re-upload download. iMageREAL: Glad you figured it out. I'm guessing that you had all the same code in the edit of the postbit. You needed to change the X to whatever the field is. PS: changing the name to North American Sports Team Icons as suggested by Greek Wizard. Thanks for the tip. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|