• Hi All

    I would like to show Full Points on my Ranking Table alongside the Total Points. Can anyone tell me what the parameter is called please?

    I assume that I wound then be able to add it into the football-pool-change-ranking-template.php which is available in Dropbox.

    Thanks in advance
    Simon

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

    (@antoineh)

    If you want to display full points, then you need the score breakdown plugin. This plugin adds the %breakdown_full_points% parameter (among others). Standard plugin does not have this value available.
    When you enable this plugin, you can change the template in that plugin to hide the columns you don’t need.

    Thread Starter 180simon

    (@180simon)

    That is excellent Antoine. I’ve installed the app and activated it, but where can the columns be amended? I can’t see the Plug In listed anywhere in my menu.

    Plugin Author AntoineH

    (@antoineh)

    You’ll have to change the template in the plugin file (change the code).

    Thread Starter 180simon

    (@180simon)

    Oh, I thought you might say that!
    Do you have the time to explain what I would need to change?
    It’s on a live site and I don’t want to try trial and error of I can help it.

    Plugin Author AntoineH

    (@antoineh)

    If you only have a live site, then I would advise to also create a test site on your hosting environment or install something like Wampserver on your pc for a local install to try stuff before you deploy it to the live environment. Takes some time to set up, but will eventually save you a lot of headaches if something goes wrong.

    A plugin like Duplicator can help you to create a copy of your live site.

    Anyway, back to the question: if you want to remove/change columns, you’ll have to change lines 40-63 and lines 68-93. Current code prints an extra column with the user’s league image when the $all_user_view var is set to true.
    You need some basic PHP knowledge to understand the code and change it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ranking Template’ is closed to new replies.