[PLUGIN] File2albummover - Page 3 [PLUGIN] File2albummover - Page 3
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[PLUGIN] File2albummover

Started by ge-flopt, September 22, 2005, 10:42:31 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ge-flopt

PS. jokera Why are you using version 0.1? version 0.3 is already available. :P

jokera

Quote from: ge-flopt on January 18, 2007, 07:28:07 PM
PS. jokera Why are you using version 0.1? version 0.3 is already available. :P
Do you mean...0.3beta2? or....
0.3 Final release?  :P

ge-flopt

0.3B2 But i did just see that you already are using it.

skidpics

I notice that there a lot of entries stating that it copies the files, so, does it copy the files, or does it move the files to the approriate folders?  If it were to copy, you would have a lot of wasted space, and too much time for larger galleries to delete the outdated folders..

Was just wondering..

--skidpics

skidpics

I can't get it to do anything.  I am using the following information

To run the plugin: http://skidpics.com/index.php?file=f2am/codebase

I changed the configuration.php to:

$name='File to Album mover';
$description='Move an image to the directory that is named after the album it is in';
$author='M. van Gorkom';
$version='0.3 (Beta 2)';
$imagefolder='albums/';
?>

albums is where all my image folders reside...


What am I doing wrong?

There is no actvity, just a blank screen.. 

-- Skidpics

ge-flopt

You state it gives you a lot of lines it has copied the files. Well when it has copied your files it checks if everything is ok, then removes them.

When there is no need to copy (move) files it doesn't display anything. Check it bij moving one image to anothe album, and the run the script again

LastActionHero

Hi!

i tried to run file2albummover beta0.32 with the newest coppermine! I changed starting code of codebase.php as Paver told (before it didn't do anything)

after running the script it displays only displays the picture i added below! the folders are correctly generated, but the files were not moved :( i changed all pictures and folders with chmod 777 but it did not change anything :(

i hope you can help me to solve this problem! The sorting of pictures by folders is one of the usefullest things in a gallery... too sad coppermine doesnt use it as standart method for archiving files...

ge-flopt

Strange i got the exact problem from someone else.

Wil have a look at it. Errorlogging will be addressed in the new version.

LastActionHero

if you compare the screenshots, you will see that i am the "someone else" i think :) but i thought i could get the support of some others too in here!
because that plugin is really important for me! without that plugin it wont make any sense for me running coppermine...
i started to studdy the code to implement Cathegory handling for myself, but if the basic script is not running, i cannot start recoding it :(

ge-flopt

Have some good news!! :D

I've started working on an update. Please note that this version won't be a plugin anymore, but a self running PHP file. Just had to much trouble getting some stuff to work the way i wanted it, but i think the update will be a good one.

Planned for this update:
- Good error logging
- UserID/Category will be used as a sub-dir

On the last item i've got a question. If you look to the image jokera posted, can i conclude that a category is the same as a userid? Cause LastActionHero said it wasn't... So now i'm confused  ???

Think i will have an update ready tomorrow.... Hopefully


Joachim Müller

Quote from: ge-flopt on April 12, 2007, 09:20:37 PM
Please note that this version won't be a plugin anymore, but a self running PHP file.
Thanks for your willingness to improve the script. However: if this is not going to be a plugin any longer, please start a separate thread for your mod and just reply to this thread (the one we're currently in) with a link to the new one.

ge-flopt

GauGau, if it's done i will create a new topic.

LastActionHero

Quote from: ge-flopt on April 12, 2007, 09:20:37 PM
If you look to the image jokera posted, can i conclude that a category is the same as a userid? Cause LastActionHero said it wasn't... So now i'm confused  ???


GREAT JOB!!! I hope this one will work for me, because i still cant get it running on my server... :( :(

where did i say that? every category has an id, such as every user has an id. and each album id is linked to a category id. i posted a picture inside to make it clear.

ge-flopt

Think this version will use the catagory number for directory name. Maybe in a new version the name will be used.

LastActionHero

thats not a problem... users can add some of their own "conversion" similar to this one of codebase.php i think (until the newest new version is out ;) ): $NEW_TMP_DIR=str_replace("3","categoryname",$total[cid]);

i hope you can release it tomorrow! if i can help you, with testing or some suggestions, just PM me!

ge-flopt

The new version is done. Have sent the updated one (incl. a rename) to the persons having trouble and wrote that down in this topic.

GauGau is there a way to lock this topic later, when the first tests are done and i have a new topic for that one?

JohannM

Hi

I downloaded the latest version of this plugin.  I think it's neet, and this is axactly what I need.  I have more than 125 000 pictures on my site, and about 50 000 pictures need to be moved from and old dir to a new one.

Question:  I have picture names like  J001-0001.jpg going up to  e.g.  J001-0895.jpg.

How do I gonfigure the codebase to move these images from old folder e.g.  JOB001-SABA  to  new folder  J0001 ?  I do have thumbs_ , but do not use the normal_  ones.

Please help !

Thanx in advance

Joachim Müller

Quote from: ge-flopt on April 13, 2007, 10:09:20 PM
GauGau is there a way to lock this topic later, when the first tests are done and i have a new topic for that one?
Sure, just start your new thread (with reference to this one) and reply to this one (posting a link to the new one). Post your wish to have this thread locked as well - a moderator will do so.

Vincs

hey !
Can I have the last version of this plugin too ?

Joachim Müller

It's attached to the posting http://forum.coppermine-gallery.net/index.php?topic=22036.msg119283#msg119283
Please read the thread you're refering to carefully before replying.