vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Nicer Greeting On NavBar (https://vborg.vbsupport.ru/showthread.php?t=100993)

davidw 11-20-2005 07:05 PM

Quote:

Originally Posted by Mastar
It is in Japan

GMT +9

What time zone are you accessing it from?

Mastar 11-20-2005 08:32 PM

Quote:

Originally Posted by christianb
GMT +9

What time zone are you accessing it from?

GMT -5

davidw 11-20-2005 10:17 PM

14 hour difference...
do you have in account for dailight savings? Is it saying Good Afternoon as you are at 11:00 am, or a different time before 11:00 am?

ogden2k 11-21-2005 12:49 AM

Server -5
Me: -5

9:50PM and getting Good Morning....

davidw 11-21-2005 08:10 AM

Quote:

Originally Posted by ogden2k
Server -5
Me: -5

9:50PM and getting Good Morning....

Have you tried replacing the part in the xml file as in the second part of this?

The reason I'm asking is that I think for some reason its taking the server time and subtracting the server time (adding the -x) and then subtracting the timezone offset. I could have the formula wrong too, of course.

9:50pm -5 (GMT-5) = 4:50pm -5 (individual timezone GMT-5) = 11:50 am = "Good Morning" +/- daylight savings. Does that make sense?

Iceburg22 11-21-2005 12:33 PM

works for me! installed

Mastar 11-21-2005 02:11 PM

Quote:

Originally Posted by christianb
Have you tried replacing the part in the xml file as in the second part of this?

The reason I'm asking is that I think for some reason its taking the server time and subtracting the server time (adding the -x) and then subtracting the timezone offset. I could have the formula wrong too, of course.

9:50pm -5 (GMT-5) = 4:50pm -5 (individual timezone GMT-5) = 11:50 am = "Good Morning" +/- daylight savings. Does that make sense?

Just did that edit, just have to wait til pm my time and see...

MThornback 11-22-2005 01:13 PM

Quote:

Originally Posted by Mastar
Just one problem, it is 3PM here and it is still saying Goodmorning. Any thought?

Mine is doing this too...it dosen't appear to be reading the GMT time only the server/board time...are you willing to patch it so that it does GMT? :speechless:

PsiNyde 11-22-2005 04:14 PM

if you are looking for a more permanent [non-dynamic] greeting, simply change the welcome_x prase [page 32 in global phrases] to something like "Yo, wessep {1}"



I tried this plugin as well, with bad results. I'm not knocking the script, it's a great idea! Once it's working properly, I'll certainly use it.

davidw 11-22-2005 05:27 PM

I'm wondering if a variable could be created out of current user time (the same time that displays the timestamp on the forums when someone posts). That would take out the guesswork on the formulas.


All times are GMT. The time now is 10:37 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.01038 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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