None of my mods, wherever you find them, are abandoned.
All of them are in developement, even if i am not active on phpbb.com.

[DEV] jQ User Weather v.0.0.2 (update)

[DEV] 3.0.* Mod Base

[DEV] jQ User Weather v.0.0.2 (update)

Postby Sekuro » 23 Nov 2011, 15:28

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://4seven.bplaced.net/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://4seven.bplaced.net/forum/1/memberlist ... rofile&u=2

Download: v.0.0.1
jQ_User_Weather_v.0.0.1.zip
(153.12 KiB) Downloaded 378 times

Download: v.0.0.2
jQ_User_Weather_v.0.0.2.zip
(155.64 KiB) Downloaded 399 times

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: viewtopic.php?p=281#p281
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



jQ User Weather / Basic Instruction

Postby Sekuro » 03 Mar 2012, 02:40

Basic Instruction for jQ User Weather

Note: You must do this before mod install

1. Make a Custom Profile Field (CPF) with following exact entrys and settings (exclusive language relevant entrys)

1_weather.png

2_map_weather.png


    ACP

    USERS AND GROUPS

    Custom profile fields

    ADD a new CPF

    Therefore enter user_map_weather in the textfield, add [Single text field] and click [Create new field]

    The main settings should look like that:

    Edit profile field

    Field type: Single text field

    Field identification: user_map_weather

    Publicly display profile field: Yes

    Visibility options

    Display in user control panel: Yes

    Display on registration screen: Your choice

    Display on viewtopic screen: Your choice

    Required field: Your choice

    Hide profile field: Your choice

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

    Language specific options [en]

    Field name/title presented to the user: User Weather / User Map Location

    Field description: Enter Your location without foreign signs. So write Sao Paulo instead of São Paulo. If a town exists two times or more, enter also the state, eg. 'Berlin Vermont', after a blank. You can also use complete address with zip code eg. '67 Cherry Street Burlington VT 05401' or a part of (if unique in the world). Each part of full address seperate with a blank.

    Default value: Empty

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

    Click [Profile type specific options]

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

    Profile type specific options

    Length of input box: 50

    Minimum number of characters: 0

    Maximum number of characters: 50

    Field validation: Alphanumeric and spacers

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

    Click [Save]

    Deactivate the CPF field

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


2. Check also these settings in ACP to make all work properly

    ACP

    GENERAL

    SERVER CONFIGURATION

    Load Settings

    Custom profile fields

    Allow styles to display custom profile fields in memberlist: Your choice

    Display custom profile fields in user profiles: Yes

    Display custom profile fields on topic pages: Your choice


3. Install the mod

4. Activate the CPF field

5. Deactivate the CPF field again

6. Activate the CPF field again
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



[DEV] jQ User Weather everywhere v.0.0.1

Postby Sekuro » 03 Mar 2012, 23:51

jQ User Weather everywhere

MOD-Title: jQ User Weather
MOD-Version: 0.0.1
MOD-Author: 4seven

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:
- Board III Portal jQ User Weather everywhere addition requested here by Peter77sx
- Screen: http://www.loaditup.de/files/687197_fvwfr6fx5z.png
- 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
- Optional weather forecast language (de, en, fr, etc.)
- Works with jQ User Map api3
- xhtml 1.0 strict valid
- Easy install

Planned:
- ?

MOD-Demo: http://4seven.bplaced.net/forum/1/portal.php (see first post in [DEV] Topic for login data)

Download:
jQ_User_Weather_everywhere_v.0.0.1.zip
(153.41 KiB) Downloaded 320 times

Note: for an Update to v.0.0.2 of this everywhere version, make the changes mentioned in v.0.0.2 update of main mod.

Image

Image

Note: You must add the named custom profile field before mod install

Basic Instruction: viewtopic.php?p=281#p281
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



[DEV] jQ User Weather v.0.0.2 released

Postby Sekuro » 11 Jul 2012, 22:21

v.0.0.2 released

see first post for further details

Fixing/Changes

  • 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
Update Instruction

  • Download v.0.0.2 package
open

includes/functions_user_map.php

Set geocode provider > default: google

Code: Select all
// GOOGLE API
// Google Basic Api
$google_api = true;

// OPEN API
// Mapquestapi Nominatim Api
$nomina_api = false;

// OPEN API
// Mapquestapi Geocoding Api
$geocod_api = false;


  • Upload new version of

    includes/functions_user_map.php
  • Check edits in

    language/en/common.php
    includes/acp/acp_users.php
    includes/ucp/ucp_profile
  • Clear all caches
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ User Weather v.0.0.2

Postby Sekuro » 12 Jul 2012, 21:08

v.0.0.3 preview

  • adding location check on registration (if set this way in acp)
  • adding switchable overlay section: weather, clouds like in jq User Map since v.0.0.2
    viewtopic.php?f=3&t=109#p332
    (see jq User Map demo to check this feature)
  • some finetuning
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ User Weather v.0.0.2 (update)

Postby Sekuro » 28 Aug 2012, 10:59

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://4seven.bplaced.net/forum/1/memberlist.php
eg: http://4seven.bplaced.net/forum/1/memberlist ... ofile&u=53

Later i make an optical polish, but it works for now
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ User Weather v.0.0.2 (update)

Postby Sekuro » 17 Oct 2012, 21:53

We come a bit further. Demo is updated , eg.
http://4seven.bplaced.net/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.
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ User Weather v.0.0.2 (update)

Postby Sekuro » 01 Apr 2013, 01:17

[DEV] of v.0.0.3 is now completely fixed and optimized.
http://4seven.bplaced.net/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://4seven.bplaced.net/forum/1/memberlist ... ofile&u=67 **
or just jump via rightclick on username label in jQUser Map to profiles
http://4seven.bplaced.net/forum/1/user_weather/user_map.php

** May refresh the site (F5), if nothing appears, because of caching ;)

Timeline until release is ~spring/next year
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ User Weather v.0.0.2 (update)

Postby Sekuro » 26 Sep 2013, 02:21

    [DEV] goes on

  • Correctings to new WWO API

http://4seven.bplaced.net/forum/1/memberlist.php (click on a member to check)
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Return to phpbb 3.0.* St@ff

Who is online

Users browsing this forum: No registered users and 1 guest

cron