1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Upcoming events cutoff days

Discussion in 'Sportsbook Closed Suggestions' started by Bob, May 28, 2021.

  1. Bob

    Bob Developer Staff Member

    I've added a new option that lets you set the cutoff days for Upcoming Events. Currently the system is hard coded at 30 days. This lets you lower that for really busy sites (and vice versa for sites without much current activity).

    The new option is the first option in the Events options section of the Sportsbook options. As mentioned above, the default is 30 (which is what it always has been).

    Selection_558.png

    For example, during the NFL Season, I have been editing the function in the repository to set the hard coded value (30) to 7, so that only the current weeks upcoming events would be displayed. Now I can lower it during the season and raise it back up after the season without editing the file!
     
    Regs likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.