Resource icon

Notice Time Replacables 1.0.1

No permission to download
Compatible XF 1.x versions
1.4, 1.5
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.

Relative times are not phrased, nor is there any client-side scripting to implement a live countdown.

Installation

I recommend using Add-on install & upgrade to install this add-on.

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
37
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Xon

Latest updates

  1. Maintenance update

    Do not pluralizing single unit values. Add replaceables to the notice message description...
Top