User Date/Time Format Settings

User Date/Time Format Settings 1.1.1

No permission to download
XF Compatibility
  1. 2.1.x
  2. 2.2.x
Headline
Allows users to override the language-level date and time format settings.
Short Description
Download and Discuss Premium, BusinessUser Date/Time Format Settings 1.1.1 version on NullPro Community. It is zip Extention type and 13.8 KB File size. From User Date/Time Format Settings have 2 Description Attachments, 1 discussion, 1 Updates, 110 Views.
My first addon, targeted at my own annoyance for being dependent on the Language options for date and time formats.

Allows users to override the language-level date and time format settings.

Adds two new User Custom Fields:
  1. Preferred Date Format
    • All (non-custom) formats from the admin panel
    • Full-year m/d/y and d/m/y formats
    • ISO 8601 YYYY-MM-DD format
  2. Preferred Time Format
    • 12 and 24 hour formats
They are both optional and apply individually. A user who does not select an option will get the setting defined in their selected language for that field.

If you do not wish to allow selection of both options then the relevant custom field can be disabled or removed. In addition, specific options can be removed from the user fields as well without causing problems.

To add new options, the code of the extension will need to be edited as the list of potential format strings is hardcoded. This is due to how multiselect options function, the format string can't be the option value directly and thus needs an option to format string mapping.

Both fields default to on for user registration, as Date/Time formats can be very important to users. This can be safely toggled off in the custom user field settings if that isn't desired.

Edit: Screenshots of the only user-facing UI, the two added custom fields:
UserDateTime_Dropdowns.webp
UserDateTime_DropdownOpen.webp
Author
jessy
Views
110
Extention type
zip
File size
13.8 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please  Send Message to NP Team with Ticket, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

Latest updates

  1. 1.1.1 - changelog
    php 8.4+ compatibility fixes

More resources from jessy

DMU Quick Admin of your product database Module J
Make all your changes for products in a unique interface with a few clicks !
[OzzModz] Wiki Threads J
[OzzModz] Wiki Threads 2.0.1 Patch Level 2
users to mark a thread as a "WikiPost" giving the ability to edit the original post
Top