• I would like to know if someone can help with the code to create a ranking by match type and I would really appreciate. there is a bunch of expert here you have already created the relevant customize functionality for this and their help will be much appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You can create Ranking by Match Date.
    Include the desire matches inside same match type and set the time according to it.. Then you can display the ranking by selecting Match date you just included inside match type . ??

    Thread Starter gwadaboys

    (@gwadaboys)

    @fplnepal I know this can be done but my knowledge to the coding is very limited and hence why I send you an email because I know that you have done it before. this is the type of help that I am looking and not to tell the way that he can be done but how to physically do it. I already send you 2 emails please let me know if you can help and I am sure he can do very quick with your extensive knowledge of the plugin.

    Plugin Author AntoineH

    (@antoineh)

    You don’t need to learn to code (as in PHP or javascript). It’s just a matter of using the right shortcode. Something that is explained in the help page of the plugin and you can also use the shortcode button in the editor toolbar to select the correct matches, then the button will insert the correct shortcode for you.

    give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime

    ??

    Thread Starter gwadaboys

    (@gwadaboys)

    i understand that but your ranking is based on the competition and you do not have any shortcode to generate a specific ranking on match type.

    Thread Starter gwadaboys

    (@gwadaboys)

    I am trying to do the above point and I have tested several of times but your shortcode does not provide a ranking on a match type unless that I miss something. I just hope to teach how to fish the right way ??

    Plugin Author AntoineH

    (@antoineh)

    You are correct about the ranking on match type, it does not exist in a literal sense. But if you have a match type it is easier to select all the matches for the ranking in the ranking composition screen where you select the matches for the ranking.

    So, in general, the steps are:

    1. Create a match type
    2. Add matches to this match type
    3. Create a ranking
    4. Select the match type header to select all the matches for this ranking

    And then you can calculate a ranking for only the matches in this match type. If you update the match type (add matches), then this will not automatically update in the ranking. So, you’ll have to remember to also update the ranking definition.

    • This reply was modified 6 years, 3 months ago by AntoineH.
    Thread Starter gwadaboys

    (@gwadaboys)

    Thank you very much and I think I understood I overlooked the option of the ranking and now i understand your point.
    I just tested and the following shortcode should be sufficient for my requirement.

    [fp-ranking league=”4″ date=”now”]

    and because of the now i will have to update this shortcode on the page every single time that I need to update my ranking right.

    Now I think that you have tough me well how to fish. am I right ??

    Thread Starter gwadaboys

    (@gwadaboys)

    Plugin Author AntoineH

    (@antoineh)

    and because of the now i will have to update this shortcode on the page every single time that I need to update my ranking right.

    The “now” wil make sure that always the latest ranking will be shown. If you supply a different date (in the past), only points until that date are taken into account when showing the ranking.

    But you didn’t supply a ranking ID and I thought that was the whole purpose of your match week separation. Leagues are a way of grouping people in the plugin, not matches. Rankings (the custom ones) are based on groups of matches and/or questions; and the default ranking always contains all matches and all questions.

    Thread Starter gwadaboys

    (@gwadaboys)

    [fp-ranking ranking=”3″ league=”7″ date=”now”] i think this is what you are referring to and if it is the name now please tell me if I completed my lesson @antoineh

    Plugin Author AntoineH

    (@antoineh)

    Looks okay ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘HELP HERE ! Ranking by match type’ is closed to new replies.