Forum Replies Created

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

    (@wilrc)

    It’s not mollie related, another plugin prevent loading the media manager => Better recent comments!

    Same issue! I have upgraded woocommerce on desktop works normaal, on mobieltheme it crashes…

    Thread Starter WilRC

    (@wilrc)

    Thanks, Marcel for your reply! I saw that Gwolle guestbook has his own DB-tables. I will take a look into the recent comment widget ??

    Thread Starter WilRC

    (@wilrc)

    It’s caused by memory-limit, upgrade to PHP 7.1 showing this error:
    Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 4096 bytes) in /www/wp-includes/wp-db.php on line 1889

    Is it just simple to increase the memory limit or does this script needs to much memory resources?

    Thread Starter WilRC

    (@wilrc)

    Thread Starter WilRC

    (@wilrc)

    Thanks Antoine, I will give it a try.
    If notice a bug in pages/class-football-pool-statistics-page.php
    line:220
    I think a opening div-tag is missing. clicking on statsview on playerprediction sheet breaks the page. (statistics/?view=user&user=1) Removing the closing div-tag on line 220 solves it.
    It could be that this is only happening in my themetemplate?
    $output .= "</div>";

    Thread Starter WilRC

    (@wilrc)

    Thanks Antoine,

    .one-page {
      display: none;
    }

    Does the trick ??
    I have a small sugestion for the player prediction sheet.
    This pages shows an overview of your predictions and total points earned.
    I’ve added the real score. In this way you can compare your prediction with the real score and make a relation of points as result added.
    file: class-football-pool-statistics.php
    arround line 467:
    $match_template = ‘<tr id=”match-%match_id%-%form_id%” class=”%css_class%”
    title=”‘ . __( ‘match’, FOOTBALLPOOL_TEXT_DOMAIN ) . ‘ %match_id%”>
    <td class=”time”>%match_time%</td>
    <td class=”home”>%home_team%</td>
    <td class=”flag”>%home_team_flag%</td>
    <td class=”score”>(%home_input%)</td>
    <td class=”score”>%home_score%</td>
    <td>-</td>
    <td class=”score”>%away_score%</td>
    <td class=”score”>(%away_input%)</td>
    <td class=”flag”>%away_team_flag%</td>
    <td class=”away”>%away_team%</td>
    <td>%joker%</td>
    <td title=”‘ . __( ‘score’, FOOTBALLPOOL_TEXT_DOMAIN ) . ‘” class=”numeric”>%user_score%</td>
    <td>%stats_link%</td>
    </tr>’;
    $match_template = apply_filters( ‘footballpool_predictionform_match_template’, $match_template );

    $match_type_template = ‘<tr><td class=”matchtype” colspan=”13″>%match_type%</td></tr>’;
    $match_type_template = apply_filters( ‘footballpool_predictionform_match_type_template’, $match_type_template );

    $date_row_template = ‘<tr><td class=”matchdate” colspan=”13″>%match_datetime_formatted%</td></tr>’;
    $date_row_template = apply_filters( ‘footballpool_predictionform_date_row_template’, $date_row_template );

    $linked_question_template = ‘<tr id=”match-%match_id%-%form_id%-question-%question_id%” class=”linked-question”>
    <td colspan=”13″>%question%</td></tr>’;
    $linked_question_template = apply_filters( ‘footballpool_predictionform_linked_questions_template’
    , $linked_question_template );
    `

    Thread Starter WilRC

    (@wilrc)

    Maybe useful, some pagination css style:

    #tablenav top {}
    span.pagination-links {}
    span.total-pages{padding:5px;}
    span.displaying-num{padding:5px;}
    span.paging-input{}
    .tablenav-pages {
        background: #f2f2f2;
    	border: 1px solid #D9D9D9;
    	border-radius: 2px;
        padding: 5px;
        margin-bottom: 5px;
    }
    a.first-page, a.prev-page, a.next-page, a.last-page{
       border: 1px solid #D9D9D9;
    	background: #FBFBFB;
    	background: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FBFBFB),color-stop(100%,#EEE ));
    	background: -webkit-linear-gradient(top,#FBFBFB 0,#EEE 100%);
    	background: -moz-linear-gradient(top,#FBFBFB 0,#EEE 100%);
    	background: -o-linear-gradient(top,#FBFBFB 0,#EEE 100%);
    	background: -ms-linear-gradient(top,#FBFBFB 0,#EEE 100%);
    	background: linear-gradient(top,#FBFBFB 0,#EEE 100%);
    	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),inset 0 1px 0 rgba(255, 255, 255, 0.5);
    	color: black;
    	text-shadow: 0 1px 0 white;
    	width:auto;
    	font-size: 11px;
    	padding: 5px 10px;
    	-moz-border-radius: 2px;
    	-webkit-border-radius: 2px;
    	border-radius: 2px;
    	-webkit-transition: background .40s;
    	-moz-transition: background .40s;
    	-o-transition: background .40s;
    	transition: background .40s;
    	position:relative;
    }
    a.first-page:hover, a.prev-page:hover, a.next-page:hover, a.last-page:hover{
       background: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FFF),color-stop(100%,#f8f8f8));
    	background: -webkit-linear-gradient(top,#FFF 0,#f8f8f8 100%);
    	background: -moz-linear-gradient(top,#FFF 0,#f8f8f8 100%);
    	background: -o-linear-gradient(top,#FFF 0,#f8f8f8 100%);
    	background: -ms-linear-gradient(top,#FFF 0,#f8f8f8 100%);
    	background: linear-gradient(top,#FFF ,#f8f8f8 100%);
    }
    input[type="text"].current-page {
        border: 1px solid #D9D9D9;
    	background: #fff;
    	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),inset 0 1px 0 rgba(255, 255, 255, 0.5);
    	color: black;
    	text-shadow: 0 1px 0 white;
    	text-align:center;
    	width:auto;
    	margin:5px;
    	font-size: 11px;
    	padding: 5px;
    	-moz-border-radius: 2px;
    	-webkit-border-radius: 2px;
    	border-radius: 2px;
    	-webkit-transition: background .40s;
    	-moz-transition: background .40s;
    	-o-transition: background .40s;
    	transition: background .40s;
    	position:relative;
    }

    Thread Starter WilRC

    (@wilrc)

    Thanks Antoine, for your fast response and solution.
    Pagination works great for the matchpages.
    Setting the page_size to 9 or 18 ect will show complete playrounds in the league.
    For the predictionsheet it would useful to select the upcoming playround instead of retrieving all upcoming matches that are added to predictionleague (complete season). But I think than we need an extra field for the weeknumber of playroundnumber. We could also add just one or several playround at the same time.

    Thanks a lot for your help, great work.

    Thread Starter WilRC

    (@wilrc)

    OK thanks. I don’t think that the PHP DOM plugin will do the magic. I will be patient. I’m looking out for the next version. Have you any plans to do some more improvements?

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