• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to 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

d12j28

New Member
Showcase
Pick'em
Sportsbook
Survivor
Would like to see an upcoming events block. One that could say show upcoming events in the next 24hrs or that day.
 
Upvote 1
This suggestion has been implemented. Votes are no longer accepted.
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).
 
Is there a timetable on 1.3.? Release? Not a huge deal. Just glad its still in the works. Thanks Bob.
 
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.
 
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?
 
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.
 
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.
 
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
 
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

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.
 
  • Like
Reactions: Bob
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.
 
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:
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?
 
Will there be a way to select which tab is default?

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)
 
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).
 
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
 
Back
Top