![]() |
Changing the city/etc. doesn't work on your test board.
|
Quote:
|
Has anyone been able to sucesfully change the default NY settings to your own? I have replaced the NY code with mine, (under weather.php) but it doesn't work.
Any help? |
yes there are 2 places you need to change it in weather.php line 20 and line 201 aprox.
I think that all the changes I did. if it doesn't work have a look in the database, that is a place a looked in when I 1st installed the weather hack. all the best LeMarsu |
OK, thanks. Had to edit the database.
PlurPlanet - Can you please shoe me how to set it up that I can turn it on/off from the CP? I have translated the text of this hack to another language, but notice that text under the 1st pic (below Current Weather..) still shows in English. I have modified functions.php already... anyone knows where exactly in the database I can change this (haven't found it) I know it is the "context" or it just comes from The Weather Channel? |
are you talking about text like "Mostly Cloudy" or "sunny" ?
I think this is pulled out from msnbc.com |
Quote:
Just open the file the weather is displayed on (I'd assume it would be your forums/index.php, but of course you can display it in any file) and add this code right before the code for the weather: PHP Code:
Then using phpMyAdmin run this query: PHP Code:
|
PlurPlanet:
I followed your instructions. It whows under "Reason for turning board off". If I leave it on, the board will show up fine, but if I turn it off, the board will not show at all. Just a blank screen. |
wow this hack is real tight...this 1 gets my vote for HOM
|
Can we canadians use it for canadian cities?
|
All times are GMT. The time now is 08:57 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:
|