Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GMT time on your forumpages Details »»
GMT time on your forumpages
Version: 2.00, by LaCN LaCN is offline
Developer Last Online: May 2019 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.x Rating:
Released: 11-04-2006 Last Update: 05-29-2007 Installs: 33
Uses Plugins
 
No support by the author.

Description:
Show GMT time anywhere on your forum.
This is handy if you have members from all over the world (or in different timezones), and you sometimes schedule something they can see or do..
For example, in your news area under your forum-menu, or a sentence above the forum-time in the bottom of the pages.
What is GMT ?
GMT is the central earth time. Greenwich Mean Time
It's the central timezone. Some countries have a timezone earlier or later.
Their time is for example 15:00 GMT+3 or 09:00 GMT-3 if the gmt-time was 12:00


VB versions
I think the phrase-types didn't change much since 3.5.4, thus might be usuable on 3.5.4-3.6.3 versions.


Installation
  1. add the new product: gmt.xml
  2. If you don't like the way the time is displayed in my screenshot, edit the plugin: GMT time
    For information on how to write time/date formats, see here.
  3. Go to the template u like to add the date in.
    Could be Navigation breadcrump templates / navbar
    Could be FORUMDISPLAY
    Could be somewhere else...

    Add this code in the area u whish: $vbphrase[gmt_phrase] $gmt

It's a small, but handy feature.
But I needed to learn how to make a product, to give something back to the comunity

Please hit


Version 2
New version released on 30/5/2007

Since someone asked me to mention the day names in French, I added some language support.

This is how the language support works:
The script will check which language setting the visitor has. (language set in windows, or w/e OS the visitor has)
If it's Dutch, French or German, the script will use that language.
Else it will use the standard server setting, which probably is english.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-29-2008, 03:47 AM
Shawn Yue Shawn Yue is offline
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How To Set To HK Tiem Our HK Time Is gmt +8 Is Same With Sg

How To Make It 12HRS Format
Reply With Quote
  #13  
Old 03-31-2008, 05:36 PM
co0kz co0kz is offline
 
Join Date: Mar 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to offset the time this uses by 1 hour? It's currently showing me a time 1 hour behind current GMT due to daylight saving! Can this be done?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07145 seconds
  • Memory Usage 2,216KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete