Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @albertlepoudre ,

    I was able to reproduce this issue. I will forward it to our DEV team for a fix.

    Thanks,
    Savvas

    @albertlepoudre
    If you are comfortable with making changes, you can try my workaround here: https://www.ads-software.com/support/topic/cant-set-lose-outcome-to-less-goals/#post-15768803

    Good evening everyone, nice to greet you. I tell you that I have been with a permanent failure of the SportPress plugin for some time, which has caused me great headaches. The issue is that the SCORE BOX does not appear, does anyone know anything about it? Can you help me please? Thank you

    Screenshot: https://home.mycloud.com/action/share/80facf94-d616-4a97-810f-1d6d60834547

    Plugin Contributor Savvas

    (@savvasha)

    Hi there @akil3s ,

    Please open a new topic for your issue.

    Thanks,
    Savvas

    Plugin Contributor Savvas

    (@savvasha)

    Hi @jhund and @albertlepoudre ,

    Can you try the following proposed patch please?
    https://github.com/ThemeBoy/SportsPress/commit/ce755f50c16ad397bdf7f87a903c0ae0ff9ca5b3

    Thanks,
    Savvas

    Thread Starter albertlepoudre

    (@albertlepoudre)

    Hi Savas,

    I tried the proposed patch but it didn’t work.
    “Loss” is not automatically configured in the result box. “Win” was configured automatically.

    Thank you for putting your energy in this issue.

    Greets
    Albert

    Plugin Contributor Savvas

    (@savvasha)

    Try to create a new Loss outcome (i.e. Loss2). Thrn empty the outcomes of your event and click the update button. It should work. At least, it ks working on my testing environment.

    Thanks,
    Savvas

    Thanks, but my antivirus informs me that the link is infected by fishing. What can I do? Thank you for your time.

    Thread Starter albertlepoudre

    (@albertlepoudre)

    @savvas

    Hi Savvas,

    I’ve created a new loss outcome: “Loss2”.
    Sadly, it didn’t work. The resultbox did not configure automatically.
    Then I deleted the old loss outcome: “Loss”, but still it didn’t work.

    I also inspected the patches I made (4 changes in 2 php-files) to ensure that everything was typed correctly and it was.

    Thanks
    Albert

    Plugin Contributor Savvas

    (@savvasha)

    @albertlepoudre I am not sure what else is going wrong with your setup…

    If you are confident with sql queries can you return the result of the following:
    SELECT * FROM wp_postmeta WHERE meta_key LIKE 'sp_condition' ?

    Thanks,
    Savvas

    For the time being – try changing the “Loss” outcome to “default” condition rather than least total.

    I had the same issue a few months ago and was wondering why it wasn’t working but when I switched the condition for “Loss” to “Default”, the automatic outcomes worked fine.

    Edit -> This is how I have my site setup and the automatic outcomes work just fine like this. Hopefully this works for you too. As you can see, I still have the “Primary” outcome set to “Totals” but the default is also listed as “Total” and as long as this is what happens for you, I’m guessing it should work (at least I hope)

    https://snipboard.io/c7l4qb.jpg

    • This reply was modified 2 years, 4 months ago by RobJr.
    • This reply was modified 2 years, 4 months ago by RobJr.
    Plugin Contributor Savvas

    (@savvasha)

    Hi @robjr14 ,

    Did you apply the above patches? It solves the issue to my testing environment as you can see below:
    https://snipboard.io/PcefrF.jpg
    https://snipboard.io/EuWJB9.jpg
    https://snipboard.io/EJvmNO.jpg
    https://snipboard.io/hiWmuy.jpg

    Thanks,
    Savvas

    Thread Starter albertlepoudre

    (@albertlepoudre)

    Hi Savvas,

    I’m not familiar withe sql series, so I won’t risk to mess with the programfiles.

    As I notice that a lot of users have the same problem with the resultbox, I think there is a bug in the program. So as you mentioned earlier to send it to the developpers, I think that’s a good idea.

    Thank you very much for trying to help us.

    @robjr14
    I set changed the “Loss” outcome to “default” and now the outcome in the resultbox works fine. It is confiqured automatically.

    Thanks for your info.

    @savvasha
    Do I put the topic as “resolved” or do I wait until the result of the developpers.

    Thanks guys for helping me out.
    I love to work with Sportpress. Great program.

    Greets
    Albert

    @savvas

    I did apply the FIX3 you provided and it fixes the issue for me. I can now manually select “primary” as a result outcome to calculate the results automatically.

    I did have to re-apply FIX2 though, as for some reason the core functions file had reverted back to the old code for that fix (for the “Loss” Condition to remain selected). But once I did that, your “FIX3” fixed the automatic outcomes.

    @albertlepoudre – Could you re-confirm that your “includes/sp-core-functions.php” file was actually edited/modified with FIX2 -> https://github.com/ThemeBoy/SportsPress/commit/17909947daa2f4e44ad8449404796b8a62d0e494 ? And that your condition for “LOSS” has “least total” selected? –

    You’re welcome by the way – at least selecting “Default” fixes the issue at the moment.

    Thread Starter albertlepoudre

    (@albertlepoudre)

    Hi @robjr14,

    I used all the fixes that @savvas suggested.
    It helped me to fix some problems but the automatically configuration of “Loss” in the resultbox didn’t work. @savvas asked me to return a result of a sql query but I’m not familiar with this.

    grts

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Loss condition – result boxes – outcome’ is closed to new replies.