Advertisement:

Author Topic: Download System  (Read 629863 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2180 on: February 15, 2019, 10:56:44 AM »
What manual edits is asking to do in the package manager? Or where does it fail?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2181 on: February 15, 2019, 11:31:12 AM »
Hi vbgamer45:

I read at the beginning of the thread that if you are using a custom theme, then you cannot use the package system to install this mod.

I read that after an installation that showed successful, but didn't work.  There was no download page, no download buttons, it was as if the package had not been installed.

Therefore, my assumption is/was that it had to be done with manual edits.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2182 on: February 15, 2019, 01:40:16 PM »
that was for SMF 1.1.x
ate you using a language other than english
or do you have related errors in your error log
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,506
  • Gender: Male
    • Kindred-999 on GitHub
Re: Download System
« Reply #2183 on: February 15, 2019, 03:49:05 PM »
Why do you need to do a manual package installation?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2184 on: February 15, 2019, 04:43:59 PM »
I had thought that I had to do a manual install because I had a custom theme.  I read that in this thread.

VBGamer pointed out that the instructions were only for version 1.

So I re-attempted to install using the package manager, and it worked out just fine.

Thanks!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,665
    • StoryBB/StoryBB on GitHub
Re: Download System
« Reply #2185 on: February 15, 2019, 04:56:24 PM »
Advise posted 10 years ago on this site is almost certainly out of date at this point.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2186 on: February 15, 2019, 06:26:09 PM »
I can't believe it has been that long sometimes. Sorry for mistype above was working on cell phone today I was visiting the auto show by me.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2187 on: February 15, 2019, 06:50:06 PM »
Yeah, no doubt.  I didn't even realize it was 10 years old.  The post came up in a search, and since it matched the problem I thought I was having, I just made an assumption.

It's all good now, though. :)

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2188 on: February 17, 2019, 03:45:10 PM »
This is a great mod, it's very helpful, thanks!

I have a question:  Where on the server (directory) are the download files actually stored?

I see a folder called "downloads" in the forum root directory, but there are not files located in the folder.

I seem to be scratching my head, a bit blind to something that I figure is probably very obvious!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2189 on: February 17, 2019, 04:00:06 PM »
They should be in the downloads folder by default or in a downloads subdirectory.

If not check your downloads path that is set in the downloads configuration.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2190 on: February 17, 2019, 05:51:29 PM »
Thanks.

It turns out I was staring right at the files.  Didn't dawn on me for awhile that the system assigned new file names. :)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2191 on: February 17, 2019, 06:03:30 PM »
Yeah. I do that so it does not allow the files excute.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline avwebsites

  • Semi-Newbie
  • *
  • Posts: 32
Re: Download System
« Reply #2192 on: February 17, 2019, 06:33:27 PM »
Makes perfect sense, I should have known better.

It is a really great mod, I hope that a ton of people need the pro version.  Thanks for taking the time to write it!

I can set up a board that guests can't see, filled with downloads that members can see but can't download unless they have the status of "Charter Member" (membergroup).  To make matters even easier, when a "regular" user clicks to try to download the file, they can ask for Charter member status right then and there.

This allows me unprecedented and easy control over who gets to access my content. :)


Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2193 on: February 17, 2019, 07:18:47 PM »
Glad you enjoy the mod!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline videoed

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
  • Ramón Cutanda
    • videoedicion.org
Re: Download System
« Reply #2194 on: April 19, 2019, 06:08:46 AM »
[English below]

Traducción al español de España con estilo informal (tú) de DownloadSystem3.0.4c
Rev 1: Primera versión. Probablemente habrá mejoras y correcciones menores conforme la use (estoy usando DownloadSystem por primera vez)


[ENGLISH]

Spanish_es translation (informal style --) for DownloadSystem3.0.4c
Rev 1: First version. There will very likely be improvements and corrections as I use it (I am a first-time DownloadSystem user)

Offline mikedijital

  • Jr. Member
  • **
  • Posts: 125
  • Gender: Male
  • 0110010010100101
    • mikedijital on Facebook
    • Deggi 5
Re: Download System
« Reply #2195 on: July 11, 2019, 06:53:46 PM »
I tried reading through ,and searching all 110 pages, sorry if its been asked before....  The word " download " is so small... is there any simple code, or a tweak I can do to make it bigger .. thanks for any help you code supermen and superwomen can give.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2196 on: July 11, 2019, 07:00:41 PM »
Editing the downloads2.template.php  in the view_download function in themes/default

Then either use h1 tags or make it bold.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline mikedijital

  • Jr. Member
  • **
  • Posts: 125
  • Gender: Male
  • 0110010010100101
    • mikedijital on Facebook
    • Deggi 5
Re: Download System
« Reply #2197 on: July 11, 2019, 07:24:13 PM »
I figured that much, and I did find a post with some code that swapped the text with a linkable picture instead, but that didnt work for whatever reason...

not to be a tech support mooch , but I cant find the string of code in that template file, and im sure its right under my nose.... could you help with a quick copy and paste...  im pretty handy with smf, been using since 2.0.4   I just for the life of me cant find this string of code in the template file... if im here im desperate, I hate asking for help lol

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #2198 on: July 11, 2019, 07:30:48 PM »
Around line 1266 in downloads2.template.php

Code: [Select]

// Show the main download
echo '
<tr class="windowbg2">
<td align="center">';

echo '<a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '">', ($context['downloads_file']['fileurl'] == '' ? $context['downloads_file']['orginalfilename'] : $txt['downloads_app_download']), '</a>';

echo '
</td>
</tr>';
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline mikedijital

  • Jr. Member
  • **
  • Posts: 125
  • Gender: Male
  • 0110010010100101
    • mikedijital on Facebook
    • Deggi 5
Re: Download System
« Reply #2199 on: July 11, 2019, 07:37:41 PM »
by the way its been a while, but ive seen that vbgamer tag somewhere, do you make other mods...