Resource icon

Notice Time Replacables 2.2.0

No permission to download
Compatible XF 2.x versions
  1. 2.2
Additional requirements
php 7.2+
Standard Library by Xon v1.19.0+
License
MIT Licence
Visible branding
No
Adds the following replaceable to notices:
  • {time_start:absolute}
  • {time_start:relative}
  • {time_end:absolute}
  • {time_end:relative}
These tags pull from the date-time criteria options for when to start/top showing a notice.

Absolute times are displayed in the user's timezone.


Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contibutions

If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
Related resources
  • notice.webp
    notice.webp
    9.7 KB · Views: 716
  • admincp.webp
    admincp.webp
    29.8 KB · Views: 692
Author
Xon
Downloads
75
Views
2,460
First release
Last update

Ratings

5.00 star(s) 2 ratings

More resources from Xon

Latest updates

  1. 2.2.0 - Maintenance update

    Require php 7.0+ Require XF2.1+ Supports XF2.2 Require Standard Lib by Xon v1.4.0+ Fix issue...
  2. 2.1.2 - Bugfix update

    Fix incorrect phrase being used for 'year' Fix count-up behaviour of {time_start:relative}
  3. 2.1.1 - Bugfix update

    Correctly include front-end count-down script in redistributable Expose time phrases to...

Latest reviews

Created a notice which tells people when something is starting. The notice expires at that time, so putting in {time_end:relative} works perfectly.
This addition looks small but if you want to announce things, it is really useful to have a countdown embedded in a notice. Thank you.
Top Bottom