Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 109
Total: 109

Author Topic: Having two or more files  (Read 5716 times)

0 Members and 1 Guest are viewing this topic.

Offline Diego Andrés

  • Member
  • *
  • Posts: 39
    • View Profile
    • SMF Tricks
Having two or more files
« on: September 08, 2014, 08:14:39 pm »
When you have more than one file in a download, it comes the "More files" thing, or whatever don't remember the name of that   :P
Anyway, there's a small problem while downloading secondary files..

I made a fix a few months ago.

I don't remember how is supose to be the original code, but here's my edit:

Code: [Select]
<a href="' . $scripturl . '?action=downloads;sa=downfile&fileid=' . $row['ID_FILE'] . '&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() . '">
I just leave how should be the link of additional downloads, because I have custom code and I can't figure how it was.

To find that part, search for // Show additional file downloads

Regards

SMF Tricks - Free & Premium Themes for SMF.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Having two or more files
« Reply #1 on: September 08, 2014, 09:28:38 pm »
I am not seeing that issue in SMF 2.0.x with the latest downloads pro version.
Your code adds that part '&id=', $context['downloads_file']['ID_FILE'],
But that isn't required when I am looking at the code since we get the id based on the fileid passed.
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 Diego Andrés

  • Member
  • *
  • Posts: 39
    • View Profile
    • SMF Tricks
Re: Having two or more files
« Reply #2 on: September 08, 2014, 09:50:19 pm »
Weird cause I was getting a db error while downloading.
Maybe I forgot to say that this only happen to regular users?

SMF Tricks - Free & Premium Themes for SMF.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Having two or more files
« Reply #3 on: September 09, 2014, 08:38:50 am »
tired last night as guest and normal user could not recreate the issue on the view download page
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
1 Replies
5307 Views
Last post May 26, 2007, 11:18:48 pm
by SMFHacks
7 Replies
5700 Views
Last post February 01, 2016, 10:17:55 pm
by Puppeteer
1 Replies
2296 Views
Last post September 14, 2017, 10:58:51 am
by SMFHacks
1 Replies
2100 Views
Last post March 22, 2018, 10:47:27 am
by SMFHacks
4 Replies
4646 Views
Last post June 05, 2019, 04:02:28 am
by ajac63

+- Recent Topics

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

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

Powered by EzPortal