How to remove other timezone options in the dropdown during registration
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #1
How to remove other timezone options in the dropdown during registration
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?
07-29-2012 10:23 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: How to remove other timezone options in the dropdown during registration
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.

My Blog
07-29-2012 02:49 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #3
RE: How to remove other timezone options in the dropdown during registration
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.
08-01-2012 12:08 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: How to remove other timezone options in the dropdown during registration
(07-29-2012 02:49 PM)ZiNgA BuRgA Wrote:  replace it with a hidden input.
^ I'm assuming you didn't do that.

My Blog
08-01-2012 02:01 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #5
RE: How to remove other timezone options in the dropdown during registration
(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)
08-01-2012 03:10 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #6
RE: How to remove other timezone options in the dropdown during registration
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)
08-04-2012 09:22 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: How to remove other timezone options in the dropdown during registration
*sigh*

Please check:
- your board's default timezone (ACP settings)
- your own (user) timezone

My Blog
08-04-2012 10:20 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #8
RE: How to remove other timezone options in the dropdown during registration
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
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #9
RE: How to remove other timezone options in the dropdown during registration
(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...
08-11-2012 11:05 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: How to remove other timezone options in the dropdown during registration
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?

My Blog
08-11-2012 05:00 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: