![]() |
I second the above post. Need a 3.8 version!
|
This will work on 3.8. Don't upload the XML. Just add the plugin directly using 'Add New Plugin' at the CP.
Product: vbuletin Hook Location: global_start Title: Custom Date & Time Formats Execution Order: 5 - I don't know if this needs to be changed but 5 works fine on mine. Plugin PHP Code: PHP Code:
Hope this helps. |
Quote:
PHP Code:
|
Is it possible to add more formats or allow users to put in their own custom format via the modification's options in the Admin CP, such as here?
Edit: This would be used on a forum running vBulletin 4.2.0, as seen by my signature, but KH99 said it should work. |
I guess I'll answer since the author hasn't been around in a while: You could add additional formats, since with this mod you have to manually create the custom profile fields anyway. You would need to add any additional formats to the custom profile field(s) and to the code in the plugin. (And in any case the plugin would probably need to be edited so that it's using the correct custom field numbers).
To allow a user to enter a custom setting you could create another profile field (or two, for date and time) that are text fields, then have each dropdown have an option for using the custom format. Then the plugin would have to check for the dropdown field being "Custom", and if so use the content of the text field as the format, like: Code:
case 'Custom Date Format': |
This is a very old MOD, and has never been modified since being posted. Never the less, in vBulletin Version 4.2.0 Patch Level 2 (currently), this 'feature' is lacking and many of our European members have lamented at this lack of what they feel, and I concur with, is an essential user setting.
I followed the instructions and had it setup within just a few minutes. Marked as Installed, voted as Excellent, and nominated for MOTM. |
Quote:
Code:
if ($vbulletin->userinfo['userid']) { |
Could someone please explain in simple, step by step instructions how to get this to work in 4.2.0?
|
I used the original mod instructions and the user comments in this thread to write up complete instructions for vB4: https://vborg.vbsupport.ru/showthread.php?t=303431
Thanks to all who contributed in this thread, hope you don't mind. |
All times are GMT. The time now is 12:18 AM. |
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:
|