![]() |
New users registered with FB connect don't get the set timezone
Hi~
I set the default timezone in admincp, however for those users who register via Facebook Connect (with auto-registration enabled) their timezones are not set correctly (still use GMT instead of the timezone set in admincp). Anyone knows how to correct it? Thanks. Joe |
The user may just go to their Settings > General Settings page and set it correctly.
|
Thanks Lynne
But I am looking to correct this at my end instead of asking users to do it. |
I don't know that you will be able to do this easily. I'm not sure if facebook passes timezone information over to your site when they use it to register.
|
No, I don't need to use Facebook to pass timezone information. I just want to use the timezone I set in admincp even though the user is registered through Facebook Connect.
|
You could try this: create a plugin using hook fb_auto_register and this code:
Code:
if (!isset($info['timezone'])) But I have no way to test so it's a bit of a guess. |
Quote:
Thanks, mate. |
All times are GMT. The time now is 12:42 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:
|