JB Season Records for Solspace Calendar

Developer

Jason Boothman

3rd Party (Free)

173 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

JB Season Records is a plugin that works with the Solspace Calendar add-on to make season calculations for sports. You specify a timeframe, category and certain field ids and it will return the season records (wins, losses, ties, etc.).

PARAMETERS

begin_date - Required.
Format must be YYYYMMDD.

end_date - Required.
Format must be YYYYMMDD.

category - Required.
Provide the events category_id the sport is located in.

my_score - Required.
Provide the field id number where you enter your scores.

opp_score - Required.
Provide the field id number where you enter the opponents scores.

my_dh_score - Optional.
Provide the field id number where you enter your doubleheader scores (assuming they are not a separate calendar entry).

opp_dh_score - Optional.
Provide the field id number where you enter your opponents doubleheader scores (assuming they are not a separate calendar entry).

conference - Optional.
Provide the field id number to track conference records. Field must provide “Yes” if it’s a conference game.

VARIABLES

{wins}
Number of wins.

{ties}
Number of ties.

{losses}
Number of losses.

{confwins}
Number of conference wins.

{confties}
Number of conference ties.

{conflosses}
Number of conference losses.

{percent}
Win percentage for all games.

{confpercent}
Win percentage for all conference games.

EXAMPLE

{exp:jb_season_records begin_date="20140801" end_date="20150701" category="12" my_score="122" opp_score="123"}

    Wins = {wins}
    Losses = {losses}
    Win Percentage = {percent}

{/exp:jb_season_records}

FINDING FIELD IDS

If you’re not sure what the field id numbers are, there is a very simple way to do so.

     
  1. Navigate to the Channel Fields administration screen.
  2.  
  3. Click on the ‘Events’ group name (assuming you haven’t changed it when setting up Solspace Calendar)
  4.  
  5. Click the field label to edit it.
  6.  
  7. Look at the url for “?field_id=” and the number that follows should be the field id number.

Download JB Season Records for Solspace Calendar

EE Support Downloads Add-On Version Release Date
2.8.0+ Download 1.0 Mar 18, 2015

This entry was created March 19, 2015, 9:25 am.
This entry was last updated March 19, 2015, 9:26 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!