Minimum warning value is 1 day. Is it possible to have 1 hour option on the warning page?
Thanks.
Thanks.
this is must need option for every admin, kick user from forum 1-24 hoursYepp. Devs will provide with some code I hope as we can change the existing warning to an hour.
<xf:select name="expiry_unit" value="months" class="input--inline">
<xf:option value="days">{{ phrase('days') }}</xf:option>
<xf:option value="weeks">{{ phrase('weeks') }}</xf:option>
<xf:option value="months">{{ phrase('months') }}</xf:option>
<xf:option value="years">{{ phrase('years') }}</xf:option>
</xf:select>
<xf:select name="expiry_unit" value="months" class="input--inline">
<xf:option value="seconds">{{ phrase('units_seconds') }}</xf:option>
<xf:option value="minutes">{{ phrase('units_minutes') }}</xf:option>
<xf:option value="hours">{{ phrase('units_hours') }}</xf:option>
<xf:option value="days">{{ phrase('days') }}</xf:option>
<xf:option value="weeks">{{ phrase('weeks') }}</xf:option>
<xf:option value="months">{{ phrase('months') }}</xf:option>
<xf:option value="years">{{ phrase('years') }}</xf:option>
</xf:select>
That was for the front-end.
Editing the back-end default warning units requires an add-on as it requires a database schema change, updating XF validation and an admin template to be edited.
Can you start a conversation with me? Shouldn't be too difficult or take too long.OK, can you do it? If you can, what would be the cost?
We use essential cookies to make this site work, and optional cookies to enhance your experience.