Back to vBulletin 3.5 Add-ons

Add additional timezones
Mod Version: 1.00, by Marco van Herwaarden

This modification is in the archives.
vB Version: 3.5.1 Rating: (0 vote - 0 average) Installs: 3
Released: 23 Nov 2005 Last Update: Never Downloads: 1
Not Supported Code Changes  

I posted this as a solution to a users question, but i better release it here also, since it could help others.

The example is for Nepal timezone (GMT+5:45, +575 decimal) but you can adjust it to the zone you need.

1) Create a new phrase:
Phrasetype: Timezones
Varname: timezone_gmt_plus_0545
Text: (GMT +5:45) Nepal Standard Time

2) Edit ./includes/adminfunctions.php
Find:
PHP Code:
        '5.5' => $vbphrase['timezone_gmt_plus_0530'], 
Add under:
PHP Code:
        '5.75' => $vbphrase['timezone_gmt_plus_0545'], 
3) Edit ./includes/functions_misc.php
Find:
PHP Code:
        '5.5' => 'timezone_gmt_plus_0530'
Add Under:
PHP Code:
        '5.75' => 'timezone_gmt_plus_0545'

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025