Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter successwill

    (@successwill)

    Oh my.. it worked ??

    Thank you so much, maxfoundry

    Thread Starter successwill

    (@successwill)

    is there any way to downgrade the plugin to previous version?

    Seems that its been 3 months but if you have found the solution, please tell me.

    i want to pull a hundred overall rating into a table which is on a separate “page”.

    And i want to let the users to sort the table according to some criterias such as rating, year, new..etc..

    Any help.?

    it would be great to display the overall rating and to pull the data with a shortcode into another page.

    Thread Starter successwill

    (@successwill)

    Oh so simple. it works. This way i can even categorize the types of the tables and insert a million types of tables.

    Tobias you are awesome.

    Thank you very much.

    Thread Starter successwill

    (@successwill)

    For the first issue i did upload a css file like:

    /wp-content/plugins/wp-table-reloaded/css/wp-table-reloaded-special.css

    but it didnt work. And i dugg a little further

    i guess it requires some changes in codes here: wp-table-reloaded/controllers/controller-frontend.php

    The corresponding code:

    function add_frontend_css() {
            $default_css = array();
            if ( $this->options['use_default_css'] ) {
                $plugin_path = plugin_dir_url( WP_TABLE_RELOADED__FILE__ );
                $plugin_path = apply_filters( 'wp_table_reloaded_plugin_path', $plugin_path );
    
                $url_css_plugin = $plugin_path . 'css/plugin.css' . '?ver=' . $this->options['installed_version'];
                $url_css_plugin = apply_filters( 'wp_table_reloaded_url_css_plugin', $url_css_plugin );
                if ( !empty( $url_css_plugin ) )
                    $default_css['plugin.css'] = "@import url(\"{$url_css_plugin}\");";
    
                // RTL languages support
                if ( is_rtl() ) {
                    $url_css_rtl_plugin = $plugin_path . 'css/plugin.rtl.css' . '?ver=' . $this->options['installed_version'];
                    $url_css_rtl_plugin = apply_filters( 'wp_table_reloaded_url_css_rtl_plugin', $url_css_rtl_plugin );
                    if ( !empty( $url_css_rtl_plugin ) )
                        $default_css['plugin.rtl.css'] = "@import url(\"{$url_css_rtl_plugin}\");";
                }
    
                if ( $this->options['enable_tablesorter'] ) {
                    switch ( $this->options['tablesorter_script'] ) {
                        case 'datatables-tabletools':
                            $url_css_tabletools = $plugin_path . 'js/tabletools/tabletools.css' . '?ver=' . $this->options['installed_version'];
                            $url_css_tabletools = apply_filters( 'wp_table_reloaded_url_css_tabletools', $url_css_tabletools );
                            if ( !empty( $url_css_tabletools ) )
                                $default_css['tabletools.css'] = "@import url(\"{$url_css_tabletools}\");";
                        case 'datatables': // this also applies to the above, because there is no "break;" above
                            $url_css_datatables = $plugin_path . 'css/datatables.css' . '?ver=' . $this->options['installed_version'];
                            $url_css_datatables = apply_filters( 'wp_table_reloaded_url_css_datatables', $url_css_datatables );
                            if ( !empty( $url_css_datatables ) )
                                $default_css['datatables.css'] = "@import url(\"{$url_css_datatables}\");";
                            break;
                        case 'tablesorter':
                        case 'tablesorter_extended':
                            $url_css_tablesorter = $plugin_path . 'css/tablesorter.css' . '?ver=' . $this->options['installed_version'];
                            $url_css_tablesorter = apply_filters( 'wp_table_reloaded_url_css_tablesorter', $url_css_tablesorter );
                            if ( !empty( $url_css_tablesorter ) )
                                $default_css['tablesorter.css'] = "@import url(\"{$url_css_tablesorter}\");";
                            break;
                        default:
                    }
                }
            }
            $default_css = apply_filters( 'wp_table_reloaded_default_css', $default_css, $this->options['use_default_css'], $this->options['tablesorter_script'], $this->options['enable_tablesorter'] );
            $default_css = implode( "\n", $default_css );
    
            $custom_css = '';
            if ( $this->options['use_custom_css'] ) {
                $custom_css = ( isset( $this->options['custom_css'] ) ) ? $this->options['custom_css'] : '';
                $custom_css = stripslashes( $custom_css );
            }
            $custom_css = apply_filters( 'wp_table_reloaded_custom_css', $custom_css, $this->options['use_custom_css'] );
    
            if ( !empty( $default_css ) || !empty( $custom_css ) ) {
                $divider = ( !empty( $default_css ) && !empty( $custom_css ) ) ? "\n" : '';
                // $default_css needs to stand above $custom_css, so that $custom_css commands can overwrite $default_css commands
                $css = <<<CSSSTYLE
    <style type="text/css" media="all">
    /* <![CDATA[ */
    {$default_css}{$divider}{$custom_css}
    /* ]]> */
    </style>
    CSSSTYLE;
            $css = apply_filters( 'wp_table_reloaded_frontend_css', $css );
            echo $css;
            }
        }

    i dont know if requires more code-changing on any other part of the plugin. My knowledge is very weak at this point but this is important for me.

    i dont want the content “that is crawled by search engines” to be filled with CSS codes.

    please just tell me what i need to do.

    Thread Starter successwill

    (@successwill)

    Ok, the above code is not correct, i figured out that i should use .wp-table-reloaded-special once and at the beginning.

    Now i have 2 issues to troubleshootize:

    1.Creating a file (like: /wp-content/plugins/wp-table-reloaded/wp-table-reloaded-special.css) and putting the Custom CSS code into it, will work?

    2.i know how to remove border of a table:

    .wp-table-reloaded-id-N, .wp-table-reloaded-id-N td, .wp-table-reloaded-id-N th {
    border: none!important;
    border-collapse: collapse!important;
    border-spacing: 0px!important;

    this removes all of the borders in table including cells’ borders

    but i still want to have borders between “rows”

    and i want to remove only the border around the entire table

    is this possible?

    Hi Minoth,

    i wonder what plugin you used to create that table.

    its awesome.

    And what did you do to integrate gd star rating into the table?

    Thread Starter successwill

    (@successwill)

    Hi Tobias,

    Thank you for quick reply.

    Actually i am not very good at CSS styling or html coding, and i didnt understand very well how you would solve the issue with the above explanation.

    What i am asking is:

    is it possible to create another CSS file and upload it into plugin directory, like below:

    /wp-content/plugins/wp-table-reloaded/css/plugin.css?ver=1.9.3

    /wp-content/plugins/wp-table-reloaded/wp-table-reloaded-special.css

    and customizing 2nd type of tables by writing their CSS code into this special.css instead of “Custom CSS” part in plugin’s “Plugin Options” part.

    a code such as:

    .wp-table-reloaded-special td {
      font-family: Tahoma;
      font-size: 13px;
    }
    
    }
    .wp-table-reloaded-special-id-5 .column-1 {
      width: 190px;
    }
    .wp-table-reloaded-special-id-5 .column-2 {
      width: 55px;
    }
    .wp-table-reloaded-special-id-5 .column-3 {
      width: 55px;
    }
    .wp-table-reloaded-special-id-5 .column-4 {
      width: 60px;
    }
    .wp-table-reloaded-special-id-5 .column-5 {
      width: 60px;
    }
    .wp-table-reloaded-special-id-5 .column-1 {
      font-weight: bold !important;
    color: #3F2C9E !important;
    }
    
    .wp-table-reloaded-special-id-5 td {
      padding: 8px 0 8px 8px !important;
    
    }
    .wp-table-reloaded-special-id-5, .wp-table-reloaded-special-id-5 th {
      border: none!important;
      border-collapse: collapse!important;
      border-spacing: 0px!important;
    }

    The plugin is too complex and the corresponding support is too weak.

    Actually the plugin may be the one i exactly need, but i dont know how to work with it.

    what i want:

    1. To rate posts: this is ok
    2. To pull all the ratings (no matter if rated or not ) to a specific page with shortcodes like in this page as a table: https://www.100forexbrokers.com/reviews-ratings/

    3. integrate rating with comment form

    Name……
    e-mail…..
    website….
    ****** (rating stars)
    Comment……………
    Submit………

    are these possible with this plugin?

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