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
  #2  
Old 11-05-2006, 10:57 AM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

< reserved >
Reply With Quote
  #3  
Old 11-05-2006, 11:12 AM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the download file? I cannot see it
Reply With Quote
  #4  
Old 11-05-2006, 11:21 AM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's here now
Reply With Quote
  #5  
Old 11-05-2006, 02:20 PM
:Judge:'s Avatar
:Judge: :Judge: is offline
 
Join Date: Jan 2003
Location: USA ~ MD
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice thank you!
Reply With Quote
  #6  
Old 11-05-2006, 05:53 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx.

Please click
if you're using it
Reply With Quote
  #7  
Old 11-06-2006, 09:48 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #8  
Old 02-08-2007, 12:40 PM
drupy's Avatar
drupy drupy is offline
 
Join Date: Sep 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 05-19-2007, 06:09 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drupy View Post
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.
Reply With Quote
  #10  
Old 05-30-2007, 08:47 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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 10:40 AM.


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.04861 seconds
  • Memory Usage 2,295KB
  • Queries Executed 24 (?)
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)bbcode_code
  • (1)bbcode_quote
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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