[RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [ALPHA] phpBB Geo Topics 0.3.0 (Google & Yandex Maps)

Post by ostridm » Mon Oct 01, 2012 8:28 pm


ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [DEV] phpBB Geo Topics

Post by ostridm » Tue Oct 02, 2012 8:57 am

emosbat wrote: yes. here is it
http://www.bing.com/maps/
looked trough their AJAX API. So answer is yes - its possible

But, MS insists on map key registration, meanwhile both Google & Yandex dropped their key requests. I've registered twice to obtain at first LiveID and then map key. But they didn't sent me e-mail. So i'am unhappy with Bing.

Which feature do you really like on Bing maps?

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.5.1 (Google & Yandex Maps)

Post by ostridm » Tue Oct 02, 2012 7:33 pm

bump. new version 0.5.1, now it is BETA http://vpoime.net/geo/viewtopic.php?f=9&t=94

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.5.1 (Google & Yandex Maps)

Post by ostridm » Thu Oct 04, 2012 5:59 am

situation with bing is getting better here is the demo http://vpoime.net/geo/viewforum.php?f=2

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by ostridm » Fri Oct 05, 2012 8:40 am

new version 0.6.0,
added Bing
added OSM
http://vpoime.net/geo/viewtopic.php?f=9&t=95

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by emosbat » Fri Oct 05, 2012 10:01 am

ostridm wrote:new version 0.6.0,
added Bing
nice :D

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [ALPHA] phpBB Geo Topics 0.3.0 (Google & Yandex Maps)

Post by leschek » Sat Oct 06, 2012 5:15 pm

leschek wrote:4. I thought about some new features I would like to see in this awesome MOD, if I can make request.
ostridm wrote: 4) of course. i like your ideas.
;)
Sorry I was busy last few days, but now I updated MOD to version 0.6 and during installation I run into this problem (phpBB 3.0.10 or 3.0.11 installed on localhost - same error on both versions):

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/umil/umil.php on line 1218: Undefined index: auth
here are lines 1215 to 1221 from the file:

Code: Select all

1215						'module_basename'	=> $basename,
1216						'module_langname'	=> $module_info['title'],
1217						'module_mode'		=> $mode,
1218						'module_auth'		=> $module_info['auth'],
1219						'module_display'	=> (isset($module_info['display'])) ? $module_info['display'] : true,
1220						'before'			=> (isset($module_info['before'])) ? $module_info['before'] : false,
1221						'after'				=> (isset($module_info['after'])) ? $module_info['after'] : false,
I didn't see the result of installation so I run installer again. It offered me uninstall MOD so I click on it to do it and it looks like the installer didn't install two columns:

Code: Select all

ERROR: The column ymsm_zoom does not exist on table phpbb3_forums.
ERROR: The column ymsm_ico does not exist on table phpbb3_topics.
I ran installer again and get the same "Undefined index: auth" error as first time.

I started to translate the MOD and found file with permissions, but I didn't find any permission for this MOD the in ACP (I guess that's because of the error above, or will there be new features in next version?)

Here are some ideas for new functions

1. Names for points - Now the points get the names from the topics, but sometimes the topic title isn't best name for a point. Or maybe leave names of points as they are and make descriptions for the points (if user put mouse over, they will see it).

2. Linking to the points - you can write something like "I like the place you wrote about, but [point_BBCode]this place[/point_BBCode] is thousands times better.

3. Multiple points - I guess it would be nice if user can add more than one point to topic. Lets say I write topic about city and want to show to users where are nice restaurants, historical places etc. With one point I can only show centre of a city I'm writing about, but with more points I can show exactly where the places are. I guess it would be nice to combine it with previous option. (I also would like to create the points in replies, but maybe it's already implemented - permissions I can't find).

4. Displayed points first - wouldn't be nice to have in blue side-panel first group of points that are displayed on map and then rest of the points?

5. Link to map in forum settings (and in main MOD settings in ACP) to make easier to find coordinates for map

6. GPS tracks - I think I wrote about it before.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [ALPHA] phpBB Geo Topics 0.3.0 (Google & Yandex Maps)

Post by ostridm » Sat Oct 06, 2012 6:27 pm

hi leschek

as to error

did you install it to clean or to pre-modded forum?

wrong auth.
I test both update and clean install but did not see this error. Have you had newest UMIL? I will look through to auth settings in installer. The hardest thing is to reproduce on my localhost. may be i'll ask you to send me the dump and scripts if the next version will hot fix it.

columns error
Both columns are deprecated and you may consider your install successful.

permisions
I've introduced a couple the first to prevent new users from ability to specify POI coords and thus pin topic to the map and the second for global moderators to change POI info. for instance Queue Moderator does not have this permissions. But this is defaults - you can manage.

transalation
I'm going to re-work lang files and constants so i will say when it is better to start translation.

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by leschek » Sat Oct 06, 2012 6:38 pm

error: I tried to install it on fresh forum without any mods. It was installed with QiuckInstall and updated to 3.0.11. I don't know if I used the last version of UMIL, because I get it from another MOD I downloaded a few days ago (new version of the MOD so I guess it's quite new version). I will try to reinstall the MOD on live testing forum and I will let you know if there are any errors.

Permissions: I can't find them in ACP - I looked into user/groups permissions and to forum permissions too.

Translation: no problem, I just started.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by ostridm » Sat Oct 06, 2012 6:50 pm

The first of all - i care about the board performance. I run my own board with 15K users 12K topics 330K posts.

So

A small introduction about MODs data structures:

MOD uses TOPICS_TABLE to store POI info
MOD uses FORUMS_TABLE to store map defaults (per froum)
MOD does not use POSTS_TABLE to store anything

My consideration is:
both TOPICS and FORUM are very small in comparison with POSTS table by the size (affects ability of SQL to cache it) and record count. So the load of SQL introduced by the MOD is not as significant as it can be if POI are placed to the POSTS. For the moment MOD introduces just one very light SQL query to FORUMS table and yet another to TOPICS for map content. Again both queries are lightweight in comparison to POSTS.


leschek wrote: 1. Names for points - Now the points get the names from the topics, but sometimes the topic title isn't best name for a point. Or maybe leave names of points as they are and make descriptions for the points (if user put mouse over, they will see it).
This is possible, to show some extra info in balloon window. For now this is a big question where to store this info... it is definitely should be in extra table. I thought about it but for i do not like to introduce the mod own tables.

leschek wrote: 2. Linking to the points - you can write something like "I like the place you wrote about, but [point_BBCode]this place[/point_BBCode] is thousands times better.
Ok but it will requre input of topic or post id either.
leschek wrote: 3. Multiple points - I guess it would be nice if user can add more than one point to topic. Lets say I write topic about city and want to show to users where are nice restaurants, historical places etc. With one point I can only show centre of a city I'm writing about, but with more points I can show exactly where the places are. I guess it would be nice to combine it with previous option. (I also would like to create the points in replies, but maybe it's already implemented - permissions I can't find).
No. not implemented. I'm still thinking about i will have to rise load (SQL & PHP) this is not very good. May be if there will be POI in replies MOD will show them in viewtopic script only.
leschek wrote: 4. Displayed points first - wouldn't be nice to have in blue side-panel first group of points that are displayed on map and then rest of the points?
We can easily kill user browser with 5K of point i believe so I try to limit the quantity of points are being displayed. So this list must be logically bound to something.
leschek wrote: 5. Link to map in forum settings (and in main MOD settings in ACP) to make easier to find coordinates for
map
Ok
leschek wrote: 6. GPS tracks - I think I wrote about it before.
Yes I've seen. It is interesting. I'm afraid it would be possible only if you will fix Maps API to only one provider for the whole site. I haven't investigated the formats and API but it is my thoughts.


thank you again.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by ostridm » Sat Oct 06, 2012 7:00 pm

leschek wrote: Permissions: I can't find them in ACP - I looked into user/groups permissions and to forum permissions too.
will appear in the next verson

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by leschek » Sat Oct 06, 2012 10:09 pm

leschek wrote:error: ....... I will try to reinstall the MOD on live testing forum and I will let you know if there are any errors.
I installed it on live forum and I didn't have any problem, so it's working now. I guess I didn't use the newest UMIL.
ostridm wrote:
leschek wrote:3. Multiple points - I guess it would be nice if user can add more than one point to topic. Lets say I write topic about city and want to show to users where are nice restaurants, historical places etc. With one point I can only show centre of a city I'm writing about, but with more points I can show exactly where the places are. I guess it would be nice to combine it with previous option. (I also would like to create the points in replies, but maybe it's already implemented - permissions I can't find).
No. not implemented. I'm still thinking about i will have to rise load (SQL & PHP) this is not very good. May be if there will be POI in replies MOD will show them in viewtopic script only.
Well I'm not coder, I just think from an user point about features I would like to see in this MOD. Would it be the same problem with script load to add another POIs from main page (board geography) of the MOD (only for those who will have permissions)? And then just link to them in post with BBCode or somehow, so after click on link it will open map with that POI.

Also, in ACP can be switch to allow create POIs in posts - admin can decide if he/she wants it or not.
ostridm wrote:
leschek wrote:6. GPS tracks - I think I wrote about it before.
Yes I've seen. It is interesting. I'm afraid it would be possible only if you will fix Maps API to only one provider for the whole site. I haven't investigated the formats and API but it is my thoughts.
Right now I start to use BBCode to show tracks on Google map. I create track on my Google map account and link to it with BBCode. You can see how it looks here (there is lot of photos, so page loads bit longer - map is on the bottom of linked post.). It would be awesome if I can link the tracks (maybe tracks I created in Google or other provider) into map on the top of topic (of course it would be better if I just can add the track in topic).

I look forward to the new version and thank you for great support.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [BETA] phpBB Geo Topics 0.6.0 - Google | Bing | Yandex M

Post by ostridm » Sun Oct 07, 2012 12:27 pm

new version

[0.7.5]
[add] - ability to set POI in replies, these POIs are visible at viewtopic script only
[add] - permissions management for admins (settings) moderators (POI info in posts|replies) users (POI info in posts|replies)
[add] - position finder in forum admin

http://www.krasnogorie.net/geo/viewtopi ... 6&p=98#p98
Last edited by ostridm on Mon Oct 08, 2012 8:57 am, edited 1 time in total.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC1] phpBB Geo Topics 0.8.1 - Google | Bing | Yandex |

Post by ostridm » Mon Oct 08, 2012 6:58 am

bump
new version http://www.krasnogorie.net/geo/viewtopic.php?p=100#p100

status raised to RC1, feature freeze up to 1.0.0

Please report bugs here. Please do not hesitate to provide your feedback or proposals for features for the versions after 1.0.0.

ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC1] phpBB Geo Topics 0.8.1 - Google | Bing | Yandex |

Post by ostridm » Mon Oct 08, 2012 9:02 am


Locked

Return to “[3.0.x] MODs in Development”