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 block

Discussion in 'Sportsbook Closed Suggestions' started by d12j28, Aug 22, 2013.

  1. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    Would like to see an upcoming events block. One that could say show upcoming events in the next 24hrs or that day.
     
    Kintaro likes this.
  2. Bob

    Bob Developer Staff Member

    Sidebar Block for core XF forum home? Or are you looking for a XenPorta Block or [bd] Widget Framework Render for making a widget? (all 3 are different, so I need to ask).
     
  3. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    Personally, I'm just asking for the core XF block.
     
    Bob likes this.
  4. WhiteTrash

    WhiteTrash New Member Sportsbook

    one vote for a xenporta block!!
     
  5. Bob

    Bob Developer Staff Member

    this has been bumped back to a 1.3.x release
     
    d12j28 likes this.
  6. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    Is there a timetable on 1.3.? Release? Not a huge deal. Just glad its still in the works. Thanks Bob.
     
  7. Bob

    Bob Developer Staff Member

    1.3.0 Beta 1 is very close (within a week or so). 1.3.x versions will follow after 1.3.0 is Stable.
     
    d12j28 likes this.
  8. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    Thanks for the update Bob.
     
  9. Kintaro

    Kintaro Active Member AMS RMS Premium Showcase Sportsbook Pickem

    This can really boost the usage of Sportsbook
     
  10. Bob

    Bob Developer Staff Member

    I never did get the DETAILS on this (how it is supposed to work). When someone has time, can you please explain to me (in detail) how this block is suppose to function? What determines the content that displays in the block?
     
  11. Bob

    Bob Developer Staff Member

    Im working on a update for Sportsbook now, so if I get details early enough (in the next few days), this can probably be included in the update.
     
  12. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    Basically what I was looking for is a block that would show any events coming up in say the next 24 hours? For example, if I were to make an event for the Daytona 500 in January this block would kind of feature it when it is about to be closed to betting.
     
  13. Bob

    Bob Developer Staff Member

    So you want it based on CLOSE DATE of the event along with an option to set the "within" hrs.
    • So any OPEN Events that will be closing within X hrs would be listed?
    • What about amount? you want a limit amount?
    • What do you want listed in the block? (icon, title, what date info, any other info etc. )
    • What do you want the block to look like?
    I hate putting time and effort into something that I don't know the specifics of, just to turn around after the fact and people want something completely different, so I am going to start asking for more details when people request stuff. Hope you understand why I ask so many questions lol
     
  14. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    No problem Bob. Don't blame you.
    • Based on close date and set with X hrs would be great.
    • Yes, any open events within X hrs would show.
    • As to the rest of your questions, having it like the recent events you have now would be fine with one exception, recent events show when it was created. Upcoming would show when it closes. Something like "betting closes in 4 hours!"
    • Others may have different ideas to add. I'm just looking for something like the recent events but it would be more like a todays events to let users know they are running out of time to bet.
     
    Bob likes this.
  15. Bob

    Bob Developer Staff Member

    Gotcha... makes sense to me. I let others chime in over the next few days as I need to finish up some other stuff before I jump on this anyway.
     
    d12j28 likes this.
  16. Bob

    Bob Developer Staff Member

    Do you care if this is combined with the current block or do you want it as a stand alone block?

    What I'd personally like to do is convert the current block into a tabbed output which would consists of NEW, UPDATED and UPCOMING tabs (the Upcoming would only display when there are any events that qualify to be displayed).

    EDIT: Never mind, I've already decided to make a new tabbed output block instead of having to support multiple blocks.
    • The new block has 3 tabs (Upcoming, Updated and Recent).
    • You can choose between Hours and Days for the Upcoming Events Cutoff Type
    • You set the cutoff value (number of hours or days) for the Cutoff Type
    • You can set the amount of items to display for each tab.
    • Setting the amount of items to 0 will disable that particular tab
    • The Recent tab has 3 options for event types (Open Events only, Open & Closed Events only or ALL Events which included awaiting settlement and settled).
    • They all share the Categories chooser.
    here is a quick look at the options... should be self explanatory (if not, just let me know)
    Selection_059.png



    I'll post some frontend screens when I am done with all the re-styling.
     
    Last edited: May 1, 2014
  17. d12j28

    d12j28 Member Showcase Sportsbook Pickem Survivor

    You answered before I could reply.... .lol

    But one block with tabs is great. Will there be a way to select which tab is default?
     
  18. Bob

    Bob Developer Staff Member

    No, that will have to be done via template edit (easy edits as you just rearrange the upper and lower blocks of code).

    The order I have it now is Upcoming, Updated, Recent (and thats probably the order that I will keep it unless I get 100's of hate mails before I release it lol)
     
  19. Bob

    Bob Developer Staff Member

    Quick sample of what the new tabbed events block looks like (Specifically the new Upcoming Events Tab in this first screen shot)

    In this example, I have the Upcoming Events cutoff type set to days and the cutoff value set to 14 (which dynamically creates the "Events closing within 14 days" phrase.

    The "closes in x" is dynamic. It will display "Closes in x minutes" when the close time is 60 minutes or less. It will display "Closes in x hours" when the close time is 48 hours or less. Anything closing greater than 48 hours will display "Closes in x Days".

    Selection_061.png

    The "Updated" tab simply lists open events that have been recently updated (new odds, new outcomes etc). It also displays the "closes is x" data to let people know how much longer than have to wager.
    Selection_062.png

    The RECENT tab display's the most recently added events. It hasn't changed (cept for the addition of adding the STATUS of the event (open, closed, awaiting settlement or settled).
     
    Sheldon likes this.
  20. Bob

    Bob Developer Staff Member

    Someone asked me to post what the Recent tab looks like, so here you go... After some private input, I decided to remove the bookie name and create date so it matched with the others, color coded the status so they match throughout sportsbook and added important date related info under the status that pertains to that particular status ie, if the event is open, it will tell viewers when it closes.

    Selection_063.png
     
  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.