1. Documentation
  2. Expirations
  3. Add expiration to an element

Add expiration to an element

Achievements and ranks

On every achievement and rank edit screen you will see a new meta box named “Expiration” where you can configure the expiration settings for this element.

Simply, open the dropdown to configure the expiration of your choice for this achievement or rank:

You can configure a specific expiration date or a relative one. Here is how each work:

  • Specific date: Setting the expiration to “Specific date” brings you the ability to enter the exact expiration date you want.
  • Relative date: Setting the expiration to a relative date (days, weeks, months or years) brings you the ability to configure an expiration date based on the date the user unlocked this item.
    For example, if you configure an achievement to expire 2 days later, the expiration date will get automatically calculated at the moment the user unlocks it. If user unlocks the achievement the January 1st, then the expiration date will get automatically calculated to January 3rd.

Requirements (points awards, deducts, steps and rank requirements)

On every requirement (points awards or deducts, steps or rank requirements) will appear a new line starting with the label “Expires:” as you can see on this screenshot:

As in achievements and ranks expiration box, the unique you need is to open the dropdown to configure the expiration of your choice (specific or relative):

Of course, every expiration is configured regardless of the other requirements so, you are able to configure different expiration dates for each requirement of your points, achievements or ranks.

Next, you can check how expirations are displayed at frontend to your users.

Also, you should check how expirations work for certain situations to meet, for example, what happens if an achievement step has an expiration configured and the user unlocks the achievement before the step expiration date.

How can we help?