Forum Replies Created

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

    (@vahiditor)

    There is another array nested in the mother array. I don’t see any problem with nested arrays.

    Thread Starter vahiditor

    (@vahiditor)

    the code snippet is like below:

    add_filter( ‘wpseo_schema_needs_review’, ‘__return_false’);
    add_filter(‘woocommerce_structured_data_product’, function($schema, $product) {
    $schema[‘gtin13’] = ‘NULL’;
    $schema[‘aggregateRating’] = array(
    ‘bestRating’ => ‘5’,
    ‘worstRating’ => ‘1’,
    );
    $schema[‘review’] = array(
    ‘@type’ => ‘test’,
    ‘author’ => array(
    ‘@type’ => “Person”,
    ‘name’ => ‘mr karimi’,
    ),
    ‘reviewBody’ => ‘good quality procuct’,
    );
    return $schema;
    }, 10, 2);
    add_filter( ‘schema_wp_output_category_enabled’, ‘__return_false’ );

    another thing you can do is to create additional rankings. From plugin options–> rankings you can create two rankings for two set of matches (e.g. world championship and euro2016). Then create two separate pages and by using shortcodes display one ranking in each page.

    I want to add number of full scores, toto scores and no scores to the table. How is it possible?

    Thread Starter vahiditor

    (@vahiditor)

    I thought maybe I had to recalculate the scores and did so but the calculation interrupted with error. I disabled the custom ranking display by choosing default ranking in options and calculation was completed without an error. So I enabled wp-debug mode and the following error has been logged in wordpress:

    Notice: Use of undefined constant FOOTBALLPOOL_TEXT_DOMAIN – assumed ‘FOOTBALLPOOL_TEXT_DOMAIN’ in /home/tamasha1/public_html/wp-content/plugins/fpextension/football-pool-add-match-result-to-user-page.php on line 27

    Notice: Use of undefined constant FOOTBALLPOOL_TEXT_DOMAIN – assumed ‘FOOTBALLPOOL_TEXT_DOMAIN’ in /home/tamasha1/public_html/wp-content/plugins/fpextension/football-pool-add-match-result-to-user-page.php on line 37

    Notice: Use of undefined constant FOOTBALLPOOL_TEXT_DOMAIN – assumed ‘FOOTBALLPOOL_TEXT_DOMAIN’ in /home/tamasha1/public_html/wp-content/plugins/fpextension/football-pool-extra-match-save-buttons.php on line 20

    Notice: Use of undefined constant FOOTBALLPOOL_TEXT_DOMAIN – assumed ‘FOOTBALLPOOL_TEXT_DOMAIN’ in /home/tamasha1/public_html/wp-content/plugins/fpextension/football-pool-extra-match-save-buttons.php on line 30

    I’m quite sure the error has nothing to do with the calculation error. because when I disable custom ranking display in plugin option the calculation goes through the end meanwhile the same error is being logged in wordpress.
    Another issue is that the interruption takes at two different stages randomely. sometimes at recalculating scores (e.g. first stages) stage and sometimes at ranking tables stage (e.g. last stages)
    the most odd thing is that it sometimes complete the calculation. The last calculation I did fixed the first problem of displaying points but I’m afraid it crashes again.

    sorry for the long note. Thanks.

    you have to create a new pool. I don’t see any option for that. you may have to create a new website or install a new wordpress.

    if the plugin supports floating points in numbers you may just do the mathematics instead of coding. You have to assign an additional point for each match scoring criteria (e.g. full,toto,goal diff etc.). In case of your pool, if you add a sufficiently positive small 0.k to 3,4, and 6 to become 3.k, 4.m, and 6.n
    Note: m and n should be also sufficiently small. I explain this “sufficiently small” in the end.

    your rules can be set by this parameters as below:
    if n>m>k full score has advantage to goal diff and goal diff to toto
    if k>m>n full score has less advantage to goal diff and goal diff to toto

    there can be 9 advantage formulas based on changing this parameter relations from being greater to equal or smaller.

    sufficiently small rules:
    rule #1: if your league has less than 100 matches your sufficiently small number would be 0.09 , and in general if M be number of matches your k must be greater than 1/(M*10) and smaller than 1/M
    1/(10*M) < k < 1/M where M = number of total matches
    rule #2: the two smallest among {k,m,n} must be less than k minus inverse difference of their relative criteria. In your case for example. sufficiently small k,m, and n would be k=0.09 (assuming your pool has less than 100 matches); m = 0.07 which is less than 0.009 – (4-3)/(4*3) = 0.007
    and n = zero because 0.007 – (6-4)/(6*4) results in a negative number.

    I found it. I had to configure win and draw points for group stage. I didn’t knew it.

    same problem here. Tobi would you mind sharing what was the cause and what you did to resolve the problem?

    same problem here and not a multisite. Also the icon set is shown but the icons and their properties are gone and are not available to be edited.

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