|
||||
|
02-23-2006, 09:52 PM | #1 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
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 you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-24-2006, 10:22 AM | #2 |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
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. |
02-24-2006, 11:08 AM | #3 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
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 you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-24-2006, 11:20 AM | #4 | |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
|
|
02-24-2006, 11:35 AM | #5 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
...
__________________
The former GM of the WHBL Managua Four Roses "When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-24-2006, 11:51 AM | #6 | |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
If the above doesn't fix it, it might be easier to solve this through AIM. |
|
02-24-2006, 11:58 AM | #7 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
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 you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-24-2006, 11:59 AM | #8 | |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
Quote:
Code:
../exports
__________________
The former GM of the WHBL Managua Four Roses "When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
|
02-24-2006, 12:04 PM | #9 | ||
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
Quote:
|
||
02-24-2006, 12:08 PM | #10 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
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 you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." Last edited by enuttage; 02-24-2006 at 12:13 PM. |
02-24-2006, 12:15 PM | #11 | |||
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
Quote:
Quote:
|
|||
02-24-2006, 12:17 PM | #12 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
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 you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-24-2006, 12:23 PM | #13 |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
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. |
02-24-2006, 12:50 PM | #14 |
Hall Of Famer
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
|
Hot damn! It's working. Thank you!
__________________
The former GM of the WHBL Managua Four Roses "When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self." |
02-18-2007, 05:52 PM | #15 |
Hall Of Famer
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
|
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 |
02-18-2007, 06:01 PM | #16 |
Global Moderator
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 2,754
|
Has someone made this for 2006?
__________________
Matt Rectenwald Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW) |
02-18-2007, 06:02 PM | #17 |
Hall Of Famer
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
|
6.5 league
|
02-18-2007, 06:04 PM | #18 | |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
|
|
02-18-2007, 09:22 PM | #19 |
Hall Of Famer
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
|
Here it is
Last edited by RBLwebguy; 02-24-2007 at 02:06 PM. |
02-19-2007, 06:23 PM | #20 |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
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. |
Bookmarks |
|
|