Version: 1.00, by why-not
Developer Last Online: Jun 2007
Version: 3.0.3
Rating:
Released: 07-11-2004
Last Update: Never
Installs: 82
No support by the author.
This is VB World Weather...
It allow your users to look up and display local weather for 39,722 locations around the world! It is template based with multi language support built in!
The zip file contains...
1. Step by step install files
2. All images, language files, templates, weather database file and scripts
Sonia, I can't seem to email anything to that address without it getting bounced back so I'll attach the package here.
Unfortunatly I can't give you access to the forum I'm hacking as I don't own the license or the server. I'm managing the forums for someone else. But hopefully that package is enough. Thanks!
Hi M8,
Sorry for the delay reply, here are my answers.
1) Are you using a prefix?
A: No it says in config $tableprefix = '';
2) How are you trying to install the weather table (command line, phpMyAdmin, other) ?
A: Tried Phpmyadmin and it times out and from Vbulletins own php installer panel.
Regards,
Brian
PS.
Just tried again running the SQL in phpmyadmin and I received this error:
Fatal error: Maximum execution time of 300 seconds exceeded in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/read_dump.lib.php on line 77
Line 77 says: $sql = ltrim(substr($sql, min($i + 1, $sql_len)));
Laters
Quote:
Originally Posted by why-not
Hi The Realist
To find out if your using a prefix, go to ./includes/config.php, and find the variable...
$tableprefix = '';
If this has a value, then you need to run the 'change.php' script to add the prefix!
As for your MySql Error, something is not being escaped somewhere....
Tell me the following....
1. Are you using a prefix?
2. How are you trying to install the weather table (command line, phpMyAdmin, other) ?
If you can not get the SQL file to load, create the table manual, then I will give you a script to loop the file and do the inserts that way! I have tested this SQL file, on 8 different systems Unix, Linux, Windows and Mac and I can not reproduce your error.
Note you can not load this from the VB admin panel it will not work! I will help you, but answer my questions so I can!
Yeah, I've found also that the only mentioning of the profile field ids are in the profile.php file mod you do. I don't have the problem with the Select button not appearing, instead even after I pick and Region and Location etc. it doesn't display it in 'Current Location:' afterward. That's no doubt due to the Profile Field IDs being inconsistant, but adjusting the profile ids in the profile.php mod above still doesn't solve this.
I have this exact same problem and have spent most of the night trying to figure it out without luck. I have custom profile fields but have adjusted the array in profile.php, the final field is set to private, yet the location and forecast both remain blank (it is being written to the database if I change it).
Just a quick question on this.... it seems the list of locations is mostly in alphabetical order but not entirely. Is there a way to correct the sort order at all?
Btw... thanks very much for this! It's exactly what I was after.
Hi
Yes you can fix this, give a few seconds and I will post the code!
Sonia, I can't seem to email anything to that address without it getting bounced back so I'll attach the package here.
Unfortunatly I can't give you access to the forum I'm hacking as I don't own the license or the server. I'm managing the forums for someone else. But hopefully that package is enough. Thanks!
Hi MooMan65
Edit your post, I got the file, I will post you a new file very shortly!
EDIT: Holy crap! I got it working! Woo! The profile.php changes is all you need to do in the end I believe. Because the Field9 (that by default is the Region) is instead my Temperature Format selection. So after selecting a region which didn't seem to work I noticed that I didn't have either Radio button checked for the Temperature. It was probably confusing the two fields still so I selected an option there and voila! The same process should fix it for the other options. I asked another member to set it up from that point on and he had no problems, so it seems it's all ready now.
Oh Sonia, have you even done anything with relation to the 'display current weather on forumhome' option? As I don't see any instructions relating to it. But thx for the great hack! And the support you're giving.
Oh Sonia, have you even done anything with relation to the 'display current weather on forumhome' option? As I don't see any instructions relating to it. But thx for the great hack! And the support you're giving.
Yeah! What he said ^ !! It's now working for me as well even with custom fields already in use but as mentioned above there were no template edits for Forum Home and it does not appear on the index page. Everything else is fine that I've seen so far. :nervous:
Sort order for the list of locations could use a little adjustment so they are listed by name rather than ID... many are out of place making it very difficult to find some locations.