• Hello Antoine,

    my dAily question is today …

    HOW TO INSERT USER STATISTICS in another page ?? … i can see the statistiques in the defaut statitsics page installed with the plug in but i would like to create a special page for user with his ranking, his scores and his personnal statistics

    Could you help me ?

    many thanks

    nano

    http://wordpress.org/plugins/football-pool/

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

    (@antoineh)

    Hi, the stats don’t have shortcodes, so without coding this won’t be possible.

    Thread Starter sillery4ever

    (@sillery4ever)

    could you tell me where to find the code of the stats thta appears in this example page ?

    http://www.tyknauspro.fr/?page_id=12&view=user&user=1

    I would to found the code to insert this 3 graphic in another page.

    another question in this page i should be able to compare statistics between differents user, but i dont see any selector on the left like the plugin says. is it normal ?

    http://300gp.ovh.net/~cyrillel/wordpress/?page_id=12&users%5B%5D=1

    thanks a lot

    nANO

    Plugin Author AntoineH

    (@antoineh)

    Code for the stats is in the pages/class-football-pool-statistics-page.php page. This page has different “views”. The one you are looking for is “user”.

    The selector is a widget that you have to add to a widget zone. It will only show up on the stats page.

    Btw. Next version will have the selector integrated in the page. I removed the widget.

    Thread Starter sillery4ever

    (@sillery4ever)

    ok thank a lot

    Thread Starter sillery4ever

    (@sillery4ever)

    I think i have not enough knowledge in php to integrate stats script in my other page. 🙁

    Do you think that you could transform statistic in shortcode in your next update version ? It ll permit to build a stats page easily .

    🙂

    Plugin Author AntoineH

    (@antoineh)

    I will have a look at it. Can’t promise if it will make it in the new version, though. There is still a lot of other work to do.

    Thread Starter sillery4ever

    (@sillery4ever)

    OK thanks you…

    I think i will use the statistics default page created by plugin … in waiting the next update.

    Could you tell me where i can change the size, colors of the graphics ?
    Is it in tour pool.css ? or ine the css of the highcharts plugin ? do you know the name of the file ?

    thank you

    Plugin Author AntoineH

    (@antoineh)

    You will have to go to the pages/class-football-pool-statistics-page.php File and change the new chart calls (something like $chart = new Football_Pool_Chart(..., ..., 600, 300)). The constructor takes a width and height in px as the last two arguments.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘display USER's STATISTICS in other page ?’ is closed to new replies.