Elxis CMS Forum

Extensions => Components => Topic started by: acampball on April 08, 2011, 09:03:16

Title: Component Weather
Post by: acampball on April 08, 2011, 09:03:16
In EDC added new component and module to display weather at the site.

Support IOS Reservation Location.
Title: Re: Component Weather
Post by: nikos on April 08, 2011, 15:32:55
Dear acampball

I downloaded to try your component but all is written in Russian and i was not able to understand parameters what to set. Could you please write it in English also and if you like send me the file language to translate it in Greek too.

Sorry English exists. I will translate it in Greek then and i will post it here.
Title: Re: Component Weather
Post by: acampball on April 08, 2011, 15:36:03
English must be included
Title: Re: Component Weather
Post by: nikos on April 08, 2011, 15:49:41
OK Greek language ready

Greek language updated with intro_greek.php file apart greek.php

[attachment deleted by admin]
Title: Re: Component Weather
Post by: acampball on April 08, 2011, 16:01:11
thank you
Title: Re: Component Weather
Post by: datahell on April 08, 2011, 19:19:05
Thanks acampball for one more component!
I registered the SEO PRO base name "weather" for component "com_weather" and Elxis 2009.3+
Please do the following change in your component.

File: seopro.com_weather.php

Remove:
define('WEATHER_BASE', 'com_weather');

Add:
Code: [Select]
if (!defined('WEATHER_BASE')) {
     global $_VERSION;
     if ($_VERSION->RELEASE.$_VERSION->DEV_LEVEL > '2009.2') {
define('WEATHER_BASE', 'weather');
} else {
define('WEATHER_BASE', 'com_weather');
}
}
Title: Re: Component Weather
Post by: aiden11 on April 09, 2011, 00:01:44
Great component, just a stupid question, how do i get the id of the location?
Title: Re: Component Weather
Post by: datahell on April 09, 2011, 09:14:58
IOS Reservations -> Locations
Each row display the location's id (LID)
Title: Re: Component Weather
Post by: acampball on April 09, 2011, 14:01:08
Thanks acampball for one more component!
I registered the SEO PRO base name "weather" for component "com_weather" and Elxis 2009.3+

Ok
Title: Re: Component Weather
Post by: aiden11 on April 09, 2011, 18:52:02
Is there any instruction on how the weather does show on the the page as i cant figure it out how to make it available on the hotel page

I have added the location and enabled it but still doesn't show


Title: Re: Component Weather
Post by: acampball on April 09, 2011, 20:33:45
Instruction will be soon.
You need to install weather component and module.

In the component you add the desired location, as well as for him to specify IOSR Location ID.

The module Weather specify that provide IOSR Location.

P.S. pleas activate weather module on EDC
Title: Re: Component Weather
Post by: speck on April 09, 2011, 20:50:49
italian language ready  ;)

[attachment deleted by admin]
Title: Re: Component Weather
Post by: aiden11 on April 09, 2011, 21:05:11
Well i do have AccuWeather module installed, is any other module i need to install??

Title: Re: Component Weather
Post by: acampball on April 10, 2011, 09:31:08
Well i do have AccuWeather module installed, is any other module i need to install??

You need install http://www.elxis-downloads.com/downloads/weather/321.html

AccuWeather has nothing to do with the component Weather
Title: Re: Component Weather
Post by: regi168 on April 11, 2011, 07:33:00
This is a great compoent.

I found some pics like haze, if the weather is haze.

It seems cannot be show out.  just text " haze" on it.

[attachment deleted by admin]
Title: Re: Component Weather
Post by: acampball on April 11, 2011, 08:16:44
Thank you for taking the error.
Please rename the files in a directory images
figgy.png -> fog.png
hazy.png -> haze.png
Title: Re: Component Weather
Post by: acampball on April 11, 2011, 08:45:22
On EDC updated component & module.

fixed same bugs & include italian, greek languages
Title: Re: Component Weather
Post by: nikos on April 11, 2011, 10:56:16
Congratulations Acamball for your great job!

You came to our company dynamically, developing useful components, modules, bots and of course you shared them with us and personally I thank you.

I think could be good to start writing and a little documentation about your job on Elxis wiki (http://wiki.elxis.org/wiki/Main_Page). If you have time and you want to do it, contact ks-net for details.

Keep going!  ;)
Title: Re: Component Weather
Post by: acampball on April 13, 2011, 07:05:25
Thanks nikos, for the evaluation of my work.
Once I have a chance and people who can write competently in English, I will deal with that.
Title: Re: Component Weather
Post by: acampball on May 30, 2011, 13:06:03
Due to changes in "API Google Weather" updated on EDC module (v.1.2) and component (v1.3) of the weather.

Title: Re: Component Weather
Post by: aiden11 on June 01, 2011, 21:35:30
With the old version, every weather location was automatically assigned to the hotel of that area, now that i upgraded it does show only one weather location on every single hotel page, do we have to manually add IOS Reservation id for each weather location?
Title: Re: Component Weather
Post by: acampball on June 02, 2011, 21:44:42
Module updated on EDC ver.1.2_rev01
Title: Re: Component Weather
Post by: aiden11 on June 02, 2011, 23:22:59
I have uploaded the new module but again same issue


Title: Re: Component Weather
Post by: datahell on June 03, 2011, 19:18:03
You have uploaded the module as .rar, I re-packed it as .zip.
Please always use the zip extension for your modules/components.
Title: Re: Component Weather
Post by: acampball on June 03, 2011, 21:50:49
ups.

Sorry. Have earned.
Title: Re: Component Weather
Post by: acampball on August 30, 2012, 13:17:47
It appears Google has quietly killed its weather API

http://thenextweb.com/google/2012/08/28/did-google-just-quietly-kill-private-weather-api/
Title: Re: Component Weather
Post by: azmi2 on November 13, 2012, 08:57:03
i install weather component and module,but i am getting following error once i activate weather module

-------------------------------------------------------------------------

URI: index.php?option=com_weather&Itemid=&task=show&id=1
Path: \modules\mod_weather\mod_weather.class.php
Line: 183
Creating default object from empty value

-------------------------------------------------------------------------------------------------------------

please guide me how can i short out the problem.


thanks
Title: Re: Component Weather
Post by: nikos on November 14, 2012, 10:27:38
The previous post of yours says clearly that Google has stopped to support this API by which acampball developed the Component Weather. So no reason to use any more this component.
Title: Re: Component Weather
Post by: acampball on November 14, 2012, 15:45:41
Hi All!

In EDC upload new version 1.4.1.

Included new plugin - accuweather
Title: Re: Component Weather
Post by: azmi2 on November 17, 2012, 08:19:42
I INSTALL NEW VERSION OF WEATHER COMPONENT AND MODULEMM,BUT IT SEEMS THE SAME PROBLEM.I AM GETTING FOLLOWING ERROR.I CHECK BOTH GOOGLE AND ACCWEATHER PLUGINS.PLEASE GUIDE ME WHERE I AM DOING WRONG.

---------------------------------------------------------------------------
Weather
PHP Error [Warning]
URI: index.php?option=com_frontpage&Itemid=17
Path: \modules\mod_weather\mod_weather.class.php
Line: 236
Creating default object from empty value
-------------------------------------------------------------------

THANKS
Title: Re: Component Weather
Post by: acampball on November 19, 2012, 06:10:58
Hi.

First step - please clear \cache folder
Title: Re: Component Weather
Post by: azmi2 on November 19, 2012, 07:33:11
i cleared cache folder then installed weather component and then weather module but i again getting same errror


PHP Error [Warning]
URI: index.php?option=com_frontpage&Itemid=17
Path: \modules\mod_weather\mod_weather.class.php
Line: 236
Creating default object from empty value

i installed Weather    1.4.1 module,but it shows version 1.3

what is problem

thanks
Title: Re: Component Weather
Post by: acampball on November 20, 2012, 07:00:23
Hi.

Please replase file into modules\mod_weather\ and test

If it works, then I will update on the EDC.
Title: Re: Component Weather
Post by: azmi2 on November 20, 2012, 10:47:09
still i am getting this error,please look and advice us for solution

PHP Error [Warning]
URI: index.php?option=com_login&Itemid=50
Path: \modules\mod_weather\mod_weather.class.php
Line: 237
Creating default object from empty value


thanks for quick response
Title: Re: Component Weather
Post by: acampball on November 20, 2012, 17:57:23
I need a some time.
Please, wait.
Title: Re: Component Weather
Post by: azmi2 on November 21, 2012, 12:39:44
on my laptop,weather component and weather module installed correctly.there was no any error.i created city name,but weather condition could not show.it shows only city name and symbol of degree sign
please guide me how could we do
Title: Re: Component Weather
Post by: acampball on November 21, 2012, 14:12:33
Enter into field "Location" - your location name and press "Check location"
Title: Re: Component Weather
Post by: azmi2 on November 21, 2012, 23:06:52
thanks its working
Title: Re: Component Weather
Post by: acampball on November 22, 2012, 06:35:41
Thanks for the review. Corrections made and module and component updated on the EDC.
Title: AccuWeather for Elxis 4.x
Post by: datahell on December 04, 2012, 21:27:02
Note for Elxis 4.x users
For displaying weather you can use the Accuweather 1.4 module (https://www.elxis.net/edc/location-weather/28.html)

Or ask acamball to develop an Elxis 4.x version of component Weather  ;D