coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: barbv59 on August 21, 2006, 07:27:08 PM

Title: Simple question: Can I have more than 10 upload boxes?
Post by: barbv59 on August 21, 2006, 07:27:08 PM
I am an admin, and it says i can only get up to 10 upload boxes. Is there a trick or something I can do about that. I wish i could upload like 80 files at a time.
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: Nibbler on August 21, 2006, 08:08:17 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#batch_add_pics
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: crash3903 on August 21, 2006, 08:10:14 PM
In groupmgr.php look for (@ line 202)

for ($i = 0; $i <= 10; $i++) {

Change it to...

for ($i = 0; $i <= 80; $i++) {

Try that but remember that you may suffer from timeouts and a host of other errors if you are uploading a lot of files at the same time

Regards

Mark
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: barbv59 on August 21, 2006, 08:42:31 PM
wow
THANK you so muuuuch
I was breaking my head  :-*

I LOVE U!!
just kidding
but thanks!!
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: Joachim Müller on August 21, 2006, 09:07:26 PM
Not the recommended solution. The one Nibbler posted is the only recommended solution for you as coppermine admin. Make your users use XP_Publisher. Don't apply the hack crash3903 suggested for http uploads by your users, as you're bound to run into issues.
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: crash3903 on August 21, 2006, 09:08:18 PM
QuoteTry that but remember that you may suffer from timeouts and a host of other errors if you are uploading a lot of files at the same time
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: barbv59 on August 22, 2006, 12:42:20 AM
I went and changed the code, thought it would work but still having the same issue.  :-\
Title: Re: Simple question: Can I have more than 10 upload boxes?
Post by: Joachim Müller on August 22, 2006, 05:47:14 AM
What's wrong with batch-add?