Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43323
Total Topics: 7527
Most Online Today: 276
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 255
Total: 255

Author Topic: 2.1.4 - Using drag and drop.  (Read 3433 times)

0 Members and 1 Guest are viewing this topic.

Offline tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
2.1.4 - Using drag and drop.
« on: July 22, 2023, 11:04:12 am »
Hello,

I've just had my forum upgraded to 2.1.4 and I've seen that we're able to use drag and drop to add attachments to posts.

I'd say that 70% of my 9000 members are over the age of 50, and technology isn't their thing.  They struggle with adding to the gallery, and were hoping that it would be simpler to upload.

Is it possible to mod the forum, so that the drag and drop function actually drops the files into a single specific folder in the gallery?  I don't want attachements saving elswehere, just the gallery.   :)

If this needs to be a custom mod, please let me know.

Offline tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: 2.1.4 - Using drag and drop.
« Reply #1 on: July 22, 2023, 11:28:40 am »
Also, once I click "Add image to post and upload to gallery" and the window pops up, I'd like to change this, with a logo and instructions.  Could you let me know what file I need to edit, so that I can customize, please?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: 2.1.4 - Using drag and drop.
« Reply #2 on: July 23, 2023, 09:20:18 am »
Drag and drop on adding to a post in a forum. so instead of saving as attachment it would copy to the gallery? Or save in both spots? Both spots would probably be easier.

It would be in Sources/Gallery2.php in function Gallery_PostUpload()
Around line 13726






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 tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: 2.1.4 - Using drag and drop.
« Reply #3 on: July 23, 2023, 10:15:40 am »
I would just want that feature to save in the Gallery, not attachment folder.  Otherwise I'd have two lots of items on the forum, and my forum is already on 175GB.   :-\

Great about the php file, I'll take a look.  Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: 2.1.4 - Using drag and drop.
« Reply #4 on: July 23, 2023, 09:52:40 pm »
So it would still insert into the post but instead of storing it as an attachment store in the gallery.
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 tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: 2.1.4 - Using drag and drop.
« Reply #5 on: August 09, 2023, 10:31:48 pm »
Yes, correct under a specific category Random Images.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6881 Views
Last post October 12, 2007, 07:04:04 pm
by SMFHacks
0 Replies
3536 Views
Last post December 01, 2008, 11:22:54 pm
by Beltazar
5 Replies
5707 Views
Last post April 01, 2011, 07:46:53 pm
by SMFHacks
2 Replies
3286 Views
Last post June 23, 2012, 01:40:30 am
by mlsred
8 Replies
1868 Views
Last post March 30, 2024, 11:58:20 am
by SMFHacks

+- Recent Topics

Failed to open stream: File name too long by Randem
June 21, 2024, 10:40:41 am

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Powered by EzPortal