Merged 3 galleries, please test? Merged 3 galleries, please test?
 

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

Main Menu

Merged 3 galleries, please test?

Started by ff, December 16, 2008, 10:59:38 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ff

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 :))

Hein Traag

At first glance can't spot anything weird.

ff

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.

Hein Traag

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

ff

Quote from: Hein Traag on December 17, 2008, 08:00:54 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

Hein Traag

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.

ff

Quote from: Hein Traag 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.

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 ;)

Hein Traag


Deus

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?
https://daz-stuff.uk
DJ tutorials, E-Bikes, Movies and videogames.
(https://daz-stuff.uk/daz/signature.png)

ff

Quote from: 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?

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 ;)

ff

Quote from: ff on December 17, 2008, 12:10:30 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.

Deus

Quote from: ff on December 17, 2008, 12:38:59 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.
https://daz-stuff.uk
DJ tutorials, E-Bikes, Movies and videogames.
(https://daz-stuff.uk/daz/signature.png)

ff

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?

Hein Traag

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

Joachim Müller

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

ff

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 ;)