Results 1 to 15 of 85
Page 1 of 6
FirstFirst 1 2 3 ... LastLast

Thread: [release vb2.0b3] World Timezones on indexpage

Threaded View

  1. #1
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    This hack puts a list of the worldtimezones on your index page, instructions and needed files are in the attached zipfile..

    Currently there's no demo so if someone has installed it, plz add a link to it...

    I've not tested it thoroughly but it seems to be working well..

    enjoy
     

  2. #2
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    I've coded all timezones very quickly, but if you wanna change it, just edit:

    PHP Code:
    $timezones[-12] = "Eniwetok, Kwajalein";
    $timezones[-11] = "Midway Island, Samoa";
    $timezones[-10] = "Hawaii";
    $timezones[-9] = "Alaska";
    $timezones[-8] = "Pacific Time (US & Canada)";
    $timezones[-7] = "Mountain Time (US & Canada)";
    $timezones[-6] = "Central Time (US & Canada), Mexico City";
    $timezones[-5] = "Eastern Time (US & Canada)";
    $timezones[-4] = "Atlantic Time (Canada)";
    $timezones[-3] = "Brazil, Buenos Aires, Georgetown";
    $timezones[-2] = "Mid-Atlantic";
    $timezones[-1] = "Azores, Cape Verde Islands";
    $timezones[0] = "London, UK";
    $timezones[1] = "Amsterdam, Netherlands";
    $timezones[2] = "Kaliningrad, South Africa";
    $timezones[3] = "Baghdad, Kuwait";
    $timezones[4] = "Tehran";
    $timezones[5] = "Ekaterinburg, Islamabad";
    $timezones[6] = "Almaty, Dhaka";
    $timezones[7] = "Bangkok, Hanoi";
    $timezones[8] = "Beijing, Perth, Singapore, Hongkong";
    $timezones[9] = "Tokyo, Seoul, Osaka";
    $timezones[10] = "Guam, Papua New Guinea";
    $timezones[11] = "Magadan, Solomon Islands";
    $timezones[12] = "Auckland, Wellington, Fiji"
    To reflect the correct zones...You can move some array-elements if you don't wanna display them...
     

  3. #3
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    Example shot:
     

  4. #4
    Senior Member fastforward is on a distinguished road
    Join Date
    Nov 2000
    Location
    NC, USA
    Posts
    1,013
    Now that's what I call quick service.

    Thanks!
    http://britishexpats.com/ - British expatriate community
     

  5. #5
    vBulletin Team eva2000 is on a distinguished road eva2000's Avatar
    Join Date
    May 2000
    Location
    Brisbane, Australia
    Posts
    29,252
    wow that was quick ... *** runs off to install it ***
    _
    * Required server info for server performance issues here
    * Choosing right cpus for high concurrency vB servers

    => Xeon Nehalem-EP 55xx > Xeon 54xx harpertown > Xeon 53xx > Opteron
    => vB4 FAQ | vB 4 Features | vB4 Syle Info | Internet brand Message
    => IBxAnders vB4.0 Search & InnoDB | InnoDB conversion | Large forums drive configs!
     

  6. #6
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    Originally posted by Mas*Mind
    Example shot:
    Very nice!!
    Will install it monday !
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  7. #7
    vBulletin Team eva2000 is on a distinguished road eva2000's Avatar
    Join Date
    May 2000
    Location
    Brisbane, Australia
    Posts
    29,252
    came out strange for some reason ?

    http://animeboards.com/tzindex.php
    _
    * Required server info for server performance issues here
    * Choosing right cpus for high concurrency vB servers

    => Xeon Nehalem-EP 55xx > Xeon 54xx harpertown > Xeon 53xx > Opteron
    => vB4 FAQ | vB 4 Features | vB4 Syle Info | Internet brand Message
    => IBxAnders vB4.0 Search & InnoDB | InnoDB conversion | Large forums drive configs!
     

  8. #8
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    Don't see anything from my hack on that page

    It looks a bit funny though..
    Last edited by Mas*Mind; Sat 24th Mar '01 at 3:23pm.
     

  9. #9
    vBulletin Team eva2000 is on a distinguished road eva2000's Avatar
    Join Date
    May 2000
    Location
    Brisbane, Australia
    Posts
    29,252
    yeah i know i have no idea of what included that
    _
    * Required server info for server performance issues here
    * Choosing right cpus for high concurrency vB servers

    => Xeon Nehalem-EP 55xx > Xeon 54xx harpertown > Xeon 53xx > Opteron
    => vB4 FAQ | vB 4 Features | vB4 Syle Info | Internet brand Message
    => IBxAnders vB4.0 Search & InnoDB | InnoDB conversion | Large forums drive configs!
     

  10. #10
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    You really mean the installation of my hack included that funny timezone utility? Mabye you have to rename timezone.php to something else (don't forget to change the reference to include("timezone.php"); in index.php also..)
     

  11. #11
    Member Lost is on a distinguished road
    Join Date
    Mar 2001
    Posts
    86
    Great hack
    Thanx m8....
     

  12. #12
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    The only reason that *might* explain it is that you maybe have an existing timezone.php in your php include-dir?
     

  13. #13
    vBulletin Team eva2000 is on a distinguished road eva2000's Avatar
    Join Date
    May 2000
    Location
    Brisbane, Australia
    Posts
    29,252
    Originally posted by Mas*Mind
    The only reason that *might* explain it is that you maybe have an existing timezone.php in your php include-dir?
    LOL i forgot i had another timezone script i uploaded a while back -

    seems to work now

    http://animeboards.com/timezindex.php
    _
    * Required server info for server performance issues here
    * Choosing right cpus for high concurrency vB servers

    => Xeon Nehalem-EP 55xx > Xeon 54xx harpertown > Xeon 53xx > Opteron
    => vB4 FAQ | vB 4 Features | vB4 Syle Info | Internet brand Message
    => IBxAnders vB4.0 Search & InnoDB | InnoDB conversion | Large forums drive configs!
     

  14. #14
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    Hehehe

    You just saved me from a headeache

    Glad it works now
     

  15. #15
    Senior Member fastforward is on a distinguished road
    Join Date
    Nov 2000
    Location
    NC, USA
    Posts
    1,013
    >>> Eastern Australian Standard Time (AEST), Guam, Papua New Guinea Sunday 05:48

    Isn't this your timezone eva2000? If so, what are you doing up at this ungodly hour? GO TO BED!
    http://britishexpats.com/ - British expatriate community
     

Page 1 of 6
FirstFirst 1 2 3 ... LastLast

Similar Threads

  1. Why in the world isn't there a vB2 -> vB3 Importer?
    By tHe Rk in forum vBulletin Impex Import System
    Replies: 15
    Last Post: Tue 25th May '04, 3:30pm
  2. [Release vB2.0.3] ReferralsHack
    By Afterburner in forum Releases: Version 2.x
    Replies: 2
    Last Post: Thu 25th Oct '01, 6:25pm
  3. [release vb2.0b3] VB2ICQ - (Custom status-img and sent icq-message)
    By Mas*Mind in forum Releases: Version 2.x
    Replies: 14
    Last Post: Mon 22nd Oct '01, 7:01am
  4. [Release vB2.0] PM Stats 1.0
    By The_Sisko in forum Releases: Version 2.x
    Replies: 55
    Last Post: Thu 26th Jul '01, 8:34pm
  5. [Release vb2.0.1] vbPortal 2.0.1
    By wajones in forum Releases: Version 2.x
    Replies: 26
    Last Post: Wed 13th Jun '01, 9:22pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts