Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
LinkBack Thread Tools Display Modes
Old 07-20-2004, 09:02 PM   #1 (permalink)
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Thanks: 0
Thanked 0x in 0 posts
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 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
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 (permalink)
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Thanks: 0
Thanked 0x in 0 posts
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 (permalink)
Minors (Triple A)
 
octones's Avatar
 
Join Date: Nov 2002
Location: Dayton, OH
Posts: 226
Thanks: 0
Thanked 0x in 0 posts
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 (permalink)
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 5,236
Thanks: 15
Thanked 337x in 174 posts
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.
__________________
Quote:
Originally Posted by rich12545 View Post
I don't believe I've EVER seen you make an actual contribution to a conversation.
eriqjaffe is offline  
Old 07-21-2004, 12:05 PM   #6 (permalink)
Minors (Double A)
 
White Sox Matt's Avatar
 
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
Thanks: 0
Thanked 0x in 0 posts
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

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments