[Map Module] 0.4.9 Bugs (No more posting in this thread!)
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
0.4.9b has been released. This thread is dead! Termite, Seems, at least in my case, 0.4.9 is broke. No map. Will keep looking. The New Admin interface is nice. |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
My 'no map' problem appears related to the 'Map Height' and 'Map Width' The Profile entries still appear as Album:... |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
The pink/white issue: I have black text so I didn't see the problem. it will obviously always look better on some theme compared to others Also for infos: I can't reproduce either the "%" thing or the "area to show on the map" issue. Do you have a link/credentials so I can take a look at those ? Thanks |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
Here are 2 template files that will force the black color inf the tables where the pink is shown See you ------------------------- |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termitenshort wrote:
...on some theme compared to others I'm using straight (I think Termitenshort wrote:
I can't reproduce either the "%" thing or the "area to show on the map" issue. Do you have a link/credentials so I can take a look at those ? % - Maybe it's just me. I'll keep looking. Unfortunately, not Area - Here is some info which You may be able to use to guide //Get the list of album with GPS Item in them $map['listalbums'] = $parentsequences; foreach($map['listalbums'] as $tmp) $temp[] = implode("`",$tmp); echo "<pre>tmp";print_r($tmp);echo "</pre>"; echo "<pre>temp";print_r($temp);echo "</pre>"; The Profile entries appear in the second echo. |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
A possible thought regarding the Profile/Album: thing. I have created |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
OK. I found out the cause of my % vs px problem. In MapHeader.tpl there is: <script src="/gallery2/modules/map/GoogleMap.js" type="text/javascript"></script>
Well . . . my gallery directory is -not- named gallery2. Maybe this shoul not be a Still looking for the reason for the Profile thing. |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
galmoid wrote:
OK. I found out the cause of my % vs px problem. In MapHeader.tpl there is:<script src="/gallery2/modules/map/GoogleMap.js" type="text/javascript"></script> OOOO yeah there actually is 2 or 3 hard coded path [i]I forgot about ... I'll be fixing this |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
For the profile problem I would start looking into 2 files: map.tpl (in the block folder) is the template used to show the dropdown Let me know if that helps looking in the right direction. |
|
conorboyd
Joined: 2005-03-29
Posts: 166 |
![]() |
Just tried 0.4.9, and my gallery isn't happy at all (http://gallery.ildica.com/main.php?g2_view=map.ShowMap). No pins at all any more. I had to change the % item back to px as well. I also tried a filter on one of the albums, and it showed me a group pin, but clicking on the group pin never resulted in zooming me in until the item pins appeared. Good luck. If you need more detail, let me know. Cheers, Conor |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
conorboyd wrote:
Just tried 0.4.9, and my gallery isn't happy at all (http://gallery.ildica.com/main.php?g2_view=map.ShowMap). No pins at all any more. I had to change the % item back to px as well. I also tried a filter on one of the albums, and it showed me a group pin, but clicking on the group pin never resulted in zooming me in until the item pins appeared. I'm getting a no key valid for this website. did you change something ? |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termitenshort wrote:
For the profile problem I would start looking into 2 files: map.tpl was not interesting; but, Callbacks.inc might be. This if ((!empty($filters) and $filters != "") or (!empty($albumfilters)) or (!empty($routefilters))) { $filteroptions[0]['name'] = "Default"; $filteroptions[0]['params'] = array ( "view" => "map.ShowMap", "Group" => ""); } |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
In addition to the previous finding in Callbacks.inc . . . elseif (empty($routefilters) and empty($albumfilters)) { $filteroptions[0]['name'] = "« No Filters »"; $filteroptions[0]['params'] = ""; $filteroptions[1]['name'] = "Define..."; $filteroptions[1]['params'] = array ( "view" => "core.SiteAdmin", "subView" => "map.MapFilterAdmin"); }
Maybe these -are- correct; but, just too much for pea |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
galmoid wrote:
map.tpl was not interesting; but, Callbacks.inc might be. This That's normal. It's an array of array, the "first item" (0) has "name and "param" (default -> shows the regular map) From my propoective it really makes no sense that the list of profiles are showing up there... The list of album itself is created in the ShowMap.inc file could be where the error is. |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termitenshort wrote:
The list of album itself is created in the ShowMap.inc file could be where the error is. Maybe. Attached is a text file that is the results from placing //Get the list of album with GPS Item in them echo "<pre>parentseq";print_r($parentsequences);echo "</pre>"; $map['listalbums'] = $parentsequences; foreach($map['listalbums'] as $tmp) $temp[] = implode("`",$tmp); echo "<pre>tmp";print_r($tmp);echo "</pre>"; echo "<pre>temp";print_r($temp);echo "</pre>"; $listofalbums = implode ("`",array_unique($temp)); $temp = explode ("`",$listofalbums); $listofalbums = implode ("`",array_unique($temp)); GalleryCoreApi::setPluginParameter('module','map','albumlist',$listofalbums); //Trim the list if the "Album" filter is ON
Thank You for maintaining your patience. I recognize what a No offence meant to "peas" anywhere and everywhere. |
|
conorboyd
Joined: 2005-03-29
Posts: 166 |
![]() |
The API key should be fixed now, but I've still got the original issues. I'm also getting dodgy albums listed in the filter dropdown (including one album which appears to have a name equivalent to my API key) Cheers, C. |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
Ah, maybe that's what's happening ... garbage collection Can you try to add $temp = array();
Between Thanks ! |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termitenshort wrote:
Ah, maybe that's what's happening ... garbage collection A sweet cure! |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termite, |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
galmoid wrote:
Termite, Yep. I tried to put a dark bl;ue pack and I got the same "problem" I soved it with the .tpl files I enclosed above. Are those working for you ? |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
BTW, conorboy the problem with funky filterlist would be corrected with the fix aboce ("garbage collection") |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termitenshort wrote:
Yep. I tried to put a dark blue pack and I got the same "problem" I soved it with the .tpl files I enclosed above. Are those working for you ? They do solve the pink background; although, black on dark blue |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
Hello guys, Please try the new release http://prdownloads.sourceforge.net/gmap-module/map-module-0.4.9b.zip?download I should have those bugs fixed in it Thanks for your help debugging! |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
galmoid wrote:
You just can't win. ;-) Next release will win I'm going to extend the use of the CSS file and you will then be able to change it right there to what you like best (or what you see best) |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termite, Great! Everybody else... When upgrading -Be sure to alter the permissions or owner of the map/images/groups directory This is just a friendly reminder from a fellow "pea". |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
galmoid wrote:
T Actually building on the idea, just later permissions on map/images/ that will take care of markers, group and "multi" uploads and creations |
|
eduo
Joined: 2003-09-10
Posts: 107 |
![]() |
Termiten, I tried today updating to the latest nightly snapshot (Had older version of EXIF module) so I could install the map module and themes. Now I get an error about incompatibiliries between the Module, Core and Theme APIs used by G2 and the ones used by the module and the theme. Is there a new version of the APIs that needs to be adopted by your module and your theme? If you say yes I can stop pulling my hair Eduo |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
eduo wrote:
Termiten, The lastest nightly snapshot uses a different module API with wich the current module isn't compatible. you will not be able to make it work. Once Gallery 2.1 is final we will work on finalizing the module compatible with this new api. There is quite a bit of thing to change in the module and We just haven't got around to it. If you wish to use 0.4.9b you will have to go back to Gallery version 2.0.2 sorry for the incovenience Termite |
|
eduo
Joined: 2003-09-10
Posts: 107 |
![]() |
Incredible. This is just my luck. Ha! I just go and install a nightly snapshot for the first time in four years or so and I happen to hit an API version change. And one affecting exactly the Module I wanted to try. I should've done the "modifying the EXIF module manually". That'd been much easier. I'll see about going back to 2.0.2 and modifying EXIF module manually, though. Unless the changes to the Map Module are not complicated and I could do them myself. I wasn't even aware of the API change, so it may take a while, though. I do understand your reluctance on releasing a new version of the module as it may not be backwards compatible, though. Count on me if you want to test it with the new APIs. One question: I've seen that it's possible to trace routes in the map. I can't use it so I can't know for sure but is it possible to trace a route independently of the photos in the route? That is, could I trace an exact route through a lot of streets even if there are only few photos to include in said route? I was under the impression that the points connecting a route had to be photos themselves. Eduo |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
eduo wrote:
Incredible. This is just my luck. Ha! I just go and install a nightly snapshot for the first time in four years or so and I happen to hit an API version change. And one affecting exactly the Module I wanted to try. I had the same issue as well a few weeks back ... eduo wrote:
I should've done the "modifying the EXIF module manually". That'd been much easier. yes, that would be true eduo wrote:
I'll see about going back to 2.0.2 and modifying EXIF module manually, though. Unless the changes to the Map Module are not complicated and I could do them myself. Trust me it's easier to go back ;) It's going to be taking quite some time to do all the modification for the module to work on the new API. I have made it easier with the latest cleanup but still going to be chalenging eduo wrote:
I do understand your reluctance on releasing a new version of the module as it may not be backwards compatible, though. Count on me if you want to test it with the new APIs. yes, the 2 API are not compatible. It's either one or the other eduo wrote:
One question: I've seen that it's possible to trace routes in the map. I can't use it so I can't know for sure but is it possible to trace a route independently of the photos in the route? That is, could I trace an exact route through a lot of streets even if there are only few photos to include in said route? I was under the impression that the points connecting a route had to be photos themselves. For now, yes. It's on my plate to get ot to trace random (or manual" routes) using GPX tracklogs or simply map input. I have had good success with the first but haven't started the later. Someday all will be well :D See you |
|
seehundnz
![]()
Joined: 2003-02-03
Posts: 34 |
![]() |
hi all! any ideas on how to get the blocks back? seehundnz :wink: |
|
seehundnz
![]()
Joined: 2003-02-03
Posts: 34 |
![]() |
sorry guys... false alarm! seehundnz |
|
eduo
Joined: 2003-09-10
Posts: 107 |
![]() |
Termite: No luck. I thought I had a backup but upon reloading everything (including a backed up version of the whole database) I get messages about the core being in the wrong version. So I'm stuck with 2.1 which is a bummer as one of the modules is being used in my blog (WPG2) and isn't compatible. I know, I know, the fault is all mine. BTW, I meant tracing a route not unlike the way it's done in Gpedometer (these two routes are from actual trips, and I have dozens of photos along the routes): Interestingly the site can also export to GPX anyway, so that's alright, I guess Eduo, back to a conflicting Wordpress/Gallery2 installation and no way to go back! |
|
conorboyd
Joined: 2005-03-29
Posts: 166 |
![]() |
0.4.9b fixes the issues I had, Termite, thanks. Will let you know if I encounter any others. Cheers, Conor |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
seehundnz wrote:
sorry guys... false alarm! Nope this is a bug and should be filed :wink:. I have to look into that I recall having the issue once but I haven't be able to reproduce it ever since. It must be something very simple. I'll find it PLx post a bug if you have time :D |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
conorboyd wrote:
0.4.9b fixes the issues I had, Termite, thanks. Now that's good news |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
eduo wrote:
Termite: I'm not an expert but it doesn't sound good eduo wrote:
So I'm stuck with 2.1 which is a bummer as one of the modules is being used in my blog (WPG2) and isn't compatible. Well, there is not warning either ... once it's done you're done :D. I managed to get my installation back but it wasn't an easy task .... It's kinda like blow away the all thing and start fresh plus restore some of the information on the database so you don't have to re-type everything eduo wrote:
BTW, I meant tracing a route not unlike the way it's done in Gpedometer (these two routes are from actual trips, and I have dozens of photos along the routes): I don't really understand how the site operates, sometimes I get a marker when I click, somethime not.... Well I guess the idea would be to be able to have "points" in the route that do not necessarely belong to a "item". Kinda like a blank marker on the map that could be added to the route ... Sounds a bit tricky but do-able. maybe yet another feature request .... (on sf.net Man we'll never be done. |
|
Termitenshort
![]()
Joined: 2005-10-09
Posts: 1894 |
![]() |
One last message for this thread and I'm gonna put the blame on the original creator of this topic In the future, to avoid confusion, please only create 1 thread for 1 problem and post in it if you experience the same or intend to help fixing it When a new post is created a little more desciption in the title will also prevent multi-topic threads ;) It's just easier to keep track and find problems when 1 problem = 1 thread = 1 solution Thanks ! |
|
galmoid
Joined: 2005-11-07
Posts: 364 |
![]() |
Termite, Sorry 'bout that. Live and learn. Ha Ha . . . I get the last message. ;-) No More Posting! This Thread Is Dead! |
|