• Hi AntoineH! great plugin!
    I have 3 quick questions that maybe you can help me understand how to do it.

    1. I installed the plugin that shows only the open matches, maybe can I make it hide the closed games only after 48 hours or something like that?
    2. In the ranking page I want display Week ranking table next to the main table, how can I do it?
    3. at the user score page I want to add an Symbol if the user got the full score of a game, something like:
    if %user_score% = 2 print 🙂
    elsif %user_score% = 5 print 😀

    a small suggestion that will make the plugin better for mobile, if user already chose a score for a game and now want to change it, when he click on the box it will clear it.

    Have a great day!

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi,

    Let me try to answer your questions.

    1. I installed the plugin that shows only the open matches, maybe can I make it hide the closed games only after 48 hours or something like that?

    Yes, your can use the same filter to hook into for your own extension (see my code for an example). Or change the code of my extension.

    2. In the ranking page I want display Week ranking table next to the main table, how can I do it?

    For a week ranking, you will have to create custom rankings with the games of that week. You can then use the ranking widget or ranking shortcode to show the week ranking.

    3. at the user score page I want to add an Symbol if the user got the full score of a game, something like:
    if %user_score% = 2 print 🙂
    elsif %user_score% = 5 print 😀

    Most pages in the plugin use templates that can be changed via a filter. You will have to determine which page it is and then from the /pages folder look into to the correct class file to see which filter is being used. Of course all of this requires some knowledge of PHP.

    a small suggestion that will make the plugin better for mobile, if user already chose a score for a game and now want to change it, when he click on the box it will clear it.

    I will add it to my feature list. Have to think about it for a bit more. Think you’d want to restore the old value if you don’t enter a new value. Otherwise, you’ll loose your predictions if you accidentally click the input.

Viewing 1 replies (of 1 total)
  • The topic ‘Hi, 3 questions :)’ is closed to new replies.