Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12239
Latest: allershm
New This Month: 8
New This Week: 4
New Today: 0
Stats
Total Posts: 39378
Total Topics: 6932
Most Online Today: 134
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 54
Total: 55

Author Topic: Create One New Forum Topic with Batch Upload  (Read 1336 times)

0 Members and 1 Guest are viewing this topic.

Offline scalesusa

  • Newbie
  • *
  • Posts: 7
    • View Profile
Create One New Forum Topic with Batch Upload
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Create One New Forum Topic with Batch Upload
« Reply #1 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline scalesusa

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Create One New Forum Topic with Batch Upload
« Reply #2 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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Create One New Forum Topic with Batch Upload
« Reply #3 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
6959 Views
Last post September 21, 2006, 09:07:25 am
by SMFHacks
19 Replies
11588 Views
Last post January 28, 2007, 05:05:33 pm
by SMFHacks
2 Replies
2484 Views
Last post March 02, 2008, 08:55:50 pm
by usagi
3 Replies
5498 Views
Last post May 03, 2009, 09:24:21 am
by SMFHacks
6 Replies
3752 Views
Last post January 29, 2014, 02:23:53 pm
by Jens

+- Recent Topics

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

condition de livraison by alain54100
December 06, 2018, 12:33:38 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Turn off Latest Posts? by tfs
November 23, 2018, 09:08:49 pm

Powered by EzPortal