![]() |
Will it work with weather in Scandinavia too?
|
Hmm.
I got a wierd problem. most of the time it take realy long time for my index page to load. And when it does the weather is all messed up. No pic and the temperature is way off. I have to reload to make it work. Sometimes it takes around a minute to load. And i have to reload several times to make the weather work. Its a grate hack but the load times are annoying. /DonLKSAB |
I'm having the exact same problem as the Don, terribly slow loading, if it loads at all... I've turned it off until I can figure out the malfunction :(.
|
I have the same problem..at first I didn't know what it was...then narrowed it down to the weather hack server speed.
Had to take it out of index.php too because merely taking it our of the forumhome template wasn't good enough...shame too was a good hack for a while but not woth the headache with the slow load speeds |
Question:
The code that is put into the index doesn't update the weather settings. You grab the weather from the server, display it, then it just goes away. It's not cached into the database. Why? Wouldn't it be more efficient if it grabs the weather, displays it, inserts/updates the weatherdata then exits? |
I've seen teh same performance issues recently as well. COuldn't figure it out, as the pages would oad fine some of the time, then for no apparent reason, it'd take 50+ seconds of PHP processing for the page to load. Finally noticed that the pages that loaded slowly all showed no info for the weather.
Disabled the weather features and now the site sings again... Sad to see it go, but for a performance hit like that, I cannot justify the hack :( I did like it, though... as do many of my site's members. |
just a note to you guys. I had a weather system installed on my board just liek this one..not sure if this is it. its a great informational tool, but DO NOT install it on the main forum home page....it stalls the loading of the forum..I lost half my visitors because of it....it took forever to load the main forum page because of that hack....make a link on the main forum page for it..but if its displayed live on the main forum page good luck trying to load your forum..its ridiculous...its sucks because I love the idea of this hack..
|
I've been having excessively long load times to get to the main page of my forum, and it hadn't occurred to me to disable the weather hack and check. Through my installation of another hack today, I inadvertantly killed the weather display from my forum index. The page FLIES again. I won't be re-enabling the weather on my forum index any more. I'll just find somewhere to integrate it into my site, either via a link or button to "Your Weather" (http://yourdomain.com/yourforum/weather.php).
|
Oh bugger! So that's why my vbhome portal was loading so slowly. Never occured it could be the weather.
Why is it suddenly doing this now? Never used to be a problem. Is there nothing can be done to pep it up again. I love this hack! *cry* |
I've always had that problem with the hack, actually. Ever since I installed it, which was months ago... so what I did, was make it optional, where you could turn it on or off in the User CP. That way users stopped complaining about the slow loading time...
|
Works fine for me...check it out here. I can tell you what I did to make it work ;)
|
It always ran fine for me until a few weeks ago, but I didn't realise it was this causing the slow loading. I've just put links to the weather now. Doesn't look as nice but my Portal is already nippier.
|
Ok...here is what I see as causing the problem...they are having router issues the hop before you get to them, hence the slow response.
|
Quote:
doesnt look like you did anything. its slow to load. The problem isnt consistent, whereas its slow every time you visit the board. if you try to access your main forum page on a daily bases, your going to see that there is lag time...and find yourself having to click links/buttons to your board more then once for it to load. i tried you link..it had the same problems I had. |
i had alot of problems when i first installed this, but it was late last night after a few beers.
this morning, i woke up, deleted all the tables from mySQL (the ones pertaining to this hack), removed all the templates, followed this thread (actually read every post), changed the php pages back to what they were and started from scratch again and boom! it worked! it's for a client so i think they will be very happy. |
okay, i changed the forumhome_weather template to:
Code:
<!-- Weather --> |
This script is very cool, but i'am tired of w8ing loading forum home. I have an idea of sollution of this problem. Couse i'am lame in php can smb. write a peace of code - a link wich will popup window with an a detail forcast? So this link everybody can put in forumhome instead of $currentweather
THX Addon: Oh, I see ANT.menmusic done smth like this... THX to him! |
yeah, basically, the template that way only shows you a link to check your weather and the last time update (you could even remove the update time):
look here (i opened the board last night at 12AM). |
oh, here are the two files you can upload so that your visitors/users don't get a red-X when the weather server is down.
-ant this one is named ".gif" (without the quotes, obviously) |
and this one is named "0.gif"
same image, but now all you have to do is upload it to your yourdomain/forums/images/weather folder -ant |
ANT.menmusic
you could even remove the update time I did it allready, couse even this update time load the page hard. -nice forum -THX 4 try again image! |
ANT.menmusic
you could even remove the update time I did it allready, couse even this update time load the page hard. -nice forum -THX 4 try again image! |
ANT.menmusic
you could even remove the update time I did it allready, couse even this update time load the page hard. -nice forum -THX 4 try again image! |
yeah - i think i'm gonna do that... just realized that any fetching of date is gonna slow my index page if the weather server is not responding. thanks for that.
oh, and np about the image. -ant |
I dunno what it is but my forum main page loads super slow now! :cry:
|
Quote:
think i need to change the call to the weather server codes on the index - since it still calls the msnbc server apparently the page still loads slow at times. |
i changed:
Code:
// ###################### Get Weather ####################### Code:
// ###################### Get Weather ####################### i think - either way, the index.php loads quick as heck now. i dont know much about hacking - i can follow directions pretty well, and i apologize if i have murdered your weather hack - it's just that i love the idea so much and this is the only compromise i could find... at least until msnbc gets a faster/better server. -ant. |
Quote:
|
Any updates on this yet?
|
I don't suppose there is another weather server to pull the data off is there, because I love the idea of this feature, the only problem at the moment is that it is only working once every so often.
|
I've just noticed that whenever you change your settings it always works, but after that it just falls over again
|
This hack is pretty good
|
While it worked intermittently before, I'm suddenly getting the following error:
Warning: fsockopen(): php_hostconnect: connect failed in /home/u1/translucent/html/board/weather.php on line 32 Warning: fsockopen(): unable to connect to www.msnbc.com:80 in /home/u1/translucent/html/board/weather.php on line 32 |
That usually happens to me but only once in a while
|
Could someone help me with the create_table part, please?
Thanks, Patricia |
hate to beat my own drum here but i guess i can, what the heck...
i think this is a lotta trouble to go thru. i wanted and needed weather for my motorcycle riding members so here's what i did: 1. changed the description of the 'location' user field to let them know that it was also used for their weather. 2. jacked yahoo's form for weather 3. threw a button on the top of my forum that yanks the member's 'location' field and passes it to the yahoo form. bam you have member-specific weather. when they open the forum there's a button on the top called YOUR WEATHER with their location written in the form in the html already for them. and yes, if some dumbass puts 'playboy mansion' or 'third ring of saturn' for their location, it will return the yahoo weather home page. and yes, you could use the weather form from any site like www.noaa.com so long as they don't check the originating ip in their server-side script. |
well as much as I like this hack I can't deal with the delay of the index.php file being loaded. I think I'm going to take Joey's idea with what he did with his weather. Since he and I have the same needs
|
this hack fails terribly most of the time
the weather.php page just hangs like crazy, rarely loads at all. the integrated version with the portal does the same thing...no error messages, it just sits at about half loaded and never works. i can go to the page page in the source manually, but i feel that the method that its being opened is the wrong way to go about it. i'll have to check into other ways of pulling the data because the current way just doesnt work enough of the time. |
I'm gonna go with the last few posts and say that this hack is usless to me as index.php and weather.php just hang for about 5 min. and then time out.
|
oh well he tried
|
All times are GMT. The time now is 11:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|