This author's response time can be up to 2 business days.
I think http://weather.service.msn.com/ is not working anymore, are there any other services we can use?
Hi Alexandru, I get suddenly empty array when using ’$url = ‘http://weather.service.msn.com/data.aspx?weadegreetype=F&culture=nl-NL&weasearchstr='.$city;'
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'.
The software works just fine as you can see on the live demo: http://weather2.pricop.info/
Got it working again! Added ‘&src=outlook’ to url
Hi, how to upgrade without change all website? what is the new updated files?
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.
Ok, but I need to upgrade? if I do not update it work anyway?
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.
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
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.
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?
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.
Hi Pricop what files need updating to migrate to the new API?
/sources/welcome.php; /includes/functions.php; and the images folder.
replaced but page came up blank when i replaced welcome.php
From which version did you upgraded?
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.
In this new version.. How I change the language?
Go to /sources/welcome.php
$weather_current = $weather->get($city, 0, 0, null, null);
$weather_forecast = $weather->get($city, 1, 0, 5, null);
$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
I not need the database.
How I desactive the mysql?
If you don’t need the database, then you need to rewrite the code so that it does not use the database.
- 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)?
- 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
how to i offer a 16 day forecast instead of 5? plus other openweatherapi features?
You need to code those functions in order to be available.
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
do i need to edit?
$TMPL[‘title’] = $resultSettings0;
and friendli url is posible?
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.
Hello Pricop. how can change friendli url? htacces code?
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.
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.
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.
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?
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.
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.
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?
The software uses OpenWeatherMap API. There’s no live preview of the admin panel as there’s nothing to preview about it.
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.
It gets the data directly from OpenWeatherMap, it does not depend on any other website.
Thank you for the clarification, I misunderstood by reading the API documentation and thought it was getting the data from your website.
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?
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.
messaged you m8
Hello, nice script.
This software is already responsive.
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 )
I will investigate this and if needed issue an update.
Hello did you find a solution???
It seems that Google now requires an API key and has limited the API usage to only 25,000 requests/month for free, anything extra would need to be paid. Currently I’m looking for alternatives.
Hello how can I use my own key???
I try this but it’s not working in your script:
Remove the = sign after the my-own-key so it appears like this:
And also make sure you have a valid Google Static Maps API key.
P.S. The latest version does not require a key, simply update your /skin/wrapper.html file.
Hi, the last ’=’ after My-own-key was the last sign of my key I have forget to remove… But anyway this line is not working
Waiting for your last version.
My last version is already available, feel free to download the product again.
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
There’s currently an issue with the OpenWeatherMap API, the developers are working to fix this issue.
This script saves the data in a database?
Any of your other apps have that feature?
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $3