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)

BirdOPrey5 08-19-2010 02:25 AM

1 Attachment(s)
Thanks...

Liquor Brands

Code:

<<Liquors>>
1800 Tequila
Absolut Vodka
Bacardi
Barenjager
Beefeater Gin
Bombay Sapphire
Bushmills
Captain Morgan
Ciroc
Crown Royal
Cruzan
Finlandia
Gekkeikan Sake
Goldschlager
Gordons
Grey Goose Vodka
Havana Club
Hennessy
Irish Mist
Jack Daniels
Jager Tap Machine
Jager
Jagermeister
Jameson
JC Cognac
Jim Beam
Johnnie Walker
Jose Cuervo
Kahlua
Ketel One Vodka
Michael Collins Irish Whiskey
Mount Gay RUm
Patron Tequila
Redrum
Sauza Tequila
Seagrams 7
Skyy VodkA
Smirnoff
Southern Comfort
Stoli
Tequila Corazon
Tommt Bahama Rum
Tuaca
Wild Turkey


Gophers 01-02-2011 12:57 AM

I know i am late to the party. But i using this mod and it rock.

BirdOPrey5 anyway you can make some Soccer team logos, mostly MLS and some other.

BirdOPrey5 01-02-2011 01:08 AM

I have some soccer already made... honestly I have no idea what the team names even are...

If you have a list of team names I'll see what I can do... in the mean time these are what I have:

Code:

<<soccer>>
Arsenal
Charlotte Eagles
Cinsinnati Kings
Houston Dynamo
LA Galaxy
Manchester United
MLS Soccer
New Jersey Ironmen
New York Redbull
Philadelphia Union
Portland Timbers
Rochester Rhinos
US Soccer
Vancouver Whitecaps

Edited- New Soccer file 2 posts below.

Gophers 01-02-2011 01:13 AM

Here are the team names for the MLS.

New York Red Bulls
Columbus Crew
Kansas City Wizards
Chicago Fire
Toronto FC
New England Revolution
Philadelphia Union
D.C. United


Los Angeles Galaxy
Real Salt Lake
FC Dallas
Seattle Sounders FC
Colorado Rapids
San Jose Earthquakes
Houston Dynamo
Chivas USA

Also add this one to your list, NASL Team the NSC Minnesota Stars. a team from my area.

BirdOPrey5 01-02-2011 01:50 AM

1 Attachment(s)
OK, I added those logos to the ones I already had...

Code:

<<soccer>>
Arsenal
Charlotte Eagles
Chicago Fire
Chivas USA
Cinsinnati Kings
Colorado Rapids
Columbus Crew
DC United
FC Dallas
Houston Dynamo
Kansas City Wizards
LA Galaxy
Manchester United
MLS Soccer
New England Revolution
New Jersey Ironmen
New York Redbull
Philadelphia Union
Portland Timbers
Real Salt Lake
Rochester Rhinos
San Jose Earthquakes
Seattle Sounders FC
Toronto FC
US Soccer
Vancouver Whitecaps


Gophers 01-02-2011 01:57 AM

Thank man. that all i needed.

combs 01-13-2011 09:27 PM

Quote:

Originally Posted by steeler7 (Post 2074895)
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}

This works perfect in VB4 in case anybody is wondering.

Thanks for the great mod. If anybody is creating images, it'd be cool if you could add other entertainment type things. Popular TV shows, Musicians, and of course hot celebrities =)

Krusty1231 02-22-2011 03:27 PM

Thanks and thanks for this. Works great on 4.1.1

Special note to Bird of Prey - thanks for the extra's you made and shared here.....very nice.

combs 03-30-2011 07:51 PM

any idea why this would be happening? Only happens to about 1/5th of the members profiles. Can't figure it out.

https://vborg.vbsupport.ru/

Sorry for the small pic but you get the idea. they appear on the side sometimes.

BirdOPrey5 03-30-2011 09:17 PM

Are you using postbit or postbit_legacy?

combs 03-30-2011 10:12 PM

Legacy, and we figured out it only happens to people with smaller avatars. So it happens to those that have room on the right to still have space for them.

combs 03-30-2011 10:23 PM

here is my surrounding code.

HTML Code:

<vb:if condition="$show['infraction'] OR $show['reppower']">
                                <dl class="user_rep">
                                        <vb:if condition="$show['infraction']">
                                        <dt>{vb:rawphrase infractions}</dt>
                                        <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
                                        </vb:if>
                                        <vb:if condition="$show['reputation']">
                                                <vb:if condition="$show['reppower']">
                                        <dt>{vb:rawphrase reppower}</dt>
                                        <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
                                                </vb:if>
                                        </vb:if>
                                </dl>
                                </vb:if>
                        <div align="center">
<vb:if condition="$post['field5']"><img src="images/teams/{vb:raw post.field5}.gif" alt="Sports Logo" border="" /></vb:if>
<vb:if condition="$post['field6']"><img src="images/teams/{vb:raw post.field6}.gif" alt="Sports Logo" border="" /></vb:if>
<vb:if condition="$post['field7']"><img src="images/teams/{vb:raw post.field7}.gif" alt="Sports Logo" border="" /></vb:if>
<vb:if condition="$post['field8']"><img src="images/teams/{vb:raw post.field8}.gif" alt="Sports Logo" border="" /></vb:if>
<vb:if condition="$post['field9']"><img src="images/teams/{vb:raw post.field9}.gif" alt="Sports Logo" border="" /></vb:if>
<vb:if condition="$post['field10']"><img src="images/teams/{vb:raw post.field10}.gif" alt="Sports Logo" border="" /></vb:if>

                                </div>
                        </vb:if>
                </div>


BirdOPrey5 03-30-2011 11:22 PM

http://img814.imageshack.us/img814/3...pturexy.th.png

Can you post a pic of how you expect it to look? I really can't see how the code you posted above could ever result in the image you posted, but I've seen stranger things in VB4 before so...

combs 03-31-2011 12:49 AM

They are just supposed to have 3 on top and 3 on bottom, instead of three keep going to the side.

combs 03-31-2011 01:18 AM

fixed it, guess it goes in a different spot. Anybody with the same problem I just pasted it above this:

{vb:raw template_hook.postbit_userinfo_right_after_posts}

edytwinky 04-05-2011 11:22 PM

Anybody have screenshots of what this looks like on vb3?

BirdOPrey5 04-06-2011 02:48 PM

Here's a live example of it: http://www.juot.net/forums/showthread.php?t=47012

Frost5 04-09-2011 09:02 PM

Quote:

The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Don't know what that error is occurring after I edit the code, any clue?

BirdOPrey5 04-10-2011 12:30 AM

One of your <if> conditionals has a typo.

Gamelobby 05-08-2011 10:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2080582)
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

Does this work for 4.1.3.?

I got this..
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3416
Quote:

The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Are we supposed to change/add something to the red part.?

Thanks

Gamelobby 05-08-2011 11:20 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2081498)
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...

ChevRolet ;)

BirdOPrey5 05-09-2011 01:33 AM

Quote:

Originally Posted by Gamelobby (Post 2193456)
Does this work for 4.1.3.?

I got this..
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3416


Are we supposed to change/add something to the red part.?

Thanks

No it doesn't work as is in vBulletin 4... Mostly the <if> statements are different in VB4...

Instead of
Code:

<if condition="xxx"> </if>
change them to:
Code:

<vb:if condition="xxx"> </vb:if>
And no the part in read is supposed to be two single quotes with nothing in-between them representing an empty string.

TNERatedEdge 05-21-2011 11:30 PM

Is there a way to edit these icons?

BirdOPrey5 05-22-2011 12:25 AM

They are gif files, you can edit them like any other image.

TNERatedEdge 05-22-2011 12:33 AM

Alright, thank you, and I can do that right in styles in the admin cp?

TNERatedEdge 05-22-2011 03:20 PM

If anyone knows how to edit these images, please let me know.

BirdOPrey5 05-22-2011 03:28 PM

Quote:

Originally Posted by TNERatedEdge (Post 2198550)
Alright, thank you, and I can do that right in styles in the admin cp?

Yes in the Admin CP -> Style Manager -> (choose your style) -> Edit Templates -> Postbit or postbit_legacy template, whichever you are setup to use.

You have to do the edits for every style you have (that you want it to work in.)

Quote:

Originally Posted by TNERatedEdge (Post 2198718)
If anyone knows how to edit these images, please let me know.

You can edit the images with any image editor like Photoshop or Paint Shop Pro. A free one is GiMP (http://www.gimp.org/).

You can also create new images... Just save them as FILENAME.gif and then in the user profile field add FILENAME (without the .gif) to the list of options.

The original icons are 50 pixels wide by 40 icons tall so you will want your custom icons exactly or close to that size.

TNERatedEdge 05-22-2011 04:18 PM

Thanks,but where would I put the new image path? in the admin cp?

BirdOPrey5 05-22-2011 04:53 PM

Assuming you've already installed the mod you put new images in the same directory as the other images.

You add them as options in the Admin CP-> User Profile Field Manager and edit the 3 profiles fields you created. Simply add the filename without the extension into the list of options.

TNERatedEdge 05-26-2011 10:17 PM

I have credited all new logos, would anyone be interested in installing them for me? I'd pay you of course.

MagicThemeParks 05-26-2011 10:37 PM

Quote:

Originally Posted by TNERatedEdge (Post 2200380)
I have credited all new logos, would anyone be interested in installing them for me? I'd pay you of course.

It should be pretty easy to have them added. I can help you if you'd like.

PM me with your site and setup a username (w/admin rights) and the directory that you uploaded the images to.

TNERatedEdge 05-29-2011 12:16 PM

sent you a PM but no reply.

will anyone else be able to assist?

MagicThemeParks 05-29-2011 03:02 PM

Just got the PM, you hadn't responded for a few days. I can still help you if needed.

MagicThemeParks 05-29-2011 06:58 PM

Been waiting on IM for an hour and a half now. I'll have to logoff now. Looks like your time online isn't very consistent. You may want to send me the information as I previously stated via PM.

soaringpine 07-30-2011 12:47 PM

Can anyone confirm that this mod works on 4.1.2? I tried to implement following the directions but was unsuccessful. I would be willing to pay someone to do this for me.

BirdOPrey5 07-30-2011 04:00 PM

Quote:

Originally Posted by soaringpine (Post 2226836)
Can anyone confirm that this mod works on 4.1.2? I tried to implement following the directions but was unsuccessful. I would be willing to pay someone to do this for me.

As is it does not- but did you see post #47, someone posted what needs to be changed for 4.x.

soaringpine 07-31-2011 02:26 AM

Thanks BirdOPrey5. It is fully functional now! Nice mod.

TNERatedEdge 03-30-2012 02:04 PM

How can I edit the images?

HFCloud 09-15-2012 11:18 PM

Does this mod work for vB4?

BirdOPrey5 09-17-2012 09:07 AM

See post #47 for changes to work in VB 4.


All times are GMT. The time now is 01:37 PM.

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.01391 seconds
  • Memory Usage 1,843KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_html_printable
  • (10)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
  • (40)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