WordPress.org

Support

Support » Plugins and Hacks » Multiple Teams-baseballnuke

Multiple Teams-baseballnuke

  • Hey Nick,

    Fantastic plugin/extension. Using the site as intended in a dev environment right now.

    http://mvps.ryan-taylor.net

    The question I have is as follows. We are actually running a program for two different teams just different age groups. Is it possible to place stats, rosters, etc for the two teams that are part of our program? Is there a shortcode I can use to post these for a 2nd team. Also, have you looked at doing any work to include League Manager in your work? We host tournaments and leagues where it would be nice to allow folks to check schedules for teams not managed by baseballnuke. Just an idea?

    Thanks for any help you can offer!

    http://wordpress.org/extend/plugins/baseballnuke/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author nick50119

    @nick50119

    Hi Ryan,
    Yes, you can specify the team in the shortcode. For example, [bbnuke_roster team="Team 2"]. You can also specify season. If the team or season is not specified it will use the default defined in the admin page.

    I haven’t really looked at league manager yet, but it could be something to consider for the future.

    P.S. Sorry I haven’t had a chance to reply to you on the BBNUKE page yet, I have been swamped the past week.

    –Nick

    Thank you, I got the 2nd team to show on the roster page of my site, but when I attempt to add a 2nd player to that roster I see this at the top of the add player screen Duplicate entry ‘154-2011’ for key 1

    Any ideas.

    As far as the sorry I haven’t part of your reply. Please don’t worry about it. I understand what you are doing and at the price you are doing it (time is not free). I appreciate that you’re passionate about two things I happen to love. Great job and thanks for the support. I am not a coder but run a datacenter in real life. Anything I can do to help will be my pleasure.

    Plugin Author nick50119

    @nick50119

    hmm, that is interesting. I am not able to duplicate it. I am guessing that 2011 is your season, but I am not sure what the 154 is. I am guessing it is the generated playerID….. I’ll take a look at the code.

    In the DB it looks as though they may be player IDs. They seem to be flipping back to 154 and 155.

    Jeez, sorry my friend. They were assigned to another team and therefore when I was attempting to assign them to the right team it was saying they were already somewhere else. Changed it directly in the DB and now it is fine. Thanks again.

    Plugin Author nick50119

    @nick50119

    That makes sense. The playerID and the season are both primary keys in the table. Glad it was something simple 🙂

    I am attempting to setup my practice schedule and I am seeing the following issue. mysql_fetch_array(): supplied argument is not a valid MySQL result resource in bbnuke-functions.php on line 3749

    Plugin Author nick50119

    @nick50119

    This looks like a bug, I will resolve it in the next release. Looks like there are a few problems on that line. In the mean time, replace line 3749 with the following.

    "WHERE homeTeam='" . $team . "' AND season = '" . $season ."' AND visitingTeam = 'practice' ORDER BY gameDate ASC";

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multiple Teams-baseballnuke’ is closed to new replies.