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.
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.
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
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";