Advertisement:

Author Topic: Download System  (Read 614421 times)

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 347
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Download System
« on: October 31, 2007, 06:55:37 PM »
Link to Mod



Download System

By vbgamer45


Compatibility
Works with both SMF 2.0.x and SMF 1.1.x

Description
A complete download system for SMF. We also have Downloads Pro which can be found at http://www.smfhacks.com/download-system-pro.php

Includes:
Uploadable or linked downloads
Approval of downloads option
Reporting of downloads
Option to have comments on an download
Subcategory support
Ability to rate downloads
Who is viewing download or category
Category level permissions by membergroups
File space manager to see which users are using up the most space
Options to control category display settings
Options to control download display settings
Linking code options
Integrates with SMF Shop allows points with adding downloads
And more!

3.0.3
!Fixed showing hidden categories in search results

3.0.2
!Fixed some undefined variables in SMF 2.1 Beta 3 profile icons for im services/karma on comment view.


3.0.1
!Fixed next and previous links in the download system.

3.0
+Added add download item to menu on all download pages that have buttons. Should make it easier to find.
+Link tree added all download pages


2.6.1
!Fixed tiny portal conversion for SMF 2.0 uses author_id if found

2.6
!Fixed icon for SMF 2.1 Beta 2

2.5.1
!Fixed wrong permission for custom field delete

2.5
+Now supports SMF 2.1 Beta 1 using hooks for most file edits!

2.1
+Better support for other languages

2.0
+Updated styling for SMF 2.0 for main areas for a better experience
+Updated admin areas with alternating row styles to make reading easier

1.5.2
!Fixed top downloads bar layout issue in chrome

1.5.1
!Fixed bug with SMF 2.0 missing a function

1.5
+Improved comment display to show more user information.
!Fixed hardcoded text string Posts
!Fixed bugs in show rating on myfiles page in SMF 1.1.x

1.3.8
!Fixed bug with removetopic in SMF 1.1.x on deleting a download

1.3.7
!Fixed missing text string for max filesize too large when uploaded file exceeds the max filesize setting

1.3.6
!Improved how search results are handled for multiple pages

1.3.5
!Allowed quotas to be set above 2GB

1.3.4.4
!Fixed missing image for stats bar in SMF 2.0

1.3.3
!Fixed incorrect html linking code had an extra /

1.3.2
!Fixed issue with quotes in filenames that are uploaded!

1.3.1
+Added better curve style support for SMF 2.0 RC3

1.3
+Added SMF 2.0 RC3 support
+Moved location of Downloads Configuration to its own spot in the admin
+Added display of max_upload_filesize and max_post_size php settings in the admin area these control how large files are accepted by your forum


1.2.8
+Optimized the table view for SMF 2.0 RC2

1.2.6
!Fixed bbc editor in SMF 2.0 not working in IE6/IE7

1.2.5
!Fixed who is viewing category/download to now show all members viewing that page

1.2.4
!Fixed a bug in the download in download access permissions in SMF 2.0 if you give another group such as global moderator access to the downloads admin area it would not let them access it.

1.2.3
+Added most downloaded download index page block
+Added total download line in the main page blocks


1.2.2
!Fixed support with mod_security
+Now storing the topic id of the post download topic and when deleting a download deletes the posted topic
!Fixed a case for importing from tiny portal if there is an empty rating it would error out

1.2
+Added Tiny Portal Downloads Import Feature. Will import all downloads,categories,ratings from TP Downloads. Downloads Pro coming soon will also import the screenshots.

Support Links
SMF Package Parser
Manual Installation Of Mods
How Do I Modify Files?
« Last Edit: December 16, 2014, 12:18:07 AM by SMFHacks.com Team »
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Download System
« Reply #1 on: October 31, 2007, 06:59:54 PM »
I'm gonna try this asap.

Thanks VbGamer. I'm sure it will be another fantastic mod.

Offline jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #2 on: October 31, 2007, 08:16:48 PM »
Fantastic! Thank you!

Offline jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #3 on: October 31, 2007, 08:33:12 PM »
When I try to edit a category I'm having this error:

Unknown column 'postingsize' in 'field list'
File: /home/mysite/public_html/forum/Sources/Downloads.php
Line: 752

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.

but I'm using SMF 1.1.4 (and I think with database 1.1.2: how can I check it?; I'm using more than 40 MODS now without problems.).

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Download System
« Reply #4 on: October 31, 2007, 09:10:45 PM »
Your database error suggests that the upgrade from 1.1.2 to 1.1.3 which included a database upgrade may not have fully taken place...if you can get the file upgrade.php from the 1.1.2 to 1.1.3 upgrade pack, put it in your forum root then browse (go tot the file location using your normal browser) to it that will cause it to run and should upgrade your database...there was no database upgrade in the 1.1.3 to 1.1.4 upgrade. Try the above and see if the other error persists.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,128
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #5 on: October 31, 2007, 09:20:15 PM »
When I try to edit a category I'm having this error:

Unknown column 'postingsize' in 'field list'
File: /home/mysite/public_html/forum/Sources/Downloads.php
Line: 752

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.

but I'm using SMF 1.1.4 (and I think with database 1.1.2: how can I check it?; I'm using more than 40 MODS now without problems.).
Fixed redownload the modification.
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 jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #6 on: October 31, 2007, 09:28:30 PM »
Fixed redownload the modification.
Worked.  Thank you.

Offline jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #7 on: October 31, 2007, 09:37:05 PM »
I did not understand how / for what use that:

Custom Fields
Field Title Default Value Required

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,128
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #8 on: October 31, 2007, 09:39:56 PM »
That would add custom fields to all downloads in that cateogory.
You could require them to enter a field called Author or Creator and make it required with every download that is added
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 ES23

  • Semi-Newbie
  • *
  • Posts: 85
Re: Download System
« Reply #9 on: November 01, 2007, 03:59:41 AM »
http://www.mywebsite.com/forums/index.php?action=downloads&sa=add2
8: Undefined index: description
File: /var/www/html/forums/Sources/Subs-Post.php
Line: 1747

Under my test,I realised that the above error occurs if you configure a new topic to be started on a certain board whenever a download is posted,and under the download description,you have placed something there...if you do not enable the option of a new topic to be started whenever a new download is added,the error will stop occuring.

How can I solve this error?? :(

Another thing I have realised.Under Upload URL,I have to put in a URL which the file have to be downloaded in that page.If I put a megaupload URL so that on clicking the download link for that item,the forum will redirect itself to the megaupload page for the person to download,another error will occur under the forum error log,saying it's unable to load the "main" template.And also the following error will be found in error log:

8: Undefined variable: filesize
File: /var/www/html/forums/Sources/Downloads.php
Line: 1501

(By providing a upload URL.the filesize cannot be detected by server and it will automatically be 0KB;but this seems to cause the above unnecessary error as it seems that the plug in expect the filesize to be detected under all costs - I think this is the bug of this plug-in as no errors are produced at all if I choose the direct upload method to my server.)

So,can it be configure in such a way if the forum download page needs to get redirected to another page(eg. megaupload) to download,it will automatically open a new tab/window instead of getting re-directed on the same page as the forums(adding of remote downloads)?And create in a way that filesize would not need to be shown if upload is through an upload URL)

Kindly advise :) Thanks...
« Last Edit: November 01, 2007, 04:53:00 AM by ES23 »

Offline jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #10 on: November 01, 2007, 06:35:48 AM »
It seems to me that in Download Stats / Total Downloads it is not working.  I did a test download and the numbers did not change: zero.

Offline Exterminator2006

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
Re: Download System
« Reply #11 on: November 01, 2007, 11:14:17 AM »
how funtion this mod? same bottom where is admin - search - profile? thanks

Offline jossanaijr

  • SMF Hero
  • ******
  • Posts: 2,131
  • Gender: Male
    • Netbook Forum
Re: Download System
« Reply #12 on: November 01, 2007, 02:02:38 PM »
how funtion this mod? same bottom where is admin - search - profile? thanks
If you are using default theme you should have a "Downloads " button in menu bar and settings in ADMIN / Configuration / Downloads configuration after installation.

Offline Exterminator2006

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
Re: Download System
« Reply #13 on: November 01, 2007, 02:33:56 PM »
how funtion this mod? same bottom where is admin - search - profile? thanks
If you are using default theme you should have a "Downloads " button in menu bar and settings in ADMIN / Configuration / Downloads configuration after installation.

i use other theme but no bottom download :(   say me a solution for this :)

Thanks
« Last Edit: November 01, 2007, 02:36:47 PM by Exterminator2006 »

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Download System
« Reply #14 on: November 01, 2007, 06:55:57 PM »
You need to manually install the mod into any theme other than the SMF Default theme.

Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,128
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Download System
« Reply #15 on: November 01, 2007, 09:11:02 PM »
http://www.mywebsite.com/forums/index.php?action=downloads&sa=add2
8: Undefined index: description
File: /var/www/html/forums/Sources/Subs-Post.php
Line: 1747

Under my test,I realised that the above error occurs if you configure a new topic to be started on a certain board whenever a download is posted,and under the download description,you have placed something there...if you do not enable the option of a new topic to be started whenever a new download is added,the error will stop occuring.

How can I solve this error?? :(

Another thing I have realised.Under Upload URL,I have to put in a URL which the file have to be downloaded in that page.If I put a megaupload URL so that on clicking the download link for that item,the forum will redirect itself to the megaupload page for the person to download,another error will occur under the forum error log,saying it's unable to load the "main" template.And also the following error will be found in error log:

8: Undefined variable: filesize
File: /var/www/html/forums/Sources/Downloads.php
Line: 1501

(By providing a upload URL.the filesize cannot be detected by server and it will automatically be 0KB;but this seems to cause the above unnecessary error as it seems that the plug in expect the filesize to be detected under all costs - I think this is the bug of this plug-in as no errors are produced at all if I choose the direct upload method to my server.)

So,can it be configure in such a way if the forum download page needs to get redirected to another page(eg. megaupload) to download,it will automatically open a new tab/window instead of getting re-directed on the same page as the forums(adding of remote downloads)?And create in a way that filesize would not need to be shown if upload is through an upload URL)

Kindly advise :) Thanks...
Fixed most of those errors redownload the mod for the fixes.
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 Exterminator2006

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
Re: Download System
« Reply #16 on: November 02, 2007, 02:15:38 AM »
upload a file of 2 mb and perfect but 20mb o more. show "need a name title"  :(

Offline ES23

  • Semi-Newbie
  • *
  • Posts: 85
Re: Download System
« Reply #17 on: November 02, 2007, 03:18:57 AM »
Fixed most of those errors redownload the mod for the fixes.

Ok! :)

This error has been successfully solved which is quite crucial.Thanks.

8: Undefined variable: filesize
File: /var/www/html/forums/Sources/Downloads.php
Line: 1501

But this error is still not resolved(below one):

http://www.mywebsite.com/forums/index.php?action=downloads&sa=add2
8: Undefined index: description
File: /var/www/html/forums/Sources/Subs-Post.php
Line: 1747

and persists in your forum error log if the option of starting a new topic on every new download placed in download system is selected for that category. :(

Any plans and solution to solve this error?

Offline DeMar

  • Jr. Member
  • **
  • Posts: 179
    • Looki HR
Re: Download System
« Reply #18 on: November 02, 2007, 03:21:13 AM »
is any version for SMF 1.1.3?

[embed-flash(width,height)]

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Download System
« Reply #19 on: November 02, 2007, 06:26:21 AM »
Rather than asking for a version for an obsolete SMF version it would be far better if you upgraded your forum...as is strongly advised by SMF.