Pricop

Pricop supports this item

Supported

This author's response time can be up to 2 business days.

138 comments found.

Hi Pricop,

I think http://weather.service.msn.com/ is not working anymore, are there any other services we can use?

Regards, Maarten

Hi Alexandru, I get suddenly empty array when using ’$url = ‘http://weather.service.msn.com/data.aspx?weadegreetype=F&culture=nl-NL&weasearchstr='.$city;'

<Error> <Message> No HTTP resource was found that matches the request URI ‘http://weather.service.msn.com/weather4/data.aspx?weadegreetype=F&culture=nl-NL&weasearchstr=Bucharest'. </Message> </Error>

Hello elrosa,

The software works just fine as you can see on the live demo: http://weather2.pricop.info/

Regards,

Alexandru P.

Got it working again! Added ‘&src=outlook’ to url

Hi, how to upgrade without change all website? what is the new updated files?

Hello vscorp,

There are many changes including new icons and a new API call and a new output format, which requires some changes. Use a software like winmerge to see the differences between two files if you want to manually update it.

Regards,

Alexandru P.

Ok, but I need to upgrade? if I do not update it work anyway?

Hello vscorp,

The API is deprecated and will stop working starting from 15 April, there is no official statements in regards to this tho, but it is very likely to happen as they deprecated the public API a few months ago.

Regards,

Alexandru P.

OLM

OLM Purchased

Hi Alexandru,

Just updated to the new version and a couple of quick questions:

Have forgotten where/how to change the format of the date from mm/dd/yyyy to dd/mm/yyyy

Is the GeoIP working in this version? When I try it brings up the default location now – when I try it on your demo version it gives a location of Romania.

Thanks in advance

Hello OLM,

To change the date time format, go to /includes/functions.php and edit line 106 and 118.

Yes, the GeoIP works on this version, if it wouldn’t work, then on the demo you should have seen New York (as the default location). If on your website appears not to be working, you can PM me your installation URL and FTP access and I can have a look.

Regards,

Alexandru P.

OLM

OLM Purchased

Thanks Alexandru – great support and have been using the script for months without issues – my visitors like it! Only just realised it needed upgrading due to the loss of MSN so thanks for the upgrade!

Regards the date – thanks will take a look and sort that.

Re the Geo location – the first time I visited your demo site it showed Romania – now it shows New York. I am in neither of those locations as i’m in the UK and when I check with any of the IP lookup sites it picks me up in the right country. Can send you a screenshot of what i’m seeing on the demo site if you wish?

Hello,

The MSN API seems to be working, however since it’s deprecated it can stop anytime, so I’ve migrated it to a new service which is stable.

If it shows the default location then it means that your IP isn’t getting detected. Keep in mind that the software uses MaxMind’s free database solution which has a detection of 95% of the IPs.

The detection system wasn’t altered in any way in the latest updates.

Regards,

Alexandru P.

Hi Pricop what files need updating to migrate to the new API?

Hello,

From which version did you upgraded?

Regards,

Alexandru P.

Hello islandhosting,

Then you need to update the whole software as on 1.6 the software was migrated to MySQLi as MySQL has been deprecated in newer php versions. Also before upgrading, make sure you have MySQLi extension enabled on your server.

Regards,

Alexandru P.

In this new version.. How I change the language?

Hello wilsonmsn,

Go to /sources/welcome.php

and change:

$weather_current = $weather->get($city, 0, 0, null, null);
$weather_forecast = $weather->get($city, 1, 0, 5, null);

to:

$weather_current = $weather->get($city, 0, 0, null, 'it');
$weather_forecast = $weather->get($city, 1, 0, 5, 'it');

All the available language codes can be found at: http://openweathermap.org/current#multi

Regards,

Alexandru P.

Good, thanks

I not need the database.

How I desactive the mysql?

Hello wilsonmsn,

If you don’t need the database, then you need to rewrite the code so that it does not use the database.

Regards,

Alexandru P.

Pre-sale Questions

- Can I manually translate script into Bosnian language? - Is there a way to display AdSense on homepage? - Can I use my logo instead of title “Weather Script”? - How the weather info is collected (source)?

Thank you.

Hello hadzic,

- Manually yes, but you’d also have to parse the output from the API and translate it too, which requires some php knowledge.

- Yes, you can do that simply by pasting your Adsense code into the template

- You can replace the text with an image (requires basic html knowledge).

- The API source is OpenWeatherMap

Regards,

Alexandru P.

Unlimited Requests?

how to i offer a 16 day forecast instead of 5? plus other openweatherapi features?

how would i go about coding these?

pressure now shows in api.php i just need to get it to display on the html page

its ok i wrote the function now m8 ty

i want to change the title of the pages to

websitename place

do i need to edit?

$TMPL[‘title’] = $resultSettings0;

Hello servidir,

You can change the site name from the Admin Panel. It can also be changed from the $TMPL[‘title’] if you want it that way. By default it does not come with rewritten URLs, but is definitely possible to be implemented.

Regards,

Alexandru P.

Hello Pricop. how can change friendli url? htacces code?

Hello,

It depends on your server, I suppose it’s the .htaccess file in your case, just add your rewrite rules and then rename the links of the software to suit your newly created rules.

Regards,

Alexandru P.

Great Script and great support. I had an issue with the way my host handled rewrite files and Alex did changes to make this work. I Recommend this author.

Hello Pricop,

I really appreciate your work on this script but there are some more amendments needed:

1. When anyone search a city or any location search field have to give suggestions on typed location like in different weather forecast sites.

2. Your GeoIP location detector were not accurate. Need improvement

Want to buy this script ASAP, please add these improvements.

Thank You

I would like to buy this script if each city or search would have city name in <meta title>, <meta description>, and <meta keyword> tags. Can you add that feature so Google webmaster would not show up the error of duplicate?

Thanks

Hello a1omads,

I have updated the software and added title tags for each searched paged, however keywords are not being taken in consideration by google, as for the meta description, the content won’t be the same since each city has different weather values.

The update should be available tomorrow or withing a couple of days.

Regards,

Alexandru P.

Hi I have windows 7 and for some reason the scrip map looks very big as you can see here http://world-weather-forecast.com/ How I can fix it?

Hello joninewgroup,

It looks fine here, however what you are describing is the mobile design being shown on desktop browser. Please send me FTP access via http://codecanyon.net/user/Pricop#contact so I can try changing the responsive design to other values.

Regards,

Alexandru P.

What API are you using, I’m interested in weather underground or NOAA and prefer not to get it from the third party API or site. Also you do you have a live preview of your admin area?

Hi Alexandru,

Does it use the OpenWeatherMap API and get the data directly from OpenWeatherMap or from your website? As far as the admin goes, figured you it may has some functions to display what type of a control you’ll have from the admin area.

Thanks, Homayoun

Hello Homayoun,

It gets the data directly from OpenWeatherMap, it does not depend on any other website.

Regards,

Alexandru P.

Thank you for the clarification, I misunderstood by reading the API documentation and thought it was getting the data from your website.

Regards, Homayoun :-)

hi Pricop,

All the icons seem to be the same for some reason showing a rain thunder icon.

Also how do i get the old icons back?

Hello isandhosting,

Please send me your installation URL via http://codecanyon.net/user/Pricop#contact so I can have a look.

I don’t have the old icons anymore.

Regards,

Alexandru P.

messaged you m8

Hello, nice script.

  • 1. When do you make it responsive?
  • 2. When do you make it multilingual?
  • What do you think about update for this?
  • Hello masterbig,

    This software is already responsive.

    Regards,

    Alexandru P.

    Hi, just install your script but the picture on the top left of the location is broken… Can you help me? ( http://www.vortak.org )

    It’s working nice update thank you

    Hello, on the left of the panel of the script the temperature is still 0 and the humidity is not showing. Regards

    Hello shubnigg,

    There’s currently an issue with the OpenWeatherMap API, the developers are working to fix this issue.

    Regards,

    Alexandru P.

    by
    by
    by
    by
    by
    by