The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Default Time Zone setting in calendar
Hello I dont think vb gives us an option but I would to know if there is a hidden setting
So people dont have to go through all the extra time zones. It is just for local board events. Has anybody fixed it to 1 default instead of the world list It seems people forget to chose the right one. |
#2
|
|||
|
|||
What you could do is edit the template calendar_edit and change the timezone and dst fields to be hidden fields with the values that you want. For instance like this:
Code:
<vb:comment> <label for="range_sel_timezoneoffset">{vb:rawphrase time_zone}:</label> <select name="timezoneoffset[range]" class="primary" id="range_sel_timezoneoffset" title="{vb:rawphrase time_zone}" tabindex="1"> {vb:raw timezoneoptions} </select> <p class="singledescription">{vb:rawphrase description_enter_timezone}</p> <label for="range_cb_dst"><input type="checkbox" name="dst[range]" id="range_cb_dst" value="1" {vb:raw dstchecked} tabindex="1" /> {vb:rawphrase maintain_same_time}</label> <p class="singledescription">{vb:rawphrase description_ignore_dst}</p> </vb:comment> <input type="hidden" name="timezoneoffset[range]" value="5" /> <input type="hidden" name="dst[range]" id="range_cb_dst" value="0" /> This only shows part of the template, of course, and the parts I added are in red. You'll want to change the value="5" to the timezone offset you want, in hours, and you could change the range_cb_dst value to 1 if you want to ignore DST. (BTW, I haven't actually tried this). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|