xF2 Notice Time Replacables

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg submitted a new resource:

    - Adds replacables to expose the start/end time of a notice.

    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...

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg updated with a new update entry:



    • Fix "Undefined index: page_criteria"

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Resource updated with a new update entry:



    • Fix that absolute time could be rendered in the wrong timezone, if the notice had a specific timezone set instead of the user's timezone option.