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-09-2002 09:22 PM

JJR512,

Do you have any idea why the "Time Last updated" is still showing the server time and not the local user's time? The serevr is set to GMT and my time is -6 and it is always 6 hours behind.

hypedave 08-09-2002 10:38 PM

Quote:

Originally posted by JJR512
Did you insert the functions into functions.php, as described in Step 5 of the instructions? Did you save functions.php after modifying it? Did you upload it to your forums/admin directory after saving it after modifying it?
yes I did, right now im using the old index.php until I can fix that error.

Boofo 08-10-2002 04:30 AM

Would you mind sharing your template for that? It looks fantastic! :)

Quote:

Originally posted by snyx
lookin tight man! love this hack..

PhoenixBB 08-13-2002 09:28 PM

Hit a bit of a problem......

One of my members has just told me she can't set the weather for her area - South Carolina. There are no cities listed for that (though there are for North Carolina). Have I got missing files somewhere??

I never got any errors when inputting the data into the database so is everybody missing data for South Carolina?

Matt87 08-13-2002 09:41 PM

Are you sure this is alright doing this with the weather channel, doesn't this use up their bandwith?

JJR512 08-14-2002 05:17 AM

Quote:

Originally posted by PhoenixBB
Hit a bit of a problem......

One of my members has just told me she can't set the weather for her area - South Carolina. There are no cities listed for that (though there are for North Carolina). Have I got missing files somewhere??

I never got any errors when inputting the data into the database so is everybody missing data for South Carolina?

I have many cities listed for South Carolina.

Did you use the weather_city.sql (one big file) without breaking it apart? If you did, you should have them. If you broke apart the large file into smaller pieces, you may have accidentally somehow cut out the SC cities. Or, if you used the smaller weather_city1.sql, weather_city2.sql, and so on (through 6) that I put in the last release, I may have accidentally left out the SC cities. So, please let me know how you did it.

Matt87, this doesn't use any of The Weather Channel's bandwidth, because the data comes from MSNBC servers. I assume it is OK with MSNBC because: (1) the data is publically available, and not blocked or protected by password; (2) I have sent emails to MSNBC asking for additional information regarding the formatting of the raw data, and although I have received no helpful reply, they also have not asked me to stop using their data feed, either. So, I am taking this as implied consent.

PhoenixBB 08-14-2002 03:11 PM

Hi

I used the chopped files given by the previous member, and you are right I probably accidentally missed some off.

Even the chopped files wouldn't always load without timing out on phpMyAdmin. Anything over 300k and it's potluck as to whether they'd upload without timeout errors. So those files I pasted half in, then the other half. Obviously I missed a bit out.

I went and downloaded your zip again and reuploaded the cities (after emptying the tables). 5 of the files I split in two so they were all under 300k. I double double checked I hadn't missed anything! ;)

Reuploaded them and everything went smoothly. Database holds 37k + where before it was only 36,000+. South Carolina now has cities and everything seems to be peachy! I'd have been totally oblivious if I hadn't had a member from there though. ;)

This is a fabulous hack and everybody loves it! :D

Now if only I can find a daily horoscope widget.........

beemer 08-15-2002 07:41 AM

Best hack so far, very cool work!!

lemarsu 08-15-2002 03:29 PM

Hi,

i get the following error:

Fatal error: Call to undefined function: convert_temp() in /home/sites/site12/users/ducati/web/monster/index.php on line 417

I Have version weather_mk2_v1[1].1a the file weather.php is loaded in the root for my forum web/monster/ with the following premissions.
-rw-r--r-- 1 ducati site12 weather.php

can you spot what is going wrong ?

LeMarsu

Matt87 08-16-2002 12:00 AM

Is there any way to put this in ther user's cp instead of the forum home page?


All times are GMT. The time now is 09:42 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.01491 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