Basically All my images are mainly small as its to show case some rewards that can be obtained in a GAME.
I have thousands of images and about 100 albums where all these images have been arranged into categories.
Well there is like 4 different regions and some items work in all regions.. So we was doing some massive sorting with the database.
My main problem is.. I have lots of sub albums in EU HOME
That I want to COPY to NA home.
When I do this if the sub album has another subalbum inside it it repeats where it came from making the same folders again and again. EG:
I wanted to copy this Album
http://uniquez-home.com/rewards/EU Home/Apartment - Store Game RewardsWhen I copy Apartment - Store Game Rewards
Because I need all the sub albums in there aswell to move over
It makes more folders
Like this
http://uniquez-home.com/rewards/Apartment - Store Game Rewards/EU Home/Apartment - Store Game Rewards/Cauldron of the Sunless Kingdom/EU Home/Apartment - Store Game Rewards/Cauldron of the Sunless Kingdom/Bascially I copied the album from EU home to the main dir just for a test.. You can see how if an album has a sub album it keeps making DIRS
Basically for ever album that has another sub album its repeating the original directory it came from and making them folders before it.
I can't just do an FTP copy over because that would mean re-arranging all the images again and setting album covers.
This would take a very long time..
Also I deleted all albums in NA because I was ready to port everything over and make the changes.. But I can't copy themover without it making all the folders that its not supposed to..
I am looking for a quick fix for this
Please can some one help me do something to get it over to NA Home Because its all down and people use this section ALOT.
Thank you..
I am also using the latest version of zen photo.
Comments
I have thousands of images and about 100 albums where all these images have been arranged into categories.
Well there is like 4 different regions and some items work in all regions.. So we was doing some massive sorting with the database.
My main problem is.. I have lots of sub albums in EU HOME
That I want to COPY to NA home.
When I do this if the sub album has another subalbum inside it it repeats where it came from making the same folders again and again. EG:
I wanted to copy this Album
http://uniquez-home.com/rewards/EU Home/Apartment - Store Game Rewards
When I copy Apartment - Store Game Rewards
Because I need all the sub albums in there aswell to move over
It makes more folders
Like this
http://uniquez-home.com/rewards/Apartment - Store Game Rewards/EU Home/Apartment - Store Game Rewards/Cauldron of the Sunless Kingdom/EU Home/Apartment - Store Game Rewards/Cauldron of the Sunless Kingdom/
Bascially I copied the album from EU home to the main dir just for a test.. You can see how if an album has a sub album it keeps making DIRS
Basically for ever album that has another sub album its repeating the original directory it came from and making them folders before it.
I can't just do an FTP copy over because that would mean re-arranging all the images again and setting album covers.
This would take a very long time..
Also I deleted all albums in NA because I was ready to port everything over and make the changes.. But I can't copy themover without it making all the folders that its not supposed to..
I am looking for a quick fix for this
Please can some one help me do something to get it over to NA Home Because its all down and people use this section ALOT.
Thank you..
I am also using the latest version of zen photo.
I am sorry for double posting.. I realised after I clicked the topic and seen that it didn't make the post so as I submitted it i realised then..
Sorry noob here << Lol..
Sure thing I will install ur SVN I love to test new things and I am always finding errors or need something no one else does lol.
Thankyou very much for your replies.. ZEN photo is the best gallery online.. I have used it for over a year now.
Love the sorting on it
Good to know.. I will await the release
I just installed your nightly build and its still making the folders that it shouldn't be if the album has a sub-album.
I downloaded the nightly build for the 8th.
And its still giving me the same results..
Not sure if that was the upload for the fix.. But its not corrected the problem
It works now. No problems at all just a straight copy..
Also.. I am currently learning PHP and I have managed todo alot of things myself using this language and building scripts.
I understand it was an edit to the admin-functions.php script..
Under the copy section.. What did you actually do to fix it?
I would just like to know so I can learn from it..
I'm not like super noob. LOL..
Anyway I would like to thankyou for your quick fix and response.
Amazing for a free gallery that helps our website populate everyday. Thankyou!
For reference, you can see all changes to Zenphoto in Trac under "Timeline" (http://www.zenphoto.org/trac/timeline).
It might be a bit hard to just jump into the middle of the code and understand it, but if you really want to learn about how Zenphoto works, then by all means feel free. Then one day you could be the one submitting patches to fix bugs.
Then in class-album.php copy method it was necessary first to make an adaption to the above, but only for the part where the album was created, not for where the subalbums were copied.