vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - GMT time on your forumpages (https://vborg.vbsupport.ru/showthread.php?t=130818)

LaCN 11-04-2006 10:00 PM

GMT time on your forumpages
 
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 :cool:


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 https://vborg.vbsupport.ru/external/2010/11/2.gif https://vborg.vbsupport.ru/


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.

LaCN 11-05-2006 10:57 AM

< reserved >

shadowevil 11-05-2006 11:12 AM

where is the download file? I cannot see it :(

LaCN 11-05-2006 11:21 AM

it's here now ;)

:Judge: 11-05-2006 02:20 PM

Very nice thank you!

LaCN 11-05-2006 05:53 PM

Thanx.

Please click https://vborg.vbsupport.ru/
if you're using it :)

Snake 11-06-2006 09:48 AM

Thanks!

drupy 02-08-2007 12:40 PM

I am using 3.6.4
The seconds works alright, but the hours is not correct, it is showing 8.00 GMT when it should be 15.00 GMT
Could you please help?
Thank you, I really need this mod.

LaCN 05-19-2007 06:09 PM

Quote:

Originally Posted by drupy (Post 1177519)
I am using 3.6.4
The seconds works alright, but the hours is not correct, it is showing 8.00 GMT when it should be 15.00 GMT
Could you please help?
Thank you, I really need this mod.

That's a big difference o_0

Is the time on ur server correct ?
if not, ssh into it, and adjust the date and timezone.

You could try to edit your plugin
and make it:
Code:

$gmt = gmdate($format);
in there, but I doubt that will do any big changes.

LaCN 05-30-2007 08:47 PM

New version released.

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.

If you'd like to add your own language setting, next to the Dutch, French and German one, you can do that in the GMT plugin.


See the GMT2.xml file in the 1st post


;)


All times are GMT. The time now is 08:49 PM.

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.01179 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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