|
|
#1 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
#2 (permalink) |
|
Global Moderator
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 |
|
|
|
|
#3 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
#4 (permalink) | |
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
|
Quote:
__________________
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 |
|
|
|
|
|
#6 (permalink) | |
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
|
Quote:
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 |
|
|
|
|
|
#9 (permalink) | ||
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
|
Quote:
Quote:
__________________
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 |
||
|
|
|
|
#10 (permalink) |
|
Hall Of Famer
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. |
|
|
|
|
#11 (permalink) | |||
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
|
Quote:
Quote:
Quote:
__________________
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 |
|||
|
|
|
|
#13 (permalink) |
|
Global Moderator
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 |
|
|
|
|
#15 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
#16 (permalink) |
|
All Star Starter
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 1,956
Thanks: 40
Thanked 37x in 14 posts
|
Has someone made this for 2006?
__________________
Matt Rectenwald Commissioner, GM: Las Vegas Hustlers, Monty Brewster World Baseball Association (MBWBA) http://twitter.com/recte44 http://twitter.com/Monty_Brewster http://twitter.com/mbba_hustlers
|
|
|
|
|
#18 (permalink) | |
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
|
Quote:
__________________
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 |
|
|
|
|
|
#20 (permalink) |
|
Global Moderator
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> </td><td> </td><td> </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 |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|