Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11932
Latest: maxanthony1976
New This Month: 16
New This Week: 0
New Today: 0
Stats
Total Posts: 37952
Total Topics: 6680
Most Online Today: 71
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 70
Total: 70

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

+- Recent Topics

Are you killing your forum? by shuban
May 25, 2017, 01:26:02 pm

[Mod]Unofficial SMF 1.1.23 for PHP7 by shuban
May 25, 2017, 01:15:53 pm

Bulk Upload Option? by SMFHacks
May 25, 2017, 01:07:41 pm

nCode Image Resizer ssl sertifika ? by sempatiko
May 23, 2017, 02:50:28 pm

seo4smf_lite-3.2.0-2.1.x by sempatiko
May 23, 2017, 02:34:10 pm

SMF Staff mod button image by SMFHacks
May 22, 2017, 06:50:40 pm

License Key by SMFHacks
May 21, 2017, 08:57:45 am

BadgeAwards2 Does not work with PHP7 / SMF 2.0.14 by balon
May 18, 2017, 02:58:25 pm

SMF 2.0.14 Released with PHP 7 Support and Unofficial SMF 1.1.23 by SMFHacks
May 14, 2017, 11:49:58 pm

Error when trying to open gallery after upgrading from Gallery Lite to Pro by SMFHacks
May 04, 2017, 03:30:12 pm

Powered by EzPortal