Advanced search  

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]

Pages: 1 2 [3] 4   Go Down

Author Topic: [PLUGIN] File2albummover  (Read 100603 times)

0 Members and 2 Guests are viewing this topic.

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #40 on: January 18, 2007, 07:28:07 pm »

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

jokera

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • 那顆爛蔥 專屬相簿
Re: [PLUGIN] File2albummover
« Reply #41 on: February 28, 2007, 07:44:36 am »

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
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #42 on: February 28, 2007, 08:37:51 am »

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

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: [PLUGIN] File2albummover
« Reply #43 on: March 05, 2007, 06:36:18 pm »

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
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: [PLUGIN] File2albummover
« Reply #44 on: March 05, 2007, 07:26:08 pm »

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
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #45 on: March 06, 2007, 10:05:48 pm »

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
Logged

LastActionHero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [PLUGIN] File2albummover
« Reply #46 on: April 11, 2007, 12:14:31 pm »

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...
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #47 on: April 11, 2007, 12:22:44 pm »

Strange i got the exact problem from someone else.

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

LastActionHero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [PLUGIN] File2albummover
« Reply #48 on: April 11, 2007, 12:31:47 pm »

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 :(
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #49 on: April 12, 2007, 09:20:37 pm »

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

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [PLUGIN] File2albummover
« Reply #50 on: April 13, 2007, 07:40:42 am »

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.
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #51 on: April 13, 2007, 08:31:55 am »

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

LastActionHero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [PLUGIN] File2albummover
« Reply #52 on: April 13, 2007, 03:03:07 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.
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #53 on: April 13, 2007, 03:07:38 pm »

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

LastActionHero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [PLUGIN] File2albummover
« Reply #54 on: April 13, 2007, 03:47:04 pm »

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!
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
Re: [PLUGIN] File2albummover
« Reply #55 on: April 13, 2007, 10:09:20 pm »

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?
Logged

JohannM

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 252
Re: [PLUGIN] File2albummover
« Reply #56 on: May 04, 2007, 12:09:08 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [PLUGIN] File2albummover
« Reply #57 on: May 04, 2007, 07:40:10 am »

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.
Logged

Vincs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: [PLUGIN] File2albummover
« Reply #58 on: August 06, 2007, 02:55:10 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [PLUGIN] File2albummover
« Reply #59 on: August 06, 2007, 05:51:34 pm »

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.
Logged
Pages: 1 2 [3] 4   Go Up
 

Page created in 0.027 seconds with 20 queries.