Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12347
Latest: JessielGonzalez2
New This Month: 11
New This Week: 1
New Today: 0
Stats
Total Posts: 39779
Total Topics: 7005
Most Online Today: 102
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 30
Total: 30

Author Topic: Create One New Forum Topic with Batch Upload  (Read 1572 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: 14903
    • 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: 14903
    • 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
7091 Views
Last post September 21, 2006, 09:07:25 am
by SMFHacks
19 Replies
11853 Views
Last post January 28, 2007, 05:05:33 pm
by SMFHacks
2 Replies
2583 Views
Last post March 02, 2008, 08:55:50 pm
by usagi
3 Replies
5635 Views
Last post May 03, 2009, 09:24:21 am
by SMFHacks
6 Replies
3892 Views
Last post January 29, 2014, 02:23:53 pm
by Jens

+- Recent Topics

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

About Number of Images for Basic Ad by ajac63
May 26, 2019, 10:33:46 pm

Powered by EzPortal