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]   Go Down

Author Topic: Merged 3 galleries, please test?  (Read 9291 times)

0 Members and 1 Guest are viewing this topic.

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Merged 3 galleries, please test?
« on: December 16, 2008, 10:59:38 pm »

Hi,

I just completed the merge of 3 galleries into 1.

http://www.ff.fm/fotoalbum/
http://www.ff.fm/hummeltje/fotoalbum/
http://www.xarno.nl/fotoalbum/

became (the temporary) http://www.ff.fm/fffotoalbum.bak/

Would some of you be so kind to check the new gallery for any strange stuff?
I think I've checked all, but am not sure.

And if someone can tell me how to have the 'last uploads' back in the right order ;)

(ps theme "xarno" doesn't have a theme-selector, use previous to return to the last theme :))
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Merged 3 galleries, please test?
« Reply #1 on: December 17, 2008, 06:47:16 am »

At first glance can't spot anything weird.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #2 on: December 17, 2008, 07:28:59 am »

Great :)

I noticed something 'strange'.

http://www.ff.fm/fffotoalbum.bak/displayimage.php?pos=-312 is a FLV-movie with a thumbnail.
The thumbnail isn't shown.

The original albumentry is http://www.xarno.nl/fotoalbum/displayimage.php?pos=-312

Hey `pos=-312' for both entries. Is this number somewhere calculated by CPG or stored in a table? I couldn't locate it.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Merged 3 galleries, please test?
« Reply #3 on: December 17, 2008, 08:00:54 am »

Did you implement the custom thumbnail in the new setup as wel?
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #4 on: December 17, 2008, 09:02:32 am »

Did you implement the custom thumbnail in the new setup as wel?

I copied all the directories within /albums/ and added all in the database tables.
Maybe I've to edit some entries there for the thumbnails? I've seen records called thumbs?

This is the thumb http://www.ff.fm/fffotoalbum.bak/albums/userpics/10002/thumb_ballon.jpg
This is the movie http://www.ff.fm/fffotoalbum.bak/albums/userpics/10002/ballon.flv
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Merged 3 galleries, please test?
« Reply #5 on: December 17, 2008, 09:05:14 am »

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb Could that be that you have to set the custom thumb again for that kind of file type.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #6 on: December 17, 2008, 10:27:37 am »

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb Could that be that you have to set the custom thumb again for that kind of file type.

I think I'll have to re-upload all the thumbnails for my movies.

Now I've only got to figure out which none-shown thumbnail is placed where ;)
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Merged 3 galleries, please test?
« Reply #7 on: December 17, 2008, 10:33:47 am »

Succes ermee!
Good luck  ;)
Logged

Deus

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 153
    • DJ-Daz
Re: Merged 3 galleries, please test?
« Reply #8 on: December 17, 2008, 11:57:54 am »

Download the original, delete it from the gallery and re-upload.
Also getting an error with firefox, missing plugin (application/octet stream) firefox cannot find or identify the plugin required.
Is it related to the .flv playback?
Logged
https://daz-stuff.uk
DJ tutorials, E-Bikes, Movies and videogames.
(https://daz-stuff.uk/daz/signature.png)

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #9 on: December 17, 2008, 12:10:30 pm »

Download the original, delete it from the gallery and re-upload.
Also getting an error with firefox, missing plugin (application/octet stream) firefox cannot find or identify the plugin required.
Is it related to the .flv playback?

I'm wondering. I didn't get any errors within my browsers (tried different ones) but my own player popped up.

I created a new gallery from the tarball and moved `albums' from the 3 old galleries, changed some conflicting directory-names and edited the database.
I think I forgot the FLV-player MOD (plugin?).

I think I got to trace that one for the file player.

Maybe it would solve the thumbnail problem also. Better said, I hope it will ;)
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #10 on: December 17, 2008, 12:38:59 pm »

I'm wondering. I didn't get any errors within my browsers (tried different ones) but my own player popped up.

I created a new gallery from the tarball and moved `albums' from the 3 old galleries, changed some conflicting directory-names and edited the database.
I think I forgot the FLV-player MOD (plugin?).

I think I got to trace that one for the file player.

Maybe it would solve the thumbnail problem also. Better said, I hope it will ;)

That did the trick.

I forgot to set the mime/type in CPG. As soon as I put that one in, the thumbnails appeared.
Next I installed rphMedia's FLV player (http://forum.coppermine-gallery.net/index.php/topic,43180.0.html) and voila!

Thanks Deus.
Logged

Deus

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 153
    • DJ-Daz
Re: Merged 3 galleries, please test?
« Reply #11 on: December 17, 2008, 02:46:24 pm »

That did the trick.

I forgot to set the mime/type in CPG. As soon as I put that one in, the thumbnails appeared.
Next I installed rphMedia's FLV player (http://forum.coppermine-gallery.net/index.php/topic,43180.0.html) and voila!

Thanks Deus.

You did the work, I just pointed you in the right direction, but you're welcome anyway.
Logged
https://daz-stuff.uk
DJ tutorials, E-Bikes, Movies and videogames.
(https://daz-stuff.uk/daz/signature.png)

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #12 on: December 19, 2008, 11:32:05 pm »

Uhm, I'm wondering.

I didn't see much posts about succesfull mergers of multiple galleries.

I just did it and the album is working (with some help ;)).

Is this something the admins would like to be explained at the forum?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Merged 3 galleries, please test?
« Reply #13 on: December 20, 2008, 08:28:11 am »

All explanation on how you succeeded on doing something iwith cpg welcome on at this forum.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Merged 3 galleries, please test?
« Reply #14 on: December 20, 2008, 11:32:16 am »

Actually merging the database records of different galleries into one falls into the category "nearly impossible", as the IDs that are suppossed to be unique will exist in both galleries. This is the case for almost all key fields in all database tables - coming up with a converter that will merge two galleries into one has not been accomplished and is very far from trivial.
Merging galleries with only one admin uploader and FTP-upload plus batch-add will be comparatively easy. Merging galleries with a lot of user interaction will be hard to impossible.
I strongly doubt that a converter or detailed documentation how to perform a merger will come from the devs (as we're busy with other things), but we would of course welcome any contribution from users.

Joachim
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Merged 3 galleries, please test?
« Reply #15 on: December 20, 2008, 12:37:50 pm »

I've written my steps down.

And indeed, not many users (if any ;)) at my galleries.

http://forum.coppermine-gallery.net/index.php/topic,57192.0.html

Please feel free to edit and correct what I've written.

I'm just someone who's happy to have got this far with help from this forum and without being a really good coder ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.