• I am trying to figure out how to display all of the possible stats on my site. What I would like to do is:

    1) have a page for each stat category (for example, a page for player stats, a page for league standings, a page for scores etc)

    2) I would like to display a small league standings on my home page….but NOT in the sidebar. I’d like to have it on the page

    Any help getting both of these to work is appreciated!

    THanks

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter jonluciano

    (@jonluciano)

    thank you very much for the response. It would be awesome to have an option that lets me choose which stats to show.

    If you take a look at any of the player stats on my site, the table of stats is wider than the page. any ideas on how to make it fit on the page? maybe change font size? i’m not sure, looking for advice!

    Thanks!

    Thread Starter jonluciano

    (@jonluciano)

    also the height and weight (as I previously stated is not being persisted) is not showing up on the player profile page. I presume this is because of the issue where the numbers don’t persist….but wanted to let you know!

    Thread Starter jonluciano

    (@jonluciano)

    just thought of something else as well!

    I looked in the editor to edit the player roster, but didn’t see where I could exclude player age. Can you point me in the right direction?

    Plugin Author nick50119

    (@nick50119)

    Hey Jon,
    I am looking in to the CSS and seeking some advice on how to ensure that I get the same results no matter what theme is being used. Currently the height/weight are not included in the player profile, I am going to update it so that it is only shown if the value is populated.

    To remove the age, you will need to edit the roster widget in bbnuke-functions.php.

    just delete line 2146
    <th>' . __('Age', 'bbnuke') . '</th>

    and line 2173
    <td>'.$age.'</td>

    Plugin Author nick50119

    (@nick50119)

    Also, I am looking into adding a feature to either upload the profile pic from the players admin page or to select it from the media library.

    Thread Starter jonluciano

    (@jonluciano)

    looking forward to the next update!

    Plugin Author nick50119

    (@nick50119)

    Jon,
    I have good news and bad news about the formatting, which do you want first?

    The good news is I found the cause and I have found a fix.

    The bad news is, I need to get some help from a CSS wiz to help me adjust the plugin to compensate for it if it is at all possible.

    I see that you are using the twentyten theme which is the same theme I have been testing with, there is a simple tweak to the theme that will make it work.

    First, copy the onecolumn-page.php to a new file called baseballnuke_page.php (or whatever you want). You dont want to change onecolumn-page.php because it could cause formatting issues for other pages.

    Next, open baseballnuke_page.php and remove “id=content” from line 18:

    Before:
    <div id="content" role="main">

    After
    `<div role=”main”>’

    Also, change the name on line 3
    * Template Name: baseballNuke

    Then, open up the twentyten theme style.css. On line 22, remove td from the list of elements.

    table, caption, tbody, tfoot, thead, tr, th {

    And finally, open up the pages that have your baseballnuke shortcodes and change the page template you your new baseballnuke template.

    Basically, the twentyten theme overrides the themes in the plugin. That could be a good thing because it gives it the same look/feel as the rest of the site. The bad part is that it adds huge padding numbers to the tables and causes them to be too large.

    Once you get that far, I suggest tweaking the bbnuke css to get it looking the way you want it to.

    Thread Starter jonluciano

    (@jonluciano)

    I saw that there is an update to this plugin…is there a changelog so I can see what was updated?

    Plugin Author nick50119

    (@nick50119)

    Hi Jon,
    I am not sure why the current release notes did not show up on the plugin page, but here they are. Just minor fixes, but I think it covers most of those you suggested. I forgot to mention in the release notes, but I also removed age from the Roster widget.

    = 1.0.6 =
    -BUG Fix – corrected bug for table color selections
    -Bug Fix – Corrected height/weight problem when entering player info in admin console
    -UPDATE – Added height/weight to player profile page if values exist
    -UPDATE -Update player profile page to show pitching stats only if IP > 0
    -UPDATE -change player image path on player profile page to accept any url/relative link

    Plugin Author nick50119

    (@nick50119)

    Scratch that, looks like I did not remove the age column. I need to fire my quality control guy ??

    Plugin Author nick50119

    (@nick50119)

    Hi Jon,
    I was checking out the arvada colts page and noticed that the tables still have formatting issues with the twentyten theme. I have come up with a pretty quick fix and posted it in the forum. You can find it here https://www.ads-software.com/support/topic/plugin-baseballnuke-twenty-ten-theme-problems-and-fix?replies=1

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘[Plugin: baseballNuke] Display Options’ is closed to new replies.