• Resolved geekusoid

    (@geekusoid)


    Hello.

    I’ve been working to adapt the player vs player options for a game based wrestling community. Much like UFC or Boxing, the basic premise is Win/Lose/Draw.

    What I’m having trouble with is getting those Win/Loss/Draw statistics from showing up on the player page as well as getting an event to simply show the result of Win or Lose. I’ve enclosed images of the locations in quesion, as well as what the base of my panel options looks like HERE

    I’ve already been able to create metrics for all of the virtual participants and also upload their desired images. If I can get this working to where it will show wins and losses as part of the player and event statistics, I’d be ready to go.

    I’m sure its probably a simple setting that I’m missing somewhere so all help is appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    Usually, you define these under SportsPress > Configure > Event outcomes.

    There you can add win, draw, loss and even others if you want to (such as KO/TKO, for example)

    Thread Starter geekusoid

    (@geekusoid)

    Hello @rochesterj thanks for the reply.

    If you’ll look at the image HERE you would see that I already have these defined under Event outcomes.

    The issue is, that those outcomes aren’t being displayed anywhere.

    When you look at the event, it doesn’t display the result (as shown HERE )

    And on the player statistics in their event list, it also doesn’t show the results (as shown HERE )

    How do I get it to display?

    Plugin Contributor Savvas

    (@savvasha)

    Hi @geekusoid,

    The outcome is shown at the results section https://snipboard.io/jlyHfW.jpg
    You need to activate it at SportsPress->Settings->Matches

    Thanks,
    Savvas

    Thread Starter geekusoid

    (@geekusoid)

    Hi @savvasha

    Still doesn’t show anything

    https://snipboard.io/JCIfqK.jpg

    Thread Starter geekusoid

    (@geekusoid)

    I guess I should be more specific about what I’m asking.

    I want it to be able to display something like this on the player profile in their event history

    https://snipboard.io/6oUZgj.jpg

    And something like this on the actual event

    https://snipboard.io/Wr25EY.jpg

    Or some equivalent to that.

    Right now, its just blanks.

    • This reply was modified 3 years, 7 months ago by geekusoid.
    Plugin Contributor Savvas

    (@savvasha)

    You need to enable the outcome in the Settings:
    https://snipboard.io/1XgSEi.jpg

    Thread Starter geekusoid

    (@geekusoid)

    @savvasha

    Woooo! We’re making progress!

    So, now it shows it on the event result, which is fantastic

    https://snipboard.io/6MtBx2.jpg

    But all that’s left is to get it working on the player event block, which is still blank
    https://snipboard.io/rpnG9L.jpg

    Any thoughts?

    Plugin Contributor Savvas

    (@savvasha)

    Hmmm, you can try to copy the player-events.php template from wp-content/plugins/sportspress/templates' towp-content/themes/your-child-theme/sportspress/ and alter the following line:
    'columns' => array( 'event', 'time', 'results' ),
    to
    'columns' => array( 'event', 'time', 'outcome' ),

    Thanks,
    Savvas

    • This reply was modified 3 years, 7 months ago by Savvas.
    • This reply was modified 3 years, 7 months ago by Savvas.
    Thread Starter geekusoid

    (@geekusoid)

    Alright, so I found the files you mentioned here, copied over to the themes/rookie/sportspress/ directory and made the line adjustment…

    all it did was end up removing the column for “results”. Which isn’t terrible, but I guess I’ll have to keep digging further in that direction to try and get the desired result.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @geekusoid ,

    You are right… Unfortunately it is not possible right now to show the outcome of the events in the player’s profile. It is doable with some custom code but this is beyond the scope of the WP support forums I am afraid.

    Thanks,
    Savvas

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Player vs Player (Wrestling adaptation)’ is closed to new replies.