1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented Date should be a criteria (Notices, trophies)

Discussion in 'Closed Suggestions' started by Rigel Kentaurus, Oct 10, 2011.

  1. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    The notices could be used as an announcements-like feature if it had a date criteria, to only display the notice from X date to Y date.

    This could also enable more creative uses for that, for example, I could give a user a trophy, only, and only, on a certain date. That way I could run some trophies as promotions (reach X posts before Y date to get it, after that no longer available)
  2. Russ

    Russ Well-Known Member

    I can see many uses for allowing times/dates to be part of the criteria.

    Contest running now
    Pre-sale running now
    Discount limited time
    Staff gone for the weekend

    Ect ect...

    great suggestion!
    Markos and Defqon like this.
  3. Kier

    Kier XenForo Developer Staff Member

    It's something we plan to add, but there are technical issues holding it back at present.
    Markos, Forsaken and Russ like this.
  4. Forsaken

    Forsaken Well-Known Member

    Damnit Kier, stop thinking of everything!
  5. Kier

    Kier XenForo Developer Staff Member

    Specifically, the issue is one of "okay, so when is that then?".

    Let me explain.

    Let's say I provide a date/time picker, and you specify that you want a notice to appear at 9am on November 2nd.

    When do you mean? You could mean any of these things:
    1. Nov 2 @ 0900 UTC
    2. Nov 2 @ 0900 in your timezone
    3. Nov 2 @0900 in the server's timezone
    4. Nov 2 @ 0900 in the current visitor's timezone
    If you have a server in Texas, visitors in Europe and you are administering from Australia, an assumption of any of these timezones could have wildly varying effects upon when the notice actually shows up.
    Markos and Forsaken like this.
  6. erich37

    erich37 Well-Known Member

    the timezone needs to be specified as UTC, CET,... by the admin.
    Forget about user-timezone, server timezone or admin-timezone.
  7. ibnesayeed

    ibnesayeed Well-Known Member

    That means selection of one of the above mentioned options would be a field along with the date/time picker field. :)
  8. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    That sounds like a really easy to solve issue considering you can ask for the timezone in the page itself, or add a legend saying that time is the admin's timezone (I think most people have in their minds their own time when setting up things). Please don't let something like that prevent you from adding that feature.

    When you said technical issues I was expecting some crazy caching you could be doing with notices in the session or serialization that prevents the date from being correctly considered in some particular scenarios :) Glad to know is not like that.
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Unfortunately a lot administrators don't know their UTC from their elbow, so in many instances the notice will be displayed at an incorrect time.
    trilogy33 likes this.
  10. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    This is trivial to solve ...
    Just add a disclaimer on the page

    Or make a selectable option of "admin time", "user time", "UTC time" next to the date field ...
    I really think that we are not discussing a hard-to-solve problem :)
  11. Kier

    Kier XenForo Developer Staff Member

    Something like this you mean?

    Screen Shot 2011-10-11 at 01.07.15.png
    EQnoble, duydangle, MGSteve and 10 others like this.
  12. Slavik

    Slavik XenForo Moderator Staff Member

    You should use that option for the next release of xenforo... watch the non-Brits suffer as they wait for their timezone to catch up :D
  13. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

  14. Kier

    Kier XenForo Developer Staff Member

    All done now.

    Screen Shot 2011-10-11 at 12.23.42.png
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Does the If no user or page criteria are specified, this notice will always be displayed phrase need to be updated to include date now?

    If no user, date, or page criteria are specified, this notice will always be displayed.
    GeeksChat likes this.
  16. ibnesayeed

    ibnesayeed Well-Known Member

    I presume that birthday criteria will use users' timezone. :)
  17. CyclingTribe

    CyclingTribe Well-Known Member

    You're a bad man ... :ROFLMAO:
    ibnesayeed likes this.
  18. Kier

    Kier XenForo Developer Staff Member

    Always has.
    ibnesayeed likes this.
  19. bambua

    bambua Well-Known Member

    Fabulous option :D
  20. Mike Tougeron

    Mike Tougeron Well-Known Member

    This is awesome. I was just searching to see if there was already a request for this or not & I see you already implemented it. :)

Share This Page