Hey Ron-
Did you RTFM? That might help, but I don’t believe the sample CSV files have Bats and Throws. I’ll have a look after I get the Game Schedules fires put out. 🙂
-Mark
Hi,
I actually have the same issue and I followed the CSV header design in your manual:
CVS Column Header -> Database Field
“First Name” or First” -> first_name
“Last Name”, “Last” -> last_name
“Position”, “Pos” -> position
“Number”, “Nbr”, “#” -> number
“Weight”, “Wt” -> weight
“Height”, “Ht” -> height
“Age” -> age
“Year” -> year
“Experience”, “Exp” -> experience
“Home Town” -> home_town
“Country” -> country
“Last School” -> last_school
“Bats”, “Bat” -> bats
“Throws”, “Thw”, “Throw” -> throws
It’s a minor issue, but just wanted to confirm that someone else came across it.
Hi Guys,
The sample CSV files did not have bats and throws because it was not supported, BUT it was documented as korben5 points out. Oops.
The development trunk on ww.wp.xz.cn now contains a revised /includes/mstw-team-rosters-admin.php file which supports Bats, Throws, and Other. It also contains a new /csv-examples/test-baseball.csv file, which I used to test the changes. You can see the results on my MSTW Dev Site. (Scroll down to the 2012 World Champion San Francisco Giants table.) It works for me!!
Please try out the patch when you have time and let me know how it works for you. I will then publish a new release.
Thanks for your help in identifying this issue.
-Mark
I am going to update the documentation on shoalsummitsolutions.com as soon as this is posted.
Hi Mark,
That worked for me, uploaded b/t perfectly. Thanks for the update!
-Nick
Cool. I will release a patch to ww.wp.xz.cn.
Thanks for testing it.
-Mark