vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - North American Sports Team Icons (https://vborg.vbsupport.ru/showthread.php?t=224345)

steeler7 05-13-2010 08:42 PM

Any chance of the code being updated to 4.0? Looks like all that needs updating is the Postbit Legacy code.

PSC001 07-01-2010 08:53 PM

Quote:

Originally Posted by steeler7 (Post 2036598)
Any chance of the code being updated to 4.0? Looks like all that needs updating is the Postbit Legacy code.

Yes, looking for this for 4.0 please.

bacemail 07-11-2010 04:26 AM

Any reason why the icons sometimes don't show up for some users? They'll show, then not show - leaving a red X in Explorer. Firefox of course does not show the broken link.

Fixed. I overlooked the "set to private" setting. It was set to "yes" which was causing some chaos.

Nice mod. I had to make a logo for Virginia Tech and take an extra "s" off the end of Nebraska Cornhuskers.

steeler7 07-26-2010 07:15 PM

To get this to work on vB4 I used everything here except I used the following code in my postbit legacy...

Code:

<vb:if condition="$post['fieldX']"><img src="images/teams/{vb:raw post.fieldX}.gif" alt="Sports Logo" border="" /></vb:if>
I actually put the above directly under
Code:

{vb:rawphrase 'posts'} : {vb:raw post.posts}

BirdOPrey5 08-07-2010 06:29 PM

This is cool but the postbit area can get very 'busy' for some peoples tastes. I added another option to let users disable seeing these at all if they choose:

Make yet another custom user profile field, this time a Single Selection Radio Button...
Options:
Yes
No
Filed Required: Yes at registration...
The rest of the settings same as mentioned for the other fields.


Code:

<if condition="($vbulletin->userinfo['fieldY'] != 'No')">
<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>
</if>

Replace "fieldY" with the field number of this new option, example: field15

BirdOPrey5 08-09-2010 09:15 AM

There's a typo in the file name for the: Missouri Tigers.gif image. (That's the corrected name.)

BirdOPrey5 08-09-2010 04:26 PM

1 Attachment(s)
There was also no image at all for the Clemson Tigers...very anti-cat I see? :p

Anyway I made this image quickly to fit in (50x40 pix) but would be interested if there's a 'real' logo out there.

Edit: Added better one.

Also no image for: Virginia Tech Hokies (also added here).

BirdOPrey5 08-09-2010 08:40 PM

1 Attachment(s)
OK so I've made 50x40 logos for all major (and some minor) Car Makers common in North America...

Download the ZIP, upload the files to your /images/teams/ folder and then edit your custom profile field(s) and copy and paste the following lines below your last sports team:

Code:

<<Automobiles>>
Acura
Alfa Romeo
AMC
Aston Martin
Audi
Bentley
BMW
Buick
Cadillac
Chevolet
Chrysler
Daewoo
Daimler
Datsun
DMC
Dodge
Eagle
Ferrari
Ford
Geo
GM
GMC
Honda
Hummer
Hyundai
Infiniti
Isuzu
Jaguar
Jeep
Kia
Land Rover
Lexus
Lincoln
Maybach
Mazda
Mercedes-Benz
Mercury
MG
Mini
Mistubishi
Nissan
Oldsmobile
Overland
Plymouth
Pontiac
Porsche
Rolls Royce
Saab
Saturn
Scion
Studebaker
Subaru
Suzuki
Tesla Motors
Toyota
Troller
Volkswagon
Volvo
Willys

I'm working on a collection of miscellaneous logos now...

BirdOPrey5 08-14-2010 05:32 PM

1 Attachment(s)
Logos for common (in North America) Beers and Fast Food/Restaurants

Code:

<<Restaurants & Fast Food>>
Applebees
Burger King
Carls Jr
Cheesecake Factory
Chilis
Dairy Queen
Del Taco
Dominos Pizza
Dunkin Donuts
IHOP
In-N-Out Burger
Jack in the Box
KFC
Krispy Kreme
Longhorn
McDonalds
Olive Garden
Outback
Papa Johns
Pizza Hut
Popeyes
Quiznos
Red Lobster
Roy Rogers
Rubios
Ruby Tuesday
Sbarro
Sonic
Starbucks
Subway
Taco Bell
TGI Fridays
Wendys
White Castle

Code:

<<Beers, Lagers & Ales>>
Amstel
Amstel Light
Anheuser Busch
Becks
Blue Moon
Boulevad Brewing
Bud Light
Budweiser
Busch
Coors
Coors Light
Corona
Guinness
Heineken
Heineken Light
Kalik
Keystone
Keystone Light
Michelob
Michelob Dry
Mike's Hard
Miller
Miller Lite
New Belgium
O'Douls
Red Stripe
Rolling Rock
Samuel Adams
Shiner Bock
Stella Artois


Wreck713 08-16-2010 04:02 AM

Great work Bird.


All times are GMT. The time now is 07:28 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.01203 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_code_printable
  • (1)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