Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter olivieric911

    (@olivieric911)

    Hi bibo_m16!
    What are you calling “spaces”?
    @ Rick Mead (author): Any chance for a fix, please?

    Thread Starter olivieric911

    (@olivieric911)

    Hurray!! Two thumbs up.
    Tobias, for sure, you rock!
    Many thanks for your great support.

    As I do not know how to PM you a link to the playercards, I will drop an email to “Kontakt” at poorpigs ??

    Cheers and best wishes.
    Oliver.

    Thread Starter olivieric911

    (@olivieric911)

    Hi Tobias!
    Unfortunately, I’m sorry to say that I get the same result.
    The entire table is displayed with the echo do_shortcode.
    :'(
    Cheers,
    Oliver.

    Thread Starter olivieric911

    (@olivieric911)

    Hi,
    The shortcodes work perfectly in a WP page (both testing and production platforms) ??
    But I’m wondering if calling a table from an external page is a best-practice…
    Thanks, Tobias!
    Oliver.

    Thread Starter olivieric911

    (@olivieric911)

    Tobias,
    I’m desperate :”'(
    There’s no difference between wp_table_reloaded_print_table(“id=3&c=2&r=3”); and wp_table_reloaded_print_table(“id=3”); !
    It seems the function does not filter the selected cell.
    Here’s the source of the displayed page (if it helps):
    <h2 class=”wp-table-reloaded-table-name-id-3 wp-table-reloaded-table-name”>Poussins</h2>

    <table id=”wp-table-reloaded-id-3-no-1″ class=”wp-table-reloaded wp-table-reloaded-id-3″>
    <thead>
    <tr class=”row-1 odd”>
    <th class=”column-1″>Nom</th><th class=”column-2″>Pr??nom</th><th class=”column-3″>Ann??e</th><th class=”column-4″>B/T</th><th class=”column-5″>Position(s)</th><th class=”column-6″>D??tails</th>
    </tr>
    </thead>
    <tbody class=”row-hover”>
    <tr class=”row-2 even”>
    <td class=”column-1″>LastName</td><td class=”column-2″>Firstname</td><td class=”column-3″>2004</td><td class=”column-4″>D/D</td><td class=”column-5″>2B</td><td class=”column-6″>xxx</td>
    </tr>
    </tbody>
    </table>
    Thanks!

    Thread Starter olivieric911

    (@olivieric911)

    Hi again!

    I followed what’s mentioned in the extension section.
    I poped out the “shortcode_handler_table_cell” function and created an extension file in plugins directory (and then activated).
    My tables inserted in WP pages are still OK. Fine.

    But my php page keeps saying : “Fatal error: Cannot redeclare shortcode_handler_table_cell() (previously declared in wwwroot\wp-content\plugins\wp-table-reloaded-extensions.php:13)” when I add the following declaration: require(‘..\plugins\wp-table-reloaded-extensions.php’);
    When I comment out, I have the whole table with the following code: wp_table_reloaded_print_table(“id=3″&”c=2″&”r=3”);

    Is there any error in the code above?
    Many thanks for helping me out (this is my last step for my baseball playercards!!) ??

    Thread Starter olivieric911

    (@olivieric911)

    Sorry, my bad :

    <?php
    define(‘WP_USE_THEMES’, false);
    require(‘..\..\wp-blog-header.php’);

    wp_table_reloaded_print_table(“id=3&c=2&r=3”);
    ?>

    Thread Starter olivieric911

    (@olivieric911)

    Hi Tobias!

    Thanks for your reply.
    I already included the shortcode_handler_table_cell function in the functions.php of my theme. This works perfectly with pages created within WP.
    But in a php page created outside WP and called as a link, this doesn’t work (the file is in “wp-content\directory\page.php”).
    Here’s the content of the page before :
    <?php
    define(‘WP_USE_THEMES’, true);
    require(‘..\..\wp-blog-header.php’);
    wp_table_reloaded_print_table(“id=3&r=1&c=2”);
    ?>

    Many thanks for your help, mate!

    Thread Starter olivieric911

    (@olivieric911)

    Hi Nick!
    Fixed the issue with { } around each case.

    I finally got the error requested :

    INSERT INTO wp_baseballNuke_players SET teamName=’Flying Dogs’, firstname=’toto’,middlename=”, lastname=’titi’,positions=”, bats=”,throws=”,height=”,weight=”, address=”,city=”,state=”,zip=”, homePhone=”,workPhone=”, cellphone=”,jerseyNum=’35’, picLocation=”,season=’2008′, profile=”,email=”,school=”,bdate=”Incorrect integer value: ” for column ‘height’ at row 1

    Seems to be a missing value for the height.
    By the way, what’s the expecte value (meter or feet)?

    Many thanks in advance !

    Thread Starter olivieric911

    (@olivieric911)

    same issue:
    Parse error: syntax error, unexpected T_ELSE in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1030 (at the ELSE). ??

    Thread Starter olivieric911

    (@olivieric911)

    Nick,
    I’m having this error after modifying the function through a text editor:
    Parse error: syntax error, unexpected T_ELSE in …\wp-content\plugins\baseballnuke\bbnuke-functions.php (line ‘ELSE’ statement).
    Here’s the complete function:
    function bbnuke_add_player()
    {
    global $wpdb;

    // get post data
    $firstname = $_POST[‘bbnuke_player_edit_fname’];
    $middlename = $_POST[‘bbnuke_player_edit_mname’];
    $lastname = $_POST[‘bbnuke_player_edit_lname’];
    $profile = $_POST[‘bbnuke_player_edit_pprofile’];
    $positions = $_POST[‘bbnuke_player_edit_position’];
    $bats = $_POST[‘bbnuke_player_edit_bats’];
    $throws = $_POST[‘bbnuke_player_edit_throws’];
    $height = $_POST[‘bbnuke_player_edit_height’];
    $teamname = $_POST[‘bbnuke_player_edit_team’];
    $season = $_POST[‘bbnuke_player_edit_season’];
    $weight = $_POST[‘bbnuke_player_edit_weight’];
    $bdate = $_POST[‘bbnuke_player_edit_bdate’];
    $address = $_POST[‘bbnuke_player_edit_address’];
    $city = $_POST[‘bbnuke_player_edit_city’];
    $state = $_POST[‘bbnuke_player_edit_state’];
    $zip = $_POST[‘bbnuke_player_edit_zip’];
    $homephone = $_POST[‘bbnuke_player_edit_hphone’];
    $cellphone = $_POST[‘bbnuke_player_edit_cphone’];
    $workphone = $_POST[‘bbnuke_player_edit_wphone’];
    $jerseynum = $_POST[‘bbnuke_player_edit_jerseynum’];
    $email = $_POST[‘bbnuke_player_edit_email’];
    $school = $_POST[‘bbnuke_player_edit_school’];
    $piclocation = $_POST[‘bbnuke_player_edit_pictureloc’];

    $query = “INSERT INTO ” . $wpdb->prefix . “baseballNuke_players SET teamName=’$teamname’,
    firstname=’$firstname’,middlename=’$middlename’,
    lastname=’$lastname’,positions=’$positions’,
    bats=’$bats’,throws=’$throws’,height=’$height’,weight=’$weight’,
    address=’$address’,city=’$city’,state=’$state’,zip=’$zip’,
    homePhone=’$homephone’,workPhone=’$workphone’,
    cellphone=’$cellphone’,jerseyNum=’$jerseynum’,
    picLocation=’$piclocation’,season=’$season’,
    profile=’$profile’,email=’$email’,school=’$school’,bdate=’$bdate'”;
    $result = mysql_query($query);
    if ($result)
    $ret = true;
    //
    echo $query;
    echo mysql_error();
    else
    $ret = false;
    //
    echo $query;
    echo mysql_error();

    return $ret;
    }

    Modifying through WP editor, I get this:

    Notice: Use of undefined constant bbnuke_topbatters – assumed ‘bbnuke_topbatters’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1582 Notice: Use of undefined constant bbnuke_widget_top_batters – assumed ‘bbnuke_widget_top_batters’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1582 Notice: Use of undefined constant bbnuke_toppitchers – assumed ‘bbnuke_toppitchers’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1583 Notice: Use of undefined constant bbnuke_widget_top_pitchers – assumed ‘bbnuke_widget_top_pitchers’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1583 Notice: Use of undefined constant bbnuke_lastgame – assumed ‘bbnuke_lastgame’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1584 Notice: Use of undefined constant bbnuke_widget_lastgame – assumed ‘bbnuke_widget_lastgame’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1584 Notice: Use of undefined constant bbnuke_nextgame – assumed ‘bbnuke_nextgame’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1585 Notice: Use of undefined constant bbnuke_widget_nextgame – assumed ‘bbnuke_widget_nextgame’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1585 Notice: Use of undefined constant bbnuke_batstats – assumed ‘bbnuke_batstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1586 Notice: Use of undefined constant bbnuke_widget_batstats – assumed ‘bbnuke_widget_batstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1586 Notice: Use of undefined constant bbnuke_roster – assumed ‘bbnuke_roster’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1587 Notice: Use of undefined constant bbnuke_widget_roster – assumed ‘bbnuke_widget_roster’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1587 Notice: Use of undefined constant bbnuke_pitchstats – assumed ‘bbnuke_pitchstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1588 Notice: Use of undefined constant bbnuke_widget_pitchstats – assumed ‘bbnuke_widget_pitchstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1588 Notice: Use of undefined constant bbnuke_fieldstats – assumed ‘bbnuke_fieldstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1589 Notice: Use of undefined constant bbnuke_widget_fieldstats – assumed ‘bbnuke_widget_fieldstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1589 Notice: Use of undefined constant bbnuke_playerstats – assumed ‘bbnuke_playerstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1590 Notice: Use of undefined constant bbnuke_widget_playerstats – assumed ‘bbnuke_widget_playerstats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1590 Notice: Use of undefined constant bbnuke_top5stats – assumed ‘bbnuke_top5stats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1591 Notice: Use of undefined constant bbnuke_widget_top5stats – assumed ‘bbnuke_widget_top5stats’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1591 Notice: Use of undefined constant bbnuke_schedule – assumed ‘bbnuke_schedule’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1592 Notice: Use of undefined constant bbnuke_widget_team_schedule – assumed ‘bbnuke_widget_team_schedule’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1592 Notice: Use of undefined constant bbnuke_practice – assumed ‘bbnuke_practice’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1593 Notice: Use of undefined constant bbnuke_widget_team_practices – assumed ‘bbnuke_widget_team_practices’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1593 Notice: Use of undefined constant bbnuke_tournament – assumed ‘bbnuke_tournament’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1594 Notice: Use of undefined constant bbnuke_widget_team_tournament – assumed ‘bbnuke_widget_team_tournament’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1594 Notice: Use of undefined constant bbnuke_fields – assumed ‘bbnuke_fields’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1595 Notice: Use of undefined constant bbnuke_widget_locations_info – assumed ‘bbnuke_widget_locations_info’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1595 Notice: Use of undefined constant bbnuke_gameresults – assumed ‘bbnuke_gameresults’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1596 Notice: Use of undefined constant bbnuke_widget_game_results – assumed ‘bbnuke_widget_game_results’ in F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php on line 1596 Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in F:\wwwroot\squales\wp-includes\functions.php on line 3389 Notice: register_sidebar_widget est d??pr??ci?? depuis la version 2.8! Utilisez wp_register_sidebar_widget() ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3303 Notice: register_widget_control est d??pr??ci?? depuis la version 2.8! Utilisez wp_register_widget_control() ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3303 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Notice: Use of undefined constant XCloner – assumed ‘XCloner’ in F:\wwwroot\squales\wp-content\plugins\xcloner-backup-and-restore\xcloner.php on line 28 Notice: Use of undefined constant XCloner – assumed ‘XCloner’ in F:\wwwroot\squales\wp-content\plugins\xcloner-backup-and-restore\xcloner.php on line 28 Notice: has_cap est appel?? avec un argument qui est d??pr??ci?? depuis la version 2.0 ! L’utilisation des niveaux d’utilisateur par les extensions et th?¨mes est d??sormais interdite. Utiliser les r?′les et capacit??s ? la place. in F:\wwwroot\squales\wp-includes\functions.php on line 3387 Warning: Cannot modify header information – headers already sent by (output started at F:\wwwroot\squales\wp-content\plugins\baseballnuke\bbnuke-functions.php:1593) in F:\wwwroot\squales\wp-includes\pluggable.php on line 897

    Hope this helps…

    Thread Starter olivieric911

    (@olivieric911)

    Hi!
    Wow, that was quick ??
    I already tried to add a basic user (First, Last, birth, Team & Season). No luck.

    I’ve just set WP_DEBUG to True.
    Waiting for your instructions, mate ??

    Thread Starter olivieric911

    (@olivieric911)

    Hi Tobias,
    You rock, it now works perfectly!!

    I am far away from the poorpigs stats table, but it’s source of inspiration as it’s for the same sport!! :))
    I would like to reproduce the same kind of “Spieler Informationnen” table for my Baseball Club. Any chance for additional help, mate?

    Many thanks again,
    Warm regards,
    Oliver.

    Thread Starter olivieric911

    (@olivieric911)

    Hi again!
    Here : https://tinyurl.com/67dpcch
    It’s in the “Competitions” page, the second table.
    If you could give me a hand on the css class that’s faulty, I would really appreciate ??
    Many thanks, Tobias!
    Regard,
    Oliver

    Thread Starter olivieric911

    (@olivieric911)

    Hi Tobias!
    Unfortunately, the server is down due to maintenance.
    What I did is, on a fresh install of WP, installed the Evolve theme (grabbable on WP) and installed wp-table.
    Then, any table created appears with the td class of the css’ theme :'(
    Please tell me if you can reproduce the issue, otherwise I’ll try to give you a link asap.
    Many thanks for your support,
    Regards,
    Oliver.

Viewing 15 replies - 1 through 15 (of 15 total)