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: 261
Total: 261

Author Topic: Download Gallery Option  (Read 2386 times)

0 Members and 1 Guest are viewing this topic.

Offline bricktop

  • Member
  • *
  • Posts: 1
    • View Profile
Download Gallery Option
« on: March 22, 2023, 07:50:41 pm »
I would like to see a download gallery option for this.
Give members the option to download a gallery if the owner allows it.
Create a zip and for lark galleries could chunk it together.

I would do it but I have no idea where to start on SMF's structure. All the PHP I have written has been my own structures.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Download Gallery Option
« Reply #1 on: March 23, 2023, 09:34:02 am »
Would require chaneges in Usergallery2.template.php and Usergallery2.php if you are talking about the member galleries section.

The hardest part with this is it could take a long time to generate the zip file as it depends on how many images are in the gallery. You would probably need to make it a background task and limit notify the user when done. Also, probably want to set limits ie how many pictures/media can be downloaded at once otherwise the zip files can become huge if a member has a large 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 Anwendungsfehler

  • Community Suite Customer
  • Member
  • ******
  • Posts: 21
    • View Profile
Re: Download Gallery Option
« Reply #2 on: January 19, 2024, 02:24:35 pm »
What about a file containing the links to the files? Then a member could bulk download them by using jdownloader or similar tools...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Download Gallery Option
« Reply #3 on: January 19, 2024, 10:28:43 pm »
Possibly a csv file with filenames and the image title.
We currently use somewhat random files for the filename to make it hard to find images.
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
0 Replies
5508 Views
Last post July 09, 2007, 10:42:20 pm
by rumboogy
2 Replies
4518 Views
Last post June 13, 2009, 09:44:53 pm
by jacci
4 Replies
5006 Views
Last post March 19, 2012, 06:23:46 pm
by SMFHacks
0 Replies
4050 Views
Last post May 06, 2012, 09:44:20 pm
by CWVRV
3 Replies
2605 Views
Last post February 28, 2018, 07:55:39 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