![]() |
User Defined Date & Time Format Display
User Defined Date & Time Format Display
This is a simple add-in that allows your users to select a US / European date and time format. The "vB" way is supposed to be copying the languages and then setting defaults, but I find this as a much easier and cleaner alternative. Date Formats: - US Format - Expanded US Format - European Format - Expanded European Format Time Formats: - 12-Hour Time Format - 24-Hour Time Format Read the text file as you will need to create two additional user fields. The XML file will create the actual plugin, however it will need to be modified to match up with the two "just created" user fields. No further modifications are needed. All date / time displays will then be in whatever format the user chooses via their options. Image attached of UserCP Options. Setting these will globally change any date / time display on the forum (for that user). Changelog v1.0.0 - Initial Release |
very neat hack my man, very nice, i got alot of users in the UK so they will appreciate this one
|
same here... thanks
|
I used this for 3.0.X, will use this for 3.5. Thanks.
MGM out |
I hate to ask, but a screenshot would be nice on this one. ;)
|
Okay, posted a screenshot in the UserCP... Like I said before, all it does is change how the date / time is formatted on all the pages for the user.
|
Thanks lots!
/me install |
Would be nice to have an option for the user to select the Yesterday/Today mode or the detailed mode (1 minute ago, 1 hour ago, 1 day ago.. and so on).
Great hack! |
You should be able to override that option too. Just folow the same methodology...
Quote:
|
Quote:
|
All times are GMT. The time now is 02:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|