Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11911
Latest: laurnsyers01
New This Month: 12
New This Week: 0
New Today: 0
Stats
Total Posts: 37890
Total Topics: 6667
Most Online Today: 81
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 81
Total: 81

Author Topic: Create One New Forum Topic with Batch Upload  (Read 438 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: 14029
    • 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 http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

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: 14029
    • 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 http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

 

Related Topics

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

+- Recent Topics

RSS Feed killed my forum by hippieboy123
April 18, 2017, 07:39:26 am

Is there a converter than converts all files found in topics of a specific board by SMFHacks
April 13, 2017, 02:46:18 pm

Sidebar Image width by hippieboy123
April 12, 2017, 01:32:00 pm

I run a Custom Theme and have many Test Failed - What to do? by SMFHacks
April 11, 2017, 05:12:15 pm

Daughter menus by Labradoodle-360
April 08, 2017, 05:37:22 pm

Lost my copyright removal when I converted forum to SSL by Nova
April 08, 2017, 01:19:50 pm

With .htaccess, how do I redirect an action to another action by shuban
April 06, 2017, 11:45:50 pm

Newsletter Pro errors in log by SMFHacks
April 03, 2017, 04:54:40 pm

Random Image Block code by landyvlad
March 30, 2017, 02:54:32 am

Upgrade Account - Download SMF Gallery Pro by mrsclaudio
March 29, 2017, 10:14:11 am

Powered by EzPortal