User Date/Time Format Settings

User Date/Time Format Settings 1.1.1

Зарегистрируйтесь или войдите для бесплатной загрузки
Совместимость с XF
  1. 2.2.x
Краткое описание
Add a personal touch with our addon, allowing users to customize date and time formats directly through intuitive User Custom Fields. Choose from Full-year m/d/y, d/m/y, ISO 8601 YYYY-MM-DD or select between 12/24 hour time formats. Customize further by disabling any field as needed.
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
Автор
axtona
Просмотры
239
Тип расширения
zip
Размер файла
13.8 КБ
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Последние обновления

  1. 1.1.1 - changelog
    php 8.4+ compatibility fixes

Больше Ресурсов от axtona

4SEO  PRO - joomla seo plugin A
automate every bit of SEO work that can be automated, but let you customize everything with the easy
 Курсор A
Core AddOn, który z当下起,(prawie) wszystkie moje AddOny zaczynają teraz wymagać.
 Индекс Листа A
Этот Add-On добавляет буквенное значение TabIndex к выбранным форумам.

Похожие ресурсы

[AndyB] User group information A
Просмотры
528
Обновлено
[MMO] Edit User Join Date A
Allows the administrator to change the registered date of any user through the Admin Control Panel.
Просмотры
508
Обновлено
[MMO] Mentions Users Rich Formatting N
The add-on will format user names according to the colors of their groups when mentioned in forum po
Просмотры
677
Обновлено
Назад
Вверх