forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ff on December 16, 2008, 10:59:38 pm

Title: Merged 3 galleries, please test?
Post by: ff 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/fotoalbum/)
http://www.ff.fm/hummeltje/fotoalbum/ (http://www.ff.fm/hummeltje/fotoalbum/)
http://www.xarno.nl/fotoalbum/ (http://www.xarno.nl/fotoalbum/)

became (the temporary) http://www.ff.fm/fffotoalbum.bak/ (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 :))
Title: Re: Merged 3 galleries, please test?
Post by: Hein Traag on December 17, 2008, 06:47:16 am
At first glance can't spot anything weird.
Title: Re: Merged 3 galleries, please test?
Post by: ff on December 17, 2008, 07:28:59 am
Great :)

I noticed something 'strange'.

http://www.ff.fm/fffotoalbum.bak/displayimage.php?pos=-312 (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 (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.
Title: Re: Merged 3 galleries, please test?
Post by: Hein Traag on December 17, 2008, 08:00:54 am
Did you implement the custom thumbnail in the new setup as wel?
Title: Re: Merged 3 galleries, please test?
Post by: ff 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 (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 (http://www.ff.fm/fffotoalbum.bak/albums/userpics/10002/ballon.flv)
Title: Re: Merged 3 galleries, please test?
Post by: Hein Traag on December 17, 2008, 09:05:14 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb (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.
Title: Re: Merged 3 galleries, please test?
Post by: ff on December 17, 2008, 10:27:37 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb (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 ;)
Title: Re: Merged 3 galleries, please test?
Post by: Hein Traag on December 17, 2008, 10:33:47 am
Succes ermee!
Good luck  ;)
Title: Re: Merged 3 galleries, please test?
Post by: Deus 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?
Title: Re: Merged 3 galleries, please test?
Post by: ff 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 ;)
Title: Re: Merged 3 galleries, please test?
Post by: ff 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.
Title: Re: Merged 3 galleries, please test?
Post by: Deus 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.
Title: Re: Merged 3 galleries, please test?
Post by: ff 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?
Title: Re: Merged 3 galleries, please test?
Post by: Hein Traag on December 20, 2008, 08:28:11 am
All explanation on how you succeeded on doing something iwith cpg welcome on at this forum.
Title: Re: Merged 3 galleries, please test?
Post by: Joachim Müller 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
Title: Re: Merged 3 galleries, please test?
Post by: ff 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 (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 ;)