• airket

    (@airket)


    Hi, BigTonny

    when i use ranking shortcode [football-predictor ranking=1 limit=999] in my website, i found that every user can check other user prediction record, how to remove it? please refer http://joxi.net/Y2LJy4GH9Qn4Gr

Viewing 2 replies - 1 through 2 (of 2 total)
  • nosmoz

    (@nosmoz)

    Hi,

    You need to delete this on the file football-predictor/includes/class-fp-reports.php :

    if (get_option($this->prefix.’user_predictions’, 1)) {
    $stage_link = ”;
    if ($playoff) $stage_link = ‘&playoff=1’;
    if ($stage) $stage_link = ‘&stage=1’;
    $output .= “prefix.’user_predictions’).”&fp=predictions&user=”.$row->ID.”\”>“;
    }

    To find this, use Ctrl+F or Cmd+F (on Mac), write “predictions.png” and choose the block where you see “$oldTotal = $row->total” before the text.

    Thread Starter airket

    (@airket)

    Hi nosmoz,

    Thank for your reply, I follow your instruction then can make it, thank you so much.

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

The topic ‘Rankings Issue’ is closed to new replies.