MyBB Hacks

Full Version: How to remove other timezone options in the dropdown during registration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wish to keep a single value in Timezone options in the dropdown menu during the registration process. Similarly, a single value in Timezone options in the dropdown menu should be displayed in User CP --> Edit Options.

How to achieve this, i.e. which function & where to edit in php core files?
If you want only one option, why have the option at all?  Just remove it completely from both of the templates and replace it with a hidden input.
Thanks for the reply.

Yes, I tried to remove the option completely from both member_register & usercp_options template. But unfortunately, whenever a members edits his user cp options and saves it, his timezone is changed to GMT (although I have set default timezone to GMT +4 in Admin CP settings).

Curiously, even the times shown in Admin CP (for scheduled tasks, logs etc.) are in GMT timezone.
(07-29-2012 02:49 PM)ZiNgA BuRgA Wrote: [ -> ]replace it with a hidden input.
^ I'm assuming you didn't do that.
(08-01-2012 02:01 PM)ZiNgA BuRgA Wrote: [ -> ]
(07-29-2012 02:49 PM)ZiNgA BuRgA Wrote: [ -> ]replace it with a hidden input.
^ I'm assuming you didn't do that.

yes, you are right...Actually, I have added the dropdown now (without making it hidden), so users can change the timezone whenever they want (& hopefully they would be doing so for their own convenience).

But I'm still unable to change the timezone in my Admin CP (all logs, scheduled tasks show time in GMT & not my default setting of GMT +4)
Any help on changing the timezone in my Admin CP (all logs, scheduled tasks show time in GMT & not my default setting of GMT +4)
*sigh*

Please check:
- your board's default timezone (ACP settings)
- your own (user) timezone
Sorry to disturb, but
- your board's default timezone (ACP settings) : set at GMT +4
- your own (user) timezone : set at GMT +4

any solution??
(08-05-2012 07:18 PM)brijeshrai Wrote: [ -> ]Sorry to disturb, but
- your board's default timezone (ACP settings) : set at GMT +4
- your own (user) timezone : set at GMT +4

any solution??

any solution plz...
Have you asked on the MyBB Community forums?  Honestly, this is an issue with their software after all.  I would imagine that should work for you, but you say it doesn't, so what do you expect me to do?
Reference URL's