SMFHacks.com

SMF Gallery Pro => Support => Feature Requests => Topic started by: scalesusa on February 15, 2017, 07:06:39 pm

Title: Create One New Forum Topic with Batch Upload
Post by: scalesusa on February 15, 2017, 07:06:39 pm
I'm configuring SMF Gallery Pro for the Forum Owner, and while we would like to create forum topics for image uploads, a batch upload creates a topic for each image. I was planning to place a large number of images in the gallery, several hundred, but thankfully, I tried just a few at first and saw a host of new topics were created.

Is there a way to create just one forum topic for all the images in a batch upload?  I know I can turn the feature off, but, being a photography forum, a new topic per upload is best, rather than a topic per image.

I'm suspecting that this is not simple, but I thought I'd ask.
Title: Re: Create One New Forum Topic with Batch Upload
Post by: SMFHacks on February 15, 2017, 08:04:03 pm
Is it batch upload in the admin side or bulk upload on the user side?

There is no built in way but you could modify the function to in batchupload to go a specific topic id would be a one line of code change in sources/gallery2.php in the createPost function for batchupload
Title: Re: Create One New Forum Topic with Batch Upload
Post by: scalesusa on February 15, 2017, 09:20:08 pm
The batch upload is for users.  I can set a specific topic ID on the admin side, that would require a really well organized set of options,  I discovered that and tested it after writing the request.

I do not want to give users admin rights, we have had up to ~10,000 users online at one time, so it would be a mess to have them all creating categories.  User categories are also turned off for now, until I figure out how they would play into the scheme of things.

I'm going to try and set up some fixed topics and see what users think. 

For example, under Animal Kingdom we might have birds, dogs, cats, or maybe jungle creatures, desert creatures, domestic, flying, marine, and so on.  I'm reluctant to set a deep hierachy.

I also have no idea what will happen if a very large number of images are added.  We only have about 4000 right now using the SMF uploader.

You can see the work in progress here

http://www.canonrumors.com/forum/index.php
Title: Re: Create One New Forum Topic with Batch Upload
Post by: SMFHacks on February 15, 2017, 09:46:26 pm
Forgot that backend had a topic id import feature.

Ok good luck that sounds like a plan if you have questions let me know.