Notifications
Clear all

[Solved] Detecting Timezones

5 Posts
2 Users
3 Reactions
478 Views
Posts: 61
Topic starter
(@seancallahan)
Estimable Member
Joined: 3 years ago

Howdy! So, in a recent update to WPforo, they mentioned, "Added: Detecting the timezone from the user’s browser if it’s not set in the account settings."

Wondering if this feature needs an activation toggle? I've been searching high and low but can't seem to find it. Also, not spotting any time zones on profiles for both new and old members who are currently logged in unless manually set. 

I might be missing a step here. Let me know if there's a specific setting to enable or if it's an automatic thing. Thanks a bunch!

4 Replies
Posts: 61
Topic starter
(@seancallahan)
Estimable Member
Joined: 3 years ago

I figured it might automagically display users' country and timezone by collecting it from their browsers. 😄

Posts: 61
Topic starter
(@seancallahan)
Estimable Member
Joined: 3 years ago

Anyone else experiencing this?

Posts: 61
Topic starter
(@seancallahan)
Estimable Member
Joined: 3 years ago

Bueller, Bueller, Bueller? 🤣 

Maybe this is a known bug...

1 Reply
(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 98

@seancallahan 

If a user doesn't have a timezone set then it should be automatically detected. Up until the latest release I believe all users had UTC-0 set automatically on account creation. So you're probably running into the issue where all your users have this set already so the auto detection isn't kicking in.

From an earlier conversation I had with the WPForo team this SQL code should allow you to unset the timezone for users who have it set. 

UPDATE `wp_wpforo_profiles` SET `timezone` = '';

Please pay attention to the red-marked "wp_" prefix. Before running, replace it with your WordPress prefix.