Resource icon

Notice Time Replacables 2.4.0

No permission to download
Compatible XF 2.x versions
  1. 2.2
  2. 2.3
Additional requirements
php 7.2+
Standard Library by Xon v1.21.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: 871
  • admincp.webp
    admincp.webp
    29.8 KB · Views: 825
Author
Xon
Downloads
88
Views
2,645
First release
Last update

Ratings

5.00 star(s) 2 ratings

More resources from Xon

Latest updates

  1. 2.4.0 - Feature update

    Add "Notice relative time - Show seconds" option (default: false) If true, seconds are shown...
  2. 2.3.1 - XenForo 2.3 support

    This addon is now available on https://atelieraphelion.com Require XenForo 2.2+ Require php...
  3. 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...

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