• Resolved ppflgoalsgalore

    (@ppflgoalsgalore)


    Hi,
    As admin can i view all predictions entered whilst keeping the settings set to private to users until match prediction cannot be changed?
    I get people asking if their predictions have been saved and also id like to be able to chase/remind specific users if they haven’t made predictions.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author AntoineH

    (@antoineh)

    I have 2 extensions. One will show the matches without the actual predictions for a user, but it can be adjusted to also show the prediction if you change the SQL query. And one that shows the count per user.

    Thread Starter ppflgoalsgalore

    (@ppflgoalsgalore)

    thank you very much – i will give it a go

    Thread Starter ppflgoalsgalore

    (@ppflgoalsgalore)

    could you advise how i would run this extension please?

    Plugin Author AntoineH

    (@antoineh)

    Extensions are simple plugins. So, upload the file to your /plugins folder and then activate it via the admin.

    Thread Starter ppflgoalsgalore

    (@ppflgoalsgalore)

    wonderful, thank you so much

    Antoine wrote:

    I have 2 extensions. One will show the matches without the actual predictions for a user, but it can be adjusted to also show the prediction if you change the SQL query. And one that shows the count per user.

    Change the SQL Query…
    Can you help me further?
    What do I have to change exactly?

    Plugin Author AntoineH

    (@antoineh)

    What do I have to change exactly?

    You have to query the columns that hold the scores from the predictions table. Add the following to the end of line 45:

    , p.home_score, p.away_score

    Hi Antoine!
    How to change to choose the name displayed on the website instead of the login user?

    e.g.
    login – jd
    display name – john doe

    Hi Antoine.

    Thanks. I sent you an email too. But now I’ll get it.
    GrtZ
    Robin

    Plugin Author AntoineH

    (@antoineh)

    How to change to choose the name displayed on the website instead of the login user?

    Change line 33 to:
    $options[$user->user_login] = $user->display_name;

    Change line 33 to:
    $options[$user->user_login] = $user->display_name;

    That’s what I thought but hadn’t tried before. Thanks!

    Thread Starter ppflgoalsgalore

    (@ppflgoalsgalore)

    Hi Antoine – Is there an extension that performs a count on bonus questions answered by user (in a similar way to the extension previously shared where it shows a log of predictions)?

    Plugin Author AntoineH

    (@antoineh)

    There wasn’t one, but easy to create based on the predictions count example. See here.

    Thread Starter ppflgoalsgalore

    (@ppflgoalsgalore)

    awesome – top man!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Admin export/view all predictions’ is closed to new replies.