Announcing Weather module

jflefebvre - November 22, 2005 - 09:38

My weather module has been updated.

I've added
o an AJAX based tool to search regional codes
o fix several issues.
o entry fields in the settings page for the partner ID and licence key

Don't hesitate to drop me a line for your feedbacks.

Error when configuring the weather block

Phoenix77 - November 22, 2005 - 21:28

Hi jeffzz,

I get the following error when I try to configure the weather block:

Fatal error: Cannot access empty property in /usr/share/drupal/modules/weather/weather.module on line 260

I'm using Drupal version 4.6 and php 5.0.5 on Ubuntu Linux.

Can you help me fix this, I really would like to use your weather module!!

Regards,

ThePhoenix

registration

jflefebvre - November 23, 2005 - 09:25

Are you registrated on weather.com ?
You must set the partnerID and license Key and save them before to try to choose locations.
Can you reach the settings page ? When exactly does this error occurs ?

Yes I'm registered, although

Phoenix77 - December 2, 2005 - 07:39

Yes I'm registered, although it wasn't easy. Had to extract the Id and code from the html-code they mailed me.

You can see the result on my Dutch website: http://vliestroompje.homeip.net

In fixed the module by editing a few lines. PHP 5.0.5 had problems with the code: if ($this->$moonTagOpened)

after replacing it with if ($this->moonTagOpened) the code workes perfectly.

The error occured when the weather block was activated and shown on the site. It actually prevents the site from being displayed, only way out was to physically remove the weather module and re-install it.

The only thing that doesn't work yet is the dropdownlist with countries, it has no countries in it.

Regards,

The Phoenix.

GREAT! :-)

kaare - November 23, 2005 - 12:25

Great stuff, but there is a missing '/' on line 38 in weather.module. I get a lot of errors like this when accessing administer -> weather:

warning: filetype(): Lstat failed for (null) (errno=2 - No such file or directory) in /usr/local/share/drupal/modules/weather/weather.module on line 39.

So this line:

  if ( filetype($dir . $file) !== 'dir' ) {

should be changed into this:

  if ( filetype($dir . "/" . $file) !== 'dir' ) {

Otherwise, great work! I really liked the graphics. It adds atmosphere to the block :-)

missing '/'

jflefebvre - November 23, 2005 - 13:03

Thanks for you remark. I've updated the module and it should be ok now for all configurations.

I plan to start the translation of the module in various languages, so if you are interested to get a localized module and participate to translate the several text strings into your native language, it could be great.

You can receive module's update notifications by mail just using the form on my project's homepage.

Translation

Phoenix77 - November 24, 2005 - 11:38

I'd love to have a localized version, and I'm willing to translate the module to Dutch :)

The Phoenix

weather.com location search

fuzzydru - December 3, 2005 - 05:21

not sure if you would see this relevant to your latest update. i build my own version of a weather.com-module for drupal a couple of weeks ago and it uses the weather location search inside the module, which i think does the trick.
well, take a look and see for yourself:
http://www.beyondtrails.com/en/weather

cheers,
felix

btw, the main features of my module are: block, weather page, admin page (multiday selection for block and page, unit selection, interval setting for updating the weather db table to avoid server perfomance issues)

are you going to make your

brismith - December 15, 2005 - 16:43

are you going to make your module available for download?

yes, i will

fuzzydru - December 16, 2005 - 17:23

just don't know when yet since i'm swomped with work right now.
i'll keep you posted.

Multi-site setups

Shane Birley - January 25, 2006 - 00:39

This is a very cool module. But, I installed it in a multi-site installation and all of the links to the images and configuration files broke.

-
Shane Birley
Vicious Bunny Creative
http://www.vbcreative.com

Long shot at contact

xxparanormalxx - April 14, 2008 - 21:47

hey it's been awhile since the creation of your comment. i checked out the website and it's page not found. looks like the site isn't upkept either. wondering if i could preview the module somewhere. thanks.

yeps

jflefebvre - May 1, 2008 - 10:47
 
 

Drupal is a registered trademark of Dries Buytaert.