vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   World Timezones on indexpage (https://vborg.vbsupport.ru/showthread.php?t=12210)

Mas*Mind 03-23-2001 10:00 PM

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 :)

03-24-2001 04:52 PM

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...

03-24-2001 04:54 PM

Example shot:

03-24-2001 04:59 PM

Now that's what I call quick service. :)

Thanks!

03-24-2001 05:01 PM

wow that was quick ... *** runs off to install it ***

03-24-2001 05:09 PM

Quote:

Originally posted by Mas*Mind
Example shot:
Very nice!!
Will install it monday !

03-24-2001 05:19 PM

came out strange for some reason ?

http://animeboards.com/tzindex.php

03-24-2001 05:21 PM

Don't see anything from my hack on that page :confused:

It looks a bit funny though..

03-24-2001 05:24 PM

yeah i know i have no idea of what included that :confused:

03-24-2001 05:28 PM

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..)


All times are GMT. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01309 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete