Page 1 of 1

[DEV] jQ User Weather v.0.0.2

Posted: 19 Aug 2012, 00:07
by 4seven
jQ User Weather

MOD-Title: jQ User Weather
MOD-Version: 0.0.2
MOD-Author: 4seven / BNa

Credits:
- Sebastian Gollus for script base of google weather api
- Googlecode for googlemap and geocode from api 3
- Inspired by this topic

phpBB-Version: phpBB 3.0.x
phpBB-Languages: en
phpBB-Styles: prosilver

MOD-Description: Current user weather with 3 day forecast in profile

Features:
- JQ Weather preview from google weather api
- Optional Weather Locations Map with streetview (api v3)
- Uses native phpbb3 CPF to setup
- Cached weather results, so less load for your board and google service
- Auto Cache delete and optional F/°C display
- Changeable geocode provider
- Optional weather forecast language (de, en, fr, etc.)
- Works with jQ User Map api3
- xhtml 1.0 strict valid
- Easy install

Planned:
- ?

MOD-Demo:
test account: http://www.4seven.de/forum/1/memberlist ... ofile&u=53
un: tester / pw: tester (just go to ucp > profile, setup 'User Weather Location' and watch your profile after that)
other account: http://www.4seven.de/forum/1/memberlist ... rofile&u=2

Download: v.0.0.1 http://www.4seven.de/forum/6test/viewto ... ?f=3&t=106
Download: v.0.0.2 http://www.4seven.de/forum/6test/viewto ... ?f=3&t=106

Image

Image

Changes in v.0.0.2
  • fixing sql error caused by unneeded geocode requests (background > counts also for user weather v.0.0.1)
  • new error-prevent and request-sparing to prevent blacklisting
  • alternativ geocode provider as failover
Note: You must add the named custom profile field before mod install

Basic Instruction: http://www.4seven.de/forum/6test/viewto ... p=281#p281

[DEV] jQ User Weather v.0.0.2

Posted: 19 Aug 2012, 00:08
by 4seven
v.0.0.3 preview

** Demo: http://www.4seven.de/forum/1/ucp.php?mode=register - Feel free to check it out. Failure message comes, if something is wrong. If all is proper a map preview appears. All this stuff work without site reload.

[DEV] jQ User Weather v.0.0.2

Posted: 28 Aug 2012, 11:57
by 4seven
Announcement

Because of stopping google weather service (igoogle) for public access v.0.0.3 will completely rebuild

If you try to access the google weather service.
http://www.google.com/ig/api?weather=Brooklyn

Google
Sorry...
We're sorry...

... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
See Google Help for more information.
Google Weather API not working properly since August 7th, affects iGoogle.
https://groups.google.com/forum/?fromgr ... CjkWgifejE

Google Weather API 403 Error
http://stackoverflow.com/questions/1187 ... 403-error/
Message:
Unfortunately fresh browser doesn't seem to work. The issue is, the service itself was never intended to be used outside of the Weather Widget iGoogle used. Due to a number of factors, including iGoogle being slowly phased out, I'm not surprised that we are having performance issues. I will post up my code for the Yahoo API in the next day or two. But I don't think any of us are really going to see an end to the issues, regardless of browser state. – mitchzirra Aug 17 at 14:00
A brandnew and fidus API is now in [DEV] and transfered to demo and it works also with cached result as v.0.0.1 - v.0.0.2
click any member: http://www.4seven.de/forum/1/memberlist.php
eg: http://www.4seven.de/forum/1/memberlist ... ofile&u=53

Later i make an optical polish, but it works for now.

[DEV] jQ User Weather v.0.0.2

Posted: 05 Sep 2012, 12:38
by all4phone
I tried this link: http://www.4seven.de/forum/1/memberlist.php
and I think you have a small mistake in the memberlist_body.html file.
(try serch for the user that doesn't exist)
Probably came when you added the "Avatar" column to memberlist:
-->5<!-- ELSE -->4<!-- ENDIF -->
1.JPG
I'm sorry if I am mistaken, forgive me OT also.

Good luck in development of jQ User Weather, great mod :thumb:
best regards.

[DEV] jQ User Weather v.0.0.2

Posted: 05 Sep 2012, 22:08
by 4seven
First, thanks. Second, i thought this was standard behaviour :?

[DEV] jQ User Weather v.0.0.2

Posted: 06 Sep 2012, 08:45
by all4phone
Not really, when you add a new column to table (eg. to memberlist), then you need to take this into consideration. I think you need to change these values (or similar) to higher by one stage:
-->5<!-- ELSE -->4<!-- ENDIF --> ​​somewhere on the bottom of the memberlist_body.html file. Then the last column should be displayed correctly :)

[DEV] jQ User Weather v.0.0.2

Posted: 17 Oct 2012, 22:50
by 4seven
We come a bit further. Demo is updated , eg.
http://www.4seven.de/forum/1/memberlist ... ofile&u=62

Now it have an additional weather overlay in memberlist_view on 'User Weather Location' Map as further service to the weather forecast. This works also, if a forecast is impossible, means, if no forecast data is present, but google maps display current weather.The code and caching was optimized again. Later comes a setting for Fahrenheit or Celsius, etc.

[DEV] jQ User Weather v.0.0.2

Posted: 01 Apr 2013, 23:23
by 4seven
[DEV] of v.0.0.3 is now completely fixed and optimized.
http://www.4seven.de/forum/1/memberlist ... ofile&u=67
Also over some months we've tested the new engine with 0 errors.
The caching system is performant with minimum requests.

Feel free to check out the updated demo
http://www.4seven.de/forum/1/memberlist ... ofile&u=67
or just jump via rightclick on username label in jQUser Map to profiles
http://www.4seven.de/forum/1/user_weather/user_map.php

Timeline until release is ~summer/this year