forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: liddo on November 16, 2004, 05:47:32 am

Title: Editing All File Info On Page
Post by: liddo on November 16, 2004, 05:47:32 am
I usually upload 50 videos
Whenever I finish uploading I have to copy and paste the dimensions of each one in..which is really frustrating

i found a mod where it adds a thing at the bottom to delete all the views of the videos on the page..when i click it , it automatically checks off "delete views" on all the videos

is there a mod where I can just type in the dimensions 640x480 and it'll set all the videos on the edit page to 640x480?

thanks
Title: Re: Editing All File Info On Page
Post by: Joachim Müller on November 16, 2004, 05:58:33 am
afaik such a mod has never been posted. If you know your way around in phpMyAdmin, you could run a query to set the resolution for multiple files in one go (not recommended for newbies though).

Joachim
Title: Re: Editing All File Info On Page
Post by: liddo on November 16, 2004, 06:44:47 am
hmm how do i "run a query"

i found out where to edit the files invididually except i dont know how to edit them all at the same time

Thanks
Title: Re: Editing All File Info On Page
Post by: Joachim Müller on November 16, 2004, 06:51:00 am
like I said: "if you know your way around in phpMyAdmin" - obviously you don't. I could tell you, but you would surely break your install for good if you're unexperienced (no offense!). I guess you will have to manually enter the resolution - shouldn't be a big deal anyway.

Joachim
Title: Re: Editing All File Info On Page
Post by: Nibbler on November 16, 2004, 07:09:26 pm
I think there is a mod which retains the info you enter for one file and pre-fills the next page with that info, maybe that could help.
Title: Re: Editing All File Info On Page
Post by: liddo on November 19, 2004, 06:35:25 am
I think there is a mod which retains the info you enter for one file and pre-fills the next page with that info, maybe that could help.


do you have any clue where it is..if such a mod exists ^^

thanks!
Title: Re: Editing All File Info On Page
Post by: Nibbler on November 19, 2004, 11:23:32 am
http://forum.coppermine-gallery.net/index.php?topic=8697.0

You'll need to change it a little, but that should give you the general idea.
Title: Re: Editing All File Info On Page
Post by: liddo on November 19, 2004, 10:37:28 pm
hmm i need a mod that works with batch adding..since i have over like 50 vids each day

i could give it a try at phpMyAdmin...since I could always backitup right? :0


or is there a way to make it 640x480 by default? :D instead of 0x0

thanks
Title: Re: Editing All File Info On Page
Post by: liddo on November 20, 2004, 07:33:14 am
*bump*
Title: Re: Editing All File Info On Page
Post by: Casper on November 20, 2004, 12:31:45 pm
This is not a hotline.  >:(
The supporters and devs on these boards are all unpaid volunteers, with jobs and families as well as helping here.  So always give at least a day before bumping a thread, more at weekends.
Title: Re: Editing All File Info On Page
Post by: Nibbler on November 20, 2004, 05:07:40 pm
Setting a default value for a text box is simple html.
Title: Re: Editing All File Info On Page
Post by: liddo on November 20, 2004, 11:08:48 pm
sorry casper :\
also this is the first time i've bumped a topic on a forum :o

Setting a default value for a text box is simple html.

the other day i was trying to edit the value in editpics.php?

is this the right file to edit? thanks
Title: Re: Editing All File Info On Page
Post by: Casper on November 20, 2004, 11:13:18 pm
Yes, you can do it in editpics or editonepic.  Editpics has the advantage of being able to do an entire album in 1 hit.
Title: Re: Editing All File Info On Page
Post by: liddo on November 21, 2004, 01:10:21 am
hm i dont think im doing it right

i wanted 640x480 as the default

when i go to edit the pictures it adds 640 and 480 to each file info

so it comes out 6400 and 4800

i guess i didnt edit the right one
..need to edit the 0 instead of adding 640 and 480 in
pwidth and pheight?

any way to help? :]

thanks
Title: Re: Editing All File Info On Page
Post by: Casper on November 21, 2004, 12:41:44 pm
Yes, you should replace the '0', not add the 640 and 480 in front of it.