XF 2.2 How to set a default timeone for users

NoahP

Member
Hello,

So I have already been searching and know that it is not possible to set a "DEFAULT" timezone for user registrations.... But I need to do so anyway... so what core file do I need to modify?

I have looked in XF/Service/User/Registration.php and can not find anything about the timezone.

For what I wish to achieve every member NEEDS to be on a single timezone.
 
Last edited:
UPDATE:

I made a custom cron job to update ALL users timezones to the one that I want. Im aware that this will override any changes made.... If needed I can simply run this once a minute.... This could get pretty service intensive though. So IF anyone can think of a less resource-heavy way Im all ears.
 
Top Bottom