Abbey Road Breakfast Champion Geneva Vicston Indian Kitchen

Bashers Cricket Club

versus

This is a wee plugin written to keep track of the competitions the Bashers compete in.

It’s fairly straight forward.

In the dashboard section you’ll find the admin pages for the versus plugin.

clicking on Versus will take you to this page

List of matches

which will list all the matches in the database.

Use the filters at the top to refine the search. Click on a match to edit it.

Edit/Add match

To add a new match to the database click on “Enter new Match”, i know that’s very confusing.

The form should be pretty self explanatory. The only confusing part is the double elements (a drop down and a text input box)  for some of the items.

If it’s a new team ground or competition to the database just type it in. The system relies on the spelling being the same which is why it’s advisable to use the drop-downs where you can, they’ll automatically fill out the form elements. The score is the runs/wickets for that teams batting innings. Try and keep the same format. The points box is for competition points. this is what’s used to calculate the standings in the league tables.

Don’t forget to select a result so the winners get credit.

Commentary, write what you like, this part isn’t really implemented yet. I’ve been putting the sportzvault link in for when a match is clicked on. up to you.

Hopefully the different submit buttons don’t need explaining.

And that’s the hard part done! Should only take a few minutes each week. Hopefully the team captains can keep on top of this and have our tables up to date, which means entering results for all matches in your comp, even ones not involving Bashers.

Now the fun part.

Apart from the league standings which go in the sidebar it’s possible to insert match results and tables into posts and pages.

the place to look is on the visual editor toolbar.

The First button is for inserting a match result. It’ll bring up a popup window which lists matches in a similar way as the editing section you saw before.

Filter away and click on a match to insert it in a post.

On your edit screen you’ll get something like this:

[versus_match match="153"]

Or if you use the “Insert All Matches” button at the bottom you can include a range of matches (e.g. every leisure Match Played in a given Year)

[versus_match comp="" year="2010" team="Bashers Leisure" venue=""]

The other button is for inserting points tables. It’s the one which looks like a wee ladder and gets you to the following popup:

Choose a competition. The Highlight Team is for if you want a particular team featured.

At Date is the tricky part here. Leave it blank and the table will automagically update as more results come in so it’s always the most up to date. But if you enter a date (in YYYY-MM-DD format or click on the button next to “make it today” to automatically enter the current date) it will show the standings as they were at that time. If you’re writing a match report or preview this might be the way to go.

That’s about it, any bugs you find or questions let me know.

enjoy.

 

Sledges

Sledge

Copyright © 2024 Bashers Cricket Club.
Log in -