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)

350Chevy 12-03-2002 03:20 AM

Quote:

Originally posted by lemarsu
Hi,

Most of the time under the Temperature box there is no temperature, showing. (as you can see in the pic)

but under Detailed Forecast all comes up !
is it possible to fix that ?

LeMarsu

Same question... still unanswered..

Julio 12-03-2002 11:43 AM

Strange: I always get all the info displayed.

350Chevy 12-03-2002 07:19 PM

I think it has something to do with the server settings. Maybe my server doesn't have something running that it needs to pull the temperatures... ?? Dunno.. everything works but the Temp.. but I don't even get the temperature on the forecast page. Weird..

350Chevy 12-06-2002 04:06 AM

Nobody else has had this problem?

bahamut0 12-09-2002 05:19 PM

hello i was uninstalling this and suddenly got this error.

nvm i fixed it :)

i took out the code from the index and admin functions files then went to my mysql and deleted the weather tables and got this after, did i forget something somewhere.

nymyth 12-09-2002 06:34 PM

sup people...this is buggin the hell outta me.......everytime i try to run the sql files......my browser "page cannot be displayed" shows that page........im tired.....any ideas from anyone....thanx

Peace

Erwin 12-09-2002 07:32 PM

The files are too big - you need to break them up into smaller sql files.

350Chevy 12-14-2002 04:47 AM

Has anyone figured out why the temperature doesn't display on some web servers but everything else about this mod works fine? :)

EvilLS1 12-15-2002 07:48 AM

Yeah, the temperature doesn't show up on my site either. So I disabled it for now, since the temperature is one of the most important details. Bummer.. I really wanted to use this hack. :(

Julio 12-15-2002 01:02 PM

One thing I noticed on my testboard is that if the "Country" you choose to display data is rarely shown on their site, or tv channel, it ussually has no info at all.

-lucky me-

350Chevy 12-15-2002 06:18 PM

We're both in the US, and the no temperature thing happens no matter what country, state, city, ect..ect.. you choose.

I wish it were that simple, but it's not. Something isn't right with the code.

Julio 12-16-2002 10:59 AM

Wrong! - I have no problems at all with this hack... I always get info (except once) even in my local testboard I get info.

As I told you, I did some tests changing country, city, etc and I have never get some info on some of them... Though Im lucky that I get info for my country.

(Read your PM)

350Chevy 12-16-2002 06:57 PM

Quote:

Originally posted by Julio
Wrong! - I have no problems at all with this hack... I always get info (except once) even in my local testboard I get info.

As I told you, I did some tests changing country, city, etc and I have never get some info on some of them... Though Im lucky that I get info for my country.

(Read your PM)

WRONG! lol... Just because it works on your server doesn't mean everyone elses is configured the same or that it works on theirs.

Read your PM...

As I stated before SOME servers run fine with this hack as others do not. There are multple people with this same problem check this very thread. I have 40+ mods installed and not a single problem with one but this one. Actually this one works, it just doesn't show the temperature no matter what city, state, country, continent, ect..ect..ect.. you set it to. There's nothing wrong with the way I've entered the code. PlurPlanet has had this same problem on one of his test servers as well. He's also applied, unapplied, then reapplied the mod to that same server with the same results just as I have and others.

Nick Tofteland 12-16-2002 08:45 PM

2. Create new tables in your database using the file create_tables.txt. You can copy the entire contents of the file and
paste into the query window in phpMyAdmin, or you could run each query individually through telnet. Please ask in at
vbulletin.org if you need help in this regard.


can somebody please explain this to me so i can understand what i need to do. thanks!

EvilLS1 12-17-2002 04:37 AM

Quote:

Originally posted by Nick Tofteland
2. Create new tables in your database using the file create_tables.txt. You can copy the entire contents of the file and
paste into the query window in phpMyAdmin, or you could run each query individually through telnet. Please ask in at
vbulletin.org if you need help in this regard.


can somebody please explain this to me so i can understand what i need to do. thanks!

phpMyAdmin is a database administration tool which lets you run remote queries to create, alter, copy, or drop tables/fields from your MySQL database. You can download it here: http://www.phpmyadmin.net/

Once you've installed phpMyAdmin, you simply copy the query from the hack and paste it into the query window and hit the "go" button.

I believe there's also hacks availible here which allow you to run queries in your ACP. Check the "how to install a hack" thread. Maybe there's more info there.

Julio,
Other people have had the same problem with the missing temps and I'm absolutley positive that I've installed the hack correctly, so I'd have to agree with 350Chevy that its something else.

EvilLS1 12-18-2002 07:27 AM

I just checked the weather_userdata table in my database and the fields for temp, realfeel, and all the forecasthighs & forecastlows are empty. I looked at the "insert into weather_userdata" code in weather.php to see if I could find any errors, but it looks fine to me. So all I can figure is that it has something to do with how its retrieving the data from the weather site. *shrugs*

Katman 12-19-2002 01:39 AM

Does anyone know how to turn this into a non-vB add-on? I've been looking for a PHP Weather script for another site of mine but I haven't been able to find one that works like this one.

I can create the database and add the tables and upload the images but it's the vB templates that have me confused. I need to turn the templates into .php files.

Tony DiMera 12-29-2002 12:23 AM

This is a great hack

jbear6 12-29-2002 04:21 PM

Quote:

Originally posted by Tony DiMera
This is a great hack
I agree, and would like to say "Thanks Again", our members love this hack.

Doc203 12-30-2002 01:20 AM

What a great hack. Installed beautifully and really looks nice.

Tony DiMera 01-08-2003 03:04 PM

I know it has Midhurst and Barrie, Ontario, Canada with it. I was wondering if and how I can add Midland, Ontario, Canada?

Katman 01-09-2003 10:32 PM

New problem, just started today!

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home2/www/katanaplanet/forums/index.php on line 621

Warning: fsockopen() [function.fsockopen]: unable to connect to www.msnbc.com:80 in /home2/www/katanaplanet/forums/index.php on line 621

Does this happen because msnbc.com is down or cannot be connected to by my site? Or is there some other explanation?

Katman 01-11-2003 01:20 AM

I guess no one cares that this hack doesn't work anymore?

lifesourcerec 01-11-2003 02:55 PM

Quote:

Originally posted by PsYc



you have to put all .sql files via myphpadmin in the tables you created, only if you have transfered all content in these tables it will work

cities1-5.sql

region.sql

subdiv.sql

etc..

uploaded all files and still get same error

lifesourcerec 01-12-2003 02:10 AM

Got it work.. but the [forecasticon*] not working. Where would this be located to fix?

Tony DiMera 01-15-2003 01:50 PM

I am always getting a white box with an X in it for the icon. This is the URL of the icon, http://www.mysite.com/forums/images/weather/.gif As you can see it is always trying to find an image icon that is .gif no matter what the weather is, and I don't have a .gif image icon.

TalkHardRandy 01-16-2003 09:48 PM

I have a quick question... does anyone have an upgrade procedure from the original to the current version? I was starting to try to figure one out but gave up and decided to see if anyone else had one.

I tried to make the changes suggested way back when to the weather.php, but that didn't work.

BaBa2002 01-17-2003 08:38 AM

it will not show the images?

how can i fix that

Tony DiMera 01-20-2003 10:00 PM

*bump*

wild texas 01-22-2003 04:40 AM

read post #1 in this thread -- it provides detailed instructions on how to upgrade if you were running the old MSNBC feed, started losing data, etc.

Doesn't help you folks running the latest version, which properly accesses The Weather Channel feed, if you're not getting data for some reason...but it works fine for me (and I was getting data only erratically before I found the upgrade and realized the feed had switched sources.)

Tony DiMera 01-22-2003 12:15 PM

I forgot to mention, I use Barrie, Ontario, Canada and Midhurst, Ontario, Canada and it does it with both.

mackers8923 01-26-2003 11:56 PM

Great

I must say it took me a while to get there but now she is going no problem. Thanks for a great hack.

One question though! How do I move the weather information from the top of my forums page to the bottom below the current users online?

Cheers

Rob

mackers8923 01-27-2003 12:08 AM

Before I go, How would I go about adding a box on my home page: www.sccportal.org.uk to show the same information in a smaller format?

Any help at all would be great

mv540 02-14-2003 04:34 PM

need some help here, first off this is a sweet hack....installed it with ease...but there is only 1 problem...for example certain areas like barrie Canada doesnt show a gif for the current weather conditions..ive inserted a sample of what i mean....

as you can see the link leads to //.gif....and in the file there is no such picture....is this normal or did i install something wrong...?

indiamike 02-14-2003 08:37 PM

Quote:

Originally posted by mv540
.but there is only 1 problem...for example certain areas like barrie Canada doesnt show a gif for the current weather conditions..ive inserted a sample of what i mean....

as you can see the link leads to //.gif....and in the file there is no such picture....is this normal or did i install something wrong...?

This is normal. Just means that the feed has no image applied to it. Unfortunately there is no way to name a gif to just .gif to fill in the blank.

Just the way the feed is....wouldn't worry about it.

Mike

mv540 02-14-2003 08:43 PM

Thank you for the reply Mike. ;) ill change it to something closer like toronto or something..lol


cheers!

PennylessZ28 02-19-2003 10:03 PM

Dang you know hwo tricky it was to get this to work with VBindex, whew!

Awesome man!

Erwin 02-20-2003 08:03 AM

Quote:

Originally posted by indiamike


This is normal. Just means that the feed has no image applied to it. Unfortunately there is no way to name a gif to just .gif to fill in the blank.


Actually, you CAN name a transparent gif to .gif and upload it. It'll work.

Better yet, use the .gif file I uploaded somewhere in this thread that tells users when the weather server is offline. :)

jjj0923 03-05-2003 02:22 PM

for those of you who are sick of timeouts from www.msnbc.com - just change the code from www.msnbc.com to their IP address and you won't have any more connection timeouts.

I know if they change their IP address you're SOL, but at least your page doesn't site there waiting for the connection to msnbc to timeout any longer.

since I made the change it works great I have not had a single timeout error.

cirisme 03-18-2003 09:38 PM

I am just curious if anyone has put this into a cron script?

I want to use this, but I don't want it to slow down my pages while it retrieves the weather.


All times are GMT. The time now is 01:07 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.01507 seconds
  • Memory Usage 1,821KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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