+3
Completed

Front-end edit Mode - User Roles (record of the result of the match for registered users)

Andrew 3 years ago updated by Andrei S. (Developer) 2 years ago 16

Hello, I bought a premium plugin Sports Leagues. It looks amazing, I'm trying to create an esport site for hockey tournaments and leagues. I am currently working on the easiest way to record the result of the match and allow access to the managers of the given teams? I have a registration now on  my page, it works well, but I'm trying to set up player (users) access for the teams? So they can send resluts the match in the league table. Thank you in advance for your advice.

GOOD, I'M SATISFIED
Satisfaction mark by Andrew 2 years ago

Hi, how does it look like with the implementation of this possibility of writing results?

Hello

I plan to work on it soon. 


Please share your ideas on how it should work. Maybe examples from other plugins/sites.

--

Best Regards

Andrei S.

I will give an example and at the same time some ideas that I know from other esports websites, which I think are ideal for an esport league.

On the website, there will be a possibility of registration for users (players), to whom it will be possible to assign a given team after registration. For example, the user Anthony123 register and plays for the Dallas Stars and gets access to the game schedule of that team, that is, the Dallas team. After logging in to the website, he enters the RECORD RESULTS section where he sees his team's schedule, selects a match, where after opening it will be possible to enter various match values ​​(result, shots on goal, face off, power plays, shorthandeds, time in attack etc., sends the result and it is automatically included in the league table (or in the play off knockout system). In the match card, the logo of the given teams could be nicely displayed, in the team colors various graphs and values ​​could be displayed, for example, from the shots on goal, face off wins, hits etc. 

If it was a team competition such as a 6v6 or 3v3 esport league, there would be the same system with the possibility to create team lists (team composition) which is currently possible, where the same values ​​from the match as for 1v1 are entered by making it possible to write down the statistics of the players (goals, assists and points overall for the players and then the values ​​for the percentage of success for the goalkeepers and the average number of goals received per match) and again a schedule would be created, the captain (team manager) of the given team would log in to the website, he would get access to the CZECH LIONS team (his own team) , for example, and he would again have a RECORD MATCH section, where he would see the schedule, select a specific match and enter the given values... The result would then be automatically entered into the table and at the same time ideally to be able to player statistics in the next STATISTICS section. Here you could see the statistics of teams, players (goals assisted), goalkeepers (average number of goals conceded per match, save percentage) and so on.

Also, it would be great if someone wants to look at the results of any of the teams so that the team page can show the matches played with results, player stats, etc.

Your plugin is great and most of it is possible here, just enable registration and assign the possibility of recording results directly from the website (front end system) so that players and team captains do not have to enter results via the admin menu in a complicated way.

Here I am attaching the esport league link for idea.

https://sportsgamer.gg/leagues/239/info


Here I am attaching pictures of what the results look like in one of the leagues. (Czech league). 

If you were to implement an add-on for recording the result, I would ask if it would be possible to add a column for "time in attack". Alternatively, it would be nice to be able to add a custom line to display match stats)

The entry could be simpler, there may not be so many boxes for thirds. Important fields for writing: MATCH RESULT (possibility to set win in overtime, shootout wins) SHOTS, HITS, FACEOFFS WON, TIME IN ATTACK, POWERPLAYS and maybe good is PENALTY MINUTES (see image POST GAME STATS)

Another good and important thing is that it is not possible to register more than the given number of matches with the opponent. For example, if the competition is played with a system of each against each home and away, so that it is possible to enter only 2 matches with a given opponent. For example, 1st game ARIZONA vs CAROLINA, 2nd game CAROLINA vs ARIZONA and further so that it is not possible to write down a possible third match, so that there is no confusion in the competition or for the admin to create a draw (ideally add the option of automatic draw from the given teams under the given conditions)

Furthermore, to be able to see the schedule of matches after the user has logged in on the website for an overview of who the player has played with and with whom he has not. (played, not played)

PICTURES FOR IDEA:

Image 6144

Image 6143

Image 6142

Image 6141

Image 6138

Image 6137

+1

Thanks a lot for the examples.


--

Best Regards

Andrei S.

+1

Hello,

I really hope this option will be implemented.

Best Regards

Patrick.

Completed

will be added in v0.12.1

https://anwppro.userecho.com/knowledge-bases/12/articles/2684-v0121-work-in-progress

In short: 

A special admin menu is available for all registered Users except administrators with a UI similar to the admin game edit page. A list of available user games depends on the user’s role.

Image 6921

Image 6920

Image 6922

--

Best Regards

Andrei S.

That's great news, I can't wait to get everything ready and try the update. It looks great and exactly how I envisioned it, if it will be possible to add and remove (edit) lines to the score sheet for given matches. :) For example, in 6v6 and 3v3 team matches, players will record team statistics (face off wins, time in attack, suspension...) + player statistics (goals, assists, points...). For 1v1 singles, players will only write down team stats, so that players have it written down as soon as possible and there are not too many lines that are not important for the given tournament... This could be a really great update. :)

The addon looks great, I have a couple of tips for the next update...would it be possible to add multi-positions to players? For example, in hockey, add the option of 2 or 3 positions in which a player can play (A player can play, for example, as a center and a right wing... etc.).

Furthermore, would it be possible to add the possibility of tournaments for players (1v1)? So that there is a separate list of players and teams... To make it easy to get to know the list, after all, having players and team names in one list is quite confusing with a large number... If I'm not mistaken, if I want to create a tournament for players, it is the need to create players in the section where teams are created in order to set the table, bracket...

Also, it would be great to add the ability to display the team captain or manager in the league table so that players know who to communicate with to arrange matches.

Add to the profile the option of contacting the player on Discord, Twitch... What console does the player play on... Playstation, XBOX.

Furthermore, it would be nice for players to add their achievements (trophies) to their profile, such as the best scorer, the best goalkeeper in the given tournament/league, etc.

 

Would it be possible to add some simple match generator? For example, where would the teams in the competition be marked and the number of matches could be set (ideally home and away option) and would the matches for the competition be generated and prepared in the schedule? If I am not mistaken, it is now possible to create matches only by the administrator and not in bulk. or add the option to record a results with a restriction only for your own team matches with opponents.

Otherwise, great job on this addon.

Hello Andrew,

For example, in hockey, add the option of 2 or 3 positions in which a player can play (A player can play, for example, as a center and a right wing... etc.).

It can be done with custom fields, for example. I think the player should have one actual main position.

If you have any ideas of how it can be done or saw interesting solutions on other sites, please share them (create a feature request).

Furthermore, would it be possible to add the possibility of tournaments for players (1v1)? So that there is a separate list of players and teams... To make it easy to get to know the list, after all, having players and team names in one list is quite confusing with a large number... If I'm not mistaken, if I want to create a tournament for players, it is the need to create players in the section where teams are created in order to set the table, bracket...

This plugin is based on my Football Leagues plugin, and it was created for teams' sports.

But I also thinking of how to make it work with 1v1 tournaments (like tennis, golf, and so on). I hope such improvements will be added in the future.

Also, it would be great to add the ability to display the team captain or manager in the league table so that players know who to communicate with to arrange matches.

It can be done with Custom Fields or text fields.

Add to the profile the option of contacting the player on Discord, Twitch... What console does the player play on... Playstation, XBOX.

Yes. I'll add more social options to the player's profile in the next releases.

Furthermore, it would be nice for players to add their achievements (trophies) to their profile, such as the best scorer, the best goalkeeper in the given tournament/league, etc.

Can you provide examples from other websites of how it should look like?

Would it be possible to add some simple match generator? For example, where would the teams in the competition be marked and the number of matches could be set (ideally home and away option) and would the matches for the competition be generated and prepared in the schedule?

Perhaps this feature will be added in the future. If you have a specific generator logic in mind, it would be great if you could create a feature request and describe it.

--

Best Regards

Andrei S.

"Can you provide examples from other websites of how it should look like?"


Hi, would it be possible to add an option to default player profile view to Layout Builder? Like, for example, it is possible to set the profile view of teams and tournaments... Below I am sending a link to the Alchemists template creator in conjunction with the Sportspress plugin for an idea. I personally use the alchemists template and it would be great to use the potential of the Layout Builder for the player profile as well. When you view the link, you will see the player's photo, the ability to swipe left and right to various statistics from that season... The ability to switch to the next tab, where there will be an overview of the player's career, including previous seasons... There will be an option to view the player's Bio, where it will be possible to view various achievements (for example, the top scorer of the 2022/23 season, how many goals he scored in that season, how many assists the player had, etc.). Simply put, to store all history from previous seasons in the player profile. For further possible improvements, there are really a lot of nice and creative solutions in the modern style in this attached demo. I will ask for these options if it is possible to add them to the SPORTS LEAGUES (hockey) add-on.

https://soccer-dark-alc.dan-fisher.dev/player/james-messinal/

+1

Thank you very much for providing a great example. I will definitely remember it. 

I plan to add support for the Gutenberg editor in Layout Builder to enable the creation of complex page designs, similar to the example you shared, and allow for effortless modifications.


--

Best Regards

Andrei S.

you're welcome, I have a question... would it be possible to add an option to hide these switches in the role settings? some players have already clicked on the BONUS POINT (for example when the match went into overtime) option a few times, and unfortunately they always have to delete the entire match and re-enter it... We do not use the BONUS POINT option, so it would be good if this option did not appear in the matches. Alternatively, is it possible to modify it somehow via the css editor?

And one more question... would it be possible to set the fields for entering the values of team statistics so that a straight field with a cursor would automatically open, where the value would be entered directly, as it is set for entering the result and the progress of thirds? so that you don't have to double-click on your mobile phone? One player wrote to me that he could not click on the box to enter values.

And one player who uses the safari browser (iphone devices) sent me a photo that has the text upside down.

Image 6976

Hello

option a few times, and unfortunately they always have to delete the entire match and re-enter it... We do not use the BONUS POINT option, so it would be good if this option did not appear in the matches. Alternatively, is it possible to modify it somehow via the css editor?

I will add an option to hide these toggles in Configurator soon.

And one more question... would it be possible to set the fields for entering the values of team statistics so that a straight field with a cursor would automatically open, where the value would be entered directly, as it is set for entering the result and the progress of thirds? so that you don't have to double-click on your mobile phone? One player wrote to me that he could not click on the box to enter values.
And one player who uses the safari browser (iphone devices) sent me a photo that has the text upside down.

I'll think about that. Thanks!

--

Best Regards

Andrei S.