Weather Mod Support (Modzzz)

This is the Support forum for the Weather mod.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 18 Nov 2014

Great module!!! We are very satisfied with it. Especially the integration in the different modules.

We have one question about the "rounding" of the degrees. Now he's to accurate ;)
It's now 2.9°C (35.6°F) in Maastricht, The Netherlands. That should be rounded to 3°C.

When it is 15.4°C that bust be rounded to 15°C and the same with the fahrenheit. That must be rounded also.

The  day before yesterday it was according to the weather module -1............................°C ( seriously 8 or 10 numbers after the decimal point :P ) That is slightly to accurate, unless you have a weather station ;)

Is there a way we can easily set this? 

Quote · 26 Jan 2015

Tried a bunch of things but can't get the temperature rounded. For example now it is 0.10000000000002°C. That must me rounded to 0°C in this case.

 
 
Quote · 30 Jan 2015

Rounding has been applied to the Temperature figures. Re-upload the modules\modzzz\weather\classes folder.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 1 Feb 2015

Now it's 275°C here. Before updating it was 2.7°C. If it's 2.7°C it must be rounded to 3°C. If it would be 2.4°C it must be rounded to 2°C.

In overview:
If < ...,5°C it must be rounded down
If > ...,5°C it must be rounded above

Quote · 1 Feb 2015

Re-upload the files. In modules\modzzz\weather\classes\BxWeatherTemplate.php, find :

$iRoundingFactor = 1;

Replace with :

$iRoundingFactor = 0;

Now it's 275°C here. Before updating it was 2.7°C. If it's 2.7°C it must be rounded to 3°C. If it would be 2.4°C it must be rounded to 2°C.

In overview:
If < ...,5°C it must be rounded down
If > ...,5°C it must be rounded above

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 1 Feb 2015

I re-uploaded all the files, did the file changes, but still it isn't working. Also I don't see any temperature in Celsius.

screenshot.jpg · 64.4K · 228 views
Quote · 1 Feb 2015

The login credentials I send you last week are still active, so you can take a look around.
For example the weather module is placed on the location pages.

Quote · 1 Feb 2015

Thanks to some help from Modzzz via PM everything works. Great service!!!

Quote · 1 Feb 2015

 Was this fixed in the files. Do I need to re-download and over right the files again? I really don't think it is 292 degrees in Largo, Florida.. LOL..

Re-upload the files. In modules\modzzz\weather\classes\BxWeatherTemplate.php, find :

$iRoundingFactor = 1;

Replace with :

$iRoundingFactor = 0;

Now it's 275°C here. Before updating it was 2.7°C. If it's 2.7°C it must be rounded to 3°C. If it would be 2.4°C it must be rounded to 2°C.

In overview:
If < ...,5°C it must be rounded down
If > ...,5°C it must be rounded above

 

 

Quote · 2 Feb 2015

Some updates have been made to this module. Please download again and re-install.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Feb 2015

Ok Thank You modzzz.. Did you get my message about this module? Let me know what you think.. Thanks

Quote · 2 Feb 2015

Just re-download and over written all files on the server. Cleaned all cache and re-config the lang file for the weather. Still have the same. Here is my screen shot of my account. let me tell you.. Good thing I am in UT right now.. It is hot in Largo, Florida.. LOL..

Temp.png · 93.2K · 224 views
Quote · 2 Feb 2015

 If you have re-installed and have not made any changes in the settings, it should be showing in Celcius so something is wrong here. Are you seeing a setting in the Admin section that says 'Unit of measurement' ?

Just re-download and over written all files on the server. Cleaned all cache and re-config the lang file for the weather. Still have the same. Here is my screen shot of my account. let me tell you.. Good thing I am in UT right now.. It is hot in Largo, Florida.. LOL..

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Feb 2015

No Sir.. Will re-download and over write again.. Only see:

Weather module is activated:
Default City to show Weather for:
Default Country (two letter country code) to show Weather for:
Integrate with these modules (enter module list separated by comma):
Quote · 2 Feb 2015

That fixed it.. Now it is 68 at Largo, Florida.. LOL.. Had to re-download. Un-install on the server. Remove from the server. then re-upload to the server and then re-install.. All works great now.. Thank you..

Quote · 2 Feb 2015

To place the weather module as a block on a page u can add the module in the weather admin panel, then automatically a page block is created with this code:
bx_import('BxDolService'); return BxDolService::call('weather', 'module_block', array($this->aDataEntry['id'], 'location')); 

In the Places module we use a custom block with some info, directions etc. of the location and we like to add the weather there directly. So without another block only for the weather. Is there an easy way to call this action in a custom block?

Quote · 2 Feb 2015

 Is it a custom PHP or HTML block ?

To place the weather module as a block on a page u can add the module in the weather admin panel, then automatically a page block is created with this code:
bx_import('BxDolService'); return BxDolService::call('weather', 'module_block', array($this->aDataEntry['id'], 'location')); 

In the Places module we use a custom block with some info, directions etc. of the location and we like to add the weather there directly. So without another block only for the weather. Is there an easy way to call this action in a custom block?

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Feb 2015

PHP

Quote · 2 Feb 2015

Did you find a code to do that? Never heard back since two weeks ago?

Quote · 17 Feb 2015

@bellhophil - If you are using a PHP block on the actual location view page then the code works. Instead of using return, assign the output to a variable and echo it  :


bx_import('BxDolService'); 
$sWeatherInfo =  BxDolService::call('weather', 'module_block', array($this->aDataEntry['id'], 'location'));
echo $sWeatherInfo;

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 Feb 2015

Thanks! It worked :)

Is it also possible to load the map that is placed on the location view pages? We also like to include it there. So you get a slide with all the info. 

Quote · 17 Feb 2015

 I have sent you via PM the location map code. Please keep this thread focused on the weather module :)

Thanks! It worked :)

Is it also possible to load the map that is placed on the location view pages? We also like to include it there. So you get a slide with all the info. 

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 Feb 2015

Thanks. I send you a message back, because it wasn't working.

Quote · 17 Feb 2015

This module is now compatible with Dolphin 7.2 . For those upgrading from Dolphin 7.1, please check the upgrade folder for instructions.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 4 Sep 2015

Version 2.0.1 released. (See patches/version 2.0.1 folder)

The Weather module now requires an API Key. Check the patch folder for details.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 4 Feb 2016

This looks interesting. One to think about for our locations, groups, hotels and business modules.

Where is the test mod? Can't find it on the demo site.

http://www.dolphinmods.com/demo3/index.php

TravelNotes.org - The Online Guide to Travel
Quote · 17 Mar 2016

Dolphin 7.3 version is now available. Demo site has been updated also.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 24 Mar 2016

 

Demo site has been updated also.

 Demo: http://www.dolphinmods.com/demo3/index.php  username - tester,password - test123

User/pass not correct!

Can't see a weather module anywhere either.

Michel on Meta-Travel.com

TravelNotes.org - The Online Guide to Travel
Quote · 24 Mar 2016

Demo: http://www.dolphinmods.com/demo3/index.php 

username - tester

password - test123


Weather block can be seen on the homepage.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 Apr 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.