![]() |
how can I change fahrenheit in celsius ?
|
click on change setting in the weather pert of the forum. then change it there.
its thats easy |
how do the weather symbols look on a dark background ?
because I think they look quite frayed. I can't say it exactly because I didn't install the hack yet. would be nice if somebody could give a short information. regards, Schorsch |
hmmm see: http://www.minifreunde.com/images/weather//34.gif
looks not so good on dark backgrounds :( can somebody make some sybmols that fit on dark backgrounds ? cu Schorsch |
great job on the weather hack, i installed it with no problems :)
|
whats so bad about that symbol? it looks fine
|
u can see this ugly white border on dark backgrounds!! looks not so groovy in my mind :beard:
|
bah, i use it on a dark background and it aint that bad. it looks fine, and i aint complainin. just modify yourself, u can easily do it with even paint
|
I get this following error
Fatal error: Call to undefined function: convert_temp() in /home/ochroma/public_html/forums/index.php on line 581 |
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?
|
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. |
Quote:
|
Would you mind sharing your template for that? It looks fantastic! :)
Quote:
|
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? |
Are you sure this is alright doing this with the weather channel, doesn't this use up their bandwith?
|
Quote:
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. |
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......... |
Best hack so far, very cool work!!
|
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 |
Is there any way to put this in ther user's cp instead of the forum home page?
|
JJR512, have you noticed that all of the update times end in 40 minutes? :)
|
Anyone know how to do this?
|
Do you want just the link in there or are you wanting to put all of the weather info in there, too?
Quote:
|
Lemarsu, you are getting this error because you didn't put all the changes in before you tested it. You have to put the functions into the admin/functions.php file. Do step #5 and the error will dissappear.
|
Boofo, I did notice the same thing, everytime I do an update, it ends in 40 minutes, regardless of when I do this.
|
And how far off of your time are you when the update happens? I finally got mine to about 40 minutes ahead of my time. That is the closest I could get. :)
Quote:
|
I want to put everything that would be on the forum home
|
Boofo, if your update time is always ahead of your current real time, try adjusting it backwards by an hour by following the suggestion in Post #95 above. Subtracting 3600 (number of seconds in one hour) makes it one hour earlier.
|
Here's the code Xenon gave me to make it close. It was setting at the server time before (which is 6 hours behind me).
Code:
$time_lastup = strtotime($weatherdata[lastup]); Quote:
|
Try changing the 3600 to 7200.
|
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:
|
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.
|
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:
|
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.
|
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. |
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? |
Something wrong with this country and city also gif does not showup and all readings are out of wack.
Bukit Timah, Singapore |
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? |
Working fine for me still. :)
|
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:
|
All times are GMT. The time now is 02:25 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:
|