vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Sports Team Icons v2.3 for vbBux / vbPlaza (https://vborg.vbsupport.ru/showthread.php?t=108771)

caimakale 03-04-2006 07:43 AM

Quote:

Originally Posted by MorrisMcD
Mine is showing the images as linking to (example) cincinati reds but the file name is cincinati_reds... so they are broken. when I renames it to cincinnati reds with a space it worked

Oh.. And just fyi.. Its cinciNNati ;)

I am not following on your first example.

I renamed the mlb image...that's what I get for working on this at 2:30 AM. ;) At least I spelled it right with the Bengals.

MorrisMcD 03-04-2006 07:53 AM

Quote:

Originally Posted by caimakale
I am not following on your first example.

I renamed the mlb image...that's what I get for working on this at 2:30 AM. ;) At least I spelled it right with the Bengals.


lol

I noticed you spelled it right on the Bengals.. :)

Well.. The images are broken for me.. So I check the location.. It is like nfl/cincinnati%20bengals.jpg....

However, the file is named nfl/cincinnati_bengals.jpg

I renamed the image to cincinnati bengals.jpg and THEN it works fine.. Any idea why or is this just a mess up on your part? Maybe its my system but that is what I am gettin

Gizmo5h1t3 03-04-2006 08:01 AM

problem...

installed the 1.2...works fine

except for this..

deleted all the images before i upgraded....and now, i have a red x where i had chicago bulls before....its not removed the sports icon i had....

so now i have a red x, and manchester united showing....lol

also im getting the %20 thing mentioned above in the filename

MorrisMcD 03-04-2006 08:09 AM

Quote:

Originally Posted by Gizmo5h1t3
problem...

installed the 1.2...works fine

except for this..

deleted all the images before i upgraded....and now, i have a red x where i had chicago bulls before....its not removed the sports icon i had....

so now i have a red x, and manchester united showing....lol

also im getting the %20 thing mentioned above in the filename

Either we need to rename the phrases to point to cincinnati_bengals or rename the file itself from cincinnati_bengals to cincinnati bengals (for example)

I wager he is whipping something up right now :D But that will temp fix it for you.. Renaming the files is easiest as long as your host will allow filenames with spaces.. If not.. Just put the %20 in there instead of the _

caimakale 03-04-2006 08:13 AM

Quote:

Originally Posted by MorrisMcD
lol

I noticed you spelled it right on the Bengals.. :)

Well.. The images are broken for me.. So I check the location.. It is like nfl/cincinnati%20bengals.jpg....

However, the file is named nfl/cincinnati_bengals.jpg

I renamed the image to cincinnati bengals.jpg and THEN it works fine.. Any idea why or is this just a mess up on your part? Maybe its my system but that is what I am gettin

Quote:

Originally Posted by Gizmo5h1t3
problem...

installed the 1.2...works fine

except for this..

deleted all the images before i upgraded....and now, i have a red x where i had chicago bulls before....its not removed the sports icon i had....

so now i have a red x, and manchester united showing....lol

also im getting the %20 thing mentioned above in the filename

I did this intentionally. As pointed out earlier in the thread have a file named Chicago Bulls.gif isn't web compliant. So I renamed it to Chicago_Bulls.gif. Then I added code to find _ and replace it with a space. When you see this type of thing, that is what I was referring to when I say you will need to go back into the store and repurchase your icon. If you left it set to "Can Change Always" then it shouldn't charge your users to go back and make these changes. Otherwise you will need to go through your database and add an _ to all names where there is a space for the teams and the nascar names would need even more work.

Going back and purchasing them again will be the easiest way to fix it. Try it and let me know how it works out for you.

caimakale 03-04-2006 08:16 AM

Quote:

Originally Posted by MorrisMcD
Either we need to rename the phrases to point to cincinnati_bengals or rename the file itself from cincinnati_bengals to cincinnati bengals (for example)

I wager he is whipping something up right now :D But that will temp fix it for you.. Renaming the files is easiest as long as your host will allow filenames with spaces.. If not.. Just put the %20 in there instead of the _

The problem with spaces is your linux users (or almost any user that isn't on windows) will have problems. Make sure the icons are set to "Can Change Always" in AdminCP >> eStore Options >> Manage Options. Go into each sport and make sure they are set to can change always. It is set to this by default, so if you haven't changed the settings then you should be ok to move on to the next step.

Then instruct your users to back and repurchase their icon for free to fix it. If you renamed files to include spaces, change it back or you may run into problems in the future.

MorrisMcD 03-04-2006 08:19 AM

Quote:

Originally Posted by caimakale
I did this intentionally. As pointed out earlier in the thread have a file named Chicago Bulls.gif isn't web compliant. So I renamed it to Chicago_Bulls.gif. Then I added code to find _ and replace it with a space. When you see this type of thing, that is what I was referring to when I say you will need to go back into the store and repurchase your icon. If you left it set to "Can Change Always" then it shouldn't charge your users to go back and make these changes. Otherwise you will need to go through your database and add an _ to all names where there is a space for the teams and the nascar names would need even more work.

Going back and purchasing them again will be the easiest way to fix it. Try it and let me know how it works out for you.

Yup

That worked for me... I know not MANY people have bought these... Which table/field is this in the database? I may fix it for the few users that bought it

caimakale 03-04-2006 08:22 AM

If it would be easier I can add code to completely erase the teams that have been purchased. But then your users would have to purchase them again.

I didn't add it to this because as long as you have it set to can change always, then they can go change it for free if they have purchased it once....even if the names don't match up and only have a red x showing...just go back to the store and purchase your team agian. :)

caimakale 03-04-2006 08:22 AM

Quote:

Originally Posted by MorrisMcD
Yup

That worked for me... I know not MANY people have bought these... Which table/field is this in the database? I may fix it for the few users that bought it

It's in the users table. Each sport has it's own column...estore_mlb, estore_nba, estore_nfl, ... you get the picture.

MorrisMcD 03-04-2006 08:27 AM

Quote:

Originally Posted by caimakale
It's in the users table. Each sport has it's own column...estore_mlb, estore_nba, estore_nfl, ... you get the picture.

Gotcha!!! Thanks!


All times are GMT. The time now is 11:15 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.01322 seconds
  • Memory Usage 1,754KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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