how to ?
-
Ok i must be blind but i can’t seem to work out how to set this up to see if it supports what i am after (my sport snooker) with a different scoring system to your 3 points for a win kinda game.
I have no idea how to add results or columns to test this is there a tut on how to please
sorry i am pretty new to wordpress and plugins
many thanks
kev
-
Sorry for double post thought you should know i don’t have a matches tab in my dashboard or shouldn’t i ?
Hi there,
Thank you for your question. SportsPress currently supports Team vs Team sports only. We will be introducing Player vs Player mode by version 1.
We’re also working on documentation on configuring and using the plugin.
Matches are in the admin sidebar labeled as “Events”. Hope this helps 🙂
Thanks very much ThemeBoy for your response but how i would love player v player i do have needs for team vs team
see below for how the point system works what i require and tell me please if this is possible
thankyouHow we score is 1 point per frame, example game
team A vs Team B
3 players vs 3 players, each play 2 frames each
so a maximum result could be 6-0 so basically if a full game ends 4-2 for the home team there points would be 4 for the winner and 2 for loser
after a season ends if 2 teams have same amount of points it then goes of matches won then Frame Difference / Frames won
Besides points does it have “for and against” or +/-Hope you get what i mean here
thank you!maybe this is easier i am trying to replicate THIS might help you understand the columns i need and scoring system
cheersHi again!
From what I understand about snooker (which is very little), I think something like the following settings would work. Please go to SportsPress > Settings > Configure and add each of these settings:
Event Outcomes:
Win
LossTeam Results:
Frames Won
PointsLeague Table Columns:
Games Played: eventsplayed
Won: win (priority: 2)
Lost: loss
Points: pointsfor (priority: 1)
Frames Won: frameswonfor
Frame Difference: frameswonfor – frameswonagainst (priority: 3)Player Performance:
1st Frame
2nd Frame
(or alternatively, Points if you only want to keep track of total points per player per game)Player Statistics:
Games Played = eventsplayed
Games Won = win
Win Percentage = ( win / eventsplayed ) x 100. Rounding should be set to 2.
Frames Played = eventsplayed x 2Note that Team Results have a “For” and “Against” counter, so you could use those results to count +/- differences in the league tables and player lists.
I hope this helps!
Games Played: eventsplayed
Won: win (priority: 2)
Lost: loss
Points: pointsfor (priority: 1)
Frames Won: frameswonfor
Frame Difference: frameswonfor – frameswonagainst (priority: 3)Sorry i dont understand what to select for this bit, When you say priority is that selecting “2” in the equation ?
and I add new Frame Difference but i cant see frameswonfor – frameswonagainst anywhere sorry 🙁
thanksSorry cant edit my posts to continue with typing, we use +/- a little different
for example
lets say you WIN 10 frames and LOST 6 the +/- column would show +4 frames or -4 if those was other way round lost 10 won 6
so it deducts the minue from the plus and gives you a totalhope that makes sense, otherwise the frames for is the same as Points
thanks
Hi again!
Thanks for clarifying. Here’s a preset file that you can use. Create a copy of one of the presets (for example sportspress/presets/soccer.json) and name it snooker.json. Then, replace the contents with the following code:
{
“name”: “Snooker”,
“outcomes”: [
“Win”,
“Loss”
],
“results”: [
{ “name” : “Frames Won”, “description” : “Total number of frames won” },
{ “name” : “Points”, “description” : “Total points”, “main” : 1 }
],
“performance”: [
“1st Frame”,
“2nd Frame”
],
“columns”: [
{ “name” : “P”, “equation” : “$eventsplayed”, “description” : “Games played” },
{ “name” : “W”, “equation” : “$win”, “priority” : 2, “description” : “Wins” },
{ “name” : “L”, “equation” : “$loss”, “description” : “Losses” },
{ “name” : “PF”, “equation” : “$pointsfor”, “priority” : 1, “description” : “Points for” },
{ “name” : “PA”, “equation” : “$pointsagainst”, “description” : “Points against” },
{ “name” : “Frames Won”, “priority” : 3, “equation” : “$frameswonfor” },
{ “name” : “+/-“, “equation” : “$win – $loss”, “description” : “Frame Difference” }
],
“statistics”: [
{ “name” : “Games Played”, “equation” : “$eventsplayed” },
{ “name” : “Games Won”, “equation” : “$win” },
{ “name” : “Frames Won”, “equation” : “$frameswonfor” },
{ “name” : “Win Percentage”, “equation” : “$win / $eventsplayed * 100”, “precision” : 2 }
]
}You’ll now be able to select “Snooker” from the Sports dropdown in SportsPress Settings 🙂
oh my i so do hope this works im right on it, your a superstar ThemeBoy brb with a update 🙂
themeboy a couple of things.
Firstly i dont seem to have “D” Draw for games that end 3-3 also although i have created a season and a league i have no idea how to attach the settings see HERE So sorry for taking up your time but i do appreciate the help its something that is not available out there and everything i do is manually so this would make life so much easier
thanks
Hi again, not a problem. I’m happy to help.
First let’s go to SportsPress > Settings > Configure and add an event outcome called “Draw”. Now, we can add a league table column called “D” and set the equation to “Draw”. You can change the Order attribute to adjust the position it appears in relation to the other columns. To insert it between “W” and “L”, set it to 25. Or to insert it after “L”, set it to 35.
Now let’s go to the League Table and edit. At the top of the table you should see the column labels (P, W, D, L, PF, PA, etc). Select the checkboxes next to each column label to enable them, and click Update. The columns should now appear when viewing the table on the frontend.
Hope this helps 🙂
Just noticed the link you posted! Here’s a more accurate preset:
{
“name”: “Snooker”,
“outcomes”: [
“Win”,
“Draw”,
“Loss”
],
“results”: [
{ “name” : “Score”, “description” : “Total points”, “main” : 1 }
],
“performance”: [
“1st Frame”,
“2nd Frame”
],
“columns”: [
{ “name” : “P”, “equation” : “$eventsplayed”, “description” : “Games played” },
{ “name” : “W”, “equation” : “$win”, “priority” : 2, “description” : “Wins” },
{ “name” : “D”, “equation” : “$draw”, “description” : “Draws” },
{ “name” : “L”, “equation” : “$loss”, “description” : “Losses” },
{ “name” : “F”, “equation” : “$scorefor”, “description” : “Points for” },
{ “name” : “A”, “equation” : “$scoreagainst”, “description” : “Points against” },
{ “name” : “+-“, “equation” : “$win – $loss”, “description” : “Point difference” },
{ “name” : “PTS”, “equation” : “$scorefor”, “priority” : 1, “description” : “Points” }
],
“statistics”: [
{ “name” : “Games Played”, “equation” : “$eventsplayed” },
{ “name” : “Games Won”, “equation” : “$win” },
{ “name” : “Win Percentage”, “equation” : “$win / $eventsplayed * 100”, “precision” : 2 }
]
}Hi again and thanks
I cant seem to get the hang of this i must be missing something sorryHERE is a image of my league table
and HERE is a image of the settingsI dont see many columns like the file shows HERE is a image of the copied content above in a .json file
sorry for all the images but best way to show you i think
thanks againHi again,
Thanks for the images.
You’re right, it looks like the settings weren’t all imported. Could you try switching to a different sport (Soccer or Basketball) from the SportsPress Settings screen, then save and switch back to Snooker?
This may enable the new settings.
Done that but still the same, i changed to soccer and looked in config and there was lots of columns went back changed to snooker and still only the three columns showing 🙁 this could only happen to me lol
The topic ‘how to ?’ is closed to new replies.