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)
-   -   vB Weather Mk. 2 (https://vborg.vbsupport.ru/showthread.php?t=41842)

Boofo 08-17-2002 03:08 AM

That made it 6 hours ahead of me. And the time still has the 40 minutes after it no matter what time I force update it. :)

Quote:

Originally posted by JJR512
Try changing the 3600 to 7200.

JJR512 08-17-2002 03:23 AM

I think you're confusing something. The update time has nothing to do with when you received a weather update. It is the time that the weather data was actually created or posted by The Weather Channel at MSNBC.com. It's the time that they issued that weather update.

Boofo 08-17-2002 04:09 AM

Oh, ok. Then they must be doing it at 40 minutes past the hour all the time? That would explain why it always says that then. :)

The only problem I have now then is that when a new user logs in, the New York Weather (my default) always says it was updated 12 hours behind the server time (which is GMT), with xenon's added code, that is. Once I regsiter or log in, it says the right time (or close to it) for me which is GMT -6. Other than that (and still not being able to force update), this hack is working great! ;)

Quote:

Originally posted by JJR512
I think you're confusing something. The update time has nothing to do with when you received a weather update. It is the time that the weather data was actually created or posted by The Weather Channel at MSNBC.com. It's the time that they issued that weather update.

Matt87 08-17-2002 06:59 PM

Is it possible to put this in the users cp... like above the box for New Private Messages on the main page of the user cp.

JJR512 08-17-2002 09:33 PM

I have to admit that I don't understand the whole time system in vBulletin well enough...server time, user time, etc., and frankly, I think there are certain...let's just say "inconsistencies"...in the way it's all programmed in regards to GMT which never goes on daylight savings time yet the actual time zone that covers GMT does, and a bunch of other things that are all very confusing. Whatever logic there is behind the whole thing is lost on me. Without properly understanding it, I don't think I can really put it to effective use in the hack.

As for the user cp thing...Theoretically it's possible, but I haven't done it yet. The general theory is you take the code the instructions say to put in index.php and put it into whatever file it is that generates the page on the screen. I think the user cp is usercp.php but there may be other files that also generate the user cp page depending on what you're doing (member.php, member2.php, maybe others as well). The general theory is also that you put the code in the file just before the template that is the main part of the page gets called. Then you put the variable that has the weather template in it in the template for the page you want where you want it.

webhost 08-18-2002 11:13 AM

Did the time ever get fixed? I installed this last night and it is a great addition to the forum just the time is out of wack a little.
I used eastern time so on the forum at the bottom it says for example 8:12 am the time now but the weather time under the weather box shows 10:12 am. Can this be fixed?

webhost 08-18-2002 02:19 PM

Something wrong with this country and city also gif does not showup and all readings are out of wack.
Bukit Timah, Singapore

scottct1 08-20-2002 10:17 PM

Tonight my weather is wierd, there is no "now" forecast. I can see the 5 day find but now is not available.

Is MSNBC having problems again or did they change something again?

Erwin 08-20-2002 10:47 PM

Working fine for me still. :)

Boofo 08-20-2002 10:50 PM

My current weather is not showing either and I do have the 5 day forecast showing. MSNBC must be doing something or the current weather is down at the moment. Erwin must have his set to "Magic" weather. :)

Quote:

Originally posted by scottct1
Tonight my weather is wierd, there is no "now" forecast. I can see the 5 day find but now is not available.

Is MSNBC having problems again or did they change something again?



All times are GMT. The time now is 02:24 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.01286 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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