Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 [3] 4 5 6 7 ... 15   Go Down

Author Topic: Google Map in Coppermine Gallery, version 2 (of mod and api)  (Read 326207 times)

0 Members and 2 Guests are viewing this topic.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #40 on: May 31, 2006, 05:59:57 pm »

I've updated the mod to allow for filtering of different album views. This would be helpful for people who have a lot of individual markers and would like to have more choices in the views that they can present. To find the code edits on the first page, look for the notes dated 2006-05-31
Logged

tibu

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 59
    • Creative Foto Solutions
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #41 on: June 01, 2006, 01:34:22 pm »

I've updated the mod to allow for filtering of different album views. This would be helpful for people who have a lot of individual markers and would like to have more choices in the views that they can present. To find the code edits on the first page, look for the notes dated 2006-05-31

Thanks! Excellent work! Something cool that happened on my site, is if you have the hack for category themes installed (http://forum.coppermine-gallery.net/index.php?PHPSESSID=af4d2a1c179f90ebea8fce6e8d5bcbd4&topic=25471.0
) when you switch the drop-down to display photos from a specific album, it will use that albums theme on the map page. COOL! To see it: http://pics.myfotoguy.com login: guest Pass: guest1968

One thing to be aware of, some themes are narrower than what the map requires, so the map section may extend past the theme border a little bit.

Tranz, I borrowed some text from your site for my private categories, I hope that's okay with you.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #42 on: June 01, 2006, 02:55:06 pm »

Thanks! Excellent work! Something cool that happened on my site, is if you have the hack for category themes installed when you switch the drop-down to display photos from a specific album, it will use that albums theme on the map page. COOL!
Wow! That is really cool! There is so much potential in that. People can have themes for holidays, locations, events... so much potential.

As for the issue with narrow themes, one of my things to do is enable the map width to be more dynamic.

BTW, I got an error here: http://www.creativefotosolutions.com/coppermine/maps.php?view=albums. I ran update.php to try to fix it but one of the update.sql lines isn't there. The map is looking for the album table's latitude and longitude columns.
Logged

tibu

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 59
    • Creative Foto Solutions
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #43 on: June 01, 2006, 05:42:46 pm »

Thanks for the headsup on the missing SQL, I will get that taken care of.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #44 on: June 02, 2006, 07:06:57 am »

One thing to be aware of, some themes are narrower than what the map requires, so the map section may extend past the theme border a little bit.
After seeing that it would actually be useful to have the map size be dynamic, and finding that it was possible, I've posted the changes to the code. The changes are annotated 2006-06-01. Thanks for the inspiration. I see you have adjusted the width to accommodate the map in the different themes. :)
Logged

Dr Preacox

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 122
  • Is the Matrix...
    • Dynamic Creations
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #45 on: June 02, 2006, 08:44:04 am »

Seems like a damn good mod, saw it on your site, works really well. I dont currently have a use for it tho :(
« Last Edit: June 07, 2006, 09:50:28 am by Dr Preacox »
Logged
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

9re9

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #46 on: June 04, 2006, 02:39:50 pm »

TranzNDance, once again, excellent work on this mod.

I've modified my editpics.php document, but I'm getting a Google Maps API error.  It's telling me that the API is not registered for my site.  I'm only getting this error on the editpics.php page, and the API is working fine on all of my other pages. 

Any thoughts about what might be causing this?

Thanks.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #47 on: June 04, 2006, 03:12:29 pm »

TranzNDance, once again, excellent work on this mod.

I've modified my editpics.php document, but I'm getting a Google Maps API error.  It's telling me that the API is not registered for my site.  I'm only getting this error on the editpics.php page, and the API is working fine on all of my other pages. 

Any thoughts about what might be causing this?

Thanks.
Please double-check the changes. If you still have that issue, rename a copy of editpics.php as editpics.txt and attach it to your next post.
Logged

danibo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • boschungfoto
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #48 on: June 07, 2006, 08:43:32 am »

Hallo

congratulation to this Google Map Mod in Coppermine.
As a Mountainbiker I sychronise my pictures with the data from my GPS. For this I use the program RoboGEO which adds the latidude and longitude informations to the exif-file of the picture. Would it be possible to import this exif information directly with coppermine and display with Google Map Mod?

If you want I could e-mail you some pictures examples with the integrated Exif-Informations.

Am I right that Google Map in Coppermine is a not easy to install modification which needs some tuning and not just a unzip and easy running pluglin

Thanks
daniel
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #49 on: June 07, 2006, 04:30:00 pm »

Sure, please attach a couple of those photos to your next post.

No, it's not a plugin. The instructions are on the first page of this thread. It takes time, but I don't think copy and pasting is hard. You won't need to edit the code since settings are in Config.
Logged

merlin6666

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #50 on: June 21, 2006, 09:51:13 pm »

Hi TranzNDance,

thank you for this nice MOD.  :)

I have included all the modification code and its working well on my side http://www.codefree24.de/gallery/displaymap.php
But i have one small problem with the theme blackbirch, if the popup-window appears in the map, i see only white text on white background :-((. I tried many color code changes in style.css, but unfortunately i am not a php specialist to solve this problem.
I hope someone can help me.

Cheers
merlin6666 
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #51 on: June 22, 2006, 06:59:30 am »

For .infowindow, add:
Code: [Select]
color:black;
or whatever color you want.
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #52 on: July 18, 2006, 01:52:26 pm »

Hello TranzNDance

I have a big problem with all this:

story >>>
1 year ago I used Coppermine for the Gallery of my Student Union
This year I am in China and I'll move to Spain. I wanted show my pictures and located them on Google Map to explain much more precisely the stuffs I have seen.
I was not aware that coppermine cool dot this
I turn to Gallery2 but my provider (damn him), allows 10Go of storage but I cannot install Gallery2
I looked deep into internet and there is just you script that allows a private gallery (not on flickr for example), and giving me what I want to do

I have done once all your explainations!
Worked right just for editpics.php... there everything fine, I could double-click and get the long/lat

all the other places where the map could be need: displayimage.php etc... nada, nothing, rien !
even on my general map (locations_map.php for you) is not working...
I just see the Google Logo, the bar for the zoom and the arrows for the N/S/E/W...


I am really get nervious at the moment because already the internet connection in China does not help me with all the disconnection...
and now I am pretty sure I did everything as you explained...
and it is not working as it should !!!

And another point,
instead of doing it with "copy" "past" why not give the files ?
If I understand right, any of the files we have to change for that touch the "theme" each of us use...
admin, editpics, editonepic, thumbnails, displayimage... etc... all this would be the same for everyone, right ?
just having the language php file that would be different, right ?

I am really tired... I havent sleep all night because of that thing. I want it to be right... I will have it right bt now I really need your help...
If you want I can create an "administrator" account for you, this way you'll see editpics.php and editonepic.php

meanwhile http://yourbde.free.fr/coppermine/map.php if you understand something to this !!!

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #53 on: July 18, 2006, 03:46:54 pm »

And another point,
instead of doing it with "copy" "past" why not give the files ?
If I understand right, any of the files we have to change for that touch the "theme" each of us use...
admin, editpics, editonepic, thumbnails, displayimage... etc... all this would be the same for everyone, right ?
It's not necessarily the same for everyone since some people might use other mods/hacks. Also, the core files change as Coppermine provides version updates. I think it's easier if I don't have to provide file updates every time there is a Coppermine update.

Looking at your source file, the CSS code is commented out. When I dynamically added it with the webdev toolbar in Firefox, the map looked fine. I checked out editpics. Although I got access denied, I could still see that the source shows the CSS is commented out. Double-check the code in the master_template plugin codebase.php, if that's how you added the css. I'm guessing that is how because the map code appears before the closing body tag.
If you want I can create an "administrator" account for you, this way you'll see editpics.php and editonepic.php
If you still have trouble after addressing the CSS issue, and checking your code changes again, you can PM me an admin account.
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #54 on: July 18, 2006, 05:33:06 pm »

Ho lord,

TranzNDance you're amazing! Thank you for the reply so fast!
I'll have a look immediately
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #55 on: July 18, 2006, 05:49:06 pm »

I do not want change of theme, so maybe I should put directly the CSS code into my .css of my theme ?!
I wanted too try that before write the first post... but... not so sure !!!
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #56 on: July 18, 2006, 06:14:21 pm »

I tried to do again de copy/past for codebase.php but it seems I did it again wrong...

I don't understand what I do wrong !

- editpics.php ....... OK
- editOnePic.php...  BAD

- thumbnails.php .. BAD
- displayimage.php BAD

- map.php BAD

I send you right now by PM and admin account.

Thank you for you help.
I really appreciate.  :)
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #57 on: July 19, 2006, 03:22:41 am »

MP sent, account created.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #58 on: July 19, 2006, 06:23:54 am »

There's no point in me logging into your account as admin if you don't apply the code correctly. Please post your codebase.php file.
Logged

Brunosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google Map in Coppermine Gallery, version 2 (of mod and api)
« Reply #59 on: July 19, 2006, 08:39:15 am »

my codebase.php is in the rar I notified by PM
and I post it here also
Logged
Pages: 1 2 [3] 4 5 6 7 ... 15   Go Up
 

Page created in 0.03 seconds with 19 queries.