Resource icon

Notice Time Replacables 2.0.5

No permission to download
Compatible XF 2.x versions
2.0, 2.1
Additional requirements
php 5.6+
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.

Fully phrased compared to the XF1 version.


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.
Author
Xon
Downloads
40
Views
506
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Xon

Latest updates

  1. 2.0.5 - Bugfix update

    Fix that absolute time could be rendered in the wrong timezone, if the notice had a specific...
  2. 2.0.4 - Maintenance update

    Render singular time chunks Workaround for XF2 missing feature (no {user_id} replaceables)
  3. 2.0.3 - Maintenance update

    This add-on appears to have no compatibility issues with XF2.1 Use group'ed phrases for single...

Latest reviews

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