Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 07-20-2004, 09:02 PM   #1
White Sox Matt
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Style Sheet Edit Question

I hope my novice question here is going in the right direction.

I would like for my player pages on my web site to not look for the player photos in the same directory as the reports are in, but a subdirecotry of that, /photos.

The reason is my web provider puts a cap on the number of files i can have in one directory, and when you get box scores / game logs for the entire season along with somewhere close to 2,000 player pages and photos, that makes for alot of pages.. so I would like to move those photos someplace else.....

Any ideas, or am I asking the impossible?

Thanks!
__________________
NABA Commish
NABA - Chicago White Sox
CLB - Willy Wonka Bottle Caps
White Sox Matt is offline  
Old 07-20-2004, 10:28 PM   #2
DaveHorn
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,146
That's part of that standard HTML spit out by OOTP. The location referenced in the HTML is not part of the stylesheet. So you can't do anything about it short of editing all the HTML files after OOTP creates them. You could get a good search/replace utility and write a short batch file that will do the massive search and replace for you. There are a ton of them out there if you look them up on Tucows/Download.com or you favorite download spot.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 07-21-2004, 08:30 AM   #3
White Sox Matt
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Thanks for the tip Dave, I will have to try that out.. ::gulp::
__________________
NABA Commish
NABA - Chicago White Sox
CLB - Willy Wonka Bottle Caps
White Sox Matt is offline  
Old 07-21-2004, 11:19 AM   #4
octones
Minors (Triple A)
 
octones's Avatar
 
Join Date: Nov 2002
Location: Dayton, OH
Posts: 226
This is one area I would love to have custimization in game for in future versions.
__________________

octones is offline  
Old 07-21-2004, 11:56 AM   #5
eriqjaffe
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 7,731
There's a freeware Windows utility called Replace that can do what you want.

The site has good info on how to use it...but here's the magic part:

Replace
(tr class=g2)(td class=s4)(img src="

With
(tr class=g2)(td class=s4)(img src="photos\

(you'll need to replace the ( and ) in the example with < and >. If I include them in the example, the board takes it as HTML coding and doesn't display them)

...replacing "photos" with the name of your photos directory.

If you want to get really funny, you can also replace .bmp with .jpg, convert all your photos to .jpg, and save a bit of space on the server.

Hope that helps!

--Eriq.
__________________
eriqjaffe is offline  
Old 07-21-2004, 12:05 PM   #6
White Sox Matt
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Quote:
Originally Posted by eriqjaffe
There's a freeware Windows utility called Replace that can do what you want.

The site has good info on how to use it...but here's the magic part:

Replace
(tr class=g2)(td class=s4)(img src="

With
(tr class=g2)(td class=s4)(img src="photos\

(you'll need to replace the ( and ) in the example with < and >. If I include them in the example, the board takes it as HTML coding and doesn't display them)

...replacing "photos" with the name of your photos directory.

If you want to get really funny, you can also replace .bmp with .jpg, convert all your photos to .jpg, and save a bit of space on the server.

Hope that helps!

--Eriq.
WOOT WOO!

That sounds like it might do the trick.. I assume this would need to be done on all the html player pages before each upload, but for the ability to have more files viewable, that is a price i can pay hehe
__________________
NABA Commish
NABA - Chicago White Sox
CLB - Willy Wonka Bottle Caps
White Sox Matt is offline  
 

Bookmarks


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 -4. The time now is 02:14 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments