Topic: Easy-Read Time Zone Options
The Introduction:
Hello everyone...
My name is John / undone and I just wanted to say 'Hi' and that this is an excellent forum. I am currently learning the styles system and working on creating a 'How-To' or 'Tutorial' on creating styles and various mods.
Check out my testbed for mods & styles: dungawa.com (A few unique changes already implemented)
Only having found your excellent forum a few days ago I am on my way to being a PunBB fanatic. It's easy to install, setup, maintain as well as mod.
3 big-toes up for such a great forum.
The Rundown:
Just follow the steps below...
Action Shots / Mod Preview:
click to view registration.png / profile.png / admin_options.png
##
## Mod title: Easy-Read Time Zone Options
##
## Mod version: 1.0
## Works on PunBB: 1.2.6
## Release date: 7-18-05
## Author: John McLearran (undone)
##
## Description: This mod makes your Localization/Time Zone Drop Down lists a nicer
## - List Options appear as '(GMT-11:00) Midway Island, Samoa'
##
## Affects DB: No
##
## Affected files: admin_options.php
## profile.php
## register.php
## lang/English/prof_reg.php
##
## Notes: Tested on dungawa.com - Test Site
##
## DISCLAIMER: Please note that 'mods' are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
1. Open
admin_options.php
2. Find
<th scope="row">Server timezone</th>
<td>
<select name="form[server_timezone]">
<option value="-12"<?php if ($pun_config['o_server_timezone'] == -12 ) echo ' selected="selected"' ?>>-12</option>
<option value="-11"<?php if ($pun_config['o_server_timezone'] == -11) echo ' selected="selected"' ?>>-11</option>
<option value="-10"<?php if ($pun_config['o_server_timezone'] == -10) echo ' selected="selected"' ?>>-10</option>
<option value="-9.5"<?php if ($pun_config['o_server_timezone'] == -9.5) echo ' selected="selected"' ?>>-09.5</option>
<option value="-9"<?php if ($pun_config['o_server_timezone'] == -9 ) echo ' selected="selected"' ?>>-09</option>
<option value="-8.5"<?php if ($pun_config['o_server_timezone'] == -8.5) echo ' selected="selected"' ?>>-08.5</option>
<option value="-8"<?php if ($pun_config['o_server_timezone'] == -8 ) echo ' selected="selected"' ?>>-08 PST</option>
<option value="-7"<?php if ($pun_config['o_server_timezone'] == -7 ) echo ' selected="selected"' ?>>-07 MST</option>
<option value="-6"<?php if ($pun_config['o_server_timezone'] == -6 ) echo ' selected="selected"' ?>>-06 CST</option>
<option value="-5"<?php if ($pun_config['o_server_timezone'] == -5 ) echo ' selected="selected"' ?>>-05 EST</option>
<option value="-4"<?php if ($pun_config['o_server_timezone'] == -4 ) echo ' selected="selected"' ?>>-04 AST</option>
<option value="-3.5"<?php if ($pun_config['o_server_timezone'] == -3.5) echo ' selected="selected"' ?>>-03.5</option>
<option value="-3"<?php if ($pun_config['o_server_timezone'] == -3 ) echo ' selected="selected"' ?>>-03 ADT</option>
<option value="-2"<?php if ($pun_config['o_server_timezone'] == -2 ) echo ' selected="selected"' ?>>-02</option>
<option value="-1"<?php if ($pun_config['o_server_timezone'] == -1) echo ' selected="selected"' ?>>-01</option>
<option value="0"<?php if ($pun_config['o_server_timezone'] == 0) echo ' selected="selected"' ?>>00 GMT</option>
<option value="1"<?php if ($pun_config['o_server_timezone'] == 1) echo ' selected="selected"' ?>>+01 CET</option>
<option value="2"<?php if ($pun_config['o_server_timezone'] == 2 ) echo ' selected="selected"' ?>>+02</option>
<option value="3"<?php if ($pun_config['o_server_timezone'] == 3 ) echo ' selected="selected"' ?>>+03</option>
<option value="3.5"<?php if ($pun_config['o_server_timezone'] == 3.5) echo ' selected="selected"' ?>>+03.5</option>
<option value="4"<?php if ($pun_config['o_server_timezone'] == 4 ) echo ' selected="selected"' ?>>+04</option>
<option value="4.5"<?php if ($pun_config['o_server_timezone'] == 4.5) echo ' selected="selected"' ?>>+04.5</option>
<option value="5"<?php if ($pun_config['o_server_timezone'] == 5 ) echo ' selected="selected"' ?>>+05</option>
<option value="5.5"<?php if ($pun_config['o_server_timezone'] == 5.5) echo ' selected="selected"' ?>>+05.5</option>
<option value="6"<?php if ($pun_config['o_server_timezone'] == 6 ) echo ' selected="selected"' ?>>+06</option>
<option value="6.5"<?php if ($pun_config['o_server_timezone'] == 6.5) echo ' selected="selected"' ?>>+06.5</option>
<option value="7"<?php if ($pun_config['o_server_timezone'] == 7 ) echo ' selected="selected"' ?>>+07</option>
<option value="8"<?php if ($pun_config['o_server_timezone'] == 8 ) echo ' selected="selected"' ?>>+08</option>
<option value="9"<?php if ($pun_config['o_server_timezone'] == 9 ) echo ' selected="selected"' ?>>+09</option>
<option value="9.5"<?php if ($pun_config['o_server_timezone'] == 9.5) echo ' selected="selected"' ?>>+09.5</option>
<option value="10"<?php if ($pun_config['o_server_timezone'] == 10) echo ' selected="selected"' ?>>+10</option>
<option value="10.5"<?php if ($pun_config['o_server_timezone'] == 10.5) echo ' selected="selected"' ?>>+10.5</option>
<option value="11"<?php if ($pun_config['o_server_timezone'] == 11) echo ' selected="selected"' ?>>+11</option>
<option value="11.5"<?php if ($pun_config['o_server_timezone'] == 11.5) echo ' selected="selected"' ?>>+11.5</option>
<option value="12"<?php if ($pun_config['o_server_timezone'] == 12 ) echo ' selected="selected"' ?>>+12</option>
<option value="13"<?php if ($pun_config['o_server_timezone'] == 13 ) echo ' selected="selected"' ?>>+13</option>
</select>
3. Replace With
<th scope="row">Server Time Zone</th>
<td>
<select name="form[timezone]">
<option value="-12"<?php if ($pun_config['o_server_timezone'] == -12) echo ' selected="selected"' ?>>(GMT-12:00) International Date Line West</option>
<option value="-11"<?php if ($pun_config['o_server_timezone'] == -11) echo ' selected="selected"' ?>>(GMT-11:00) Midway Island, Samoa</option>
<option value="-10"<?php if ($pun_config['o_server_timezone'] == -10) echo ' selected="selected"' ?>>(GMT-10:00) Hawaii</option>
<option value="-9"<?php if ($pun_config['o_server_timezone'] == -9) echo ' selected="selected"' ?>>(GMT-09:00) Alaska</option>
<option value="-8"<?php if ($pun_config['o_server_timezone'] == -8) echo ' selected="selected"' ?>>(GMT-08:00) Pacific</option>
<option value="-7"<?php if ($pun_config['o_server_timezone'] == -7) echo ' selected="selected"' ?>>(GMT-07:00) Mountain</option>
<option value="-6"<?php if ($pun_config['o_server_timezone'] == -6) echo ' selected="selected"' ?>>(GMT-06:00) Central</option>
<option value="-5"<?php if ($pun_config['o_server_timezone'] == -5) echo ' selected="selected"' ?>>(GMT-05:00) Eastern</option>
<option value="-4"<?php if ($pun_config['o_server_timezone'] == -4) echo ' selected="selected"' ?>>(GMT-04:00) Atlantic</option>
<option value="-3.5"<?php if ($pun_config['o_server_timezone'] == -3.5) echo ' selected="selected"' ?>>(GMT-03:30) Newfoundland</option>
<option value="-3"<?php if ($pun_config['o_server_timezone'] == -3) echo ' selected="selected"' ?>>(GMT-03:00) Brazil, Buenos Aires, Greenland</option>
<option value="-2"<?php if ($pun_config['o_server_timezone'] == -2) echo ' selected="selected"' ?>>(GMT-02:00) Mid-Atlantic</option>
<option value="-1"<?php if ($pun_config['o_server_timezone'] == -1) echo ' selected="selected"' ?>>(GMT-01:00) Azores, Cape Verde Islands</option>
<option value="0"<?php if ($pun_config['o_server_timezone'] == 0) echo ' selected="selected"' ?>>(GMT-00:00) Greenwich, Western Europe Time</option>
<option value="1"<?php if ($pun_config['o_server_timezone'] == 1) echo ' selected="selected"' ?>>(GMT+01:00) Central European</option>
<option value="2"<?php if ($pun_config['o_server_timezone'] == 2) echo ' selected="selected"' ?>>(GMT+02:00) Eastern European</option>
<option value="3"<?php if ($pun_config['o_server_timezone'] == 3) echo ' selected="selected"' ?>>(GMT+03:00) Moscow, Baghdad</option>
<option value="3.5"<?php if ($pun_config['o_server_timezone'] == 3.5) echo ' selected="selected"' ?>>(GMT+03:30) Iran</option>
<option value="4"<?php if ($pun_config['o_server_timezone'] == 4) echo ' selected="selected"' ?>>(GMT+04:00) Abu Dhabi, Dubai</option>
<option value="4.5"<?php if ($pun_config['o_server_timezone'] == 4.5) echo ' selected="selected"' ?>>(GMT+04:30) Kabul</option>
<option value="5"<?php if ($pun_config['o_server_timezone'] == 5) echo ' selected="selected"' ?>>(GMT+05:00) Islamabad, Karachi</option>
<option value="5.5"<?php if ($pun_config['o_server_timezone'] == 5.5) echo ' selected="selected"' ?>>(GMT+05:30) India</option>
<option value="5.75"<?php if ($pun_config['o_server_timezone'] == 5.75) echo ' selected="selected"' ?>>(GMT+05:45) Kathmandu</option>
<option value="6"<?php if ($pun_config['o_server_timezone'] == 6) echo ' selected="selected"' ?>>(GMT+06:00) Astana, Dhaka</option>
<option value="6.5"<?php if ($pun_config['o_server_timezone'] == 6.5) echo ' selected="selected"' ?>>(GMT+06:30) Rangoon</option>
<option value="7"<?php if ($pun_config['o_server_timezone'] == 7) echo ' selected="selected"' ?>>(GMT+07:00) Bangkok, Jakarta</option>
<option value="8"<?php if ($pun_config['o_server_timezone'] == 8) echo ' selected="selected"' ?>>(GMT+08:00) China Coast, Western Austrailia</option>
<option value="9"<?php if ($pun_config['o_server_timezone'] == 9) echo ' selected="selected"' ?>>(GMT+09:00) Japan, Korea</option>
<option value="9.5"<?php if ($pun_config['o_server_timezone'] == 9.5) echo ' selected="selected"' ?>>(GMT+09:30) Central Austrailia</option>
<option value="10"<?php if ($pun_config['o_server_timezone'] == 10) echo ' selected="selected"' ?>>(GMT+10:00) Eastern Austrailia</option>
<option value="11"<?php if ($pun_config['o_server_timezone'] == 11) echo ' selected="selected"' ?>>(GMT+11:00) Magadan, Solomon Is.</option>
<option value="12"<?php if ($pun_config['o_server_timezone'] == 12) echo ' selected="selected"' ?>>(GMT+12:00) New Zealand, Fiji</option>
<option value="12.75"<?php if ($pun_config['o_server_timezone'] == 12.75) echo ' selected="selected"' ?>>(GMT+12:45) Chatam Island, NZ</option>
<option value="13"<?php if ($pun_config['o_server_timezone'] == 13) echo ' selected="selected"' ?>>(GMT+13:00) Tonga, Phoenix Islands</option>
<option value="14"<?php if ($pun_config['o_server_timezone'] == 14) echo ' selected="selected"' ?>>(GMT+14:00) Christmas Islands</option>
</select>
4. Save
5. Open
profile.php
6. Find
<label><?php echo $lang_prof_reg['Timezone'] ?>: <?php echo $lang_prof_reg['Timezone info'] ?>
<br /><select name="form[timezone]">
<option value="-12"<?php if ($user['timezone'] == -12) echo ' selected="selected"' ?>>-12</option>
<option value="-11"<?php if ($user['timezone'] == -11) echo ' selected="selected"' ?>>-11</option>
<option value="-10"<?php if ($user['timezone'] == -10) echo ' selected="selected"' ?>>-10</option>
<option value="-9.5"<?php if ($user['timezone'] == -9.5) echo ' selected="selected"' ?>>-09.5</option>
<option value="-9"<?php if ($user['timezone'] == -9) echo ' selected="selected"' ?>>-09</option>
<option value="-8.5"<?php if ($user['timezone'] == -8.5) echo ' selected="selected"' ?>>-08.5</option>
<option value="-8"<?php if ($user['timezone'] == -8) echo ' selected="selected"' ?>>-08 PST</option>
<option value="-7"<?php if ($user['timezone'] == -7) echo ' selected="selected"' ?>>-07 MST</option>
<option value="-6"<?php if ($user['timezone'] == -6) echo ' selected="selected"' ?>>-06 CST</option>
<option value="-5"<?php if ($user['timezone'] == -5) echo ' selected="selected"' ?>>-05 EST</option>
<option value="-4"<?php if ($user['timezone'] == -4) echo ' selected="selected"' ?>>-04 AST</option>
<option value="-3.5"<?php if ($user['timezone'] == -3.5) echo ' selected="selected"' ?>>-03.5</option>
<option value="-3"<?php if ($user['timezone'] == -3) echo ' selected="selected"' ?>>-03 ADT</option>
<option value="-2"<?php if ($user['timezone'] == -2) echo ' selected="selected"' ?>>-02</option>
<option value="-1"<?php if ($user['timezone'] == -1) echo ' selected="selected"' ?>>-01</option>
<option value="0"<?php if ($user['timezone'] == 0) echo ' selected="selected"' ?>>00 GMT</option>
<option value="1"<?php if ($user['timezone'] == 1) echo ' selected="selected"' ?>>+01 CET</option>
<option value="2"<?php if ($user['timezone'] == 2) echo ' selected="selected"' ?>>+02</option>
<option value="3"<?php if ($user['timezone'] == 3) echo ' selected="selected"' ?>>+03</option>
<option value="3.5"<?php if ($user['timezone'] == 3.5) echo ' selected="selected"' ?>>+03.5</option>
<option value="4"<?php if ($user['timezone'] == 4) echo ' selected="selected"' ?>>+04</option>
<option value="4.5"<?php if ($user['timezone'] == 4.5) echo ' selected="selected"' ?>>+04.5</option>
<option value="5"<?php if ($user['timezone'] == 5) echo ' selected="selected"' ?>>+05</option>
<option value="5.5"<?php if ($user['timezone'] == 5.5) echo ' selected="selected"' ?>>+05.5</option>
<option value="6"<?php if ($user['timezone'] == 6) echo ' selected="selected"' ?>>+06</option>
<option value="6.5"<?php if ($user['timezone'] == 6.5) echo ' selected="selected"' ?>>+06.5</option>
<option value="7"<?php if ($user['timezone'] == 7) echo ' selected="selected"' ?>>+07</option>
<option value="8"<?php if ($user['timezone'] == 8) echo ' selected="selected"' ?>>+08</option>
<option value="9"<?php if ($user['timezone'] == 9) echo ' selected="selected"' ?>>+09</option>
<option value="9.5"<?php if ($user['timezone'] == 9.5) echo ' selected="selected"' ?>>+09.5</option>
<option value="10"<?php if ($user['timezone'] == 10) echo ' selected="selected"' ?>>+10</option>
<option value="10.5"<?php if ($user['timezone'] == 10.5) echo ' selected="selected"' ?>>+10.5</option>
<option value="11"<?php if ($user['timezone'] == 11) echo ' selected="selected"' ?>>+11</option>
<option value="11.5"<?php if ($user['timezone'] == 11.5) echo ' selected="selected"' ?>>+11.5</option>
<option value="12"<?php if ($user['timezone'] == 12) echo ' selected="selected"' ?>>+12</option>
<option value="13"<?php if ($user['timezone'] == 13) echo ' selected="selected"' ?>>+13</option>
<option value="14"<?php if ($user['timezone'] == 14) echo ' selected="selected"' ?>>+14</option>
</select>
7. Replace with
<label><?php echo $lang_prof_reg['Timezone info'] ?>
<br /><br /><?php echo $lang_prof_reg['Timezone'] ?>: <select name="form[timezone]">
<option value="-12"<?php if ($user['timezone'] == -12) echo ' selected="selected"' ?>>(GMT-12:00) International Date line West</option>
<option value="-11"<?php if ($user['timezone'] == -11) echo ' selected="selected"' ?>>(GMT-11:00) Midway Island, Samoa</option>
<option value="-10"<?php if ($user['timezone'] == -10) echo ' selected="selected"' ?>>(GMT-10:00) Hawaii</option>
<option value="-9"<?php if ($user['timezone'] == -9) echo ' selected="selected"' ?>>(GMT-09:00) Alaska</option>
<option value="-8"<?php if ($user['timezone'] == -8) echo ' selected="selected"' ?>>(GMT-08:00) Pacific</option>
<option value="-7"<?php if ($user['timezone'] == -7) echo ' selected="selected"' ?>>(GMT-07:00) Mountain</option>
<option value="-6"<?php if ($user['timezone'] == -6) echo ' selected="selected"' ?>>(GMT-06:00) Central</option>
<option value="-5"<?php if ($user['timezone'] == -5) echo ' selected="selected"' ?>>(GMT-05:00) Eastern</option>
<option value="-4"<?php if ($user['timezone'] == -4) echo ' selected="selected"' ?>>(GMT-04:00) Atlantic</option>
<option value="-3.5"<?php if ($user['timezone'] == -3.5) echo ' selected="selected"' ?>>(GMT-03:30) Newfoundland</option>
<option value="-3"<?php if ($user['timezone'] == -3) echo ' selected="selected"' ?>>(GMT-03:00) Brazil, Buenos Aires, Greenland</option>
<option value="-2"<?php if ($user['timezone'] == -2) echo ' selected="selected"' ?>>(GMT-02:00) Mid-Atlantic</option>
<option value="-1"<?php if ($user['timezone'] == -1) echo ' selected="selected"' ?>>(GMT-01:00) Azores, Cape Verde Islands</option>
<option value="0"<?php if ($user['timezone'] == 0) echo ' selected="selected"' ?>>(GMT-00:00) Greenwich, Western Europe Time</option>
<option value="1"<?php if ($user['timezone'] == 1) echo ' selected="selected"' ?>>(GMT+01:00) Central European</option>
<option value="2"<?php if ($user['timezone'] == 2) echo ' selected="selected"' ?>>(GMT+02:00) Eastern European</option>
<option value="3"<?php if ($user['timezone'] == 3) echo ' selected="selected"' ?>>(GMT+03:00) Moscow, Baghdad</option>
<option value="3.5"<?php if ($user['timezone'] == 3.5) echo ' selected="selected"' ?>>(GMT+03:30) Iran</option>
<option value="4"<?php if ($user['timezone'] == 4) echo ' selected="selected"' ?>>(GMT+04:00) Abu Dhabi, Dubai</option>
<option value="4.5"<?php if ($user['timezone'] == 4.5) echo ' selected="selected"' ?>>(GMT+04:30) Kabul</option>
<option value="5"<?php if ($user['timezone'] == 5) echo ' selected="selected"' ?>>(GMT+05:00) Islamabad, Karachi</option>
<option value="5.5"<?php if ($user['timezone'] == 5.5) echo ' selected="selected"' ?>>(GMT+05:30) India</option>
<option value="5.75"<?php if ($user['timezone'] == 5.75) echo ' selected="selected"' ?>>(GMT+05:45) Kathmandu</option>
<option value="6"<?php if ($user['timezone'] == 6) echo ' selected="selected"' ?>>(GMT+06:00) Astana, Dhaka</option>
<option value="6.5"<?php if ($user['timezone'] == 6.5) echo ' selected="selected"' ?>>(GMT+06:30) Rangoon</option>
<option value="7"<?php if ($user['timezone'] == 7) echo ' selected="selected"' ?>>(GMT+07:00) Bangkok, Jakarta</option>
<option value="8"<?php if ($user['timezone'] == 8) echo ' selected="selected"' ?>>(GMT+08:00) China Coast, Western Austrailia</option>
<option value="9"<?php if ($user['timezone'] == 9) echo ' selected="selected"' ?>>(GMT+09:00) Japan, Korea</option>
<option value="9.5"<?php if ($user['timezone'] == 9.5) echo ' selected="selected"' ?>>(GMT+09:30) Central Austrailia</option>
<option value="10"<?php if ($user['timezone'] == 10) echo ' selected="selected"' ?>>(GMT+10:00) Eastern Austrailia</option>
<option value="11"<?php if ($user['timezone'] == 11) echo ' selected="selected"' ?>>(GMT+11:00) Magadan, Solomon Is.</option>
<option value="12"<?php if ($user['timezone'] == 12) echo ' selected="selected"' ?>>(GMT+12:00) New Zealand, Fiji</option>
<option value="12.75"<?php if ($user['timezone'] == 12.75) echo ' selected="selected"' ?>>(GMT+12:45) Chatam Island, NZ</option>
<option value="13"<?php if ($user['timezone'] == 13) echo ' selected="selected"' ?>>(GMT+13:00) Tonga, Phoenix Islands</option>
<option value="14"<?php if ($user['timezone'] == 14) echo ' selected="selected"' ?>>(GMT+14:00) Christmas Islands</option>
</select>
8. Save
9. Open
register.php
10. Find
<label><?php echo $lang_prof_reg['Timezone'] ?>: <?php echo $lang_prof_reg['Timezone info'] ?>
<br /><select id="time_zone" name="timezone">
<option value="-12"<?php if ($pun_config['o_server_timezone'] == -12 ) echo ' selected="selected"' ?>>-12</option>
<option value="-11"<?php if ($pun_config['o_server_timezone'] == -11) echo ' selected="selected"' ?>>-11</option>
<option value="-10"<?php if ($pun_config['o_server_timezone'] == -10) echo ' selected="selected"' ?>>-10</option>
<option value="-9.5"<?php if ($pun_config['o_server_timezone'] == -9.5) echo ' selected="selected"' ?>>-09.5</option>
<option value="-9"<?php if ($pun_config['o_server_timezone'] == -9 ) echo ' selected="selected"' ?>>-09</option>
<option value="-8.5"<?php if ($pun_config['o_server_timezone'] == -8.5) echo ' selected="selected"' ?>>-08.5</option>
<option value="-8"<?php if ($pun_config['o_server_timezone'] == -8 ) echo ' selected="selected"' ?>>-08 PST</option>
<option value="-7"<?php if ($pun_config['o_server_timezone'] == -7 ) echo ' selected="selected"' ?>>-07 MST</option>
<option value="-6"<?php if ($pun_config['o_server_timezone'] == -6 ) echo ' selected="selected"' ?>>-06 CST</option>
<option value="-5"<?php if ($pun_config['o_server_timezone'] == -5 ) echo ' selected="selected"' ?>>-05 EST</option>
<option value="-4"<?php if ($pun_config['o_server_timezone'] == -4 ) echo ' selected="selected"' ?>>-04 AST</option>
<option value="-3.5"<?php if ($pun_config['o_server_timezone'] == -3.5) echo ' selected="selected"' ?>>-03.5</option>
<option value="-3"<?php if ($pun_config['o_server_timezone'] == -3 ) echo ' selected="selected"' ?>>-03 ADT</option>
<option value="-2"<?php if ($pun_config['o_server_timezone'] == -2 ) echo ' selected="selected"' ?>>-02</option>
<option value="-1"<?php if ($pun_config['o_server_timezone'] == -1) echo ' selected="selected"' ?>>-01</option>
<option value="0"<?php if ($pun_config['o_server_timezone'] == 0) echo ' selected="selected"' ?>>00 GMT</option>
<option value="1"<?php if ($pun_config['o_server_timezone'] == 1) echo ' selected="selected"' ?>>+01 CET</option>
<option value="2"<?php if ($pun_config['o_server_timezone'] == 2 ) echo ' selected="selected"' ?>>+02</option>
<option value="3"<?php if ($pun_config['o_server_timezone'] == 3 ) echo ' selected="selected"' ?>>+03</option>
<option value="3.5"<?php if ($pun_config['o_server_timezone'] == 3.5) echo ' selected="selected"' ?>>+03.5</option>
<option value="4"<?php if ($pun_config['o_server_timezone'] == 4 ) echo ' selected="selected"' ?>>+04</option>
<option value="4.5"<?php if ($pun_config['o_server_timezone'] == 4.5) echo ' selected="selected"' ?>>+04.5</option>
<option value="5"<?php if ($pun_config['o_server_timezone'] == 5 ) echo ' selected="selected"' ?>>+05</option>
<option value="5.5"<?php if ($pun_config['o_server_timezone'] == 5.5) echo ' selected="selected"' ?>>+05.5</option>
<option value="6"<?php if ($pun_config['o_server_timezone'] == 6 ) echo ' selected="selected"' ?>>+06</option>
<option value="6.5"<?php if ($pun_config['o_server_timezone'] == 6.5) echo ' selected="selected"' ?>>+06.5</option>
<option value="7"<?php if ($pun_config['o_server_timezone'] == 7 ) echo ' selected="selected"' ?>>+07</option>
<option value="8"<?php if ($pun_config['o_server_timezone'] == 8 ) echo ' selected="selected"' ?>>+08</option>
<option value="9"<?php if ($pun_config['o_server_timezone'] == 9 ) echo ' selected="selected"' ?>>+09</option>
<option value="9.5"<?php if ($pun_config['o_server_timezone'] == 9.5) echo ' selected="selected"' ?>>+09.5</option>
<option value="10"<?php if ($pun_config['o_server_timezone'] == 10) echo ' selected="selected"' ?>>+10</option>
<option value="10.5"<?php if ($pun_config['o_server_timezone'] == 10.5) echo ' selected="selected"' ?>>+10.5</option>
<option value="11"<?php if ($pun_config['o_server_timezone'] == 11) echo ' selected="selected"' ?>>+11</option>
<option value="11.5"<?php if ($pun_config['o_server_timezone'] == 11.5) echo ' selected="selected"' ?>>+11.5</option>
<option value="12"<?php if ($pun_config['o_server_timezone'] == 12 ) echo ' selected="selected"' ?>>+12</option>
<option value="13"<?php if ($pun_config['o_server_timezone'] == 13 ) echo ' selected="selected"' ?>>+13</option>
</select>
11. Replace with
<label><?php echo $lang_prof_reg['Timezone info'] ?>
<br /><br /><?php echo $lang_prof_reg['Timezone'] ?>: <select id="time_zone" name="timezone">
<option value="-12"<?php if ($pun_config['o_server_timezone'] == -12) echo ' selected="selected"' ?>>(GMT-12:00) International Date Line West</option>
<option value="-11"<?php if ($pun_config['o_server_timezone'] == -11) echo ' selected="selected"' ?>>(GMT-11:00) Midway Island, Samoa</option>
<option value="-10"<?php if ($pun_config['o_server_timezone'] == -10) echo ' selected="selected"' ?>>(GMT-10:00) Hawaii</option>
<option value="-9"<?php if ($pun_config['o_server_timezone'] == -9) echo ' selected="selected"' ?>>(GMT-09:00) Alaska</option>
<option value="-8"<?php if ($pun_config['o_server_timezone'] == -8) echo ' selected="selected"' ?>>(GMT-08:00) Pacific</option>
<option value="-7"<?php if ($pun_config['o_server_timezone'] == -7) echo ' selected="selected"' ?>>(GMT-07:00) Mountain</option>
<option value="-6"<?php if ($pun_config['o_server_timezone'] == -6) echo ' selected="selected"' ?>>(GMT-06:00) Central</option>
<option value="-5"<?php if ($pun_config['o_server_timezone'] == -5) echo ' selected="selected"' ?>>(GMT-05:00) Eastern</option>
<option value="-4"<?php if ($pun_config['o_server_timezone'] == -4) echo ' selected="selected"' ?>>(GMT-04:00) Atlantic</option>
<option value="-3.5"<?php if ($pun_config['o_server_timezone'] == -3.5) echo ' selected="selected"' ?>>(GMT-03:30) Newfoundland</option>
<option value="-3"<?php if ($pun_config['o_server_timezone'] == -3) echo ' selected="selected"' ?>>(GMT-03:00) Brazil, Buenos Aires, Greenland</option>
<option value="-2"<?php if ($pun_config['o_server_timezone'] == -2) echo ' selected="selected"' ?>>(GMT-02:00) Mid-Atlantic</option>
<option value="-1"<?php if ($pun_config['o_server_timezone'] == -1) echo ' selected="selected"' ?>>(GMT-01:00) Azores, Cape Verde Islands</option>
<option value="0"<?php if ($pun_config['o_server_timezone'] == 0) echo ' selected="selected"' ?>>(GMT-00:00) Greenwich, Western Europe Time</option>
<option value="1"<?php if ($pun_config['o_server_timezone'] == 1) echo ' selected="selected"' ?>>(GMT+01:00) Central European</option>
<option value="2"<?php if ($pun_config['o_server_timezone'] == 2) echo ' selected="selected"' ?>>(GMT+02:00) Eastern European</option>
<option value="3"<?php if ($pun_config['o_server_timezone'] == 3) echo ' selected="selected"' ?>>(GMT+03:00) Moscow, Baghdad</option>
<option value="3.5"<?php if ($pun_config['o_server_timezone'] == 3.5) echo ' selected="selected"' ?>>(GMT+03:30) Iran</option>
<option value="4"<?php if ($pun_config['o_server_timezone'] == 4) echo ' selected="selected"' ?>>(GMT+04:00) Abu Dhabi, Dubai</option>
<option value="4.5"<?php if ($pun_config['o_server_timezone'] == 4.5) echo ' selected="selected"' ?>>(GMT+04:30) Kabul</option>
<option value="5"<?php if ($pun_config['o_server_timezone'] == 5) echo ' selected="selected"' ?>>(GMT+05:00) Islamabad, Karachi</option>
<option value="5.5"<?php if ($pun_config['o_server_timezone'] == 5.5) echo ' selected="selected"' ?>>(GMT+05:30) India</option>
<option value="5.75"<?php if ($pun_config['o_server_timezone'] == 5.75) echo ' selected="selected"' ?>>(GMT+05:45) Kathmandu</option>
<option value="6"<?php if ($pun_config['o_server_timezone'] == 6) echo ' selected="selected"' ?>>(GMT+06:00) Astana, Dhaka</option>
<option value="6.5"<?php if ($pun_config['o_server_timezone'] == 6.5) echo ' selected="selected"' ?>>(GMT+06:30) Rangoon</option>
<option value="7"<?php if ($pun_config['o_server_timezone'] == 7) echo ' selected="selected"' ?>>(GMT+07:00) Bangkok, Jakarta</option>
<option value="8"<?php if ($pun_config['o_server_timezone'] == 8) echo ' selected="selected"' ?>>(GMT+08:00) China Coast, Western Austrailia</option>
<option value="9"<?php if ($pun_config['o_server_timezone'] == 9) echo ' selected="selected"' ?>>(GMT+09:00) Japan, Korea</option>
<option value="9.5"<?php if ($pun_config['o_server_timezone'] == 9.5) echo ' selected="selected"' ?>>(GMT+09:30) Central Austrailia</option>
<option value="10"<?php if ($pun_config['o_server_timezone'] == 10) echo ' selected="selected"' ?>>(GMT+10:00) Eastern Austrailia</option>
<option value="11"<?php if ($pun_config['o_server_timezone'] == 11) echo ' selected="selected"' ?>>(GMT+11:00) Magadan, Solomon Is.</option>
<option value="12"<?php if ($pun_config['o_server_timezone'] == 12) echo ' selected="selected"' ?>>(GMT+12:00) New Zealand, Fiji</option>
<option value="12.75"<?php if ($pun_config['o_server_timezone'] == 12.75) echo ' selected="selected"' ?>>(GMT+12:45) Chatam Island, NZ</option>
<option value="13"<?php if ($pun_config['o_server_timezone'] == 13) echo ' selected="selected"' ?>>(GMT+13:00) Tonga, Phoenix Islands</option>
<option value="14"<?php if ($pun_config['o_server_timezone'] == 14) echo ' selected="selected"' ?>>(GMT+14:00) Christmas Islands</option>
</select>
12. Save
13. Open
lang/English/prof_reg.php
14. Find
'Localisation legend' => 'Set your localisation options',
'Timezone' => 'Timezone',
'Timezone info' => 'For the forum to display times correctly you must select your local timezone.',
15. Replace with
'Localisation legend' => 'Time Zone',
'Timezone' => 'Time Zone',
'Timezone info' => 'All timestamps displayed on the forums can be automatically corrected to show the correct time for your location in the world. Simply select the appropriate time zone from the list below.',
16. Save & Upload
That's it... Hopefully this will be useful to someone besides myself.