![]() |
Quote:
On a side note... this is agreat hack but I found a coding error in the weather_main template... the link to force an update seemed to be missing "&action=getdata" before "&forceupdate=yes" *clicks Install Button* Thumbs up!!!!! |
He's right! If I add that, then it doesn't give me a blank page anymore. I don't get the confirmation message either, but at least I don't get a blank page now on force update. JJR512, what do I need to change to get the confirmation message now? :)
Quote:
|
Hi
Using VB 2.6 and having a small problem, I just installed the hack and it works great, nice one. I changed the Country to Spain and it doesnt list any Cities so I saved it and whenever I now try and edit the settings for the time change I get a SQL Database error: Database error in vBulletin 2.2.6: Invalid SQL: SELECT accid,city_title FROM weather_city WHERE subdivid= ORDER BY city_title mysql error: You have an error in your SQL syntax near 'ORDER BY city_title' at line 1 mysql error number: 1064 Date: Thursday 22nd of August 2002 12:23:08 AM Script: http://www.villas4spain.com/forums/f...modifysettings Referer: I am pretty sure this is because Spain didnt have a ny cities listed, I tested it before and changed the settings on US Cities. Anyone know how I can solve this please? Other members don't have this problem so its just because mine saved on Spain, its sort of blocked it. Any info would be cool Thank you Stu |
Fatal error: Call to undefined function: convert_temp() in /home/virtual/site13/fst/var/www/html/forum/index.php on line 424
i followed the instructions step by step.. and reinstalled, following each step very very carefully. Can someone assist. Reach me on aol IM mysweetfocus or yahoo zarkarin or reply to this thread! |
re installed.. and it worked this time... ODDDD awesome hack!
|
What do I enter for the following, under "Create new table on database vbulletin"
Name : ???? Fields: ???? |
Installed, and it works great! I haven't tried setting it to Spain, though...
The time is screwed up it seems, I've tried a few things to get it to consistently give users something a little more accurate in reference to their local time, but no joy yet. Thanks for a great hack! |
Installed. Awesome. Easy to modify the design to cutomize to my board.
Thanks TCS |
JJR512, the guy who tried to set Spain as his default is right, there are no cities for Spain in there. Can we get some or at least take Spain out if there is none so we don't have users getting stuck like that? :)
|
Anyones weather working today?
|
Mine went down about an hour ago. They must be temporarily down.
|
mines went down too. i thought i was the only 1.
|
Mines went down too.... hope it will work again soon!! ;)
|
well it back up agian
|
It's working for me at the moment.
|
Just looking through the Weather_City data and I'm wondering whether I REALLY need to load all of this ?
I am based in the UK, and no-one is going to need any of the data for the rest of the world? Would it help to keep things smaller and neater if I ONLY loaded the UK specific data? Would it still work? |
You don't get any users from anywhere else in the world? :)
Quote:
|
Quote:
|
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 |
Database error in vBulletin 2.2.7:
Invalid SQL: SELECT accid,city_title FROM weather_city WHERE subdivid= mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 $cities = $DB_site->query("SELECT accid,city_title FROM weather_city WHERE subdivid=$current_subdiv[subdivid] ORDER BY city_title"); i think this query seems to complicate it.. i have created all tables and made the changes, i run it 4 times deleted it and made a fresh install... everytime i got this error, can anyone help? -------------------------------------------------------- edit: ok fixed my errors, works great /me clicks install |
Quote:
========================================== JJ.. Great hack! |
Hello, someone can helped?
|
*BUMP* :(
|
Great hack! (5)
Only 2 problems. 1) The time is 40 minutes in the future. 2) There are no subdivisions in Canada such as Alberta, Ontario, etc, but all the cities are listed. All others are working for me. BTW: Just wondering if you are planning on adding the option for users to select different .gif files when modifying settings? Running on 2.2.7 |
Quote:
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.. |
Quote:
EDIT: Doesnt working!!! :tired: |
Hi,
I am looking in placing the weather in my vbindex, as described in post #107. can anyone point me towards the template ? and all the other info you think I might need. Thanks LeMarsu |
Open vbindex.php and find:
PHP Code:
PHP Code:
PHP Code:
|
Gohan, those are your microstats:
"Page generated in 0.80156398 seconds (90.45% PHP - 9.55% MySQL) with 71 queries." you could say goodbye to your server... the way it is now your page. over 40queries can bring easy to it's knees the server. i hope you dont have a busy site, orelse you will have your account cancelled in no time by your host... |
Page generated in 0.80983102 seconds (90.22% PHP - 9.78% MySQL) with 72 queries.
[Debug Mode OFF] [PHP v4.2.2] [GZIP disabled] [Server Load: 0.00 ยป 0.01 : 0.00] so bad for server?? just no problem cus so fast server without lag. |
good luck...
|
Gohan,
Thanks for that ! :) I have made one or 2 changes to the template "home_weather": making it abit more generic. PHP Code:
Thanks again. LeMarsu |
how bizzar.
the code : bgcolor = "{ tableheadbgcolor } " gets changed to bgcolor="#8080A6" even in [ code ] or [ php ] :| |
Quote:
|
Quote:
|
Quote:
i think better remove a weather and calendar hack from vbindex. |
Quote:
|
Quote:
|
Quote:
|
Have they blocked the data again?? It is not working on my site today.....
|
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:
|