Topic: Timezone
Hi,
Just a minor issue, when a new user registers, his default
time zone is the same as the boards time zone.
Can I change this, so that the default timezone will be GMT,
unless the user changes it ?
Thank you.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → Timezone
Hi,
Just a minor issue, when a new user registers, his default
time zone is the same as the boards time zone.
Can I change this, so that the default timezone will be GMT,
unless the user changes it ?
Thank you.
Why not just set the default time for the board to GMT?
because the default timezone is the timezone the server is set to, why is it a problem users can change it when they register...
Hi,
The board is hosted on a US server, but intended for a UK audience, so the board TZ has
to be set to -6. When a new member signs up, his default TZ will also be -6, and yes he
can change this, but for simplicitys sake, I'd rather that his default TZ be 00 - GMT.
I was assuming maybe this could be done by changing a line or two of the script, but if
it isn't as simple as this, then please disregard the question.. ;o)
well it should be, let me just work out a simple hack...
open register.php
find
<option value="-12"<?php if ($pun_config['o_server_timezone'] == -12 ) echo ' selected="selected"' ?>>-12</option>
before that add
<?php $pun_config['o_server_timezone'] = 0 ?>
thats it save and upload, it should work but it might cause something dodgy on register.php if it doesn't work remove that line
That works great, thank you !
PunBB Forums → PunBB 1.2 troubleshooting → Timezone
Powered by PunBB, supported by Informer Technologies, Inc.