Is there any way to set the board to always default to a specific time zone?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phierce
    New Member
    • Oct 2001
    • 4

    Is there any way to set the board to always default to a specific time zone?

    My users are generally from the same time zone. Is there anyway that I can default guests and new users to a specific time zone other than GMT?
  • Chen
    Senior Member
    • Jun 2001
    • 8388

    #2
    Edit your registeradult and registercoppa template, and move selected to that timezone.
    Code:
    <select name="timezoneoffset">
    		<option value="-12">(GMT -12:00 hours) Eniwetok, Kwajalein</option>
    		<option value="-11">(GMT -11:00 hours) Midway Island, Samoa</option>
    		<option value="-10">(GMT -10:00 hours) Hawaii</option>
    		<option value="-9">(GMT -9:00 hours) Alaska</option>
    		<option value="-8">(GMT -8:00 hours) Pacific Time (US & Canada)</option>
    		<option value="-7">(GMT -7:00 hours) Mountain Time (US & Canada)</option>
    		<option value="-6">(GMT -6:00 hours) Central Time (US & Canada), Mexico City</option>
    		<option value="-5">(GMT -5:00 hours) Eastern Time (US & Canada), Bogota</option>
    		<option value="-4">(GMT -4:00 hours) Atlantic Time (Canada), Caracas</option>
    		<option value="-3.5">(GMT -3:30 hours) Newfoundland</option>
    		<option value="-3">(GMT -3:00 hours) Brazil, Buenos Aires, Georgetown</option>
    		<option value="-2">(GMT -2:00 hours) Mid-Atlantic</option>
    		<option value="-1">(GMT -1:00 hours) Azores, Cape Verde Islands</option>
    		<option value="0" [color=red]selected[/color]>(GMT) Western Europe Time, London, Lisbon</option>
    		<option value="+1">(GMT +1:00 hours) CET(Central Europe Time), Brussels, Paris</option>
    		<option value="+2">(GMT +2:00 hours) EET(Eastern Europe Time), South Africa</option>
    		<option value="+3">(GMT +3:00 hours) Baghdad, Riyadh, Moscow, St. Petersburg</option>
    		<option value="+3.5">(GMT +3:30 hours) Tehran</option>
    		<option value="+4">(GMT +4:00 hours) Abu Dhabi, Muscat, Baku, Tbilisi</option>
    		<option value="+4.5">(GMT +4:30 hours) Kabul</option>
    		<option value="+5">(GMT +5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
    		<option value="+5.5">(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi</option>
    		<option value="+6">(GMT +6:00 hours) Almaty, Dhaka, Colombo</option>
    		<option value="+7">(GMT +7:00 hours) Bangkok, Hanoi, Jakarta</option>
    		<option value="+8">(GMT +8:00 hours) Beijing, Perth, Singapore, Hong Kong</option>
    		<option value="+9">(GMT +9:00 hours) Tokyo, Seoul, Osaka, Sapporo, Yakutsk</option>
    		<option value="+9.5">(GMT +9:30 hours) Adelaide, Darwin</option>
    		<option value="+10">(GMT +10:00 hours) EAST(East Australian Standard), Guam</option>
    		<option value="+11">(GMT +11:00 hours) Magadan, Solomon Islands, New Caledonia</option>
    		<option value="+12">(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka</option>
    	</select>
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment

    • tubedogg
      Senior Member
      • Feb 2001
      • 13602

      #3
      Phierce, please enter your license information in your profile. See the link in my sig for more info. Thanks!

      Comment

      • SysMom
        Senior Member
        • Jun 2001
        • 107

        #4
        You know, this question and answer should be in one of those Frequently Answered Questions.

        Comment

        • SysMom
          Senior Member
          • Jun 2001
          • 107

          #5
          One quick question...

          What's the default time zone view of the calendar and the board when a GUEST comes by?

          deb

          Comment

          • tubedogg
            Senior Member
            • Feb 2001
            • 13602

            #6
            GMT.

            Comment

            • SysMom
              Senior Member
              • Jun 2001
              • 107

              #7
              OK, how do I change that so it defaults to Pacific Time?

              Comment

              • Steve Machol
                Former Customer Support Manager
                • Jul 2000
                • 154488

                #8
                See FireFly's post. You simply move selected to Pacific Time line.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment

                • SysMom
                  Senior Member
                  • Jun 2001
                  • 107

                  #9
                  Yes, Steve, I did that, which is where I started on this little quest. And that works fine, it was *such* an obvious answer I hadn't even thought of it! Duh!

                  However, I want guests to see it in PT, too.

                  I even went looking to see if there was a 'guest' entry in the user list that I could modify from the control panel.

                  I'm sorry I wasn't more clear -- blame it on the drugs. :Grin:

                  deb

                  Comment

                  • Steve Machol
                    Former Customer Support Manager
                    • Jul 2000
                    • 154488

                    #10
                    Ah ok. I belive you need to hack one of the PHP files for that. Do a search in the Hacks forum for it. If I find it, I'll post it here.
                    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                    Change CKEditor Colors to Match Style (for 4.1.4 and above)

                    Steve Machol Photography


                    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                    Comment

                    • Chen
                      Senior Member
                      • Jun 2001
                      • 8388

                      #11
                      sessions.php, find this line:
                      Code:
                        $bbuserinfo['timezoneoffset']=0;
                      change to:
                      Code:
                        $bbuserinfo['timezoneoffset']=-5;
                      or whatever PT is.
                      Chen Avinadav
                      Better to remain silent and be thought a fool than to speak out and remove all doubt.

                      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                      Comment

                      • SysMom
                        Senior Member
                        • Jun 2001
                        • 107

                        #12
                        Thank you Firefly!

                        Maybe this could be added to the options somewhere for a selectable setting.

                        deb

                        Comment

                        • Al Zander
                          Senior Member
                          • Aug 2001
                          • 461

                          #13
                          Originally posted by SysMom
                          Maybe this could be added to the options somewhere for a selectable setting.
                          I agree. This would be the best thing since sliced bread.

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...