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 02-23-2006, 09:52 PM   #1 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Export Tracker Help

Okay guys,

I'm going to need some little-baby-steps help with this. I had it working on our old league site, and now that we've switched servers I've gone dumb(er) about it.

I'm clueless on what to use and how to re-set it up. I was using CommishJoe's previously, but can't seem to get it to work this time around.

I've searched but haven't found much that's helpful to me.

I need to start from scratch as it'll be less confusing, and I'll use whatever's the easiest.

TIA for any help. I really appreciate it.

-E
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 10:22 AM   #2 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
You could post the code and tell us where you're getting stuck.

After I used DaveHorn's to make the KBL's, I posted something that might help:

http://www.ootpdevelopments.com/boar...567#post543567

That's his post. You might want to start from there. The post of mine that I'm talking about is the long one.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 11:08 AM   #3 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Thank you Kieran. That's a great start for me. I'm still not following some of it, but here's where I'm at with Dave's code:

http://whbl.org/lastexport/teamexports.php

My directory structure looks like this:

whbl.org/lastexport/exports

This was setup like this and with an 'oldexports' folder when I was using Joe's code previously.

I used ../exports/ as a replacement for ../hftcftp

Not sure where to go from there...

Thanks again,

-E
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 11:20 AM   #4 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by enuttage
... but here's where I'm at with Dave's code:

http://whbl.org/lastexport/teamexports.php

...
Zip and attach the file, please. When it's just on the web like that it loses all the php.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 11:35 AM   #5 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
...
Attached Files
File Type: zip teamexports.zip (1.9 KB, 58 views)
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 11:51 AM   #6 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by enuttage
I used ../exports/ as a replacement for ../hftcftp
Try replacing that with just exports. It sounds like you used a directory structure like mine where your php file is in your root folder and your exports are in an exports folder inside the root folder.

If the above doesn't fix it, it might be easier to solve this through AIM.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 11:58 AM   #7 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
No workie still.

Unfortunately, I am AIMless (haha) at work (and maybe home, too).

PMs? Pretty please?
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 11:59 AM   #8 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Quote:
Originally Posted by kq76
Try replacing that with just exports.
You mean like this

Code:
../exports
right?
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 12:04 PM   #9 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by enuttage
You mean like this

Code:
../exports
right?
No, just:

Quote:
exports
See, I think the problem is that with his code Dave is telling it to go out of the current child folder, into the parent folder (that's the ../ part), and into a different child folder (exports). I think you just want to tell it to go into a child folder (exports), that you're already in the parent folder, not a different child folder. (You can read a child folder as a subfolder.)
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 12:08 PM   #10 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Thank you so much, Kieran. That solved the errors. Now I've gotta figure out how to make the files show up.

That and how to get team #s 15 and 16 back over into their proper League.
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."

Last edited by enuttage; 02-24-2006 at 12:13 PM.
enuttage is offline  
Old 02-24-2006, 12:15 PM   #11 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by enuttage
Thank you so much, Kieran. That solved the errors.
Good stuff!

Quote:
Originally Posted by enuttage
Now I've gotta figure out how to make the files show up.
Did you replace all occurrences of ../exports and ../hftcftp with exports or just the first one? In some places it might actually have to be:

Quote:
exports/
. If that's not the problem, I'll take another look.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 12:17 PM   #12 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Yeah, I replaced it in all instances. I figured out the team placement issue as well.

I'll go play around with diff placements of forwardslashes now.
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-24-2006, 12:23 PM   #13 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
The first one shouldn't have a slash at the end, but the last 3 should.

BTW, if you prefer CommishJoe's, the "exports" problem might have been the same problem.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-24-2006, 12:50 PM   #14 (permalink)
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Balcones Fault Line
Posts: 2,267
Thanks: 6
Thanked 0x in 0 posts
Hot damn! It's working. Thank you!
__________________
The former GM of the WHBL Managua Four Roses

"When the going gets weird, the weird turn pro."
enuttage is offline  
Old 02-18-2007, 05:52 PM   #15 (permalink)
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 4,283
Thanks: 35
Thanked 64x in 37 posts
Hopefully someone can help me, I tried using this team export tracker and I don't see all national league teams in the right column:

http://www.gbwebs.ca/so49/teamexports.php
RBLwebguy is offline  
Old 02-18-2007, 06:01 PM   #16 (permalink)
All Star Starter
 
Recte44's Avatar
 
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 1,956
Thanks: 40
Thanked 37x in 14 posts
Has someone made this for 2006?
Recte44 is offline  
Old 02-18-2007, 06:02 PM   #17 (permalink)
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 4,283
Thanks: 35
Thanked 64x in 37 posts
6.5 league
RBLwebguy is offline  
Old 02-18-2007, 06:04 PM   #18 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by RBLwebguy View Post
Hopefully someone can help me, I tried using this team export tracker and I don't see all national league teams in the right column:

http://www.gbwebs.ca/so49/teamexports.php
You'll probably need to provide that page in a format other than php online (e.g. zip it) because when you view the source code of a php file online all you see is the html.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-18-2007, 09:22 PM   #19 (permalink)
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 4,283
Thanks: 35
Thanked 64x in 37 posts
Here it is

Last edited by RBLwebguy; 02-24-2007 at 02:06 PM.
RBLwebguy is offline  
Old 02-19-2007, 06:23 PM   #20 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Well, it appears you just have less teams than the league the original export tracker had and that two of your NL teams are listed at the bottom of the AL list.

Try the following:

Replace:

for ($i = 1; $i < 15; $i++) {

With:

for ($i = 1; $i < 13; $i++) {

AND

Replace:

$j = $i + 14;

With:

$j = $i + 12;

And then I'm not entirely too sure about this (DaveHorn probably can help you better), but you're probably going to still end up with 2 extra lines on the right side so perhaps a large chunk needs to be changed somehow and maybe just deleted:

Starting with:

for ($i = 29; $i < 31; $i++) {
$NL = $base.$i.$ext;
$NLST = $stbase.$i.$ext;

and Ending with:

print("</tr>");


//print("<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>".getTeamName($NL)."</td><td>".getFileDate($NL)."</td><td>".getFileDate($NLST)."</td></tr>");
}

Or you might want to forget about that part and instead flip flop the sides of the two leagues so that the one with the more teams is on the right like the original tracker had, but then you'd have to play with the numbers from the first 2 changes.

Anyway, try the first 2 changes and see what they give you then try the last one.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 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 01:45 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