Download Site

From LordMattWiki

Jump to: navigation, search

This is a script was written by Lord Matt MD of Adullam Limited as a way of hosting files he wished to offer while enabling the display of adverts that might hopeully pay for the bandwidth.

This wiki page aims to support this code which was released under a number of licenses before being finally released under the GNU GPL.

The download area is here: http://www.lordmatt.co.uk/freestuff/

Contents

[edit] versions

[edit] Version 1.2.1

Service release. Change of license to GNU GPL v2 Also correct readme text

[edit] Version 1.2

Made the code base more friendly and added a sort to the file list to keep it tidy

[edit] Version 1.1

Added file size readout to the codebase

[edit] Version 1.0

ABOUT: This script is the mimimum you need to run a great download site offering free downloads. MONEY: The site has been designed in such a way that it is easy to add adverts to the site. Indeed, in the standard setup has been designed to carry three (the maximum per page) goodle adverts without distroying the page for your users. All money you make from these adverts is, of course, yours.

[edit] Requirements

  • PHP 4+
  • FTP Access to your site (or some other upload method)
    • NucleusCMS users will be able to use the upload the plugin version (will) come with.

[edit] HOW TO USE

It is very simple to use this script you simply upload it (as is) to your website and it's ready to run.

When you add downloads to the my_downloads folder they are automatically listed for you.

[edit] How to customize

You can make aditional categories by creating new folder (directories) within the my_downloads folder and placing a copy of the my_downloads version of index.php inside the folder. The system will automatically list the new category and any new files within it.

ADD CATEGORY SPECIFIC CONTENT: To add specific content to a (folder) category simply place your contentinto a file and give the file the php extension (for example (bonusinfo.php, extrastuff.php, crosslinks.php etc).

ADD FILE TO A SECOND CATEGORY: you could just add the file to a second folder or you can use the *.php file method to add a link (or list of links) to the file. This method has the advantage that you can add text (Have you considered the merits of myfile.zip?) and you need only update one instance of the file (as well as taking up less room).

GETTING FREE FILES: wouldn't it be great if you could get a whole load of files to give away for free? Well now you can - introducing the GNU GPL: some files and downlaods are released under this license (or it's brother LGPL) which grants you the right to give away these files yourself A good source of GPL files are scourceforge.net, hotscriptscom or freshmeat.com - be sure to pick the smaller popualr files that fit with you theme/content type as larger less popular or off-topic files will simply use up your bandwidth and space for no real gain.


[edit] FAQ

In any case where there is a slight difference between the FAQ and the License the License shall be held to be true.

Q - Will this work with MP3 files
A - sure simply add the files and if yours click the file will probably begin streaming (playing in the browser) or they can right click and save as.

Q - can I remove the copyright and link at the page footer
A - Only if you don't want support. We think this is a fair price to pay.

Q - Can I remove the copyright messages in the files then?
A - No, doing so would be in breach of the license.

Q - Can I pay to remove the message?
A - Yeah sure £10 a year will get you the same support as if you had left the message up. See the readme version of this question.

Q - Can I give away altered versions of the script?
A - Yes. This is the basis of the license. However we will not support these versions.

Q - Can I offer files from the lordmatt.co.uk or other sites using this script.
A - If they are GNU GPL or LGPL then yes you may (check the General Public License for more details), however if they are offered under other terms then you will need to double check for yourself.

Q - Are there any extentions or options to edit?
A - Nope just drop n go.

Q - How can I get more functions?
A - Ask some one to write them, drop by the development page and ask, or check http://lordmatt.co.uk/freestuff for later versions.

Q - Can I offer any extentions for download?
A - Basically yes, but there are cetain limited restrictions in the license that you will need to follow.

Q - Do I have to have the root folder called my_downloads?
A - No call it whatever you want, just remember to make sure you link to the folder correctly or your site will not work.

Q - Do I have to offer the files this comes with?
A - no they are a bonus item and you can leave them out if you wish.

Q - I really love all those NucleusCMS plugins being on my site and want to offer more...
A - http://wakka.xiffy.nl/plugin - is the wiki listing most plugins

Personal tools