Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on October 31, 2007, 06:55:37 PM

Title: Download System
Post by: SMFHacks.com Team on October 31, 2007, 06:55:37 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=992)



Download System

By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)


Compatibility
Works with SMF 2.1.x, 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 (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.14
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck


3.0.13
!Fixed group by not having all the columns in some cases

3.0.12
!Fixed some unclosed html tags

3.0.11
!Fixed bug previous/next links logging errors for downloads that were removed.

3.0.10
!Removed || changed to OR in SQL statements for MariaDB

3.0.9
!Remove create_function for PHP 7.4+ support

3.0.8
+Added check for upload url to be sure it is http:// or https://
!Minor code cleanup/fixes

3.0.7a
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set

3.0.7
+Added filesize support for remote links

3.0.6
!Fixes for PHP 7.4

3.0.5
!Fixed missing language string bug for spam protection thanks to wintstar
+Better linktrees on view download/add comment page thanks to wintstar

3.0.4a
!Fixed missing message id for email notification for SMF 2.0.x

3.0.4
!Fixed showing hidden files in Stats page

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 (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
Title: Re: Download System
Post by: karlbenson 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.
Title: Re: Download System
Post by: jossanaijr on October 31, 2007, 08:16:48 PM
Fantastic! Thank you!
Title: Re: Download System
Post by: jossanaijr 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.).
Title: Re: Download System
Post by: TrueSatan 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.
Title: Re: Download System
Post by: vbgamer45 on October 31, 2007, 09:20:15 PM
Quote from: jossanaijr 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.).
Fixed redownload the modification.
Title: Re: Download System
Post by: jossanaijr on October 31, 2007, 09:28:30 PM
Quote from: vbgamer45 on October 31, 2007, 09:20:15 PM
Fixed redownload the modification.
Worked.  Thank you.
Title: Re: Download System
Post by: jossanaijr on October 31, 2007, 09:37:05 PM
I did not understand how / for what use that:

Custom Fields
Field Title Default Value Required
Title: Re: Download System
Post by: vbgamer45 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
Title: Re: Download System
Post by: ES23 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...
Title: Re: Download System
Post by: jossanaijr 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.
Title: Re: Download System
Post by: Exterminator2006 on November 01, 2007, 11:14:17 AM
how funtion this mod? same bottom where is admin - search - profile? thanks
Title: Re: Download System
Post by: jossanaijr on November 01, 2007, 02:02:38 PM
Quote from: Exterminator2006 on November 01, 2007, 11:14:17 AM
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.
Title: Re: Download System
Post by: Exterminator2006 on November 01, 2007, 02:33:56 PM
Quote from: jossanaijr on November 01, 2007, 02:02:38 PM
Quote from: Exterminator2006 on November 01, 2007, 11:14:17 AM
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
Title: Re: Download System
Post by: TrueSatan 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://docs.simplemachines.org/index.php?topic=402.msg531#msg531)

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

The following may also prove helpful:

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

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Title: Re: Download System
Post by: vbgamer45 on November 01, 2007, 09:11:02 PM
Quote from: ES23 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...
Fixed most of those errors redownload the mod for the fixes.
Title: Re: Download System
Post by: Exterminator2006 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"  :(
Title: Re: Download System
Post by: ES23 on November 02, 2007, 03:18:57 AM
Quote from: vbgamer45 on November 01, 2007, 09:11:02 PM
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?
Title: Re: Download System
Post by: DeMar on November 02, 2007, 03:21:13 AM
is any version for SMF 1.1.3?
Title: Re: Download System
Post by: TrueSatan 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.
Title: Re: Download System
Post by: Exterminator2006 on November 02, 2007, 08:18:11 AM
how modific more upload??
Title: Re: Download System
Post by: vbgamer45 on November 02, 2007, 08:27:23 AM
Quote from: Exterminator2006 on November 02, 2007, 08:18:11 AM
how modific more upload??
You need to edit the php.ini or php settings on your hosting.
Title: Re: Download System
Post by: jossanaijr on November 02, 2007, 08:41:35 AM
Quote from: jossanaijr 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.
Hi vbgamer45, did you check this?
Title: Re: Download System
Post by: vbgamer45 on November 02, 2007, 08:43:02 AM
I don't see a total downloads section on the Download Stats page
Total Files
Total Views
Total Comments    
Total Downloads Filesize
Title: Re: Download System
Post by: jossanaijr on November 02, 2007, 08:48:39 AM
oh I see, the image I have is like that

Total Comments   0
Total Downloads
Filesize             3780.25kb

probably because of my monitor size.
so I thought there should be some information besides "Total Downloads" !
BTW it will be nice to have this summary total downloads report...

Thanks.
Title: Re: Download System
Post by: chrishicks on November 02, 2007, 07:00:53 PM
any idea why most of my files show up as 0kb after I upload them? I can add stuff like jpg files and pdfs(haven't tried for a max file size yet however but so far up to around 2Mb for the pdf) but if I try to add an exe or wmv it shows up as the stated 0kb. when I try to d/l it to see what happens I get a 404-attachment not found message/page. do you have to add file types somewhere in order to allow more options?

you can take a look here(test board):

http://testforum.rejectsreststop.com/forum3/index.php?action=downloads
Title: Re: Download System
Post by: Richard Wing on November 02, 2007, 09:56:41 PM
VBGAMER45,

Thanks for the contribution of your time.

I know that we can set shop mod points to allow members to upload. Is there a way to set shop mod points to allow download links to work?

I want to reward members for their forum activity and one of the rewards is downloads.

If that isnt available now can I offer to pay you to add this capability in?

You are welcome to reach me by Instant Messenger.

Thanks,
Richard Wing
Title: Re: Download System
Post by: vbgamer45 on November 02, 2007, 10:11:53 PM
Quote from: RichardWing on November 02, 2007, 09:56:41 PM
VBGAMER45,

Thanks for the contribution of your time.

I know that we can set shop mod points to allow members to upload. Is there a way to set shop mod points to allow download links to work?

I want to reward members for their forum activity and one of the rewards is downloads.

If that isnt available now can I offer to pay you to add this capability in?

You are welcome to reach me by Instant Messenger.

Thanks,
Richard Wing
Send me a PM with the details and I can give a price quota to develop the addition.
Some ideas
Shop points are required to download a file uses points from the SMF Shop system.
Different categories require different number of credits to download files
Number of credits needed to download a file is based on filesize of download (Would work for any file that is hosted but not remotely hosted files)
Number of posts per day or all time to get access to the downloads categories
Displaying the number of credits to download file on file download display.
Title: Re: Download System
Post by: Exterminator2006 on November 02, 2007, 11:03:25 PM
please send me a code sample for bottom "downloads" in my theme  [email protected]  thanks
Title: Re: Download System
Post by: lobokun on November 03, 2007, 06:13:32 PM
hello i having problems with this mod. when i installed the mods it takes me straight to the settings but once i click any other link and when i want to go back
to edit some stuff there is no link under configurations, also there is no link to the download page. im running the latest version 1.1.4
Title: Re: Download System
Post by: sengot on November 04, 2007, 05:34:19 PM
hi there,

after installed this mod successfully, i cant access any of this mod's page. i got this error:

QuoteUnable to load the 'main' template.

any idea? im not using default template anyways
Title: Re: Download System
Post by: TrueSatan on November 05, 2007, 04:53:30 AM
@ sengot

If you wish to use this mod in any other theme than the SMF default you will need to manually install into it...the same holds true for almost all mods. Your template problem may be due to a double install into a file...manually check your files to remove any duplicated edits.

@ lobokun

Please check the following:

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.

You too will need to either use the SMF default theme or to manually edit them mod into any custom theme.
Title: Re: Download System
Post by: kassie on November 05, 2007, 04:55:15 PM
Thank you very much vbgamer45, I've been waiting for a download mod to come out with the comments & rating.  Great mod!! :D
I have one request if possible. I deal with graphics & I'm in need of a icons to be added next to the downloads name before a member clicks to go into the download to get the description & download link. Like the category icon, If that makes sense.

Icon   Title   Rating   Downloads   Date   Comments   Membername   Options

I'd be most grateful if this can be done.
Title: Re: Download System
Post by: samozin on November 09, 2007, 04:37:35 PM
ur mod is cool but what if i wannted to upload more than one file and want to make it appear in the same page
there must be more then one browse botton
more than one place to add  alinks

i hope u got the idea
i still cant upload adevided
file
Title: Re: Download System
Post by: VI-Chao on November 10, 2007, 01:50:32 PM
Quote from: chrishicks on November 02, 2007, 07:00:53 PM
any idea why most of my files show up as 0kb after I upload them? I can add stuff like jpg files and pdfs(haven't tried for a max file size yet however but so far up to around 2Mb for the pdf) but if I try to add an exe or wmv it shows up as the stated 0kb. when I try to d/l it to see what happens I get a 404-attachment not found message/page. do you have to add file types somewhere in order to allow more options?

you can take a look here(test board):

http://testforum.rejectsreststop.com/forum3/index.php?action=downloads

This is the exact same problem I'm having....  is there a solution?  I can do regular post attachments with no problem...

VI-Chao
Title: Re: Download System
Post by: VI-Chao on November 10, 2007, 04:04:01 PM
Okay - I can't seem to upload anything over 1.5megs regardless of file type.  I set the filesize to 20mb, and my php settings are set for 8 megs....

Any suggestions?

Title: Re: Download System
Post by: projectg on November 10, 2007, 09:44:38 PM
An Error Has Occurred!
Unable to load the 'main' template.

This is the error message I get Please help mate
Title: Re: Download System
Post by: projectg on November 10, 2007, 10:39:46 PM
Okay so i manually installed it... now where do i put the ftp folder come in that zip file and where do i put all the other files?
Title: Re: Download System
Post by: vbgamer45 on November 10, 2007, 11:07:09 PM
Upload the zip to http://www.smfhacks.com/smf-package-parser.html this will tell you all the files it edied and where they go.
Title: Re: Download System
Post by: tam2oo5 on November 10, 2007, 11:09:44 PM
hi there i was wondering, if its possible to change some colouring of the system. Just to fit in with my theme, where is it located?

Thanks
Title: Re: Download System
Post by: vbgamer45 on November 10, 2007, 11:27:14 PM
It uses all the default styles of SMF all controlled by style.css.
Uses titlbg windowbg windowbg2 and catbg classes.
Title: Re: Download System
Post by: Dragooon on November 10, 2007, 11:31:08 PM
G/J vB!
Title: Re: Download System
Post by: tam2oo5 on November 11, 2007, 12:41:29 AM
Quote from: vbgamer45 on November 10, 2007, 11:27:14 PM
It uses all the default styles of SMF all controlled by style.css.
Uses titlbg windowbg windowbg2 and catbg classes.

Thanks mate , ill change them then and see what i can come up with. And superb mod, just what SMF has been screaming for , for a long while, in the process of doing a major clean up of my forums to build around this.
Title: Re: Download System
Post by: tam2oo5 on November 11, 2007, 01:02:21 AM
OK ive been on smfhacks  and used the theme generator to alter my style.css file. Ive tried changing the settings i could think of to change the white area highlighted below to grey in the theme generator.

Could you tell me what area i must change to change the background colour in the pic below, which is white to grey. I can do this manually just dont know which setting...?

Oh and if your using this on another theme , will it still use the default css?

Thanks again VB  ;)
Title: Re: Download System
Post by: projectg on November 11, 2007, 04:32:35 AM
Quote from: vbgamer45 on November 10, 2007, 11:07:09 PM
Upload the zip to http://www.smfhacks.com/smf-package-parser.html this will tell you all the files it edied and where they go.
I installed it. But when I try to upload a file which is more than 10mb, it gives me this strange error...

"you must enter a title" even though i do enter a title. do u know why this is happening? and how come the files do not show when i manually upload using my ftp program? both ways dont give me a fix. please help
Title: Re: Download System
Post by: vbgamer45 on November 11, 2007, 09:38:33 AM
Quote from: projectg on November 11, 2007, 04:32:35 AM
Quote from: vbgamer45 on November 10, 2007, 11:07:09 PM
Upload the zip to http://www.smfhacks.com/smf-package-parser.html this will tell you all the files it edied and where they go.
I installed it. But when I try to upload a file which is more than 10mb, it gives me this strange error...

"you must enter a title" even though i do enter a title. do u know why this is happening? and how come the files do not show when i manually upload using my ftp program? both ways dont give me a fix. please help
For large files check your php settings.
Currently you can not manually upload large files.
Title: Re: Download System
Post by: louislam123 on November 12, 2007, 05:09:31 AM
When I'm about to install the mod, this always appears:

Quote1.     Execute Modification     downloads.xml     Modification parse error
2.    Execute Modification    -    Modification parse error
3.    Extract File    ./Sources/Downloads.php    
4.    Extract File    ./Themes/default/Downloads.template.php    
5.    Extract Tree    ./downloads    
6.    Extract File    ./Themes/default/languages/Downloads.english.php    
7.    Extract File    ./Themes/default/languages/Downloads.english-utf8.php    
8.    Execute Code    downloadsinstall.php

I'm using SMF 1.1.4, clean install.
Title: Re: Download System
Post by: vbgamer45 on November 12, 2007, 08:24:00 AM
Install the mod manually
http://www.smfhacks.com/smf-package-parser.html
Title: Re: Download System
Post by: louislam123 on November 12, 2007, 04:04:58 PM
I did that, and now I get this error:

Quote
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';'

Title: Re: Download System
Post by: santanu on November 13, 2007, 11:43:11 AM
Hi first of all a great job done there.

I was wondering if i can see who have downloaded. I allow only my members to download.
Title: Re: Download System
Post by: Sic0 on November 13, 2007, 02:19:24 PM
Thanks to all who made this mod possible, I have it installed on the "Amber" theme and everything is hunky dory.

Except...all permissions are set but unfortunately nobody is allowed to view the download centre :(

On a side note: There is no text in the permissions only a box ..which is duly ticked.

Any ideas ? Is it possibly a theme problem?

Cheers.
Title: Re: Download System
Post by: TrueSatan on November 13, 2007, 03:04:17 PM
@ Sic0

Two things to look at...first you need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

Second like almost all mods this mod needs to be manually installed into custom themes and anything bas the SMF default theme is a custom theme...the following should help with manual installations:

Please read:

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

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

The following may also prove helpful:

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

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Title: Re: Download System
Post by: Sic0 on November 13, 2007, 04:03:23 PM
Thank you for the reply TS, I have already looked into the links you gave me and all files appear to be in the proper place.

I have installed a few mods into this theme before but I seem to be overlooking something here.

Title: Re: Download System
Post by: TrueSatan on November 13, 2007, 04:19:44 PM
I presume it does work properly for you in the SMF default theme...get it working there first please then continue with your custom theme.
Title: Re: Download System
Post by: Sic0 on November 13, 2007, 06:06:36 PM
Nope..not allowing permission to view in the default theme either.

Can see it as an admin but thats it, any help appreciated.

Many thanks
Title: Re: Download System
Post by: TrueSatan on November 13, 2007, 06:21:35 PM
I presume that you saw and acted on the last but one paragraph of text in the mod settings page?

QuotePermissions
Lastly! Do not forget to make sure the permissions are set for each group, in order for them to view and add to the downloads.
Title: Re: Download System
Post by: taurean on November 14, 2007, 07:01:07 AM
I installed the mod and checked all the files again thru SMF Mod Parser Package. it seems all the required files are intact.

Now i cant see any activity happening with this mod. i want to know where in admin panel i need to make the settings.

TP 0.98 Dana Theme / SMF 1.1.4. pls help
Title: Re: Download System
Post by: murdo on November 14, 2007, 09:49:33 AM
When I try and install this mod, I get:

Quote1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed

using smf 1.1.4 with "arcade" and "youtube video" mods....
Title: Re: Download System
Post by: murdo on November 14, 2007, 09:52:27 AM
Ok i uninstalled my other two mods, installed this mod, then re-installed the other two... all seems fine
Title: Re: Download System
Post by: Sic0 on November 14, 2007, 03:20:42 PM
@ TrueSatan

Yes mate I did have all the relevant permissions in place but still no joy.

Tonight I went through the code and swapped "downloads_view" to "view_downloads" in 2 files and voila!

Thank you for your time.
Title: Re: Download System
Post by: Exterminator2006 on November 14, 2007, 03:23:59 PM
same error  Execute Modification ./Themes/default/languages/Modifications.english.php 

This mod is very baby! :(   

END mod   uinstall finish
Title: Re: Download System
Post by: TrueSatan on November 14, 2007, 04:30:12 PM
@ Exterminator2006

The mod is fine; problem exits between chair and keyboard...unfirtunately if that module is not willing to deal with such simple issues as the one reported above then few mods will work with that module's forum...such errors become incrreasingly likely the more mods the module installs.
Title: Re: Download System
Post by: Exterminator2006 on November 14, 2007, 04:35:27 PM
Quote from: TrueSatan on November 14, 2007, 04:30:12 PM
@ Exterminator2006

The mod is fine; problem exits between chair and keyboard...unfirtunately if that module is not willing to deal with such simple issues as the one reported above then few mods will work with that module's forum...such errors become incrreasingly likely the more mods the module installs.

yes for avanced users :(  because all mods are upload clic y finish... but nt manual :(
Title: Re: Download System
Post by: TrueSatan on November 14, 2007, 05:08:42 PM
Simple...and it really is very simple...editing to resolve as basic an issue as that one is well within the abilities of the vast majority of SMF users...BTW so is posting in standard English and doing so is likely to get you helpful replies.
Title: Re: Download System
Post by: vagiclean on November 15, 2007, 01:08:49 PM
i installed this mod and since it the text didnt display on the menu bar at top and under configuration(it just had a space), i uninstalled it.  now i still have the space in the default theme in the top menu and under admin settings there is still a line where there should have been the configure downloads at between Server Settings and Current Theme. im using 1.1.4.
Title: Re: Download System
Post by: Sic0 on November 15, 2007, 01:38:26 PM
Hmmm I may have been a litle hasty in thinking that I had sorted my problem.

Although making the edits has allowed the downloads to be seen...it still does not allow downloads to be accessed.

Back to the drawing board for me.
Title: Re: Download System
Post by: TrueSatan on November 15, 2007, 06:06:44 PM
@ vagiclean

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

@ Sic0

I think vbgamer might be best to look into this for you.


Title: Re: Download System
Post by: Sic0 on November 15, 2007, 06:14:47 PM
I'm stumped.

It definitely feels like a "permissions" thing but all is in place for proper functionality.


I will try for another night   but then I may have to trouble VBGamer.

Thanks
Title: Re: Download System
Post by: vagiclean on November 15, 2007, 11:48:12 PM
Quote from: TrueSatan on November 15, 2007, 06:06:44 PM
@ vagiclean

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

i did that and now there are 2 download buttons at top and on any other them besides default the line is blank.
Title: Re: Download System
Post by: vbgamer45 on November 16, 2007, 12:47:39 AM
Copy the text from modifications.english.php to every modifcations.language.php file.
If you are using custom themes you will need to do as well.

To remove the second download button at the top you would need to edit index.template.php of that theme and remove the duplicate code.
Title: Re: Download System
Post by: [SAP]Francis on November 16, 2007, 07:56:19 AM
Awesome! I love it!
Title: Re: Download System
Post by: vagiclean on November 16, 2007, 11:55:09 AM
Quote from: vbgamer45 on November 16, 2007, 12:47:39 AM
Copy the text from modifications.english.php to every modifcations.language.php file.
If you are using custom themes you will need to do as well.

To remove the second download button at the top you would need to edit index.template.php of that theme and remove the duplicate code.

that got rid of the top download bar but i still have the blank line where configure downloads was in the admin panel.
Title: Re: Download System
Post by: Sic0 on November 16, 2007, 02:33:13 PM
@ vbgamer

I'm sorry to be a pain but I have rolled everything back and started again and still cannot get permissions working.

See attached screenshot and let me know if there should be more there.

Many thanks for your efforts.
Title: Re: Download System
Post by: Hadi on November 17, 2007, 10:24:43 AM
Greetings all,

is there a way to use the mod under UTF encoding?
Title: Re: Download System
Post by: Crankie Yankee on November 17, 2007, 05:31:25 PM
Hi,

I have a problem with the "downloads system" modification. I installed it once before and had a few problems that have since been fixed. The problem now is there are two buttons for "downloads" on the menu bar under the header. Please help!

Thanks
Title: Re: Download System
Post by: TrueSatan on November 17, 2007, 07:29:13 PM
Please check the index.template.php file of your theme...your problem indicates that you have duplicated the code this mod adds to that file...it is likely that the other files this mod edits may well also have duplicated edits so you will need to go through the process of a manual installation of the mod and check them all correcting as needed.

For further advice on manual installations please read:

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

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

The following may also prove helpful:

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

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Title: Re: Download System
Post by: Crankie Yankee on November 17, 2007, 07:53:14 PM
Quote from: TrueSatan on November 17, 2007, 07:29:13 PM
Please check the index.template.php file of your theme...your problem indicates that you have duplicated the code this mod adds to that file...it is likely that the other files this mod edits may well also have duplicated edits so you will need to go through the process of a manual installation of the mod and check them all correcting as needed.

For further advice on manual installations please read:

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

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

The following may also prove helpful:

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

Mirror of the last link:

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


Thank you TrueSatan. Your help is very much appreciated. Now I'm having a different problem with the "downloads system" modification. I have uploaded a few files but when I click on any of the files my screen reads "the page cannot be found". I would assume I have to specify the path or paths to access the files but I'm not sure how to do this. The files have been uploaded to my server and all is well on that side, so I am assuming I need to do something in the administration on the forum itself.
Any help would be appreciated.

Thanks
Title: Re: Download System
Post by: sengot on November 18, 2007, 12:58:25 AM
hi there,
so i've managed to install manually. Btw, is there any way to integrate it with smfshop? i mean when user want to download, their point is deducted. :D
Title: Re: Download System
Post by: Eleaz on November 18, 2007, 02:55:55 AM
Hi, first of all, awesome mod!

I was wondering if it would be able to input html codes/javascript into the description of the items up for download.
Whenever i add a streaming video link, it turns out all gibberish, how can i make this work ?

PS: I want to add a streaming window in the description for the items. Thanks a lot!
Title: Re: Download System
Post by: scrawl on November 18, 2007, 06:20:56 AM
great mod thanks
Title: Re: Download System
Post by: krawutke on November 18, 2007, 08:49:14 AM
Hi,

I´m testing download system at the moment.
I have the problem that the download works but if the download is a pdf-file the file opens in the same window. Secondary the original file link (e.g. http://domain.com/download/myfile.pdf) appers in the browser window.
Is this a feature or a bug? I would expect that the file could only be downloaded (via php header function), so I don´t need for pdf files such a download system cause I can publish the original link.
Is the a possibilty to add a preview screenshot?
Title: Re: Download System
Post by: Eleaz on November 19, 2007, 05:35:56 AM
Quote from: Eleaz on November 18, 2007, 02:55:55 AM
Hi, first of all, awesome mod!

I was wondering if it would be able to input html codes/javascript into the description of the items up for download.
Whenever i add a streaming video link, it turns out all gibberish, how can i make this work ?

PS: I want to add a streaming window in the description for the items. Thanks a lot!
Title: Re: Download System
Post by: Sic0 on November 19, 2007, 08:45:30 AM
@TS or vbgamer

I now have all checkboxes showing up in permissions and everything is working okay apart from the fact that unless you are an admin then you cannot view the downloads.

I have been through all the affected files and double checked with SMFparser and as far as I can tell then it should be allowing permissions.

I am now at a loss as to what could be causing this.

Any ideas?
Title: Re: Download System
Post by: TrueSatan on November 19, 2007, 09:21:59 AM
@ Crankie Yankee

Have a look in ACP> Downloads Configuration and you will see the paths settings and be able to change them if needed (shouldn't be needed in normal use but it's there just in case)...also then go through all the configuration options and see if they match your needs and double check the Approve Downloads and Category Permission List tabs at the top of the settings page.

@ Sic0

Try something for me please...make a brand new test forum with no other mods etc and apply this mod to it...see if it works in that. If it does that will tell us that your hosting isn't the problem...if not then we get a rather strong hint to the nature of the difficulty.

Like Crankie Yankee please check the mod settings and also on both your main forum and the new test one please do the following (before adding the mod would be best)...

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Title: Re: Download System
Post by: Sic0 on November 19, 2007, 10:59:17 AM
@ TS

Hi.

I tried the cleanup routine and now I have no access to my forum :(

Title: Re: Download System
Post by: TrueSatan on November 19, 2007, 11:34:46 AM
It sounds as though your forum files may be in that peculiar condition known as "a right mess".

Out of interest via ftp are your files now writeable...ie CHMOD 777 or 775?

Worst case you can restore from backup presuming you did as you always should and made regular backups of files and database...if not you might need to get the latest SMF install package and overwrite (via ftp) all files and directories that it duplicates with fresh copies taken from that package...save for your Attachments directory and your Settings.php and Settings_bak.php files in your forum root...this would give you your database intact but with a clean set of files running it...from then you could add back in your mods etc.

N.B. remember to do backup of both files and database...SMF do advise this before adding or removing any mods or themes or edits.

I tend to think that your files were probably the root cause of these problems and had issues in them before you started work on this mod...that would explain the problems you have had including this last one.

The file cleanup being a standard feature in SMF is entirely safe in normal circumstances and with undamaged files and a hosting that is set up properly...you can assume that one, or both, of these provisos explains the failure.
Title: Re: Download System
Post by: Sic0 on November 19, 2007, 11:40:54 AM
Thanks for the quick response. I will go through everything again. The site worked flawlessly and no errors before I tried that last bit though.

Oh well   no doubt I will be posting soon.

Many thanks
Title: Re: Download System
Post by: Sic0 on November 19, 2007, 12:50:05 PM
Okey Dokey....after that little scare... I have managed to access my forum once again which is a relief.

The files are showing as having 755 permissions which is okay for the other mods Ihave installed.

Is this one any different or should that be ok?

I really do appreciate your comments TrueSatan and you are very concise with your input.

Cheers
Title: Re: Download System
Post by: TrueSatan on November 19, 2007, 12:57:50 PM
I try...BTW SMF do ask those of us who provide help to be concise so take that as a given. 755 is fine and is quite normal...some hosting sets to 777 which is a tad more open but either will work.
Title: Re: Download System
Post by: Crankie Yankee on November 19, 2007, 01:05:49 PM
All problems solved except for one minor problem with the 'buy me a beer' modification. I'm confident it will be solved ASAP. Other than that minor problem all systems are a go. Thanks to all for your help!  :D
Title: Re: Download System
Post by: Sic0 on November 23, 2007, 05:39:49 AM
Thank you for your help TrueSatan & vbgamer.

It is now working fine and is ideal for my board members.

As a little aside:
I particularly like the way that it makes a post when an upload has been added and I was wondering if this would be possible with the SMF Gallery mod.
Title: Re: Download System
Post by: sg707 on November 23, 2007, 03:24:28 PM
Just a quick question before I install this mod (especially vb's!)

let's be honest.  If you open up this feature then most likely it'll be illegal downloads, such as mp3's and etc...  Now, let's assume this is the case for your forum and would u really get in legal issues? heck~ I don't mind doing this for my members~~~ but I don't want to goto jail for it.

Also, if you're using this feature for something else, please let us know!
Title: Re: Download System
Post by: TrueSatan on November 23, 2007, 04:27:44 PM
I use this mod for completely legal distribution of extensions and other code so, yes, there are legal uses for it and it is so used.

As for asking about the chances of getting caught breaking laws via use of this mod...best advice...don't break those laws and you will have no chance of getting caught.
Title: Re: Download System
Post by: ziomekdjpl on November 28, 2007, 10:49:13 AM
i have a problem:

QuoteFatal error: Call to undefined function: db_query() in /home/.turd/ziomekdjpl/ziomekdjpl.com/forum/downloadsinstall.php on line 20

any suggestion?
Title: Re: Download System
Post by: TrueSatan on November 28, 2007, 11:15:44 AM
What were the circumstances when this error occured...had you installed the mod using the SMF Package Manager?
Title: Re: Download System
Post by: ziomekdjpl on November 28, 2007, 01:31:16 PM
ok now everything work:)
but can i upload file with download system to another server? i have forum on server with small andwitch and i want to keep files from download server on another server
Title: Re: Download System
Post by: sg707 on November 28, 2007, 04:42:50 PM
Quote from: TrueSatan on November 23, 2007, 04:27:44 PM
I use this mod for completely legal distribution of extensions and other code so, yes, there are legal uses for it and it is so used.

As for asking about the chances of getting caught breaking laws via use of this mod...best advice...don't break those laws and you will have no chance of getting caught.

That's perfect for this plugin.  But, I really wonder how serious the law is.  Take for example youtube, stage6, imeem, and many other site that contains copyright materials.  I didn't see anyone of them going to jail except making $$$...lol~ Yes, I know that they are "deleting" copyright materials as they monitor it but we all know they will ALWAYS have illegal downloads/views and chances are most viewers are searching for illegal materials.  With that said, am I going to the jail because some members uploaded copyright mp3's? or do I have to report them? of course, I will put a warning "Do not upload illegal / copyright materials" but I know that'll be ignored like a beggar on a street. 
Title: Re: Download System
Post by: sg707 on November 28, 2007, 04:46:42 PM
Well, let's just say I want to know the response of this question.

"Is it web master's fault?  If an user uploads illegal materials, after acknowledging uploading illegal material is not allowed"

follow up question.

"Is it web master's job to monitor every single uploaded file? or do I just monitor the one's that has been reported by a member?" (I think this is probably how youtube and other site does)
Title: Re: Download System
Post by: TrueSatan on November 28, 2007, 05:55:07 PM
The situation is very murky...for instance the jurisdiction that a company such as Youtube is registered in will affect the laws governing it so that has a bearing on the matter. Your host will also be governed by a legislative system set by its physical location. Most hosts make it clear that if you allow your site to be used to host illegal items action (often unspecified) can/will be taken against you as the site owner. Perhaps they'd just delete your sites but they could do a great deal more.

There isn't a hard and fast answer to your question and I'd be silly to try to provide one...also the big companies have very good in-house lawyers to defend their actions...I don't and doubt that you do either...and BTW those big sites are somewhat proactive in deleting at least some of the illegal uploaded content before complaints are made.

I would suggest that any site, big or small, would do well to show that "best endeavours" were being made to remove illegal content and to prevent it  being there in the first place...the extent and effectiveness of these "best endeavours" would be a movable feast.

The safe way has to be to monitor each uploaded file and take action as needed as soon as you can and to thus put yourself in a position where you can reasonably show and claim to have done all you could be expected to do and to have done.
Title: Re: Download System
Post by: Mr_Z on November 29, 2007, 09:36:39 PM
quick question before i test this.

Can we upload a file from a url? (like how you can import an avatar from a url for instance)

or have a file located on the server (just a link to it on the download page) but require users to be registered to download the file?

thanks :)
Title: Re: Download System
Post by: vbgamer45 on November 29, 2007, 10:13:02 PM
You can have files stored on remote servers.
Title: Re: Download System
Post by: Mr_Z on November 29, 2007, 10:14:56 PM
Quote from: vbgamer45 on November 29, 2007, 10:13:02 PM
You can have files stored on remote servers.

and the downloads are protected still? eg. have to be logged in to download?
Title: Re: Download System
Post by: murdo on November 30, 2007, 08:08:14 AM
I've downloaded 1.0.2 already... but I noticed you updated the mod in november... was this to fix the "Filesize: 0kb" on external linked files? because I have done a lot of mod work myself on this and would rather not go through it all again.. if that bug isn't fixed compared to the version i have!
Title: Re: Download System
Post by: sg707 on November 30, 2007, 01:35:32 PM
Just curious, what files are your members uploading?
Title: Re: Download System
Post by: Mr_Z on November 30, 2007, 06:06:17 PM
Quote from: sg707 on November 30, 2007, 01:35:32 PM
Just curious, what files are your members uploading?

just normal files but i dont want my server bandwith leeching. so i need to know if the links are protected from unlogged in users.

(i had it happen to me before and had to switch servers you see)
Title: Re: Download System
Post by: xvalid on December 01, 2007, 10:52:24 PM
When I upload files they show up as 0kb and it comes up with a 404 error page when I try to download anything. Why is this?


gimpandphotoshop.com/index.php?action=downloads (http://gimpandphotoshop.com/index.php?action=downloads)
Title: Re: Download System
Post by: vbgamer45 on December 02, 2007, 01:38:23 AM
Are the files in your downloads folder?? Check your downloads path and url settings.
Title: Re: Download System
Post by: murdo on December 02, 2007, 07:12:55 AM
does no one know if the 0kb bug has been fixed?? (when u use a DL URL instead of uploading a file)
Title: Re: Download System
Post by: vbgamer45 on December 02, 2007, 09:29:22 AM
That can not be fixed since we can not find out the size of the remote url.
Title: Re: Download System
Post by: murdo on December 02, 2007, 09:39:47 AM
surely it can be fixed like this:


Download URL:
Upload File:
Filesize:


and Filesize box is not used if if the Download URL is... where as if "Upload File" is used, then the filesize input box is ignored???
Title: Re: Download System
Post by: vbgamer45 on December 02, 2007, 03:09:14 PM
1.0.3
!Fixed showing filesize on download page if file is a remote url.
Title: Re: Download System
Post by: murdo on December 02, 2007, 04:08:53 PM
Fantastic... quick question though... I have done a lot of work with the mod myself, especially the templates etc.... any chance there is a "manual" update guide or info on what code changes have been done, so I dont have to do my changes all over?
Title: Re: Download System
Post by: vbgamer45 on December 02, 2007, 04:25:25 PM
I like to use this program to find the changes in a file
http://www.deepcoldsoft.com/diff.html

This is what I use to compare code.
Title: Re: Download System
Post by: murdo on December 02, 2007, 04:32:39 PM
so looks like im gonna have to compare 1.0.2 to 1.0.3 and see what was done for the "fix" ... dammit after doing so much work :(
Title: Re: Download System
Post by: softtouch on December 05, 2007, 03:46:10 AM
I have another problem with it. I upload files, they are listed in the stats (recent downloads etc.), but if I click on the category to which I uploaded the file... empty...
Title: Re: Download System
Post by: Garou on December 06, 2007, 07:15:44 PM
Fatal error: Cannot redeclare downloadfile() (previously declared in \forum\Sources\Downloads.php:4955) in \forum\Sources\itemstats\includes\HTTPDownloader.php on line 40

Is there a way to work around this conflict between the system and Itemstats?
Title: Re: Download System
Post by: vbgamer45 on December 06, 2007, 09:54:05 PM
One of the two functions needs to be renamed.
Title: Re: Download System
Post by: Garou on December 07, 2007, 03:41:10 PM
Doh I should have thought of that. Thanks  :)
Title: Re: Download System
Post by: Alder on December 07, 2007, 08:11:03 PM
vbgamer45, does mod have possibility to set permissions for members groups based on posts count?
Title: Re: Download System
Post by: vbgamer45 on December 07, 2007, 10:10:57 PM
Quote from: Alder on December 07, 2007, 08:11:03 PM
vbgamer45, does mod have possibility to set permissions for members groups based on posts count?
Not at this time.
Title: Re: Download System
Post by: Alder on December 08, 2007, 01:46:32 PM
Quote from: vbgamer45 on December 07, 2007, 10:10:57 PM
Quote from: Alder on December 07, 2007, 08:11:03 PM
vbgamer45, does mod have possibility to set permissions for members groups based on posts count?
Not at this time.
:( Good mod and works well, but I need set permissions based on posts count for my forum...
When will this possibility be added probably? Or, probably, you don`t need to use groups permisions - set only mininum posts count for full access to the category?
Title: Re: Download System
Post by: Josh Schnapp on December 10, 2007, 05:44:13 AM
I installed the download system mod with no problem and no cosmetic problems whatsoever but when I upload a file it shows it as 0k and when I try to download it I get a 404 error. I FTP'd to the directory I have listed in the config and set it as 777 but the files I upload do not show up in the directory at all. Any ideas that could help?
Title: Re: Download System
Post by: Alder on December 10, 2007, 08:34:39 AM
Josh Schnapp, check you PHP settings. Usually in /etc/php.ini
First - upload_max_filesize (defualt -  2M)
Second - post_max_size (default 6М)
Set biggest value and restart PHP.
Title: Re: Download System
Post by: Murdoc_LaCN on December 11, 2007, 03:51:38 PM
lol im gunna sound like such a n00b now :P

well let see lol

i would like it to appear on a other theme of mine that is totally cool :D the prob is i kinda suck when it come to this whole php thing

so i was wondering can i just copy paste w/e i need to copy paste out of default theme into the theme that i currently have on ???
Title: Re: Download System
Post by: vbgamer45 on December 11, 2007, 08:37:24 PM
Upload the package to
http://www.smfhacks.com/smf-package-parser.html
And it will tell you what theme files need to be edited and where this may vary for each custom theme.
Title: Re: Download System
Post by: murdo on December 14, 2007, 07:25:05 AM
the keywords dont work?  Even when i search and tick the "Keywords" box, i dont get any results??

I tried various ways of putting the keywords in, eg:

one, two, three

one two three

one; two; three;

"one" "two" "three"

and nothing works..... any ideas?
Title: Re: Download System
Post by: murdo on December 17, 2007, 09:11:51 AM
i guess no one has an answer? :(

also why do the "Categories" not have a sorting option? I hate having to put them in alphabetical order each time :(
Title: Re: Download System
Post by: cerberos on December 18, 2007, 06:29:28 AM
Hello Vbgamer45,

The Mod works perfect, just one question.

Is it possible, to have for each file i upload, an image / icon logo? So to have not only the text there, but also an image with each file. And also, if i can have images in the file, as screenshots, be displaed.

Thats all, everything else, is working ok:)
Title: Re: Download System
Post by: murdo on December 19, 2007, 09:32:03 AM
I have done a slight mod similar to what you want, where it adds a generic image along with the download link, to make it more obvious:


(http://www.gamersfiles.net/dlbutton.jpg)


If anyone wants it, get in touch :)
Title: Re: Download System
Post by: wjhdiz on December 19, 2007, 11:44:16 PM
Does this work for Classic YaBB theme?

I really appreciate if you can help.

Thanks.

Quote from: vbgamer45 on October 31, 2007, 06:55:37 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=992)

A complete download system for SMF.

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!
Title: Re: Download System
Post by: vbgamer45 on December 20, 2007, 12:32:01 AM
It works with any theme as long as you create a button/link for any custom theme
Title: Re: Download System
Post by: DMV on December 20, 2007, 09:57:41 AM
Forgive me, but I have this mod installed, but my users do not know how to use it, and neither do I... could someone point me somewhere that will explain ho to use this from both a user and admin point of view? 

Thanks in advance...
Title: Re: Download System
Post by: wjhdiz on December 20, 2007, 11:30:18 AM
Thank you and will try it tonight.

Quote from: vbgamer45 on December 20, 2007, 12:32:01 AM
It works with any theme as long as you create a button/link for any custom theme
Title: Re: Download System
Post by: Nick.123 on December 20, 2007, 05:18:07 PM
vbgamer45, Anyway to have different download paths for different Category's?

I.E

Category     Patch

Picture         /home/pictures
Videos         /home/Vids

Also anyway to stop it redirecting to "MyFiles" after uploading a new file but instead going back to the page before.

BTW: Great Mod Lovin it :D lol

Thanks
Nick
Title: Re: Download System
Post by: tiger5226 on December 21, 2007, 01:30:03 AM
Hey I am wondering if this problem I am having has anything to do with my site hosting. Please help me. when I upload a simple text file it does it just fine but When I try to upload a 20MB .exe file I get an HTTP 500 error. Also the install test failed for Modifications.english-utf8.php but I did not think that had anything to do with it because I do not have that file and on top of that I did not have a problem with the other files being uploaded(simple text file).

Mark

www.freegeeksupport.com
Title: Re: Download System
Post by: cerberos on December 21, 2007, 06:26:45 AM
Quote from: murdo on December 19, 2007, 09:32:03 AM
I have done a slight mod similar to what you want, where it adds a generic image along with the download link, to make it more obvious:


(http://www.gamersfiles.net/dlbutton.jpg)


If anyone wants it, get in touch :)


Hello, ty for your time first of all

Can i have a different image displayed there every time? I assume wont be so hard to change it:)

But if u can, tell me the code for the above,i can use it for now :)
Title: Re: Download System
Post by: tiger5226 on December 22, 2007, 09:57:00 AM
is there anyone that can help me?
Title: Re: Download System
Post by: Kreator on December 23, 2007, 11:47:26 AM
I can get all this to work...however ,when i go in as user there is no Download file link /icon any ideas?
Title: Re: Download System
Post by: TrueSatan on December 23, 2007, 01:25:08 PM
@ Kreator

Please go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

If you are using a custom theme you will need to follow the advice in reply #130 above
Title: Re: Download System
Post by: murdo on December 24, 2007, 05:29:21 AM
VB....

the keywords dont work?  Even when i search and tick the "Keywords" box, i dont get any results??

I tried various ways of putting the keywords in, eg:

one, two, three

one two three

one; two; three;

"one" "two" "three"

and nothing works..... any ideas?

Also, is there any way to change the default "Sorting" from "Date" to Title Asc?
Title: Re: Download System
Post by: adesir on December 26, 2007, 04:01:28 PM
Hello,

I just finished a french translation of Download System for a french SMF forum. Since the mod is not planned for other language than english, it was not really easy.

In the Who.french.php file, add:
// Begin Download System
$txt['whoall_downloads'] = 'Dans les <a href="' . $scripturl . '?action=downloads">Téléchargements</a>.';
// END Download System Strings


And copy the two attached file to the languages folder (append if you have other mods).

Antoine
Title: Re: Download System
Post by: vbgamer45 on December 27, 2007, 12:37:38 AM
Thanks for the translation!
Title: Re: Download System
Post by: Nick.123 on December 30, 2007, 07:46:23 AM
Hi, I'm having the same problem as xvalid. When I upload a file around 5mb it show's as 0kb and gives me the 404 error. I've checked the download location and it hasnt uploaded.

Also tried changing the PHP Settings with no luck :(

Any Suggestions
Thanks
Title: Re: Download System
Post by: TrueSatan on December 30, 2007, 08:41:53 AM
If the mod works with smaller files then it's probably a limit imposed by your hosting.
Title: Re: Download System
Post by: tiger5226 on December 31, 2007, 12:35:42 AM
Its not a limit imposed by the hosting as I am having the same exact problem except I am dealing with 30MB files. I called my hosting customer service they said that if I can do using FTP then their is no problem with hosting it is a problem with the program or MOD. If you have any ideas please help...I have been following this string for a while.

Mark

Forgot to say it worked fine using FTP through windows
Title: Re: Download System
Post by: murdo on December 31, 2007, 07:04:23 AM
vbgamer45, did you have any luck identifying why the keywords dont work for the search?
Title: Re: Download System
Post by: murdo on January 02, 2008, 09:12:01 AM
Ok, seeing as I'm getting nowhere with the search keywords, would anyone like to be EMPLOYED to fix this for me!?
Title: Re: Download System
Post by: Silent on January 02, 2008, 03:38:37 PM
Quote from: murdo on January 02, 2008, 09:12:01 AM
Ok, seeing as I'm getting nowhere with the search keywords, would anyone like to be EMPLOYED to fix this for me!?

@murdo:

This little Hack helped me:

Find in Downloads.php:

if ($searchkeywords)
{
if ($s1 == 1 || $s2 == 1)
$searchquery .= " OR p.keywords LIKE '$searchfor'";
else
$searchquery = "p.keywords LIKE '$searchfor'";
}


Replace:

if ($searchkeywords)
{
if ($s1 == 1 || $s2 == 1)
$searchquery .= " OR p.keywords LIKE '%$searchfor%'";
else
$searchquery = "p.keywords LIKE '%$searchfor%'";
}


Now you can type in your keywords and you should see results  :)
Title: Re: Download System
Post by: murdo on January 02, 2008, 03:58:08 PM
Still doesn't work properly... one or two of the keywords work, but not all of them??

Is there a dilimeter needed?

My keywords are

one two three four five

and i've also tried

one, two, three, four
Title: Re: Download System
Post by: Silent on January 02, 2008, 03:59:23 PM
Can you give me your Website-Adress pls?  :)
Title: Re: Download System
Post by: murdo on January 02, 2008, 04:03:08 PM
sorry, it is me being thick.. I thought the only change was the additional  %  but I did a copy and paste, and it now works perfectly :)

my site is   http://www.gamersfiles.net

thanks so much for your help. there are some other things i want to be able to do, could I chat with you about them? I could PM my msn addy....
Title: Re: Download System
Post by: Silent on January 02, 2008, 04:05:13 PM
No problem, I'm glad it helped  :D
Sorry, I've no MSN-Account, maybe you could send me a PM or a Mail?  :)
Title: Re: Download System
Post by: murdo on January 02, 2008, 04:07:22 PM
No Yahoo / ICQ either?  PM/mail is fine.. just not as easy to explain!
Title: Re: Download System
Post by: Silent on January 02, 2008, 04:08:38 PM
No, I've no messenger running    ;)
Title: Re: Download System
Post by: murdo on January 02, 2008, 04:12:28 PM
ok, well i was looking for help with the site code in general, slightly more advanced things etc... basically, "staff".. lol.. would you be interested? if so, I can email...
Title: Re: Download System
Post by: TrueSatan on January 02, 2008, 06:34:09 PM
What has recruiting staff to do with this topic?
Title: Re: Download System
Post by: murdo on January 03, 2008, 04:09:50 AM
Nothing at all, but he offered good help with this package, unlike some, and has limited communication. It has now moved on to emails / pm.

Does anyone know if the Download "Search" page could be put into a page of its own, outside of "Downloads.php" fairly easily?
Title: Re: Download System
Post by: murdo on January 04, 2008, 11:22:03 AM
Does anyone know how to easily sort the CATEGORIES as apposed to the files?? I cant beleive the "Sort By" only applies to Files, not categories...

I have thousands of categories, it will take me so long sort them manually :(
Title: Re: Download System
Post by: DMV on January 04, 2008, 03:25:23 PM
Can someone explain to me how to CREATE a category...

When I try to add a download it is telling me I must create a category first, but there is no section for me to create a category in downloads configuration...

Thanks in advance
Title: Re: Download System
Post by: murdo on January 04, 2008, 03:36:09 PM
When logged in as Admin, go to:

/forum/index.php?action=downloads;sa=addcat

Title: Re: Download System
Post by: Pond_Hockey on January 05, 2008, 11:38:21 PM
I have a simple request for my code. If someone could please read my topic.

http://www.simplemachines.org/community/index.php?topic=215009.0 (http://www.simplemachines.org/community/index.php?topic=215009.0)

It would be greatly appreciated!
Title: Re: Download System
Post by: murdo on January 06, 2008, 07:21:54 AM
You need to be more specific with what you want.....
Title: Re: Download System
Post by: Pond_Hockey on January 06, 2008, 12:15:11 PM
You know how on the post template their are all the tags above the post box i.e bold, italic, underline, image, link. Well when you go to add a file to the download system there is a title box, category, description, keywords, upload file, upload url box. I want the img and url tag buttons above the description box.


Title: Re: Download System
Post by: murdo on January 06, 2008, 12:21:15 PM
I will figure out how to add a button for the image tag, but as for the URL button, why do you need this?

URL's are automatically parsed by the download script. if you type

http://www.google.com

in the description box, it will appear as a link....
Title: Re: Download System
Post by: Pond_Hockey on January 06, 2008, 03:13:12 PM
google (http://"http://www.google.com)


Well how do I make a link like that then?
Title: Re: Download System
Post by: murdo on January 06, 2008, 03:14:44 PM
ok so in that instance, you would need:

[url=http://www.google.com]Google[/url]
Title: Re: Download System
Post by: magitek on January 11, 2008, 10:29:57 PM
Has anyone modified this mod to work with allowing the upload of a photo with the file to be shown on the download page?
Title: Re: Download System
Post by: murdo on January 12, 2008, 07:17:07 AM
dont think so... you could always upload the photo for people to download it full size, and in the "Description" box, put a smaller / thumbnail size one... using BB code:

[img src=yourimage.jpg][/img]
Title: Re: Download System
Post by: magitek on January 13, 2008, 03:54:09 AM
I'd like to point something out for my fellow programmers. Earlier it was brought up that the keywords seemed to be broken, and a suggestion was made. After making that change, it still did not work. After some more hacking around, I found a block of code in the downloads.php file in the search2 function that looked like this:

if(key == '')
{
    .... Huge code block ...
}
else
{
   ... some more code ...

  $context['downloads_search_query'] = "p.keywords LIKE '$keyword'";
}

that $context line needs the same fix as the other lines suggested earlier, add % before the $ sign and after the letter d.

So afterwards, it should look like:

$context['downloads_search_query'] = "p.keywords LIKE '%$keyword%'";

Hope that helps.
Title: Re: Download System
Post by: ASF on January 14, 2008, 02:58:50 PM
mate, how do i change the download path from my site to a file host?

my site.

http://www.allsomaliforum.com
Title: Re: Download System
Post by: myaicons on January 17, 2008, 09:51:51 AM
Quote from: ASF on January 14, 2008, 02:58:50 PM
mate, how do i change the download path from my site to a file host?


is this possible??  if so... would be great!... as i myself do not have enough space to keep the downloads... if we can use a separate file hosting (i.e. the user can just input the url for his/her file from another file host) 
Title: Re: Download System
Post by: myaicons on January 17, 2008, 11:30:06 AM
@vbgamer45

(or anyone who can help)


so i downloaded the mod and everything seems to have installed correctly... i am able to access the Downloads Configuration panel.. but i dont see where i can set and add categories... i cant even see my downloads page when i go to the Downloads Url (it just directs me to my forum index)... and shouldnt there be a new link on the menu bar?  i am using the default theme...

i dont even see the downloads page as admin...

please assist!   :(
Title: Re: Download System
Post by: myaicons on January 18, 2008, 09:14:46 PM
i got the above figured out and fixed....

but is it possible to make it work like smf gallery... where when an unregistered guest views the download page... he/she is shown the login box... (ive set my permissions so that guests cannot view the downloads page) instead of the hideous category bar header and stats (no links for downloads of course) ???



Title: Re: Download System
Post by: vbgamer45 on January 18, 2008, 11:15:25 PM
Yup that is how the mod is it has the same feature as the gallery
Title: Re: Download System
Post by: myaicons on January 18, 2008, 11:35:36 PM
QuoteYup that is how the mod is it has the same feature as the gallery

um... not in this case...

ive attached the screen shot of what a guest sees on the downloads page... (please look at it closely... IT IS the guest view)

shouldnt it be the login screen?
Title: Re: Download System
Post by: myaicons on January 19, 2008, 12:06:11 PM
shouldnt it look like this????

Title: Re: Download System
Post by: myaicons on January 20, 2008, 07:53:06 PM
anybody????
Title: Re: Download System - question for the author or whomever can answer
Post by: myaicons on January 21, 2008, 01:46:00 PM
does the comment auto approval for this mod work?

this is in the language template for the mod:

$txt['downloads_set_commentsappr'] = 'Comments require approval?';

... but it only allows comments to be approved by the admin before getting posted

it would be nice to have the option for comments to be auto approved....

or is this some flaw in the mod that the author did not put in yet???


also... another question...

where in the files do i edit the code for... post creation after a download has been approved?

i wanted to add a few lines so that i can customize what the post is saying about the download


please assist
Title: Re: Download System
Post by: eXecuT on January 21, 2008, 01:50:15 PM
myaicons You are a very good spammer. ;)

Nobody will help you if you spam. ;)
Title: Re: Download System
Post by: myaicons on January 21, 2008, 01:54:19 PM
Quote from: eXecuT on January 21, 2008, 01:50:15 PM
myaicons You are a very good spammer. ;)

Nobody will help you if you spam. ;)

is it considered spam if no one has even helped?? 

(ive also waited a day after posting another question so that it is not bumped up as the board instructions says is a no no)

if you noticed ... they are different questions... im not the same question... most of which have not been answered... even by the author of the mod... ive even gone as far as asking it to the authors mod website

:(
Title: Re: Download System
Post by: Harro on January 21, 2008, 06:15:40 PM
People don't like it if you bump a topic or double post when there is less then 24 hours between.
If you've got another question to add, you can always edit your original post, without bumping it.
Have a little patience, we're all volunteers here. We'll see your questions eventually.
Title: Re: Download System
Post by: magitek on January 22, 2008, 03:40:26 AM
I had an interesting problem come up. I installed SMF with unicode support, and I can post Japanese text in the forums, but when I put Japanese text in the download system upload form, it comes up as question marks in the title, and {huh} smileys in the description. Does download system do something to not allow unicode?
Title: Re: Download System
Post by: Superdaantje on January 23, 2008, 05:46:24 PM
I have an question. I installed the mod and made the modifications to the template.

But there is one thing. When I made a change in the config and I safe this I getting redirected to the Forums. The same when I added an download,

Also when some one has downloaded an file he or she is getting redirected to the forums.

The Search is not working it redirects me to the forum home

How to changes ?

Many thanks
Title: Re: Download System
Post by: TrueSatan on January 23, 2008, 07:07:42 PM
@ magitek

While your forum may be running well with Japanese as your chosen language to add mods to it each mod will have to be checked, and if necessary edited/translated, to add Japanese language support to it...few (if any) mods come with such language support in place. The effect you mention merely shows that this mod does not include Japanese language support. Few mod developers (if any) are likely to be fluent in Japanese so it is not possible for most of them to add such support to their mods...members do help to provide such translations and when available they tend to be added to mods.

@ Livebox

Please use the Package Parser to check that all edits and additional files added by the mod are in place.

http://www.smfhelper.info/forum/package.php5 (http://www.smfhelper.info/forum/package.php5)
Title: Re: Download System
Post by: Superdaantje on January 24, 2008, 04:02:32 AM
Quote from: TrueSatan on January 23, 2008, 07:07:42 PM
@ Livebox

Please use the Package Parser to check that all edits and additional files added by the mod are in place.

http://www.smfhelper.info/forum/package.php5 (http://www.smfhelper.info/forum/package.php5)

All ready don this. THis is the reason I ask  ;)
Title: Re: Download System
Post by: taurean on January 24, 2008, 04:34:31 AM
in admin control panel the error is:

Table 'U5263562.smf_down_file' doesn't exist
File: /mounted-storage/home63c/sub004/sc39290-JEEJ/www/smf/Sources/Downloads.php
Line: 3067

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.3. The above error might possibly go away if you execute the latest version of upgrade.php.


pls help
Title: Re: Download System
Post by: Superdaantje on January 24, 2008, 05:05:26 AM
First upload the following files to the forum root
upgrade.php
upgrade_1-1.sql


Then run the upgrade.php.

The files are from the smf_1-1-4_update.zip
Title: Re: Download System
Post by: TrueSatan on January 24, 2008, 08:23:38 AM
@ Livebox

You signature etc suggest that you still have the (discontinued) Joomla bridge in place so I'll have to leave this for vbgamer to consider if/how that might be affecting the situation you report...it would be my strong suspicion that it was causing the problem.
Title: Re: Download System
Post by: Superdaantje on January 24, 2008, 08:31:53 AM
This is not the Simplemachines Bridge.  ;)
Title: Re: Download System
Post by: vbgamer45 on January 24, 2008, 08:33:58 AM
Quote from: taurean on January 24, 2008, 04:34:31 AM
in admin control panel the error is:

Table 'U5263562.smf_down_file' doesn't exist
File: /mounted-storage/home63c/sub004/sc39290-JEEJ/www/smf/Sources/Downloads.php
Line: 3067

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.3. The above error might possibly go away if you execute the latest version of upgrade.php.


pls help
Mod is not fully installed re run the install. The database tables were never created
Title: Re: Download System
Post by: Superdaantje on January 24, 2008, 08:46:13 AM
Quote from: TrueSatan on January 24, 2008, 08:23:38 AM
@ Livebox

You signature etc suggest that you still have the (discontinued) Joomla bridge in place so I'll have to leave this for vbgamer to consider if/how that might be affecting the situation you report...it would be my strong suspicion that it was causing the problem.

The issue is the same with the Mambo Bridge. It is not only with Joomla! and the Joomlahacks bridge
Title: Re: Download System
Post by: magitek on January 25, 2008, 02:34:59 AM
Yes, I know that the mod may not have Japanese language support as far as translated $txt strings, but the weird part is that the problem isn't the Japanese language, it's the Japanese characters, which are included in the unicode standard. The forum handles unicode text perfectly fine, and as a result, Japanese characters show up fine. But for some reason, if you upload an item to the download mod, it seems to not like the unicode characters.

So I guess my question is really directed to vbgamer45, is there anything in your mod that you know of that is restricting text from forms to only write to db/show ASCII?
Title: Re: Download System
Post by: lonrot on January 25, 2008, 03:22:57 PM
It doesn't work well for me.

I'm trying to upload a 7zip file (10MB).

I get the following message:
No download selected.
Title: Re: Download System
Post by: TrueSatan on January 25, 2008, 09:20:41 PM
7zip is not one of the filetypes this mod supports.
Title: Re: Download System
Post by: lonrot on January 25, 2008, 09:27:09 PM
Quote from: TrueSatan on January 25, 2008, 09:20:41 PM
7zip is not one of the filetypes this mod supports.

Then which are those filetypes besides .zip?
Title: Re: Download System
Post by: TrueSatan on January 25, 2008, 10:15:34 PM
From the file Downloads.php:

$validTypes = array(
1 => 'gif',
2 => 'jpeg',
3 => 'png',
5 => 'psd',
6 => 'bmp',
7 => 'tiff',
8 => 'tiff',
9 => 'jpeg',
14 => 'iff',


That's the only list of file type restrictions I see so, on the face of it, I may have been wrong in thinking the mod wasn't accepting your file for a file type restriction reason...reading through the rest of the topic it seems that the only other reports I can see of such events are due to the paths and permissions being wrongly set or the file being larger than the host allows.

Failing that I'll have to let vbgamer look into your problem.
Title: Re: Download System
Post by: lonrot on January 25, 2008, 10:44:27 PM
I can´t upload rar either.
And I don´t want to check for zip.

This is odd, I´ll try settings downloads directory to 777.
I have Cpanel just in case there´s something I need to fix.
Title: Re: Download System
Post by: vbgamer45 on January 25, 2008, 10:50:50 PM
The mod allows all types of files to be uploaded. The extension is not checked.

Shoulds like a permission issue. Check that the download paths are correct
Title: Re: Download System
Post by: astrodaddy on January 25, 2008, 10:52:38 PM
Quote from: vbgamer45 on November 10, 2007, 11:07:09 PM
Upload the zip to http://www.smfhacks.com/smf-package-parser.html this will tell you all the files it edied and where they go.

I have already done this, and cannot upload any files, no add download button, not even as admin.

(http://img.photobucket.com/albums/v394/astrodaddy/Image1.jpg)

As you can see, all permissions are set.

I also tried logging in and registering an account thru anonymouse, but I still cant find a way to upload any files, even tho all permissions are set to allow it?

Im using SMF 1.1.4
Darkster theme

Is there something im missing?

Can you help?

Thanks in advance!
Title: Re: Download System
Post by: astrodaddy on January 25, 2008, 11:18:19 PM
NEVERMIND!!!!!!!!!!!!

There WAS something I was missing...............

Just stumbled upon the (MyFiles) button on the top right side.

There it explains the uploading process.

Sorry for the unnecessary post!

GEEZ I feel like such a noob!  :P
Title: Re: Download System
Post by: lonrot on January 25, 2008, 11:22:09 PM
The paths were incorrect, I fixed them, set "downloads" path to CHMOD 777.
And I still can´t upload anything but small files.
I have the max upload size set to 250 MB. I don´t know where else to check.

Help me out please.
Title: Re: Download System
Post by: lonrot on January 25, 2008, 11:48:12 PM
Are there any kind of restrictions for file names, for example Caps or any kind of symbol?
Title: Re: Download System
Post by: TrueSatan on January 26, 2008, 08:20:45 AM
There shouldn't be problems regarding caps etc as html special characters are enabled right through the mod however your 250 MB may be optimistic if you are on shared hosting as there is often a maximum file size set by such hosts  (in the php.ini file) and/or a timeout on php uploads...you may (depending on your hosting) be allowed to make a custom php.ini file with a higher allowance set in it or be able to alter the setting via a .htaccess file but it's very much a question of host choice in allowing, or not, such alterations.

Please try the mod with smaller files of the file types and names you have in mind and check to see what limits your hosting may impose.
Title: Re: Download System
Post by: lonrot on January 26, 2008, 10:12:03 AM
I'm in a semi-dedicated server, if I'm not mistaking.
I'll check with the other mod tp-downloads, which works similar but more primitive.
If not I'll have to ask my host.
Title: Re: Download System
Post by: lonrot on January 26, 2008, 10:49:30 AM
Guys, just in case "268440000" is a correct size for 250MB, right?

By the way, I just tried uploading 10MB through the other mod (Tp-Downloads), and nothing.
I suppose this is merely caused by the host.
Title: Re: Download System
Post by: Eddy Matthews on January 26, 2008, 04:41:39 PM
My host only allows a maximum upload size of 4Mb - Is there any way to FTP files to a directory and then have the program import them?

I tried using the URI setup, but it just ignores the file which is there and adds an entry with a 0Kb filesize....

Am I missing something? Any help would be appreciated.

Regards
Eddy
Title: Re: Download System
Post by: myaicons on January 27, 2008, 03:10:21 PM
Quote from: vbgamer45 on January 25, 2008, 10:50:50 PM
The mod allows all types of files to be uploaded. The extension is not checked.

alternatively....  where can i set it so i can dissallow certain file types to not be allowed for upload?

i just actually want it to be able to upload one certain type of file type


also.... (this is a question that was buried 6 days ago and was not answered, help? please?)

Quote from: myaicons on January 21, 2008, 01:46:00 PM
does the comment auto approval for this mod work?

this is in the language template for the mod:

$txt['downloads_set_commentsappr'] = 'Comments require approval?';

... but it only allows comments to be approved by the admin before getting posted

it would be nice to have the option for comments to be auto approved....

or is this some flaw in the mod that the author did not put in yet???


also... another question...

where in the files do i edit the code for... post creation after a download has been approved?

i wanted to add a few lines so that i can customize what the post is saying about the download


please assist
Title: Re: Download System
Post by: Eddy Matthews on January 27, 2008, 03:41:30 PM
Quote from: Eddy Matthews on January 26, 2008, 04:41:39 PM
My host only allows a maximum upload size of 4Mb - Is there any way to FTP files to a directory and then have the program import them?

I tried using the URI setup, but it just ignores the file which is there and adds an entry with a 0Kb filesize....

Am I missing something? Any help would be appreciated.

Regards
Eddy

Can anyone help with this please?

Eddy
Title: Re: Download System
Post by: ASF on January 31, 2008, 12:18:50 PM
Quote from: vbgamer45 on November 29, 2007, 10:13:02 PM
You can have files stored on remote servers.

How do i do this?
Title: Re: Download System
Post by: Nibogo on January 31, 2008, 04:02:40 PM
I try yo use this mod in my forum , but dont appear the option in my forum , i use smf 1.1.4 annd dont appear the option in "Home ,Profile , My messages" etc...

how i can put in that part
Title: Re: Download System
Post by: vbgamer45 on January 31, 2008, 06:35:11 PM
If you are using a custom theme you will have to modify the index.template.php to include a link or button to the downloads section.
Title: Re: Download System
Post by: myaicons on January 31, 2008, 06:39:40 PM
vbgamer! your here!

questions!:


where in the files do i edit the code for... post creation after a download has been approved?

i wanted to add a few lines so that i can customize what the post is saying about the download

and

where can i set it so i can dissallow certain file types to not be allowed for upload?



*** damn... hes ignoring all this... great support!  (note in this entire thread he has vague one line answers to the very occational question he feels like answering) funny how hes begging for donations for a mod he barely takes time to give support... yet there are some fabulous mods out there who dont ask for donations and have great support... they should be the ones getting some nice pay pal donations... hmmmm...
Title: Re: Download System
Post by: rtyug on January 31, 2008, 06:45:11 PM
Download System + ftp !!!??

Download System && hide link ...


use foreva!!! >:( ;D :D
Title: Re: Download System
Post by: myaicons on January 31, 2008, 06:54:27 PM
@ rtyug 

awsome forum! 
Title: Re: Download System
Post by: rtyug on January 31, 2008, 07:37:20 PM
did not I understand
more concrete ?
Title: Re: Download System
Post by: rtyug on January 31, 2008, 08:47:40 PM
Quote from: myaicons on January 31, 2008, 06:39:40 PM
vbgamer! your here!

questions!:


where in the files do i edit the code for... post creation after a download has been approved?

i wanted to add a few lines so that i can customize what the post is saying about the download

and

where can i set it so i can dissallow certain file types to not be allowed for upload?

"Downloads.php"

function AddDownload()
{


what formats are needed?
utillize an array



Title: Re: Download System
Post by: Nibogo on January 31, 2008, 08:50:33 PM
i install this mod , but dont appear the option in the panel "home , profile , etc" , i have this problem with the default theme and make all the modification , appear the options in the adminitrator panel ;)
Title: Re: Download System
Post by: myaicons on January 31, 2008, 09:25:02 PM
Quote from: NIBOGO on January 31, 2008, 08:50:33 PM
i install this mod , but dont appear the option in the panel "home , profile , etc" , i have this problem with the default theme and make all the modification , appear the options in the adminitrator panel ;)

i had the same problem... use the mod package parser to see if everything was installed correctly... and if it installed it in the correct theme file.
Title: Re: Download System
Post by: TrueSatan on January 31, 2008, 09:44:16 PM
Please try:

ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.
Title: Re: Download System
Post by: myaicons on January 31, 2008, 11:43:13 PM
does anybody know how to add a link on the users profile to show their uploaded downloads?
Title: Re: Download System
Post by: ne.miguelito on February 01, 2008, 03:10:41 PM
it only wanted to allow the sending of certain files, for example by extension (.rar .zip), somebody knows as to make?
Title: Re: Download System
Post by: rtyug on February 01, 2008, 04:49:24 PM
"Downloads.php"

example!!!! I do not remember exactly
function AddDownload()
{


$valid_types =  array("gif","jpg", "png", "jpeg");
if (in_array($ext, $valid_types))




utillize an array
regular expression here
Title: Re: Download System
Post by: rtyug on February 01, 2008, 04:55:19 PM
Quote from: myaicons on January 31, 2008, 11:43:13 PM
does anybody know how to add a link on the users profile to show their uploaded downloads?

I took interest, it is necessary to search in a code

it is difficult to find
Title: Re: Download System
Post by: ne.miguelito on February 01, 2008, 06:28:23 PM
Quote from: rtyug on February 01, 2008, 04:49:24 PM
"Downloads.php"

example!!!! I do not remember exactly
function AddDownload()
{


$valid_types =  array("gif","jpg", "png", "jpeg");
if (in_array($ext, $valid_types))




utillize an array
regular expression here


I don't understand...
Title: Re: Download System
Post by: rtyug on February 01, 2008, 07:48:25 PM
$valid_types =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);



function AddDownload2()
{
global $ID_MEMBER, $txt, $db_prefix, $scripturl, $modSettings, $boarddir, $sourcedir, $gd2, $user_info, $boardurl;

isAllowedTo('downloads_add');

if (empty($modSettings['down_path']))
{
$modSettings['down_path'] = $boarddir . '/downloads/';
}
// Check if downloads path is writable
if (!is_writable($modSettings['down_path']))
fatal_error($txt['downloads_write_error'] . $modSettings['down_path']);


$title = htmlspecialchars($_REQUEST['title'],ENT_QUOTES);
$description = htmlspecialchars($_REQUEST['description'],ENT_QUOTES);
$keywords = htmlspecialchars($_REQUEST['keywords'],ENT_QUOTES);
$cat = (int) $_REQUEST['cat'];
$fileurl = htmlspecialchars($_REQUEST['fileurl'],ENT_QUOTES);
$allowcomments = isset($_REQUEST['allowcomments']) ? 1 : 0;
$sendemail = isset($_REQUEST['sendemail']) ? 1 : 0;
$filesize = 0;

GetCatPermission($cat,'addfile');


// Check if downloads are auto approved
$approved = (allowedTo('downloads_autoapprove') ? 1 : 0);

// Allow comments on file if no setting set.
if (empty($modSettings['down_commentchoice']))
$allowcomments = 1;


$valid_types =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);






if ($title == '')
fatal_error($txt['downloads_error_no_title'],false);
if ($cat == '')
fatal_error($txt['downloads_error_no_cat'],false);

if ($modSettings['down_set_enable_multifolder'])
CreateDownloadFolder();

...........................

Title: Re: Download System
Post by: myaicons on February 01, 2008, 07:58:12 PM
Quote from: rtyug on February 01, 2008, 04:55:19 PM
Quote from: myaicons on January 31, 2008, 11:43:13 PM
does anybody know how to add a link on the users profile to show their uploaded downloads?

I took interest, it is necessary to search in a code

it is difficult to find

owwww  :(



Quote
$valid_types       =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);

so just list the file types you want to allow in the array?
Title: Re: Download System
Post by: rtyug on February 01, 2008, 08:09:38 PM
on my yes...

you will look as it works!
Title: Re: Download System
Post by: rtyug on February 01, 2008, 08:12:11 PM
how to look who how many did GET information in what amount?

and that under a signature
Title: Re: Download System
Post by: ne.miguelito on February 01, 2008, 08:21:37 PM
Doesn´t work, i can send any kind of files...
Title: Re: Download System
Post by: myaicons on February 01, 2008, 08:22:06 PM
huh ??? 
Title: Re: Download System
Post by: rtyug on February 01, 2008, 08:48:41 PM
Quotetext/html  text/plain  text/richtext  image/gif   image/jpeg  image/tiff  audio/basic  audio/32kadpcm   audio/  video/mpeg  video/quicktime  multipart/mixed   multipart/alternate  multipart/  application/octet-stream   application/msword  application/postscript  message/digest   

I do not know how to settle an archive

I Perl love

:D
Title: Re: Download System
Post by: rtyug on February 01, 2008, 09:15:47 PM
php.ini
register_globals = On

http://www.php.net/manual/en/features.file-upload.php

Title: Re: Download System
Post by: myaicons on February 02, 2008, 07:29:04 PM
my server has this off as a default... why does t have to be on?

register_globals = On


also...

where in the files do i edit the code for... post creation after a download has been approved?

i wanted to add a few lines so that i can customize what the post is saying about the download


please assist
Title: Re: Download System
Post by: myaicons on February 03, 2008, 09:51:01 PM

Quote1.0.3
!Fixed showing filesize on download page if file is a remote url.

the file size is not showing for me for remote url  :( 
in fact its not even showing the zero number (Filesize: 0kb) 
why? and how to fix?


also.... how come when the download (wav) is from a remote url it just forwards to a player page and not the file download popup???

i would like the remote url download to also open as a dile download popup...

can anyone let me know.... thanks!!!
Title: Re: Download System
Post by: jossanaijr on February 04, 2008, 07:21:34 AM
Is there a way to put the boxes "Recent Downloads", "Most Viewed", "Most Commented" and "Top Rated" in the main page inside the "INFO CENTER"?  Or at least list ONE of each category in a section called something like "Downloads"?
Title: Re: Download System
Post by: myaicons on February 04, 2008, 10:14:08 AM
$valid_types       =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);



this doesent work  :(
Title: Re: Download System
Post by: CoNTeCAuTR on February 04, 2008, 01:17:05 PM
Thanks. ;)
Title: Re: Download System
Post by: lonrot on February 04, 2008, 01:55:15 PM
Is there a way to hide the file address, and instead of it show a php address?
Title: Re: Download System
Post by: vbgamer45 on February 04, 2008, 10:16:38 PM
Quote from: lonrot on February 04, 2008, 01:55:15 PM
Is there a way to hide the file address, and instead of it show a php address?
I belive the mod already does this for files that are stored on the forum.
For remote files this would be a little tricky.
Title: Re: Download System
Post by: LOLwut on February 10, 2008, 11:21:05 PM
how would I edit the max file size in my php ?

How do I make it so I can only upload. Rar, zip and 7z
Title: Re: Download System
Post by: lindawing on February 15, 2008, 09:47:01 AM
First of all, I'd like to say that I am very appreciative of this system. I just started using it two days ago, and I like it very much. From the previous posts, I'd say it was probably a good thing I didn't find it until now, so that the problems others found haven't happened for me. I do, however, have a couple of suggestions for the mod, that I think would lend it a bit more flexibility for administrative personnel.

In my forum (http://www.flyingacres.com/NeighborlySims/FORUM-SMF/index.php) I've been offering uploading/downloading privileges to members, and have been using Harro's "Attachements Layout" mod to make sure photos stay separate from files in the posts. When I happened on your Download System and installed it, I began converting those attachments to actual download files to be counted and processed through the new system. I've been working specifically in this forum: http://www.flyingacres.com/NeighborlySims/FORUM-SMF/index.php?board=93.0 and am about 3/4 of the way done.

After this current project gets completely updated, I need to go through all of my other similar forums and do the same. Since I am converting the uploads for my regular members, there are some things that would be much more convenient if the mod were arranged just slightly differently. I realize that just one person's needs can't drive a change in the mod, but I'm thinking that many administrators might face the same situation once they realize that your mod is available. Here are the things I've been thinking about:

(1) It would be nice if the "Change Owner" blank were available in the initial Add Download form, rather than having to post the file, then EDIT the download page in order to change the owner. Or is this something I could initiate by the use of a customized field (as I was reading somewhere earlier in this thread)?

(2) If the Description field is being used to create the download page, couldn't that description be picked up by the mod and entered onto the page that's created in the related forum? I know copying and pasting only takes a few extra seconds, but it would be a step less in the process, for members who are having to learn the whole thing, who are NOT moderators or administrators.

(3) As it is, once the download page is created, the mod cycles back to the owner's list of downloads. It would make more sense to cycle directly to the aforementioned page that is created in the related forum, because members (at least in our case) have to go there, anyway, to add photos to go with their downloads. I've been working with three tabs open, because of this. Once I finish a download page, because it thinks it was mine, it goes right to my list of downloadable files. Then I have to edit and force that particular download to go to the real owner's list, but I'm still stuck in MY list. Then I have to go to another tab and refresh the listing of posts in the collections listing where I had the reference set, so I can get the link to use in the download reference page. Then, since I'm converting old posts, I have to go to the third tab and copy in the correct information for the new download page, and I actually open a fourth tab to test out the download reference, which brings me to my final thought.

(4) Since I'm converting to the system for files that have already been downloaded a number of times (thankfully, in this case not 100s of times)--usually around 5-10 times per file, I want to show those counts in the new statistics. To do that, I discovered that I can click on the download link, then cancel, as many times as is necessary to force that count to the level where it was in the attachments layout.

One problem with that would be if there WERE 100s of downloads (which can happen), or if a member figured out that download figures can be jacked up by this method, as well! I think it would be great if there were a place to just enter the number of previous downloads, so that figure could then be added to the total downloads for the newly-created download.

Also, I have no idea if there would be a way, but could the downloads be made to count ONLY if the file actually gets SAVED (a cancel would NOT count).

- - - - -

Anyway...those are my thoughts, and I hope they make sense. If I knew how to make mods like this, I would try to figure it out for myself, but...that's why I'm just running forums, and you're creating ways to customize them...right?

Once again, though, I do want to make sure that you know that I REALLY appreciate this mod! Even without the improvements/changes I thought of, it's still a wonderful tool. Thank you very much.

Linda
Title: Re: Download System
Post by: Nibogo on February 16, 2008, 04:11:58 PM
i have a serious problem with this mod

i install and all was excelente , but when i try to download a file says:

error 404 .....

what i can do?
Title: Re: Download System
Post by: AxS Voldsom on February 17, 2008, 01:35:36 PM
First off great mod and all but I need help.

1. I'm using the download system for videos and when you click download it just opens and plays, if there a way to make it force the download?

2. When I upload nothing appears (I'm guessing my files are too large)

3. When I use a file url it doesn't show the file size.

SMF version 1.1.4

Thanks in advance for any help.
Title: Re: Download System
Post by: AxS Voldsom on February 17, 2008, 03:14:36 PM
Okay you can scratch #2 off that list, all I had to do is change up my php.ini file, but still needing some help for #s 1 and 3.
Title: Re: Download System
Post by: Pond_Hockey on February 22, 2008, 12:32:08 AM
How do you edit the title of a category?
Title: Re: Download System
Post by: Nibogo on February 22, 2008, 01:34:24 PM
when i upload an archive , and i try to download , the download system say:

error 404
Title: Re: Download System
Post by: LiamTheDuck on February 22, 2008, 01:40:19 PM
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Who.english.php Test successful
3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
4. Execute Modification ./index.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test successful
6. Execute Modification ./Sources/Subs.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Extract File ./Sources/Downloads.php 
9. Extract File ./Themes/default/Downloads.template.php 
10. Extract Tree ./downloads 
11. Extract File ./Themes/default/languages/Downloads.english.php 
12. Extract File ./Themes/default/languages/Downloads.english-utf8.php 
13. Execute Code downloadsinstall.php
Title: Re: Download System
Post by: vbgamer45 on February 22, 2008, 09:41:38 PM
Go ahead /Modifications.english-utf8.php Test failed  can fail
Title: Re: Download System
Post by: johnnyskd on February 22, 2008, 09:59:40 PM
On the default theme how do you increase the file upload size to say100mg's?

For videos and stuff.

I have already called my hosting company and they said I am good to go up to 100mg's file size.  So what file in your download system controls the size? and what line please

Thank you
Title: Re: Download System
Post by: christianocr on February 23, 2008, 12:32:34 PM
Installations actions for "Downloads System":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
2.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
4.    Execute Modification    ./index.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Sources/Subs.php    Test successful
7.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
8.    Extract File    ./Sources/Downloads.php    
9.    Extract File    ./Themes/default/Downloads.template.php    
10.    Extract Tree    ./downloads    
11.    Extract File    ./Themes/default/languages/Downloads.english.php    
12.    Extract File    ./Themes/default/languages/Downloads.english-utf8.php    
13.    Execute Code    downloadsinstall.php

What must i do..?
Title: Re: Download System
Post by: vbgamer45 on February 23, 2008, 06:32:47 PM
You will need to install the mod manually use the following link and upload the package to it
http://www.smfhacks.com/smf-package-parser.html
Title: Re: Download System
Post by: christianocr on February 26, 2008, 03:13:38 AM
The mod is installed. But when i point it to the downloads url it goes back to my main forum.And when i put a file into the downloads directory in my forum it doesnt show up in approve downloads list.
Please help. Thank you
Title: Re: Download System
Post by: vbgamer45 on February 26, 2008, 10:24:16 PM
You can not place files directory in the downloads folder to have them appear.

The downloads system is accessed via
http://www.yourforum.com/index.php?action=downloads
Title: Re: Download System
Post by: Damian1221 on February 28, 2008, 07:46:19 PM
Quote from: rtyug on February 01, 2008, 07:48:25 PM
$valid_types =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);



function AddDownload2()
{
global $ID_MEMBER, $txt, $db_prefix, $scripturl, $modSettings, $boarddir, $sourcedir, $gd2, $user_info, $boardurl;

isAllowedTo('downloads_add');

if (empty($modSettings['down_path']))
{
$modSettings['down_path'] = $boarddir . '/downloads/';
}
// Check if downloads path is writable
if (!is_writable($modSettings['down_path']))
fatal_error($txt['downloads_write_error'] . $modSettings['down_path']);


$title = htmlspecialchars($_REQUEST['title'],ENT_QUOTES);
$description = htmlspecialchars($_REQUEST['description'],ENT_QUOTES);
$keywords = htmlspecialchars($_REQUEST['keywords'],ENT_QUOTES);
$cat = (int) $_REQUEST['cat'];
$fileurl = htmlspecialchars($_REQUEST['fileurl'],ENT_QUOTES);
$allowcomments = isset($_REQUEST['allowcomments']) ? 1 : 0;
$sendemail = isset($_REQUEST['sendemail']) ? 1 : 0;
$filesize = 0;

GetCatPermission($cat,'addfile');


// Check if downloads are auto approved
$approved = (allowedTo('downloads_autoapprove') ? 1 : 0);

// Allow comments on file if no setting set.
if (empty($modSettings['down_commentchoice']))
$allowcomments = 1;


$valid_types =  array("rar","zip");
if (in_array($filename, $valid_types))

fatal_error($txt['downloads_error_no_download'],false);






if ($title == '')
fatal_error($txt['downloads_error_no_title'],false);
if ($cat == '')
fatal_error($txt['downloads_error_no_cat'],false);

if ($modSettings['down_set_enable_multifolder'])
CreateDownloadFolder();

...........................




can you explain a little more on that please? where exactly do I put that so I can only put files with certain extensions
Title: Re: Download System
Post by: tethead on February 29, 2008, 12:19:27 PM
Quote from: Alder on December 10, 2007, 08:34:39 AM
Josh Schnapp, check you PHP settings. Usually in /etc/php.ini
First - upload_max_filesize (defualt -  2M)
Second - post_max_size (default 6М)
Set biggest value and restart PHP.

thank you for this, got it working finally with that tip! 

in my Debian (Etch) system, i had to update the php.ini which was in /etc/php5/cli AND in /etc/php5/cli/apache2  - once i did both of those and restarted apache2, it was all good
Title: Re: Download System
Post by: foolinthemoon on March 10, 2008, 05:44:15 AM
~~~Issue Resolved~~~ if any one else seems to have this problem, it had to do with the language format the users are veiwing.

Hi, I love this mod, but i seem to be having a slight issue, as it seems i'm the only one who can see it.

I know what you're thinking, CHECK PERMISSIONS, but i did that, i've also set the permissions in the catergories and sub catergories.

The thing is when i sent my co admin to check it out, she couldn't see it, even though i could... when she logged into my name however, the tab was visible to her. after we logged back into  our own names, i was able to send her the link and she was able to see and navigate.

i don't believe it's a template issue, all my templates are edits of the core template, and not downloaded (i think we have one that's downloaded no one uses it)

I do wonder if the link is simply not showing up... but that would still baffle me, as it does show up for me...

Also, i do have a few files that refuse to upload, and i have to link them, when they 'upload' they show as 0 kb (but these are some of the same that refuse to be attached to the forum for one reason or another)

i don't think you'll need it, but the forum is http://themessians.org

thank you in advance.
Title: Re: Download System
Post by: jonny.dee on March 10, 2008, 08:28:41 AM
Hi,

thank you for your wonderful Download System -- it really rocks! :)

I think I've found a small bug, however. When I move a download from its parent category into a subcategory the "Total Files" counter of the parent category seems to count the moved download twice. For example, I had 1 download x in category A and 4 downloads in subcategory B of A. And when I moved x into subcategory B the "Total Files" counter of A showed up 6 (which is wrong) while the counter of B correctly showed up 5. I suppose these counters are not calculated on the fly because when I looked into the corrsponding database tables I found the entry with the wrong value 6. I manually changed 6 to 5 and now everything seems to be right again. It should be a minor bug fix...I hope...?

Another issue I stumbled over is that i tried to upload category images and it worked fine but they do not show up. Instead, a small empty area appears. Am I doing something wrong?

Best regards and thanks again for you pretty work,
Jonny
Title: Re: Download System
Post by: gerbera on March 10, 2008, 11:37:46 AM
Thanks a lot for this mod, it is highly useful.

However, I do have some questions.

1) My forum has users from a variety of countries. I am German myself, so I would really appreciate it if there was a way to make the mod work with other language settings, too, not just with English. Is that possible? / Can anyone tell me how do this?

2) Some of my users have pointed out that they do not know all the BB codes for images and URLs and the like. Is it possible to add BB code buttons to the description and comments fields?

3) In the list of files, it would be really nice if you could see a thumbnail that shows the preview of the download. Is that possible?

4) I have not found an option to disable file approving. Did I just miss it? I would like all members to be able to upload without having to wait for an approval.

5) Is it possible to make the Thank-O-Matic mod work with the downloads so we not only get ratings but also thanks for downloads?

Thanks in advance for replies :)

edit: I have discovered that I am not able to upload any big files. Although the settings allow files up to 5 MB, I can't even upload 3 MB files. It always uploads and empty package. Any idea what is causing that?
Title: Re: Download System
Post by: Damian1221 on March 11, 2008, 06:49:15 PM
is there a way to set it to auto approve downloads+comments?
Title: Re: Download System
Post by: vbgamer45 on March 11, 2008, 08:09:37 PM
Admin -> Permisssions -> modify a group ->
Auto Approve Comments     
Auto Approve Downloads
Title: Re: Download System
Post by: Damian1221 on March 11, 2008, 08:42:31 PM
ah, thanks a lot
Title: Re: Download System
Post by: Superdaantje on March 12, 2008, 02:54:29 AM
Quote from: Superdaantje on January 23, 2008, 05:46:24 PM
I have an question. I installed the mod and made the modifications to the template.

But there is one thing. When I made a change in the config and I safe this I getting redirected to the Forums. The same when I added an download,

Also when some one has downloaded an file he or she is getting redirected to the forums.

The Search is not working it redirects me to the forum home

How to changes ?

Many thanks


Using
SMF 1.1.4 and the tested it with the test version 1.1.5
Mambo 4.6.3
And the bridge for Mambo
Using the forum in Wrapped mode. There is no direct access to the forums allowed.

Is there an solution?

Thanks in advance
Title: Re: Download System
Post by: Hoochie Coochie Man on March 12, 2008, 03:41:13 AM
Hi @vbgamer45
I'm gonna try this.. Is there any Turkish language?
If there isn't. I can translate in to Turkish..
Title: Re: Download System
Post by: vbgamer45 on March 12, 2008, 09:04:47 PM
Quote from: Hoochie Coochie Man on March 12, 2008, 03:41:13 AM
Hi @vbgamer45
I'm gonna try this.. Is there any Turkish language?
If there isn't. I can translate in to Turkish..
Not yet that i know of.
Title: Re: Download System
Post by: solabyss on March 13, 2008, 06:46:47 PM
Not sure whats going on with my install. Running 1.1.4 SMF Initial install is to the default theme, No warnings or errors during the install yet when I go to any of the Download pages they all come up blank. Any help would be appreciated.

Title: Re: Download System
Post by: m1ss1nnocent on March 15, 2008, 04:25:43 PM
Hi There,

Im thinking of installing this mod on my forum...but, as I hae post-count membergroups on my forum will I be able to set group permissions for them?? (i.e the 2 lower groups I would wish not to see the downloads)

I know tinyportal has a downloads manager but I cannot set permisions based on post counted groups.....is this the case for this mod also?
Title: Re: Download System
Post by: vbgamer45 on March 15, 2008, 07:17:39 PM
Yes same is true with this mod.
Title: Re: Download System
Post by: Hoochie Coochie Man on March 17, 2008, 11:28:34 AM
And here is The Turkish Language Files...

Modifications.turkish.php:
// Başlangıç.. Download Sistemi by Hoochie Coochie Man
$txt['downloads_menu'] = 'Download';
$txt['downloads_admin'] = 'Download Ayarları';

// Permissions
$txt['permissiongroup_downloads'] = 'Download';

$txt['permissionname_downloads_view'] = 'Downloads bölümünü görebilir';
$txt['permissionhelp_downloads_view'] = 'Kullanıcıların Downloads bölümünü görmelerine izin verir.';
$txt['cannot_downloads_view'] = 'Download bölümünü görmeye izniniz yok.';

$txt['permissionname_downloads_add'] = 'Download ekleyebilir';
$txt['permissionhelp_downloads_add'] = 'Kullanıcıların download eklemelerine izin verir.';
$txt['cannot_downloads_add'] = 'Download eklemeye izniniz yok.';

$txt['permissionname_downloads_edit'] = 'Kendi downloadlarını düzeltebilir';
$txt['permissionhelp_downloads_edit'] = 'Kullanıcıların kendi downloadlarını düzeltmeye izin verir.';
$txt['cannot_downloads_edit'] = 'Kendi downloadınızı düzeltmeye izniniz yok';

$txt['permissionname_downloads_delete'] = 'Kendi downloadlarını silebilir';
$txt['permissionhelp_downloads_delete'] = 'Kullanıcıların kendi downloadlarını silmelerine izin verir.';
$txt['cannot_downloads_delete'] = 'Bu downloadı silmeye izniniz yok.';

$txt['permissionname_downloads_ratefile'] = 'Downloadları oylayabilir';
$txt['permissionhelp_downloads_ratefile'] = 'Kullanıcıların bir downloadı oylamalarına izin verir.';
$txt['cannot_downloads_ratefile'] = 'Bu downloadı oylamaya izniniz yok.';

$txt['permissionname_downloads_editcomment'] = 'Kendi yorumunu düzeltebilir';
$txt['permissionhelp_downloads_editcomment'] = 'Kullanıcıların kendi yorumlarını düzeltmelerine izin verir.';
$txt['cannot_downloads_editcomment'] = 'Kendi yorumunuzu düzeltmeye izniniz yok.';

$txt['permissionname_downloads_comment'] = 'Yorum yazabilir';
$txt['permissionhelp_downloads_comment'] = 'Kullanıcıların bir downloada yorum yazmalarına izin verir.';
$txt['cannot_downloads_comment'] = 'Yorum yazmaya izniniz yok.';

$txt['permissionname_downloads_report'] = 'Downloadları/Yorumları rapor edebilir';
$txt['permissionhelp_downloads_report'] = 'Kullanıcıların Downloadları/Yorumları rapor etmelerine izin verir.';
$txt['cannot_downloads_report'] = 'Rapor etmeye yetkiniz yok.';

$txt['permissionname_downloads_autocomment'] = 'Yorumları otomatik onaylansın';
$txt['permissionhelp_downloads_autocomment'] = 'Yorumların onay için beklenmesine gerek yok.';

$txt['permissionname_downloads_autoapprove'] = 'Downloadları otomatik onaylansın';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloadların onay için beklenmesine gerek yok.';


$txt['permissionname_downloads_manage'] = 'Admin Özelliği';
$txt['permissionhelp_downloads_manage'] = 'Kullanıcıların; kategori eklemelerine, tüm kategorileri düzeltmelerine veya silmelerine izin verir. Ayrıca yorumları, downloadları silebilir veya onaylayabilir.';
$txt['cannot_downloads_manage'] = 'Downloadları yönetmeye yetkiniz yok.';

// Bitiş.. Download Sistemi by Hoochie Coochie Man


Who.turkish.php:
// Başlangıç.. Download Sistemi by Hoochie Coochie Man
$txt['whoall_downloads'] = '<a href="' . $scripturl . '?action=downloads">Downloads</a>\'a bakıyor.';
// Bitiş.. Download Sistemi by Hoochie Coochie Man


Thank you very much.
Title: Re: Download System
Post by: ApplianceJunk on March 17, 2008, 12:57:49 PM
How do I remove the Upload File: box with the Browse button?
I just want to have the option to upload url:
Title: Re: Download System
Post by: vbgamer45 on March 17, 2008, 08:47:22 PM
You would need to edit Downloads.template.php for editing and adding a download
Title: Re: Download System
Post by: livedown on March 19, 2008, 04:52:01 PM
Are you planning updating the mod to SMF 2.0.3 PUBLIC BETA? Thanks! just wanted to know... because this mod is awesome!
Title: Re: Download System
Post by: vbgamer45 on March 19, 2008, 08:06:49 PM
Not till SMF releases 2.0 Final
Title: Re: Download System
Post by: ApplianceJunk on March 22, 2008, 09:24:08 PM
Quote from: ApplianceJunk on March 17, 2008, 12:57:49 PM
How do I remove the Upload File: box with the Browse button?
I just want to have the option to upload url:

Quote
You would need to edit Downloads.template.php for editing and adding a download

Ok, I give up. What do I look for in the Downloads.template.php?

Thanks,
Title: Re: Download System
Post by: ApplianceJunk on March 23, 2008, 05:43:22 PM
When I edit a file to move it from one category to  another the total file count from the category it was removed from does not change.

Say I have 10 files in category A and 10 files in category B.

If I edit 5 files in category A to move them to category B then the total file count still shows 10 in category A, but category B show 15.  :P
Title: Re: Download System
Post by: vbgamer45 on March 24, 2008, 10:11:21 PM
Quote from: ApplianceJunk on March 23, 2008, 05:43:22 PM
When I edit a file to move it from one category to  another the total file count from the category it was removed from does not change.

Say I have 10 files in category A and 10 files in category B.

If I edit 5 files in category A to move them to category B then the total file count still shows 10 in category A, but category B show 15.  :P
Fixed
Title: Re: Download System
Post by: ApplianceJunk on March 24, 2008, 10:21:43 PM
Cool,

Thanks...
Title: Re: Download System
Post by: yuva on March 25, 2008, 02:06:22 AM
Is this MOD works for SMF 2.0.........??
Title: Re: Download System
Post by: nysthul on March 25, 2008, 10:28:38 PM
I have a question for you.  there is an option for adding custom fields to the upload boxes for additional information, but on my test install I am unable to search using any text entered into that area.. is this by design, or is this a bug, or did I screw something up?

Thanks a bunch!
Title: Re: Download System
Post by: vbgamer45 on March 25, 2008, 10:35:11 PM
That is by design have not added support to search custom fields.
Title: Re: Download System
Post by: nysthul on March 25, 2008, 10:38:57 PM
is that something you are planning on adding, or would it be difficult to implement?  I am trying to find a solution to meet a need for having some upload structure searching capability and the custom fields are perfect except that they are not searchable.
Title: Re: Download System
Post by: vbgamer45 on March 25, 2008, 10:43:57 PM
It is something planned no time frame for adding that though.
Title: Re: Download System
Post by: nysthul on March 26, 2008, 07:47:37 PM
also it appears that keyword searching doesn't work correctly on my forum.. any suggestions?

also, adding a custom field to a category creates issues when trying to edit a previously uploaded item as that field doesn't display but editing generates an error if that field is marked as required.
Title: Re: Download System
Post by: jonny.dee on March 28, 2008, 09:02:18 AM
I've realized there is a new version 1.0.4 of this great Download System. I have got version 1.0.3 installed and now I would like to update to the new version. Unfortunately, uninstalling the old version does not work. I think the reason is that other mods have made enough changes... Is there a way to install this new version manually? I know you can do this with packages not already installed using http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html), but can I follow the same steps to update from 1.0.3 to 1.0.4?

Thanks for your help in advance :)

Best regards,
Jonny
Title: Re: Download System
Post by: foolinthemoon on March 28, 2008, 05:49:50 PM
Hi, i have a hopefully simple question.

I have a forum that is sims 2 fan based. Alot of us make custom content for the game, and we often share it with others.

Hence my need for this wonderful mod. The only thing we've had trouble with, is that other than a name, the users can't see what it is they are downloading. They have to enter the thread and look at the pictures attached. Which can seem slightly time consuming and even annoying in this gaming field considering, they would rather see a thumbnail attached to the title of the Download to help them decide if they want to look further into putting the custom content into their game. Previews go along way.

So what i'm asking is...

Is there anyway to attach a thumbnail to the title of each indiviual Download?
Title: Re: Download System
Post by: vbgamer45 on March 28, 2008, 09:13:56 PM
Thumbnails are currently not supported.


For the second part  you would need to modify the index.template.php of your theme and add a link to the downloads section.
Title: Re: Download System
Post by: plato on March 29, 2008, 06:10:18 AM
Do you plan to upgrade it for 2.0.3 usage?
Title: Re: Download System
Post by: Pond_Hockey on March 29, 2008, 12:34:50 PM
Why do I get 404 attachment not found errors randomly?

For example I uploaded this file awhile ago and I now get a 404 error.

Check Here (http://gimpandphotoshop.com/index.php?action=downloads;sa=view;id=558)
Title: Re: Download System
Post by: vbgamer45 on March 29, 2008, 01:13:09 PM
Can't see it not open for guests.

Might be caused by mod_security
Title: Re: Download System
Post by: denislici on March 29, 2008, 02:08:04 PM

Hi, thank u for this mod, i need some support plz:

1. how can i add the file description in the topic that is opened after we add a file?
2. Arabic caracters arent showned, how can we fix this?

Best Regards
Title: Re: Download System
Post by: vbgamer45 on March 29, 2008, 03:25:45 PM
#2 You would need to convert the database tables for the download system to support unicode.
Title: Re: Download System
Post by: denislici on March 29, 2008, 03:57:07 PM
Quote from: vbgamer45 on March 29, 2008, 03:25:45 PM
#2 You would need to convert the database tables for the download system to support unicode.

Thanks, the first one?
Title: Re: Download System
Post by: vbgamer45 on March 29, 2008, 04:23:17 PM
Would require changes in the Sources/Downloads.php in the AddDownload2 funciton.
Title: Re: Download System
Post by: denislici on March 29, 2008, 06:56:22 PM
Quote from: vbgamer45 on March 29, 2008, 04:23:17 PM
Would require changes in the Sources/Downloads.php in the AddDownload2 funciton.

Thank u, i did it in line 1522, can u plz explain a little more how to show Arabic characters?
Title: Re: Download System
Post by: Pond_Hockey on March 29, 2008, 08:43:27 PM
What needs to be done with the mod security?
Title: Re: Download System
Post by: virtualxtc on March 30, 2008, 07:49:57 AM
I get an error on install...
./Themes/default/languages/Modifications.english-utf8.php - TEST FAILED

Can I manually install the mod or something?
Title: Re: Download System
Post by: improv on March 30, 2008, 07:58:02 AM
I've had that error too and just installed.
It appeared I didn't had that file anyway.
Ah well, the mod works for me fine even with that test failed.
Title: Re: Download System
Post by: vbgamer45 on March 30, 2008, 09:59:33 AM
Quote from: virtualxtc on March 30, 2008, 07:49:57 AM
I get an error on install...
./Themes/default/languages/Modifications.english-utf8.php - TEST FAILED

Can I manually install the mod or something?
You can skip that
Title: Re: Download System
Post by: Pond_Hockey on March 31, 2008, 09:23:40 PM
Quote from: vbgamer45 on March 29, 2008, 01:13:09 PM
Can't see it not open for guests.

Might be caused by mod_security

whats the problem though?
Title: Re: Download System
Post by: vbgamer45 on March 31, 2008, 09:37:49 PM
Not sure might be mod_security or a bad path/url in the settings
Title: Re: Download System
Post by: rtyug on April 01, 2008, 06:28:21 AM
attention
1. will there be translation fashion on the version of 2.0 beta 3 ?
2. can you help to translate on this version? also safely to make an update from an old version on new one?
Title: Re: Download System
Post by: vbgamer45 on April 01, 2008, 08:18:09 PM
I will upgrade my mods once SMF 2.0 final is released.
Title: Re: Download System
Post by: ApplianceJunk on April 01, 2008, 08:23:53 PM
Quote from: vbgamer45 on April 01, 2008, 08:18:09 PM
I will upgrade my mods once SMF 2.0 final is released.

Your going to have to put that one in your sig line, lol... :)

Title: Re: Download System
Post by: rtyug on April 02, 2008, 11:58:37 AM
then when a release will go out let on smf 3.0 beta 1
Title: Re: Download System
Post by: improv on April 02, 2008, 04:00:04 PM
Hmm,
Is there any idea of when the Download System Pro will be released?
I'm waiting for that :)
Title: Re: Download System
Post by: vbgamer45 on April 02, 2008, 07:54:18 PM
A little while away have some other projects I want to catch up first on.
Title: Re: Download System
Post by: ApplianceJunk on April 02, 2008, 08:00:31 PM
Quote from: Heero on April 02, 2008, 04:00:04 PM
Hmm,
Is there any idea of when the Download System Pro will be released?
I'm waiting for that :)

me too :)
Title: Re: Download System
Post by: vbgamer45 on April 02, 2008, 08:31:42 PM
Need to tell me as well what you want in the mod I have some ideas that I am going by but any other ideas would be great.
Title: Re: Download System
Post by: improv on April 03, 2008, 07:40:54 AM
Well,
I'd like a function which allows the submitters to upload an image ,
which is shown at the listing ( thumbnail) and which is shown at the download itself ofcourse.

For me that's the only thing that would be missing,
if that is added, the mod is perfect with all abilities a download system should have.

Edit :
I've just gained another idea for it :

What about specific permissions for each download category?
So that membergroup x can manage download category X, and so on..

Well, just idea's :)
Title: Re: Download System
Post by: Joker Grafix on April 03, 2008, 05:16:54 PM
3.     Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     Test failed


Title: Re: Download System
Post by: improv on April 03, 2008, 05:54:33 PM
Quote from: vbgamer45 on March 30, 2008, 09:59:33 AM
Quote from: virtualxtc on March 30, 2008, 07:49:57 AM
I get an error on install...
./Themes/default/languages/Modifications.english-utf8.php - TEST FAILED

Can I manually install the mod or something?
You can skip that
Title: Re: Download System
Post by: Joker Grafix on April 03, 2008, 06:20:20 PM
Helps me out. Thank you.
Title: Re: Download System
Post by: virtualxtc on April 05, 2008, 01:10:49 AM
I appreciate the help you have given me so far. This mod is just brilliant.

One Question though...
Can I add the same file into a multiple categories?

ie.
categories...
1. All Files
2. File Type 1
3. File Type 2
4. etc etc

Without adding the same file twice can I have the same download in "all files" and also in "File Type #" ?
Title: Re: Download System
Post by: vbgamer45 on April 05, 2008, 10:21:55 AM
Quote from: virtualxtc on April 05, 2008, 01:10:49 AM
I appreciate the help you have given me so far. This mod is just brilliant.

One Question though...
Can I add the same file into a multiple categories?

ie.
categories...
1. All Files
2. File Type 1
3. File Type 2
4. etc etc

Without adding the same file twice can I have the same download in "all files" and also in "File Type #" ?
Not yet but that is something I could add in the future.
Title: Re: Download System
Post by: virtualxtc on April 06, 2008, 12:47:52 AM
Yeah, that would be awesome!
Title: Re: Download System
Post by: rtyug on April 06, 2008, 06:19:39 AM
Quote from: virtualxtc on April 05, 2008, 01:10:49 AM
I appreciate the help you have given me so far. This mod is just brilliant.

One Question though...
Can I add the same file into a multiple categories?

ie.
categories...
1. All Files
2. File Type 1
3. File Type 2
4. etc etc

Without adding the same file twice can I have the same download in "all files" and also in "File Type #" ?

RTFM!

http://ua2.php.net/manual/en/features.file-upload.php
Title: Re: Download System
Post by: Pond_Hockey on April 06, 2008, 08:28:05 PM
What does the mod security do anyway?
Title: Re: Download System
Post by: jonny.dee on April 09, 2008, 06:49:47 PM
Hello,

How can I update from version 1.0.3 to 1.0.4 without uninstalling the previous version? (Uninstalling does not work because of many other mods which are in the way.)

Thanks,
Jonnny
Title: Re: Download System
Post by: vbgamer45 on April 09, 2008, 08:10:34 PM
No easy way you would need manually install the latest version.
Title: Re: Download System
Post by: improv on April 10, 2008, 01:07:49 PM
Hmm,
Already news for the Download System Pro, or any idea when this mod gets 'updated' in a way? :)
Title: Re: Download System
Post by: vbgamer45 on April 10, 2008, 11:19:01 PM
Not yet will be a while might get a good chunk of time this weekend to work on it but it depends on my free time.
Title: Re: Download System
Post by: improv on April 11, 2008, 12:21:41 PM
Okay thanks for the information :)

Keep me up-to-date if ya want :)!
Title: Re: Download System
Post by: Arveles on April 11, 2008, 03:37:53 PM
(http://img365.imageshack.us/img365/1633/eefe9.png)

How can I add this button for all download links?
Thanks...
Title: Re: Download System
Post by: rtyug on April 11, 2008, 09:35:08 PM
Quote from: Eleleyiz.Org on April 11, 2008, 03:37:53 PM
Thanks...
it is needed to look at the current theme (themes) of registration and compare the button to the theme by default attentively... and to do the button  on a current theme
Title: Re: Download System
Post by: Arveles on April 12, 2008, 07:49:59 AM
Quote from: rtyug on April 11, 2008, 09:35:08 PM
Quote from: Eleleyiz.Org on April 11, 2008, 03:37:53 PM
Thanks...
it is needed to look at the current theme (themes) of registration and compare the button to the theme by default attentively... and to do the button  on a current theme

Sorry, I don't understand you. I want only for download system.. Thanks..
Title: Re: Download System
Post by: rtyug on April 18, 2008, 12:34:11 AM
Quote from: Eleleyiz.Org on April 12, 2008, 07:49:59 AM
Quote from: rtyug on April 11, 2008, 09:35:08 PM
Quote from: Eleleyiz.Org on April 11, 2008, 03:37:53 PM
Thanks...
it is needed to look at the current theme (themes) of registration and compare the button to the theme by default attentively... and to do the button  on a current theme

Sorry, I don't understand you. I want only for download system.. Thanks..
take advantage of search, it came into question more than 1000 times
Title: Re: Download System
Post by: ukcord_viper on April 24, 2008, 11:06:33 AM
Firstly...cool Mod been waiting for something like this for ages.

Now here is the dumb question.

Install great, working great. Where does it store the files it has uploaded. I have looked all over my site and I can't find them.

thanks
Title: Re: Download System
Post by: improv on April 24, 2008, 11:56:02 AM
In your smf folder there is another folder named 'downloads'.
You may find them in there :)
Title: Re: Download System
Post by: ukcord_viper on April 24, 2008, 01:05:43 PM
Thanks Dude....my cache hadn't updated but it has now and I can see the files....

How silly do I look now.....
Title: Re: Download System
Post by: improv on April 24, 2008, 03:55:50 PM
Nobody is silly,
everyone has to start somewhere.
Title: Re: Download System
Post by: Procomp65 on May 04, 2008, 04:00:01 PM
Hi
This question has been asked in this topic, but I could not find the answer.

Can files be uploaded and downloaded via download system but hosted on a remote server other than the smf install server.
I have tried different paths in the config of download system, but keeps on giving me the error that the path is not writable.

If yes, how, because I host service manuals on my server, but need a link to several carclub smf installations to make it available to them.
Title: Re: Download System
Post by: vbgamer45 on May 04, 2008, 04:01:21 PM
Does not currently support  remote server for file uploads.
Title: Re: Download System
Post by: connah on May 05, 2008, 10:49:11 AM
I installed the download system and set the permissions to allow to view and add downloads etc all the usual for a standard user... i created a 'test_user' and downloads doesnt show... i also get error when i go to index.php?action=downloads saying i am not allowed to view them. i made sure that i have 100% set the correct permissions but only I the admin can view edit the downloads...

any help?

cheers


EDIT:

I removed managepermissions.php and reinstalled my mods and it works now... sorry
Title: Re: Download System
Post by: InternetMafia on May 08, 2008, 11:35:43 PM
When I try to install I get the following error.

Database Error: MySQL server has gone away
File: /mnt/w0203/d06/s46/b02d87d7/www/my-site.com/forums/Packages/temp/downloadsinstall.php
Line: 50

Any ideas?
Title: Re: Download System
Post by: vbgamer45 on May 08, 2008, 11:41:16 PM
That is an issue with your host please contact your hosting company that is an issue with the database.
Title: Re: Download System
Post by: InternetMafia on May 09, 2008, 12:33:56 AM
Quote from: vbgamer45 on May 08, 2008, 11:41:16 PM
That is an issue with your host please contact your hosting company that is an issue with the database.

Thats odd.  I had it working before a re-install.  But I will check into it. 
Thanks for the prompt response.
Title: Re: Download System
Post by: iRuben on May 13, 2008, 02:48:30 PM
I read through this entire topic but didn't find an answer on the possibility to upload files using FTP and then add them to the download system. Is there? I noticed an FTP folder inside the downloads folder and uploaded something to it, but cannot find a place to add this to the download system. What is that FTP folder for?
Title: Re: Download System
Post by: tkam on May 13, 2008, 03:46:32 PM
This download system works quite well, but I was wondering is there any way to edit the file size that it shows for an item?
Title: Re: Download System
Post by: grimmy on May 13, 2008, 04:30:45 PM
How do i add a catorgory?!!?!?!?!
Title: Re: Download System
Post by: vbgamer45 on May 13, 2008, 09:43:15 PM
Go to the main downloads section under Admin panel there is an option to add a category.
Title: Re: Download System
Post by: virtualxtc on May 14, 2008, 01:03:41 AM
There are some things about this download script that my users have been complaining about.

Can I set it up so that the file is downloaded instead of streamed with a left click on the download button?
Im having everyone complain that they cant download it, it only streams. I have told them to use right click but all the new users keep asking how to download.

Also with safari if you right click and save linked file as the file comes up as index.php. But its the actual file renamed for some really weird reason.

Any ideas?

Thanks
Title: Re: Download System
Post by: iRuben on May 14, 2008, 08:32:53 AM
Quote from: iRuben on May 13, 2008, 02:48:30 PMWhat is that FTP folder for?

And I have an addition question. I noticed a "ID_TOPIC" field in the database, what's that for? It is 0 (zero) for all my downloads and even if I edit it manually in the database (for example to the TOPIC ID of the auto-created topic in the boards) it doesn't show up anywhere.

I THINK that it might be used for storing the ID of the topic that is created when uploading something, but I wonder how to get this to work.
Title: Re: Download System
Post by: vbgamer45 on May 14, 2008, 08:43:11 AM
Currently it does not store anything it is for future use.
Title: Re: Download System
Post by: codnerd on May 15, 2008, 09:00:10 PM
Website: http://www.COD4-Maps.com/new
Download System: http://custom.simplemachines.org/mods/index.php?mod=992

How do I make it so people can put in images of their Download?
Title: Re: Download System
Post by: improv on May 16, 2008, 11:58:05 AM
They can't, it isn't included in the download system yet.
You can only use bbc code = [<img]http://linkofimage[/img>]
(without < & >)

I'm also still waiting for this extra function.
Any news on that,
vbgamer45?
Title: Re: Download System
Post by: Nibogo on May 17, 2008, 10:10:16 AM
vbgamer i think of an option to put images will be awesome and a better aspect of the download system ;)

also i think of a linktree in all the download system will be nice , not only in the files
Title: Re: Download System
Post by: codnerd on May 17, 2008, 08:05:45 PM
Its kinda a must. I don't know why you did not have this in before...
Title: Re: Download System
Post by: vbgamer45 on May 17, 2008, 10:24:40 PM
I will have in the pro edition of the downloads mod but not for the lite edition since then it competes with the gallery mod.
Title: Re: Download System
Post by: codnerd on May 18, 2008, 02:13:03 AM
Pro Edition is where?

Also, I am gonna get a PHP Guru to do this for me...

vbgamer45: Am I allowed to release this to people who PM me for it. You will get 100% credit. It's just that people need this to be a modern type mod and show pictures. So could I?
Title: Re: Download System
Post by: nick09 on May 20, 2008, 04:52:37 PM
When can you make an smf 2.0 beta 3.1 version?
Title: Re: Download System
Post by: vbgamer45 on May 20, 2008, 04:55:08 PM
Probably will not make a version for the beta but will make a version for SMF 2.0 final.
Title: Re: Download System
Post by: nick09 on May 20, 2008, 04:56:13 PM
Quote from: vbgamer45 on May 20, 2008, 04:55:08 PM
Probably will not make a version for the beta but will make a version for SMF 2.0 final.

Ok thanks for letting me know.
Title: Re: Download System
Post by: Nibogo on May 20, 2008, 07:27:28 PM
Quote from: vbgamer45 on May 17, 2008, 10:24:40 PM
I will have in the pro edition of the downloads mod but not for the lite edition since then it competes with the gallery mod.

oh :(

i cant pay a mod but anyway thanks
Title: Re: Download System
Post by: Bass_Chaz on May 20, 2008, 07:34:06 PM
I cant get this or the Gallery to install on my site. I have tried several time and I keep getting:     ./Themes/default/languages/Modifications.english-utf8.php     Test failed


What are my options?
Can I copy the code from the install instructs and paste them into the file?
Where would I put it in the file?
(beginning? end?)
Is it the same for the Gallery problem also?
Im learning so dont slam me to bad..

1.1.5 BTW with other mods and using the default theme.
Title: Re: Download System
Post by: Nibogo on May 20, 2008, 09:13:08 PM
Quote from: vbgamer45 on May 20, 2008, 04:55:08 PM
Probably will not make a version for the beta but will make a version for SMF 2.0 final.

what canl be the cost of the download system pro edition???

and you can put what new things will be have this pro edition?

Thanks
Title: Re: Download System
Post by: vbgamer45 on May 20, 2008, 09:18:44 PM
Haven't decided yet it is in the works.
Title: Re: Download System
Post by: Succubus Evaligan on May 21, 2008, 02:30:20 PM
Quote from: cod4guy on May 15, 2008, 09:00:10 PM
Website: http://www.COD4-Maps.com/new
Download System: http://custom.simplemachines.org/mods/index.php?mod=992

How do I make it so people can put in images of their Download?
I want the same option.
Title: Re: Download System
Post by: roberto174 on May 25, 2008, 12:19:10 PM
Is there possible to make each user to see and wownload it own files, like an File Upload System for each user, i want to give my users their upload space corner if you know what i mean, so each user has its own upload space where they can put their private files.
Title: Re: Download System
Post by: The Saviour on May 26, 2008, 09:47:45 AM
I have this installed...and it's working perfectly...absolutely love it.  However, my users are asking this question: "Why isn't the description being carried over into the post created after adding the download?"

The only mention of it here is in a post by vbgamer that reads:
QuoteWould require changes in the Sources/Downloads.php in the AddDownload2 function.

Can you expand on that a little?  I'm not a coder, yet it seems to me, this should've been included in the original design of this mod...don't you think?

Any help is greatly appreciated.

Update...

Never mind...fixed it myself.  I also fixed some broken code you had on line 1522, as well.

If anyone is looking to add the "description" of the download to the auto generated post (if you are using this function), then do the following:

Open Sources/Downloads.php

Find:
'body' => '[b]' . $title .  "[/b]\n\n$showpostlink",

Replace with:
'body' => '[b]' . $title . '[/b]' . "\n\n$showpostlink" . "\n\n$description",

vbgamer...

You had the [/b] tag in the wrong location of that line.
Title: Re: Download System
Post by: Nibogo on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.
Title: Re: Download System
Post by: Nick.123 on May 30, 2008, 06:16:55 PM
I'm starting fresh on my site and wondered if there is a way to back my downloads system downloads and Categorys?

Thanks
Title: Re: Download System
Post by: improv on May 30, 2008, 08:35:15 PM
Quote from: NIBOGO on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.

Did you've checked your permission settings too?
Title: Re: Download System
Post by: A-Nihilist on May 30, 2008, 11:32:51 PM
when i go to my site /downloads like it says, it just redirects me to my main forum ...

I don't get it, it doesn't even put a link anywhere for me to change the settings, also I don't know how to access it o.o
Title: Re: Download System
Post by: vbgamer45 on May 30, 2008, 11:41:50 PM
you can access via index.php?action=downloads
Title: Re: Download System
Post by: A-Nihilist on May 31, 2008, 12:19:04 AM
Ahh, I see.
You should post that somewhere :)

When I try to upload an attachment it goes to next screen, but when I try to download it i get:
404 - Attachment Not Found
Seems that its not uploading them to FTP
I even CHMODD the dir to 777
Title: Re: Download System
Post by: Nibogo on May 31, 2008, 07:07:40 PM
Quote from: Heero on May 30, 2008, 08:35:15 PM
Quote from: NIBOGO on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.

Did you've checked your permission settings too?

of course!!
Title: Re: Download System
Post by: Nibogo on June 07, 2008, 05:51:46 PM
How i can have a link tree in all the downloads??

For example if i am in the category called "Firmwares" in the top of this category appear:

>>Downloads >>Firmwares

If i am in the file "R4EA031_w810" in firmwares appear:

>>Downloads >>Firmwares>>R4EA031_w810

Thanks :)
Title: Re: Download System
Post by: Nick.123 on June 08, 2008, 12:36:30 PM
Hi I've just setup some custom fields on my site however I already have about 500 files in the database and it doesnt add the custom fields to already uploaded files if I try to edit the downloads it doesnt show them fields so i cant even them it via edit.

Anyway to do this?

Thanks
Title: Re: Download System
Post by: domineaux on June 09, 2008, 01:18:06 PM
I've currently got a separate installation of Joomla with DocMan for managing downloads.  The SMF forums is the direct link, and I have a clickon from the forums to access the Joomla site.

It is a real pain, but I do have good management of the files.  My users hate it because they have to login twice to upload files, unless they link direct to the Joomla site.

Is there a demo or would someone share a link on this great sounding mod.  I really need to get a good idea of how this works before I try to apply it on my forums.

Thanks


Title: Re: Download System
Post by: A-Nihilist on June 10, 2008, 02:55:34 PM
I have a request to the way the categories are organized.

basically this picture shows it:
(http://error33.net/downloads.png)

I will pay if needed :)

Thanks :)
Title: Re: Download System
Post by: desidude on June 12, 2008, 02:05:36 PM
i hve installed download mod and its working and i have uploaded mp3 songs there and now i want is that user can play any song on my site uploaded in downlod section.......
Title: Re: Download System
Post by: †MavN† on June 15, 2008, 08:29:56 AM
Russian Translation
Characterset - UTF8 (http://custom.simplemachines.ru/p13_sectionid/4/p13_fileid/18)
Characterset - windows-1251 (http://custom.simplemachines.ru/p13_sectionid/3/p13_fileid/17)
Title: Re: Download System
Post by: improv on June 18, 2008, 12:02:34 PM
vbgamer45,
is there ANY progress on this mod for the 'pro' version, or a new version?
Please respond with a decent answer,
Thank you.
Title: Re: Download System
Post by: bgarner on June 18, 2008, 02:13:30 PM
i'd like to make downloads available by member group and give each group the ability to manage their own library of downloads - with discussion and file distribution it will be a sort of intranet.

can i provide an upload/management page to each member group?
i'm using along with smf, so i'm assuming single login? access to separate download areas permitted by member group only?

would i need to install a separate mod for each member group?

thanks in advance for your help.
Title: Re: Download System
Post by: vbgamer45 on June 18, 2008, 04:06:34 PM
Quote from: Xarwin on June 18, 2008, 12:02:34 PM
vbgamer45,
is there ANY progress on this mod for the 'pro' version, or a new version?
Please respond with a decent answer,
Thank you.
Zero progress recently been busy with other projects. Looking at late summer early fall.
Title: Re: Download System
Post by: bgarner on June 23, 2008, 07:51:35 PM
i did a manual install, but i get this error from downloadsinstall.php:

Error: Cannot install - please verify you put this in the same place as SMF's index.php.

and this error from the downloads section of smf:

Table 'forum_db.smf_down_cat' doesn't exist
File: /var/www/vhosts/commonmangroup.com/subdomains/forum/httpdocs/Sources/Downloads.php
Line: 422


i assume the second error is due to the fact that downloadsinstall.php isn't taking. it's in the same directory as index.php. any ideas?

Title: Re: Download System
Post by: vbgamer45 on June 23, 2008, 08:05:18 PM
You need to upload the install program to the root directory of your forum then run it.
Title: Re: Download System
Post by: bgarner on June 23, 2008, 10:30:25 PM
Quote from: vbgamer45 on June 23, 2008, 08:05:18 PM
You need to upload the install program to the root directory of your forum then run it.

it's in the root, along with index.php and ssi.php

forum.commonmangroup.com/downloadsinstall.php says that they aren't in the same folder, but they are.

??
Title: Re: Download System
Post by: bgarner on June 23, 2008, 10:55:08 PM
Quote from: bgarner on June 23, 2008, 10:30:25 PM
Quote from: vbgamer45 on June 23, 2008, 08:05:18 PM
You need to upload the install program to the root directory of your forum then run it.

it's in the root, along with index.php and ssi.php

forum.commonmangroup.com/downloadsinstall.php says that they aren't in the same folder, but they are (httpdocs of the subdomain forum).

??
Title: Re: Download System
Post by: vbgamer45 on June 23, 2008, 11:23:22 PM
Strange you probably will need to install the tables manually by going though the sql files found in that file.
Title: Re: Download System
Post by: bgarner on June 24, 2008, 01:42:24 PM
sigh. one step at a time i guess. 'index' displays what it is supposed to and 'downloadinst' displays an error from the same place, so they're both in root.

the next step will be to get this to work with a different theme. i went back to default to install this, do i follow the same steps (from the parser) to get this to work with my theme (once the tables are created)?
Title: Re: Download System
Post by: blazed-d on June 27, 2008, 02:20:21 PM
I recently installed the Download System Package and it is having serious errors with everyone but guest

SMF V: 1.5
Site: http://ikariamods.blazed-designs.com
Package: Download System (http://custom.simplemachines.org/mods/index.php?mod=992)
Theme: http://custom.simplemachines.org/themes/index.php?lemma=752

Anyone may register to get the error but the error states:
"An Error Has Occurred!"

Thats it. As the Administrator I can view the Downloads, add them and etc. You should know that the index.template.php was modified by M3talc0re so the download link will work and I changed it to go directly to the Category 1. Either way if I go to downloads or Category 1 I get the same error. I also have tried uninstalling the download package. The 1st time i did it said it had errors. The 2nd it did not. I even deleted the downloads dir in the ftp and installed again. An intreasting thing is the downloads stayed even after i deleted the package and installed it again.

help??
Title: Re: Download System
Post by: vbgamer45 on June 27, 2008, 11:27:56 PM
Admin -> Perrmissions set them up for each group.
Title: Re: Download System
Post by: blazed-d on June 28, 2008, 02:52:24 AM
They are set up to view, not add...thanks for the try tho
Title: Re: Download System
Post by: vbgamer45 on June 28, 2008, 09:46:18 AM
When does that error occur? Check that all the language files are in place in your themes/modifications.english.php
Title: Re: Download System
Post by: blazed-d on June 28, 2008, 01:05:03 PM
This error only occurs for Guest and Regular members. I, as the admin, can see if just fine.
If you have not noticed I have thrown up a page for downloads so our members can get downloads. its just html nothing else.

you can still get to the error page by going to http://ikariamods.blazed-designs.com/index.php?action=downloads
I have tried all i know what to do and all other has failed.
Title: Re: Download System
Post by: dtommy79 on July 02, 2008, 02:37:10 AM
Hi,

How do i have to install this mod? which files go where?

Thanks
Title: Re: Download System
Post by: khamseen on July 03, 2008, 01:24:36 AM
Ok, I hate when people do this but I'm going to ask a question that may or may not have been asked (Did a search of the topic and didn't find it).

Can I upload file via FTP but have them show in the downloads system?

You know, as I type this I'm sensing the stupidity because you can use a URL instead of browse so I could use that, but then it shows as 0KB, is there something I'm missing there or is that the way it's done and it's just because it's a URL it doesn't show the file size?
Title: Re: Download System
Post by: vbgamer45 on July 03, 2008, 09:01:01 AM
Url currently can't find file size. Currently no option for ftp.
Title: Re: Download System
Post by: khamseen on July 03, 2008, 09:13:02 PM
Quote from: vbgamer45 on July 03, 2008, 09:01:01 AM
Url currently can't find file size. Currently no option for ftp.

Very well, thank you for the reply. I shall just edit my descriptions to show a file size.
Title: Re: Download System
Post by: PainMaster on July 04, 2008, 02:20:36 PM
How do I create a custom field ?
Title: Re: Download System
Post by: vbgamer45 on July 04, 2008, 02:36:37 PM
To create custom fields edit the category
Title: Re: Download System
Post by: PainMaster on July 04, 2008, 02:47:12 PM
Oh ... you should improve the custom field creating options.
For example : I want that custom field I create to show an image, without using the img bbcode or html code ... also I've observed those are missing.
Title: Re: Download System
Post by: vbgamer45 on July 04, 2008, 03:06:09 PM
yup you can't do that. Maybe i add in the paid version.
Title: Re: Download System
Post by: Toms2056 on July 06, 2008, 07:08:29 AM
Sorry if you have already answered this, but, however i try and install it, all it shows is:
QuoteAn Error Has Occurred!
Unable to load the 'main' template. 
I have tried using the package parser aswell, and this is all i get..
:-[
Tom.
Title: Re: Download System
Post by: Apllicmz on July 07, 2008, 03:33:37 AM
Update portuguese and brazilian support utf8

<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuração';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'Ver Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao membro visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Você não está autorizado a ver o Downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao membro adicionar um download.';
$txt['cannot_downloads_add'] = 'Você não tem permissão para adicionar um download.';

$txt['permissionname_downloads_edit'] = 'Editar próprio Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao membro editar seus próprias download.';
$txt['cannot_downloads_edit'] = 'Você não tem permissão para editar esse download';

$txt['permissionname_downloads_delete'] = 'Apagar própria Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao mebro apagar as seus próprias download.';
$txt['cannot_downloads_delete'] = 'Você não está autorizado apgar este download.';

$txt['permissionname_downloads_ratefile'] = 'Avaliar Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite o membro para avaliar um arquivo.';
$txt['cannot_downloads_ratefile'] = 'Você não está autorizado a avaliar o arquivo.';

$txt['permissionname_downloads_editcomment'] = 'Editar próprio comentário';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro editar seus próprias observações.';
$txt['cannot_downloads_editcomment'] = 'Você não tem permissão para editar esse comentário.';

$txt['permissionname_downloads_comment'] = 'Deixe Comentários';
$txt['permissionhelp_downloads_comment'] = 'Permite ao membro deixar comentários sobre um download.';
$txt['cannot_downloads_comment'] = 'Você não está autorizado a deixar comentários.';

$txt['permissionname_downloads_report'] = 'Relatório Fotos/Comentários';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro dar relatório downloads e comentários.';
$txt['cannot_downloads_report'] = 'Você não está autorizado a apresentar um relatório conteúdo.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar comentários';
$txt['permissionhelp_downloads_autocomment'] = 'Comentários não precisa esperar para aprovação.';

$txt['permissionname_downloads_autoapprove'] = 'Auto Aprovar Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads não precisamos de esperar para aprovação.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Permite ao membro adicionar/excluir/editar todas as categorias. Excluir comentários, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Você não está autorizado a administrar o downloads.';

// END Download System Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configura&ccedil;&atilde;o';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'Ver Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao membro visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a ver o Downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao membro adicionar um download.';
$txt['cannot_downloads_add'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para adicionar um download.';

$txt['permissionname_downloads_edit'] = 'Editar pr&oacute;prio Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao membro editar seus pr&oacute;prias download.';
$txt['cannot_downloads_edit'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse download';

$txt['permissionname_downloads_delete'] = 'Apagar pr&oacute;pria Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao membro apagar as seus pr&oacute;prias download.';
$txt['cannot_downloads_delete'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado apgar este download.';

$txt['permissionname_downloads_ratefile'] = 'Avaliar Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite o membro para avaliar um arquivo.';
$txt['cannot_downloads_ratefile'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a avaliar o arquivo.';

$txt['permissionname_downloads_editcomment'] = 'Editar pr&oacute;prio coment&aacute;rio';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro editar seus pr&oacute;prias observa&ccedil;&otilde;es.';
$txt['cannot_downloads_editcomment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse coment&aacute;rio.';

$txt['permissionname_downloads_comment'] = 'Deixe Coment&aacute;rios';
$txt['permissionhelp_downloads_comment'] = 'Permite ao membro deixar coment&aacute;rios sobre um download.';
$txt['cannot_downloads_comment'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a deixar coment&aacute;rios.';

$txt['permissionname_downloads_report'] = 'Relat&oacute;rio Fotos/Coment&aacute;rios';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro dar relat&oacute;rio downloads e coment&aacute;rios.';
$txt['cannot_downloads_report'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a apresentar um relat&oacute;rio conte&uacute;do.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar coment&aacute;rios';
$txt['permissionhelp_downloads_autocomment'] = 'Coment&aacute;rios n&atilde;o precisa esperar para aprova&ccedil;&atilde;o.';

$txt['permissionname_downloads_autoapprove'] = 'Auto Aprovar Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads n&atilde;o precisamos de esperar para aprova&ccedil;&atilde;o.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Permite ao membro adicionar/excluir/editar todas as categorias. Excluir coment&aacute;rios, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a administrar o downloads.';

// END Download System Text Strings
]]></add>
</operation>
</file>
Title: Re: Download System
Post by: ChrisFBBS on July 07, 2008, 03:52:29 PM
How can users who do not have upload rights search the downloads?

Also
How can I set the page up so that the Category area is on top of the page instead of the bottom.
**EDIT
Finally noticed that those options are in the settings... now I am only waiting to see about users being able to search.
**EDIT
Thanks!
and...
Thanks for all of the work put into these mods it is really appreciated.
Title: Re: Download System
Post by: Toms2056 on July 14, 2008, 01:43:18 PM
Quote from: Toms2056 on July 06, 2008, 07:08:29 AM
Sorry if you have already answered this, but, however i try and install it, all it shows is:
QuoteAn Error Has Occurred!
Unable to load the 'main' template. 
I have tried using the package parser aswell, and this is all i get..
:-[
Tom.

Anyone? Please?

Tom.
Title: Re: Download System
Post by: vbgamer45 on July 14, 2008, 10:34:14 PM
You need to copy Downloads.template.php to your themes/default folder
Title: Re: Download System
Post by: improv on July 15, 2008, 07:41:07 AM
vbgamer45, may I try to edit the mod so images are uploadable and shown at the downloads?
Title: Re: Download System
Post by: vbgamer45 on July 15, 2008, 08:50:35 AM
You can do anything you want for your personal site.
Title: Re: Download System
Post by: Toms2056 on July 17, 2008, 02:31:05 PM
Quote from: vbgamer45 on July 14, 2008, 10:34:14 PM
You need to copy Downloads.template.php to your themes/default folder
Done, still not working. :S I tried on the theme being used, as well as the default theme and neither are working. :(

Tom.
Title: Re: Download System
Post by: taucher on July 21, 2008, 01:13:08 PM
I also installed the Download-System on my Homepage. Installation went smooth.
But if i upload a file, it allwas has 0kb (i uploaded one xls and one png)
There was no Error after the upload.

Anyone else with this problem?
Title: Re: Download System
Post by: improv on July 21, 2008, 01:26:39 PM
Oh y, vbgamer45 one of my members found another bug.

Let's say when you uploaded a resource with the upload url and then you want to change the download by a normal upload (upload file) it bugs.
Title: Re: Download System
Post by: taucher on July 21, 2008, 02:24:13 PM
Quote from: taucher on July 21, 2008, 01:13:08 PM
I also installed the Download-System on my Homepage. Installation went smooth.
But if i upload a file, it allwas has 0kb (i uploaded one xls and one png)
There was no Error after the upload.

Anyone else with this problem?
I dont know why, but now it works ;)
Title: Re: Download System
Post by: L'AltroWeb on July 29, 2008, 01:21:19 PM
Hi!
I have test in local this excellent mod! ;)
It works fine except for ftp!
I am with altervista and after some MB is a problem to upload a files!
Yes i can send via ftp but i cant see file dimensions...
Please can you fix this problem?
And can you provide also preview option (link to an image) and demo link?
-
@vbgamer45
Yesterday i've send you a pvt, please can you answer?
Thanks in advance, DarkWolf :)
Title: Re: Download System
Post by: Nibogo on August 08, 2008, 10:47:09 PM
vbgamer45 you can fix the linktree??

For example if i am in:

NIBOGO >> Sub >> Sub2 >> File

I want of appear the parent categorie and the sub-categories in the linktree

thanks
Title: Re: Download System
Post by: Marcus Forsberg on August 10, 2008, 04:13:53 AM
Would it be possible to edit this so that members can upload a image for there file, so that every one see what it is?
Title: Re: Download System
Post by: nick09 on August 10, 2008, 04:15:06 PM
I can't add Categories. Did I miss it somewheres?

EDIT: Never mind I found it!
Title: Re: Download System
Post by: IlyZor on August 16, 2008, 08:23:19 AM
Hello.

This downloads pack is lacking a serious feature.

In this mod "view" means view & download.
But it should be separated.

I mean some guests might want to read the description and look at the files. But register to download.
Title: Re: Download System
Post by: m1ss1nnocent on August 30, 2008, 11:40:40 AM
sorry if this has already been discussed, but I couldnt find it....anyhoo, I have this mod and it works fantastically, but is there a way for me to have my files alphabetical without having to manaually install them that way?
Title: Re: Download System
Post by: marvineferrer on September 03, 2008, 03:43:14 PM
Quote from: improv on May 30, 2008, 08:35:15 PM
Quote from: NIBOGO on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.

Did you've checked your permission settings too?

Was this ever resolved?  I checked the download category permissions as well as the Permissions under the Members area.  I tried again using the admin account but I still get the error.

Title: Re: Download System
Post by: Nibogo on September 03, 2008, 06:09:20 PM
Quote from: marvineferrer on September 03, 2008, 03:43:14 PM
Quote from: improv on May 30, 2008, 08:35:15 PM
Quote from: NIBOGO on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.

Did you've checked your permission settings too?

Was this ever resolved?  I checked the download category permissions as well as the Permissions under the Members area.  I tried again using the admin account but I still get the error.



Not , this problem and the linktree problem didnt have fixed
Title: Re: Download System
Post by: marvineferrer on September 03, 2008, 09:47:17 PM
Quote from: NIBOGO on September 03, 2008, 06:09:20 PM
Quote from: marvineferrer on September 03, 2008, 03:43:14 PM
Quote from: improv on May 30, 2008, 08:35:15 PM
Quote from: NIBOGO on May 27, 2008, 09:06:15 PM
When i upload a file the system have this error:

"You need to enter a download title. "

But i have the title and the Description but this only happend with a file with a size of 8.8 mb and my size have support of files with 2gb.

Did you've checked your permission settings too?

Was this ever resolved?  I checked the download category permissions as well as the Permissions under the Members area.  I tried again using the admin account but I still get the error.



Not , this problem and the linktree problem didnt have fixed

Bummer. It's got the functionalities I need but couldn't deliver.

Edit: Any suggestions??
Title: Re: Download System
Post by: Smythe on September 03, 2008, 10:47:11 PM
OK simple fix i think but can someone point me in the right direction please......

smf/tp 1.1.5/0.9.8.3 respectively

Theme BlackRain V2

Got the mod to work but the button won't show properly..... picture attached

Title: Re: Download System
Post by: vbgamer45 on September 03, 2008, 10:53:22 PM
Check out the code in index.template.php make the code similar to the other buttons
Title: Re: Download System
Post by: Smythe on September 04, 2008, 07:53:26 AM
The code for the other buttons is much different than that of the "downloads" button....here's a a peek.

// How about the [search] button?
if ($context['allow_search'])
echo '<li><a href="', $scripturl, '?action=search"><span>', $txt[182] , '</span></a></li>';

// Is the user allowed to administrate at all? ([admin])
  if ($context['allow_admin'])
echo '<li><a href="', $scripturl, '?action=admin"><span>', $txt[2], '</span></a></li>';
 
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=profile"><span>', $txt[467], '</span></a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<li><a href="', $scripturl, '?action=calendar"><span>', $txt['calendar24'], '</span></a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li><a href="', $scripturl, '?action=pm"><span>' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span></a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<li><a href="', $scripturl, '?action=mlist"><span>' , $txt[331] , '</span></a></li>';
     
     // the [Downloads System] button
    if ($context['allow_downloads_view'])
        echo ($current_action == 'downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu']  , '</a>
                </td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


any suggestions....
Title: Re: Download System
Post by: marvineferrer on September 04, 2008, 10:04:12 AM
Quote from: Smythe on September 04, 2008, 07:53:26 AM
The code for the other buttons is much different than that of the "downloads" button....here's a a peek.

// How about the [search] button?
if ($context['allow_search'])
echo '<li><a href="', $scripturl, '?action=search"><span>', $txt[182] , '</span></a></li>';

// Is the user allowed to administrate at all? ([admin])
  if ($context['allow_admin'])
echo '<li><a href="', $scripturl, '?action=admin"><span>', $txt[2], '</span></a></li>';
 
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=profile"><span>', $txt[467], '</span></a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<li><a href="', $scripturl, '?action=calendar"><span>', $txt['calendar24'], '</span></a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li><a href="', $scripturl, '?action=pm"><span>' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span></a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<li><a href="', $scripturl, '?action=mlist"><span>' , $txt[331] , '</span></a></li>';
    
     // the [Downloads System] button
    if ($context['allow_downloads_view'])
        echo ($current_action == 'downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu']  , '</a>
                </td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


any suggestions....

Dude here's your answer.  I hope it helps.  It works on mine.

//the [Downloads System] button
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=downloads"><span>', $txt['downloads_menu'], '</span></a></li>';

Title: Re: Download System
Post by: Smythe on September 04, 2008, 10:25:59 AM
worked like a charm.... except i changed the edit profile part to downloads
Title: Re: Download System
Post by: marvineferrer on September 04, 2008, 10:42:58 AM
Quote from: Smythe on September 04, 2008, 10:25:59 AM
worked like a charm.... except i changed the edit profile part to downloads

yah haha i was copying and pasting.  i didn't even realize.
Title: Re: Download System
Post by: Marcus Forsberg on September 04, 2008, 12:13:05 PM
I really think that you should update this so that members can upload a image to the file.
Title: Re: Download System
Post by: Arash.Goodarzi on September 05, 2008, 02:05:20 PM
Modified
Title: Re: Download System
Post by: heg0b00 on September 10, 2008, 05:48:08 AM
Hi, i have a problem with the script.

After installing it and working perfectly (at first glance) ie . ..

I can edit permissions, add downloads etc etc. Just the problems start when i want to :

"Delete" downloads or
"Download" downloads

Then i get the following error messages from my browser with the urls as listed :

Dowloading a dowload :
Url : http://www.mysite.com/forum/index.php?action=downloads;sa=view;id=3

error message :
The website is unable to display the webpage  HTTP 501/HTTP 505 
   What you can try:
     Go back to the previous page.

     More information

This error (HTTP 501 Not Implemented or HTTP 505 Version Not Supported) means that the website you are visiting doesn't currently have the ability to display the webpage, or support the HTTP version used to request the page.

For more information about HTTP errors, see Help.



Editing downloads gives the same error message, but ofcourse with a diffrent url :)

Any idea's ?
Title: Re: Download System
Post by: heg0b00 on September 10, 2008, 06:03:50 AM
I do know that recently my host upgraded from php 4 to php 5 and my first thought is that they might have disabled a function in the php.ini that this script needs.

As a note, i have the same problem with the Rss feed poster. So i do not think its script related, unless it doesnt work on php 5 :)


My host did edit the following in the php.ini

- session.auto_start (not activated)
- magic_quotes_gpc (activated)
- safe_mode (not activated, suPHP active)

I would love a heads up about this.
Title: Re: Download System
Post by: heg0b00 on September 10, 2008, 06:42:10 AM
I think it might have to do with the session autostart and the scripting .. but .. i am sort of lost after that :)
Title: Re: Download System
Post by: heg0b00 on September 10, 2008, 07:42:16 AM
The problem is in download.php script in the forum/sources folder.

The following functions give the above error :


'delete' => 'DeleteDownload',
'delete2' => 'DeleteDownload2',
'edit' => 'EditDownload',
'edit2' => 'EditDownload2',
'downfile' => 'DownloadFile2',


The other functions work.

(ps i had to rename function downloadfile to downloadfile2 due to a conflict with itemstats)
Title: Re: Download System
Post by: coris on September 16, 2008, 07:23:23 AM
How can I reorder the downloads by the Title in order from A to Z. Thanks.
Title: Re: Download System
Post by: jonde99 on September 16, 2008, 10:12:02 AM
DownloadFile() was already declared by another mod of mine (wowitemstats) so I had to alter Downloads.php.

In Downlaods.php
Find:

                'downfile' => 'DownloadFile',

Replace with:

                'downfile' => 'DownloadFile1',

Find:

function DownloadFile()

Replace with:

function DownloadFile1()


Title: Re: Download System
Post by: vbgamer45 on September 16, 2008, 10:54:23 PM
Quote from: jonde99 on September 16, 2008, 10:12:02 AM
DownloadFile() was already declared by another mod of mine (wowitemstats) so I had to alter Downloads.php.

In Downlaods.php
Find:

                'downfile' => 'DownloadFile',

Replace with:

                'downfile' => 'DownloadFile1',

Find:

function DownloadFile()

Replace with:

function DownloadFile1()



Thanks will fix that in the next update.
Title: Re: Download System
Post by: virtualxtc on September 17, 2008, 02:57:43 AM
Will compatiblitiy with SMF V2.0 Beta 4 been added in the near future?
Title: Re: Download System
Post by: vbgamer45 on September 17, 2008, 08:53:27 AM
Yes couple weeks
Title: Re: Download System
Post by: virtualxtc on September 17, 2008, 04:06:52 PM
Quote from: vbgamer45 on September 17, 2008, 08:53:27 AM
Yes couple weeks
Super! Will keep an eye out for it :)
Title: Re: Download System
Post by: vortodox on September 20, 2008, 05:14:52 AM
hi!
I'm using this mode and TP, and I was woundering is it posibl to make a block only with recently added downloads for TP?
Title: Re: Download System
Post by: Nibogo on September 20, 2008, 05:55:04 PM
Quote from: vortodox on September 20, 2008, 05:14:52 AM
hi!
I'm using this mode and TP, and I was woundering is it posibl to make a block only with recently added downloads for TP?

You can find the block code in TinyPortal.net
Title: 'Downloads' Button in menu bar...
Post by: kenji on September 21, 2008, 01:05:12 AM
I had been using an earlier vers. of Downloads System...which I uninstalled when I upgraded smf to 1.16....reinstalled Download System 1.0.4 but in the menu bar I have 2 'Downloads' buttons....how can I get rid of the extra button?


hmmm....now I have uninstalled the mod...and deleted the zip from the 'packages' directory...but I still have 1 Download button on the menu bar O_o

Title: Re: Download System
Post by: vbgamer45 on September 21, 2008, 08:46:55 AM
Quote from: kenji on September 21, 2008, 01:05:12 AM
I had been using an earlier vers. of Downloads System...which I uninstalled when I upgraded smf to 1.16....reinstalled Download System 1.0.4 but in the menu bar I have 2 'Downloads' buttons....how can I get rid of the extra button?


hmmm....now I have uninstalled the mod...and deleted the zip from the 'packages' directory...but I still have 1 Download button on the menu bar O_o


You can delete the download button from the index.template.php of the default theme. Search for downloads and delete the related code.
Title: Re: Download System
Post by: kenji on September 21, 2008, 03:55:56 PM
 ;D Thanks so much for your help!  It worked,  and so easy!  Thank you.
Title: Re: Download System (1.1 Released!)
Post by: vbgamer45 on September 21, 2008, 10:22:09 PM
Major Update for SMF 1.1.x

1.1
+New updated interface.
+Uses SMF's built in paging function
!Fixed bug with blocks shown item's that the user does not have access to.
+Added unlimited level deep link tree
Title: Re: Download System (1.1 Released!)
Post by: Nibogo on September 22, 2008, 07:08:14 PM
Maybe you can add upload with FTP
Title: Re: Download System (1.1 Released!)
Post by: CanadianIce on September 23, 2008, 11:04:37 AM
We just installed your latest version of this mod, and it looks awesome but (don't you hate that word ;) ) when we click the links for the download, it can't seem to find the file and we get a page that says "No download selected"

This is what shows up in the forum error log....
Quotehttp://******.net/forum/index.php?action=downloads;sa=view;down=3 
No download selected.
Quote8: Undefined index: id
File: /home/httpd/vhosts/******.net/httpdocs/forum/Sources/Downloads.php
Line: 1060

I'm at a loss on what is going wrong and sure would like to get it working, as this seems like an awesome feature!
Title: Re: Download System (1.1 Released!)
Post by: Sakae on September 23, 2008, 07:07:00 PM
Hi. I installed fine this mod on my SMF 1.1.6, but it ain't working.

When I add a download, it uploads fine and stuff, but when I try to view the download, I see everything BUT THE FILE.

See it for yourself: http://www.tigrelog.com.br/index.php?action=downloads;cat=2    

Here is my error log:

Quotef4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
No download selected.

4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
8: Undefined index: id
Arquivo: /home/tigrelog/public_html/Sources/Downloads.php
Linha: 1060
Title: Re: Download System (1.1 Released!)
Post by: vbgamer45 on September 23, 2008, 08:00:09 PM
Quote from: softcore on September 23, 2008, 07:07:00 PM
Hi. I installed fine this mod on my SMF 1.1.6, but it ain't working.

When I add a download, it uploads fine and stuff, but when I try to view the download, I see everything BUT THE FILE.

See it for yourself: http://www.tigrelog.com.br/index.php?action=downloads;cat=2    

Here is my error log:

Quotef4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
No download selected.

4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
8: Undefined index: id
Arquivo: /home/tigrelog/public_html/Sources/Downloads.php
Linha: 1060
Fixed that critical bug with Download System 1.1.1 redownload the mod and reinstall the latest version.
Title: Re: Download System (1.1 Released!)
Post by: terriblethom on September 23, 2008, 08:02:03 PM
I have a question for u that u might be able to help with? Can you write into or write the code into your download sys to be able to upload individual stories for a story posting group. for exp= to be able to upload a chapter directly to the ongoing story for the aithor. also to be able to put a simple link at the bottom of each chapter to go to the next one without closing and reloading . this would be a great help to a story posting group like mine. I also know that my site builder is waiting for a fix for this module. he is  [email protected]   I have no idea what the glitch is but maybe you could help if u were inclined. Thanks for ur time. Thom
[email protected]
Title: Re: Download System (1.1 Released!)
Post by: vbgamer45 on September 23, 2008, 08:05:09 PM
Quote from: terriblethom on September 23, 2008, 08:02:03 PM
I have a question for u that u might be able to help with? Can you write into or write the code into your download sys to be able to upload individual stories for a story posting group. for exp= to be able to upload a chapter directly to the ongoing story for the aithor. also to be able to put a simple link at the bottom of each chapter to go to the next one without closing and reloading . this would be a great help to a story posting group like mine. I also know that my site builder is waiting for a fix for this module. he is  [email protected]   I have no idea what the glitch is but maybe you could help if u were inclined. Thanks for ur time. Thom
[email protected]
I have an Article system that allows you to post articles more information found at
http://custom.simplemachines.org/mods/index.php?mod=1354
Title: Re: Download System (1.1.1 Released!)
Post by: Sakae on September 23, 2008, 08:21:07 PM
Quote from: vbgamer45 on September 23, 2008, 08:00:09 PM
Fixed that critical bug with Download System 1.1.1 redownload the mod and reinstall the latest version.

Done. Now it shows the file download page, but still not showing the file.

I've added a new file - http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=5

Error log:

Quote2: unlink(/home/tigrelog/public_html/Themes/default/languages/Downloads.english-utf8.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
Arquivo: /home/tigrelog/public_html/Sources/Subs-Package.php
Linha: 1047

EDITED: Ops... Nevermind... It's working fine now. I mean, it suppose to NOT show the image on the file download, just the link for the image?
Title: Re: Download System (1.1.1 Released!)
Post by: vbgamer45 on September 23, 2008, 08:23:42 PM
Correct does not yet show thumbnails of the image sets every file as a download.
Title: Re: Download System (1.1.1 Released!)
Post by: Sakae on September 24, 2008, 12:17:54 AM
Quote from: vbgamer45 on September 23, 2008, 08:23:42 PM
Correct does not yet show thumbnails of the image sets every file as a download.

It could, couldn't?
Title: Re: Download System (1.1.1 Released!)
Post by: CanadianIce on September 24, 2008, 12:15:19 PM
Quote from: vbgamer45 on September 23, 2008, 08:00:09 PM
Fixed that critical bug with Download System 1.1.1 redownload the mod and reinstall the latest version.

I reinstalled the latest version, and now I get a database error when I try to download :(

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, lastdownload = 1222272877' at line 2
File: /home/httpd/vhosts/******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847 
Title: Re: Download System (1.1.1 Released!)
Post by: Upalnite on September 24, 2008, 02:25:37 PM
yo guys, I've just installed mod :), 1 thing I'm stuck with, how do i create a Categories? i cant find the section anywhere, i have found the downloads config, but nothing in there will help me create a Category.
Title: Re: Download System (1.1.1 Released!)
Post by: Sakae on September 24, 2008, 03:23:53 PM
Quote from: CanadianIce on September 24, 2008, 12:15:19 PM
I reinstalled the latest version, and now I get a database error when I try to download :(

I download fine just now.

Quote from: Upalnite on September 24, 2008, 02:25:37 PM
yo guys, I've just installed mod :), 1 thing I'm stuck with, how do i create a Categories? i cant find the section anywhere, i have found the downloads config, but nothing in there will help me create a Category.

Are you using SMF in english? If not, make a copy of Downloads.english.php to Downloads.your-language.php in your language dir.
Title: Re: Download System (1.1.1 Released!)
Post by: vbgamer45 on September 24, 2008, 07:46:39 PM
Quote from: Upalnite on September 24, 2008, 02:25:37 PM
yo guys, I've just installed mod :), 1 thing I'm stuck with, how do i create a Categories? i cant find the section anywhere, i have found the downloads config, but nothing in there will help me create a Category.
You create the download categories on the main downloads page.
http://www.yourforum.com/index.php?action=downloads
There is an add category link on that page.
Title: Re: Download System (1.1.1 Released!)
Post by: Upalnite on September 25, 2008, 06:20:06 AM
yo guys sorry just found it, i need to get my eyes checked i think. There is one problem I'm having tho, once i upload a file it all goes through spot on, it tells you all the info on it, IE filename, filesize etc, but when i click on the link to open it up all i get is:

An Error Has Occurred!
No download selected. 

Please we can some tell us what i need to do?
Here's link to the page if you wanna see the error, just click on TESTING Upload-
http://www.blackburnravers.info/forum/index.php?action=downloads;cat=2
Title: Re: Download System (1.1.1 Released!)
Post by: CanadianIce on September 25, 2008, 11:22:18 AM
Quote from: softcore on September 24, 2008, 03:23:53 PM
Quote from: CanadianIce on September 24, 2008, 12:15:19 PM
I reinstalled the latest version, and now I get a database error when I try to download :(

I download fine just now.

Well, I don't know what's up with mine then because no matter what I try I get that database error.   I haven't got a clue how to fix it, and I so wanted to use this mod :(

I've uninstalled the mod, deleted all my files that were going to be available for download.  Then reinstalled, re-uploaded again.  Still.... database error.  I can edit the downloads, change the owners, rename, etc... but try to download it is a no go.

Guess I'm screwed, eh.


Quote from: Upalnite on September 25, 2008, 06:20:06 AM
yo guys sorry just found it, i need to get my eyes checked i think. There is one problem I'm having tho, once i upload a file it all goes through spot on, it tells you all the info on it, IE filename, filesize etc, but when i click on the link to open it up all i get is:

An Error Has Occurred!
No download selected. 

Please we can some tell us what i need to do?
Here's link to the page if you wanna see the error, just click on TESTING Upload-
http://www.blackburnravers.info/forum/index.php?action=downloads;cat=2

Which version are you using?  The version just before this latest one did that to me.  This latest one (1.1.1) fixed that error message.
Title: Re: Download System (1.1.1 Released!)
Post by: IlyZor on September 25, 2008, 01:56:47 PM
How do I upgrade? Do all my downloads disappear if I uninstall the old mod?
Title: Re: Download System (1.1.1 Released!)
Post by: Upalnite on September 25, 2008, 08:00:35 PM
YO. i was using wrong file, i was on 1.1 now on 1.1.1.
Title: Re: Download System (1.1.1 Released!)
Post by: vbgamer45 on September 25, 2008, 08:19:53 PM
Quote from: IlyZor on September 25, 2008, 01:56:47 PM
How do I upgrade? Do all my downloads disappear if I uninstall the old mod?
Uninstall then install the newest first. The files and data are saved so you do not have to worry about loosing them.
Title: Re: Download System (1.1.1 Released!)
Post by: Upalnite on September 26, 2008, 02:59:17 PM
Is there any way of putting a status bar on? Love the mod by the way. This board is so much simpler to use than phpbb :)
Title: Re: Download System (1.1.1 Released!)
Post by: Sakae on September 26, 2008, 04:59:33 PM
vbgamer45, Tiny Portal website (http://www.tinyportal.net) is down a couple days now, so I need to ask you:

How do I add a block code with last uploaded item?

I understand basic of PHP, so if you tell me that SSI of this download is like get_last_download(); or something, I can create the block.
Title: Re: Download System (1.1.1 Released!)
Post by: CanadianIce on September 26, 2008, 08:30:57 PM
Does anyone... anyone at all... have an idea on why I'm getting this error?  Even a hunch.... something, anything for me to go on?  Please!

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, lastdownload = 1222272877' at line 2
File: /home/httpd/vhosts/******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847 
Title: Re: Download System (1.1.1 Released!)
Post by: vbgamer45 on September 26, 2008, 08:32:33 PM
Quote from: CanadianIce on September 26, 2008, 08:30:57 PM
Does anyone... anyone at all... have an idea on why I'm getting this error?  Even a hunch.... something, anything for me to go on?  Please!

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, lastdownload = 1222272877' at line 2
File: /home/httpd/vhosts/******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847 

I think I have a fix for that will post one soon.
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 26, 2008, 08:52:09 PM
1.1.2
!Fixed a bug with downloading files for some users.
!Fixed interface for themes that don't support tabs
Title: Re: Download System (1.1.2 Released!)
Post by: Apllicmz on September 27, 2008, 12:45:40 AM
Nice work update that mod
plaese dont forget portuguese and brazilian utf8 Linguage

<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configura&ccedil;&atilde;o';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao membro visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao membro adicionar download.';
$txt['cannot_downloads_add'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Pr&oacute;prias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao membro editar seus pr&oacute;prios download.';
$txt['cannot_downloads_edit'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar pr&oacute;prio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao membro apagar os seus pr&oacute;prias download.';
$txt['cannot_downloads_delete'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar pr&oacute;prios Coment&aacute;rio';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro editar suas pr&oacute;prias observa&ccedil;&otilde;es.';
$txt['cannot_downloads_editcomment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse coment&aacute;rio.';

$txt['permissionname_downloads_comment'] = 'Deixar coment&aacute;rios';
$txt['permissionhelp_downloads_comment'] = 'Permite ao membro deixar coment&aacute;rios sobre um download.';
$txt['cannot_downloads_comment'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a deixar coment&aacute;rios.';

$txt['permissionname_downloads_report'] = 'Relat&oacute;rio imagem/Coment&aacute;rios';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro relat&oacute;rio downloads e coment&aacute;rios.';
$txt['cannot_downloads_report'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a apresentar um relatório coment&aacute;rio.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar coment&aacute;rios';
$txt['permissionhelp_downloads_autocomment'] = 'Comentários n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao membro adicionar/excluir/editar todas as categorias. Excluir coment&aacute;rios, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a gerir os downloads.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configura&ccedil;&atilde;o';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao membro visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao membro adicionar download.';
$txt['cannot_downloads_add'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Pr&oacute;prias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao membro editar seus pr&oacute;prios download.';
$txt['cannot_downloads_edit'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar pr&oacute;prio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao membro apagar os seus pr&oacute;prias download.';
$txt['cannot_downloads_delete'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar pr&oacute;prios Coment&aacute;rio';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro editar suas pr&oacute;prias observa&ccedil;&otilde;es.';
$txt['cannot_downloads_editcomment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse coment&aacute;rio.';

$txt['permissionname_downloads_comment'] = 'Deixar coment&aacute;rios';
$txt['permissionhelp_downloads_comment'] = 'Permite ao membro deixar coment&aacute;rios sobre um download.';
$txt['cannot_downloads_comment'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a deixar coment&aacute;rios.';

$txt['permissionname_downloads_report'] = 'Relat&oacute;rio imagem/Coment&aacute;rios';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro relat&oacute;rio downloads e coment&aacute;rios.';
$txt['cannot_downloads_report'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a apresentar um relatório coment&aacute;rio.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar coment&aacute;rios';
$txt['permissionhelp_downloads_autocomment'] = 'Comentários n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao membro adicionar/excluir/editar todas as categorias. Excluir coment&aacute;rios, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a gerir os downloads.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>


<file name="$languagedir/Modifications.portuguese.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuração';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao usuário visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Você não tem permissão para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao usuário adicionar download.';
$txt['cannot_downloads_add'] = 'Você não tem permissão adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Próprias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao usuário editar seus próprios download.';
$txt['cannot_downloads_edit'] = 'Você não tem permissão para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar próprio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao usuário apagar as suas próprias download.';
$txt['cannot_downloads_delete'] = 'Você não tem permissão para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Você não tem permissão avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar próprios Comentario';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao usuário editar suas próprias observações.';
$txt['cannot_downloads_editcomment'] = 'Você não tem permissão para editar esse comentário.';

$txt['permissionname_downloads_comment'] = 'Deixar comentários';
$txt['permissionhelp_downloads_comment'] = 'Permite ao usuário deixar comentários sobre um download.';
$txt['cannot_downloads_comment'] = 'Você não está autorizado a deixar comentários.';

$txt['permissionname_downloads_report'] = 'Relatório imagem/Comentários';
$txt['permissionhelp_downloads_report'] = 'Permite ao usuário relatório downloads e comentários.';
$txt['cannot_downloads_report'] = 'Você não está autorizado a apresentar um relatório comentario.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar comentários';
$txt['permissionhelp_downloads_autocomment'] = 'Comentários não precisa esperar pela aprovação.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads não precisa esperar pela aprovação.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao usuário adicionar / excluir / editar todas as categorias. Excluir comentários, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Você não está autorizado a gerir os downloads.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuração';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao usuário visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Você não tem permissão para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao usuário adicionar download.';
$txt['cannot_downloads_add'] = 'Você não tem permissão adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Próprias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao usuário editar seus próprios download.';
$txt['cannot_downloads_edit'] = 'Você não tem permissão para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar próprio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao usuário apagar as suas próprias download.';
$txt['cannot_downloads_delete'] = 'Você não tem permissão para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Você não tem permissão avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar próprios Comentario';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao usuário editar suas próprias observações.';
$txt['cannot_downloads_editcomment'] = 'Você não tem permissão para editar esse comentário.';

$txt['permissionname_downloads_comment'] = 'Deixar comentários';
$txt['permissionhelp_downloads_comment'] = 'Permite ao usuário deixar comentários sobre um download.';
$txt['cannot_downloads_comment'] = 'Você não está autorizado a deixar comentários.';

$txt['permissionname_downloads_report'] = 'Relatório imagem/Comentários';
$txt['permissionhelp_downloads_report'] = 'Permite ao usuário relatório downloads e comentários.';
$txt['cannot_downloads_report'] = 'Você não está autorizado a apresentar um relatório comentario.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar comentários';
$txt['permissionhelp_downloads_autocomment'] = 'Comentários não precisa esperar pela aprovação.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads não precisa esperar pela aprovação.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao usuário adicionar / excluir / editar todas as categorias. Excluir comentários, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Você não está autorizado a gerir os downloads.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>
Title: Re: Download System (1.1.2 Released!)
Post by: CanadianIce on September 27, 2008, 10:59:33 AM
Thank you so much for your response and the update, but I'm still getting the same error :(

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12225273' at line 2
File: /home/httpd/vhosts/*******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847

Any ideas?
Title: Re: Download System (1.1.2 Released!)
Post by: Sakae on September 27, 2008, 11:34:22 AM
Quote from: vbgamer45 on September 26, 2008, 08:52:09 PM
1.1.2
!Fixed a bug with downloading files for some users.
!Fixed interface for themes that don't support tabs

You think that ppl who aren't having troubles downloading files, using 1.1.1, should upgrade or keep with this version 'till a major upgrade happens?
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 27, 2008, 11:46:00 AM
Quote from: CanadianIce on September 27, 2008, 10:59:33 AM
Thank you so much for your response and the update, but I'm still getting the same error :(

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12225273' at line 2
File: /home/httpd/vhosts/*******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847

Any ideas?
Reposted a new update see if that fixes it.
Title: Re: Download System (1.1.2 Released!)
Post by: Grizz on September 27, 2008, 12:37:04 PM
Quote from: vbgamer45 on September 27, 2008, 11:46:00 AM
Quote from: CanadianIce on September 27, 2008, 10:59:33 AM
Thank you so much for your response and the update, but I'm still getting the same error :(

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12225273' at line 2
File: /home/httpd/vhosts/*******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847

Any ideas?
Reposted a new update see if that fixes it.

Unfortunately, no.

You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12224992' at line 2
File: /home/httpd/vhosts/********/httpdocs/forum/Sources/Downloads.php
Line: 4847

Does this mod require utf8 by any chance?
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 27, 2008, 12:59:23 PM
Quote from: Grizz on September 27, 2008, 12:37:04 PM
Quote from: vbgamer45 on September 27, 2008, 11:46:00 AM
Quote from: CanadianIce on September 27, 2008, 10:59:33 AM
Thank you so much for your response and the update, but I'm still getting the same error :(

QuoteDatabase Error
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12225273' at line 2
File: /home/httpd/vhosts/*******.net/httpdocs/forum/Sources/Downloads.php
Line: 4847

Any ideas?
Reposted a new update see if that fixes it.

Unfortunately, no.

You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12224992' at line 2
File: /home/httpd/vhosts/********/httpdocs/forum/Sources/Downloads.php
Line: 4847

Does this mod require utf8 by any chance?
Redownload the mod again from the mod site. That text should not be there I removed f. from the query
Title: Re: Download System (1.1.2 Released!)
Post by: Grizz on September 27, 2008, 01:18:03 PM
You have an error in your SQL syntax near 'as f
SET f.totaldownloads = f.totaldownloads + 1, f.lastdownload = 12224992' at line 2
File: /home/httpd/vhosts/*********/httpdocs/forum/Sources/Downloads.php
Line: 4847

The latest error.
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 27, 2008, 01:19:33 PM
Please download the mod from the modsite. Extract the files upload the Downloads.php file to your Sources file.

That error should not happen with the latest version. I double checked on the mod site and that code no longer exists.
Title: Re: Download System (1.1.2 Released!)
Post by: Grizz on September 27, 2008, 01:29:22 PM
That did it, after a new upload of the file, The old one still gave the error.

Thank you!
Title: Re: Download System (1.1.2 Released!)
Post by: deve on September 27, 2008, 07:16:06 PM
how do you update from 1.0.4 to 1.1.2 do I have to uninstall it first ?
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 27, 2008, 07:56:19 PM
Quote from: deve on September 27, 2008, 07:16:06 PM
how do you update from 1.0.4 to 1.1.2 do I have to uninstall it first ?
Yes you have to uninstall first. You do not loose data if you uninstall.
Title: Re: Download System (1.1.2 Released!)
Post by: virtualxtc on September 28, 2008, 12:19:32 AM
After trying to install the download system on smf V 2.0 Beta 4 i get an error...

'Sorry, but this modification does not appear to be compatible with the selected version."

This error comes up using the package installer and when i try to get manual install instructions.
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on September 28, 2008, 12:23:40 AM
This modification does not work for SMF 2.0 yet in the coming weeks it will
Title: Re: Download System (1.1.2 Released!)
Post by: virtualxtc on September 28, 2008, 01:15:32 AM
It just says its compatible with : 1.1.4, 1.1.5, 1.1.6, 2.0 Beta 4 so i gave it a shot, thats all. :)
Title: Re: Download System (1.1.2 Released!)
Post by: Joey on September 28, 2008, 01:44:54 AM
In the users on line page is their a way to make it say Nothing, or nothing you can see...
we have some users that we don't want them to know about the downloads there level is set to not let them in but the wording and link Downloads show up in the users on line page..

Thanks joeylc
Title: Re: Download System (1.1.2 Released!)
Post by: rtyug on September 28, 2008, 06:55:45 AM
why not to do on ftp or http, without the php cashing?

it is possible to do that yuolee more effective was better, although I do not use a long ago... time is not present
Title: Re: Download System (1.1.2 Released!)
Post by: CanadianIce on September 28, 2008, 01:52:57 PM
Quote from: vbgamer45 on September 27, 2008, 01:19:33 PM
Please download the mod from the modsite. Extract the files upload the Downloads.php file to your Sources file.

That error should not happen with the latest version. I double checked on the mod site and that code no longer exists.

Thank-you very much vbgamer45!
If I could, I'd buy you a beer. :)
Title: Re: Download System (1.1.2 Released!)
Post by: tripl3r on September 28, 2008, 11:35:54 PM
Hey guys wondered if you could help me out
All i want is for where it shows the filesize of the download to display it in mb instead of kb
is this possible?
Title: Re: Download System (1.1.2 Released!)
Post by: Penelope on October 01, 2008, 04:15:11 PM
It's finally here :D This is a modification for the Download Sytem 1.0.4 from vbgamer45.

( Very Important!: Read the install instructions first before you install the package! )

Title: Arcadeworld Download v1.0
Author: Arcadeword - http://www.arcadeworld.nl

Required: Download system 1.0.4
http://arcadeworld.nl/forum/index.php?action=downloads;sa=view;id=5
Author: vbgamer45

Live demo:
http://arcadeworld.nl/forum/index.php?action=downloads

Screenshots:

(http://arcadeworld.nl/images/screens/download_main.gif)


(http://arcadeworld.nl/images/screens/download_forum.gif)


(http://arcadeworld.nl/images/screens/download_file.gif)

Featuring:                                     
- A new template for your Download System ( visit www.arcadeworld.nl for demo )   
- Image upload for download                             
- Image shown add download file, main page, blocks and download topic


This mod is tested on:
Downloads System 1.0.4

Download @ http://arcadeworld.nl/forum/index.php?action=downloads;sa=view;id=9

( Very Important!: Read the install instructions first before you install the package! )
Title: Re: Download System (1.1.2 Released!)
Post by: codnerd on October 02, 2008, 10:54:26 PM
Ok. I got a little problem. I added like 15 files to my category. Then I found out that you can make it auto post for me. How do I make it auto post the 10 files that I already did?
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 02, 2008, 10:57:38 PM
Quote from: codnerd on October 02, 2008, 10:54:26 PM
Ok. I got a little problem. I added like 15 files to my category. Then I found out that you can make it auto post for me. How do I make it auto post the 10 files that I already did?
Currently there is no way to that.
Title: Re: Download System (1.1.2 Released!)
Post by: Upalnite on October 03, 2008, 06:11:23 AM
yo guys, i have installed the mod and change the file size limit to 100mb (i have also changed my main php.ini to allow this), i run a radio site so i want my dj's to use this to upload mixed mp3 files, it goes through the upload process fine, but when it reaches the end of the download it comes up saying 'ERROR PLEASE  ENTER A TITLE', i did enter a title tho, what could be wrong?

The upload url works fine tho, no errors at all, apart from not dispalying the file size.

Please can ya help us out?

Cheers
Rhys Cole.
Title: Re: Download System (1.1.2 Released!)
Post by: Sakae on October 03, 2008, 11:27:53 AM
Hey, vbgamer45.

I finally managed to access www.tinyportal.net and I search for a bunch of threads there, and the common answer for a TP BLOCK WITH RECENTLY ADDED DOWNLOADS was "ask for the mod creator".

Can you provide that block code snippet? Thanks in advance...

I found a block code with most popular downloads (add in a phpbox):

global $db_prefix, $scripturl;

$request = db_query("SELECT f.ID_FILE, f.ID_MEMBER, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.realName, m.ID_MEMBER AS mID_MEMBER
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.ID_MEMBER = m.ID_MEMBER
ORDER BY totaldownloads DESC
LIMIT 10",__FILE__,__LINE__);
while($row = mysql_fetch_assoc($request)) {
echo '<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td valign="top" class="smalltext"> <a href="',$scripturl,'?action=downloads;sa=view;id=',$row['ID_FILE'],'">',$row['ftitle'],'</a></td>
<td valign="top" class="smalltext" align="right">',$row['totaldownloads'],'</td>
</tr>
</table>';
}
Title: Re: Download System (1.1.2 Released!)
Post by: tripl3r on October 10, 2008, 03:55:33 PM
I need to make my filesize display in MB instead of KB and also I have 2 sub categories within a category and it doesnt show how many files are in the original catergory how can i fix this?
Title: Re: Download System (1.1.2 Released!)
Post by: cthulhumythos on October 11, 2008, 12:47:15 AM
I asked over at smf hacks but I guess this is the proper place. i would like to change what it sends to the forum post it generates, could anyone point me in the right area to edit? Very young and green when it comes to php but I've done a few things. I just want it to also send the direct download link it creates into the forum post wrapped in bbcode for the dewplayer mod. I'm essentially using it as an audio upload/download system.
Title: Re: Download System (1.1.2 Released!)
Post by: virtualxtc on October 18, 2008, 10:32:35 AM
Hey vbgamer,
Hows the Download System Pro Coming along?
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 18, 2008, 10:46:54 AM
Little bit delayed at the moment. Have one large new free mod for SMF coming then updating my store mod.
Title: Re: Download System (1.1.2 Released!)
Post by: improv on October 18, 2008, 08:15:20 PM
Can we have a hint about your new mod? :)
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 18, 2008, 10:54:57 PM
A portal system.
Title: Re: Download System (1.1.2 Released!)
Post by: Nibogo on October 18, 2008, 11:04:17 PM
Quote from: vbgamer45 on October 18, 2008, 10:54:57 PM
A portal system.

Would be good to see this mod integrated with the SMF downloads, articles and gallery
Title: Re: Download System (1.1.2 Released!)
Post by: Sudhakar Arjunan on October 19, 2008, 02:20:34 AM
Hey vbgamer,

I have now upgrade to smf 2.0.4.

Do i have a download mod compactable with 2.0.4, because on my smf 1.1.6 i had over 4000 downloaded connected to the forum.

I miss everything in my new 2.0.4 forum.
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 19, 2008, 02:30:22 AM
Yes you do but i have not yet updated this mod to SMF 2.0
Title: Re: Download System (1.1.2 Released!)
Post by: cthulhumythos on October 19, 2008, 12:18:08 PM
I cant wait to buy downloads pro!!! Just wondering, my max file uploads that members are submitting on my site are in the 150 meg range (we are musicians sharing our own produced audio files), I know this is big. The connection is breaking almost instantly on any file over 100 megs. 98 megs and it uploads fine. My max filesize on my host is 200 megs, and I have just uploaded the file through ftp fine. I'm on linux shared, any idea why it fails at anything exactly over half my filesize limit? Regards.
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 19, 2008, 12:42:07 PM
Not sure if pro would fix that issue. That is the problem with form based uploads the server could reset the connection, php settings have to be increased, connection can get dropped.  I have seen web forms do around 100mb to 200mb transfers but they have to be heavily configured to do so.
Title: Re: Download System (1.1.2 Released!)
Post by: cthulhumythos on October 19, 2008, 12:50:26 PM
Thanks for the response! OK, i will explore ftp avenues for my members for files over 100 for now. Any hints on what added features downloads pro may have? Thanks for all your work vb, love your smf mods, they are the core of my forum. Great work!
Title: Re: Download System (1.1.2 Released!)
Post by: vortodox on October 22, 2008, 08:44:08 AM
@vbgamer45 
First of all,thanks for GREAT mod!

I have only one question, is it possible to put some kind of image insted of link on which is written Download?

(http://i50.photobucket.com/albums/f337/vortodox/Example.jpg)
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 22, 2008, 09:51:12 PM
Yes it is you would need to modify the Downloads.template.php and replace the download  text to an image link instead.
Title: Re: Download System (1.1.2 Released!)
Post by: CanadianIce on October 23, 2008, 11:08:04 AM
The actual download works great, but we seem to be having a problem when people try to search the files.  It fails and are getting these errors....

Database Error: You have an error in your SQL syntax near '10' at line 8
File: .../Sources/Downloads.php
Line: 3357

8: Undefined index: start
File: .../Sources/Downloads.php
Line: 3357
Title: Re: Download System (1.1.2 Released!)
Post by: vbgamer45 on October 23, 2008, 08:10:30 PM
Can you give an example of what you searching for and selecting
Title: Re: Download System (1.1.2 Released!)
Post by: Hoochie Coochie Man on October 24, 2008, 08:08:43 AM
Hi vbgamer45
Thank you very much for the update!
Title: Re: Download System (1.1.2 Released!)
Post by: vortodox on October 24, 2008, 10:22:44 AM
Quote from: vbgamer45 on October 22, 2008, 09:51:12 PM
Yes it is you would need to modify the Downloads.template.php and replace the download  text to an image link instead.

Could you please be more specific, I'm too good with php...
Title: Re: Download System (1.1.2 Released!)
Post by: Sudhakar Arjunan on October 24, 2008, 11:42:32 AM
Quote from: vbgamer45 on October 18, 2008, 10:54:57 PM
A portal system.

Though i miss Download system, Links System in my smf 2.0.4.

VBGamer45's Portal System will be excellent with Downloads, Gallery and Links in it which gives more features to our SMF Forum.

Thanks to VB Gamer 45.
Title: Re: Download System (1.1.2 Released!)
Post by: CanadianIce on October 24, 2008, 11:46:16 AM
Quote from: vbgamer45 on October 23, 2008, 08:10:30 PM
Can you give an example of what you searching for and selecting
It seems that any kind of search brings up that error.
For example, I know I have several downloads with the word "robe" in the title and in the description.  When I search for robe & select either title, description or keywords... each time I get that same error.

Could it be that I didn't enter in any keywords and because of that it's fubaring the entire search function?

EDIT:
Doesn't seem to make a difference if I add keywords, the same error comes up.
Title: Re: Download System (1.1.2 Released!)
Post by: Hoochie Coochie Man on October 25, 2008, 12:06:56 PM
Hi vbgamer45

I removed old mod and installed 1.1.2.
Everything is fine. But when I search a word in this mod. It gave me this error:

QuoteDatabase Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10' at line 7
Folder: /**************/forum/Sources/Downloads.php
Line: 3357

that line is:
    LIMIT $context[start],10", __FILE__, __LINE__);

Any help would be great, thanks.
Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on October 25, 2008, 02:40:25 PM
Released a new update to fix the searching issue.

1.1.3
!Fixed searching for downloads
Title: Re: Download System (1.1.3 Released!)
Post by: Hoochie Coochie Man on October 25, 2008, 08:18:26 PM
Quote from: vbgamer45 on October 25, 2008, 02:40:25 PM
Released a new update to fix the searching issue.
Thank you very much, it's working fine now.
Title: Re: Download System (1.1.3 Released!)
Post by: fyndler on October 26, 2008, 03:56:20 PM
Thanks for this mod very good and hanlde downloads very very smart


My question is,will it be hard to make so people could upload screenshoots at th espot were i painted ?

(http://img154.imageshack.us/img154/3239/nopebc3.png)

Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on October 26, 2008, 04:02:49 PM
Not really hard at all if you know php and mysql
Title: Re: Download System (1.1.3 Released!)
Post by: fyndler on October 26, 2008, 04:14:38 PM
I dont know either off it :D

So if someone could help me that would be very appriciated :)

We are making forum to our game community with maps and other downloads so if ppl could upload like 3 or 4 screenshoots there it would be so perfect
Title: Re: Download System (1.1.3 Released!)
Post by: Default- on October 27, 2008, 12:05:01 PM
hi im using 2 of your mods and theyre great im using download system and gallery but i cant get them to work on any theme apart from default babylon theme is there a tut of way i can modify the themes files to get this to work?  ???
Title: Re: Download System (1.1.3 Released!)
Post by: fyndler on October 27, 2008, 06:56:12 PM
http://custom.simplemachines.org/mods/index.php?mod=992

Then press you version and then hit Submit and you will get an nice guide on how to install for costume themes
Title: Re: Download System (1.1.3 Released!)
Post by: Nibogo on October 27, 2008, 07:22:54 PM
Quote from: Default- on October 27, 2008, 12:05:01 PM
hi im using 2 of your mods and theyre great im using download system and gallery but i cant get them to work on any theme apart from default babylon theme is there a tut of way i can modify the themes files to get this to work?  ???

Try:

http://custom.simplemachines.org/mods/index.php?action=parse;mod=992;attach=73405;smf_version=1.1.6
Title: Re: Download System (1.1.3 Released!)
Post by: amiralib on October 29, 2008, 03:02:08 PM
what about SMF 2.0 ? when will you upgrade this mode to SMF 2.0 ?
Title: Re: Download System (1.1.3 Released!)
Post by: CanadianIce on October 29, 2008, 05:36:11 PM
Quote from: vbgamer45 on October 25, 2008, 02:40:25 PM
Released a new update to fix the searching issue.

1.1.3
!Fixed searching for downloads

Works perfectly now!
Thank-you! :)
Title: Re: Download System (1.1.3 Released!)
Post by: sgandtg on October 31, 2008, 10:54:14 PM
I'm very new to this and have spent a lot of time uploading files and creating the databse using 1.1.2.1 and am apprehensive about upgrading to the latest version, although I do need to as I'm getting the search problem.

So, can I just uninstall 1.1.2.1 and then install 1.1.3?  Does this keep all downloads and settings?

Many, many thanks in advance for any help given and a huge thanks to vbgamer for the mod.
Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on October 31, 2008, 11:19:54 PM
Yes if you uninstalling is safe all data and downloads are saved. Then install the new version.
Title: Re: Download System (1.1.3 Released!)
Post by: daveand5 on November 01, 2008, 01:50:54 AM
The package works excellant !
but it lists double items in recent and most viewed boxes ??
any ideas?
to be more specific - each file is listed twice in those boxes but no where else.

I did have double download buttons, but fixed that.
Title: Re: Download System (1.1.3 Released!)
Post by: sgandtg on November 01, 2008, 11:21:22 AM
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Who.english.php Test successful
3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
4. Execute Modification ./index.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed
6. Execute Modification ./Sources/Subs.php Test failed
7. Execute Modification ./Sources/ManagePermissions.php Test failed
8. Delete File ./Sources/Downloads.php 
9. Delete File ./Themes/default/Downloads.template.php 
10. Delete File ./Themes/default/languages/Downloads.english.php 
11. Delete File ./Themes/default/languages/Downloads.english-utf8.php


Does this mean I'll have to uninstall & install manually?
Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on November 01, 2008, 11:39:38 AM
Umm not much changed. You can just upload the new Downloads.php to Sources/Downloads.php
and it should fix the issue.
Title: Re: Download System (1.1.3 Released!)
Post by: sgandtg on November 01, 2008, 04:29:56 PM
You, my friend, are a star.

Working perfectly.
Title: Re: Download System (1.1.3 Released!)
Post by: fyndler on November 01, 2008, 10:57:29 PM
Cant someone make so people can add some screenshoots to their downloads that would be so super,im even willy to pay for it

Quote from: fyndler on October 26, 2008, 03:56:20 PM

(http://img154.imageshack.us/img154/3239/nopebc3.png)
Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on November 01, 2008, 11:17:05 PM
Something I have planned for downloads pro along with a lot more.
Title: Re: Download System (1.1.3 Released!)
Post by: ReVoKe on November 01, 2008, 11:36:58 PM
Is this expected for 2.0 Beta4 soon?
Title: Re: Download System (1.1.3 Released!)
Post by: fyndler on November 02, 2008, 12:04:37 AM
Quote from: vbgamer45 on November 01, 2008, 11:17:05 PM
Something I have planned for downloads pro along with a lot more.

I would be completly setisfied with just some screenshoots since i really bad need it for my gaming forum ;)
Title: Re: Download System (1.1.3 Released!)
Post by: vbgamer45 on November 02, 2008, 12:30:38 AM
Quote from: ReVoKe on November 01, 2008, 11:36:58 PM
Is this expected for 2.0 Beta4 soon?
In the coming weeks.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 02, 2008, 11:08:48 PM
SMF 2.0 Beta 4 Support Added!
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: cthulhumythos on November 03, 2008, 03:22:58 AM
Just wanted to say this system is working great now. I had no php skill but by comparing your lines and basic syntax I modified the system to do all I wanted, mainly: create the forum post with the description entered in the downloads submission, coupla line breaks, then take the fileurl and post it encased in the bbcode for dewplayer (my downloads system is used exclusively for audio submissions), two more line breaks and then inclusion of the custom field data at the bottom of the post, which in this case is the creative commons license scheme selected by the user. It even posts the creative commons icon. It was my first day goofing around with php, two little syntax errors but other than that a total success. Thanks for this system!

Next i will be analyzing why maxsize fileposting is exactly half my allowed filesize, probably a mem issue on server but we'll see if i can suss it.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: amiralib on November 03, 2008, 10:33:42 AM
Quote from: vbgamer45 on November 02, 2008, 11:08:48 PM
SMF 2.0 Beta 4 Support Added!
really thanks :)

I will try to translate this mode to Farsi(Persian) thanks .
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 03, 2008, 10:43:18 AM
vbgamer45,

Installed for my SMF 2.0 Beta 4... http://www.bksmf.com
Works like a charm. :)

Only thing, the linktree always shows up 2 times at the top. I had to go remove it a few times in the donloads2.template.php file.

It seems that this is a recurring problem with mods for 2.0 Beta 4. I think the calls for the linktree are no longer needed in mods, in 2.0 Beta 4. I think the call is in a file already, that places it on to all pages. Something that SMF may have done, and may need to be verified.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on November 03, 2008, 12:05:31 PM
I was waiting for a long time.

I will now install the mod . Could you give me guidelines to download and uploaded old downloads from smf 1.1.6.

Thanks in Advance.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on November 03, 2008, 01:37:08 PM
Hi Vbgamer45,

I have found a error.

My old forum link @ http://forum.sitename.com

New 2.0.4 forum link @ http://discuss.sitename.com

----------------------

After completing my Download installation @ discuss.sitename.com, it redirected me to download configuration page.

Where,

Downloads Path:  /home/sitename/public_html/forum/downloads/

Downloads Url:  http://forum.sitename.com/downloads/

Which should be holding the folder name as discuss.

any suggestions on it.
Title: Re: Download System (1.1.3 Released!)
Post by: daveand5 on November 03, 2008, 03:39:50 PM
Quote from: daveand5 on November 01, 2008, 01:50:54 AM
The package works excellant !
but it lists double items in recent and most viewed boxes ??
any ideas?
to be more specific - each file is listed twice in those boxes but no where else.

I did have double download buttons, but fixed that.

This problem is probably more an annoyance than anything, but some help removing the double listings in the recent and most viewed boxes would be appreciated.....
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 03, 2008, 08:03:58 PM
Quote from: BurkeKnight on November 03, 2008, 10:43:18 AM
vbgamer45,

Installed for my SMF 2.0 Beta 4... http://www.bksmf.com
Works like a charm. :)

Only thing, the linktree always shows up 2 times at the top. I had to go remove it a few times in the donloads2.template.php file.

It seems that this is a recurring problem with mods for 2.0 Beta 4. I think the calls for the linktree are no longer needed in mods, in 2.0 Beta 4. I think the call is in a file already, that places it on to all pages. Something that SMF may have done, and may need to be verified.
What theme are you using for the linktree? I can't recreate that on my test site using the default theme.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Nibogo on November 03, 2008, 08:06:35 PM
vbgamer you can create a TP Download Manager converter??

LIke the TP Articles to SMF Articles converter
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 03, 2008, 08:11:33 PM
Remind me and I will put it on my list.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 03, 2008, 09:11:55 PM
It was on a default theme site. My BK-SMF site is using the default theme, and I had to remove the linktree calls from the donloads2.template.php file there.
This issue also was on other mods.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on November 04, 2008, 12:44:22 AM
Reply #527 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781196#msg1781196

Reply #526 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781061#msg1781061

Looking for an update author, any suggestions.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: daveand5 on November 04, 2008, 03:20:39 AM
i'm using smf 1.1.6
using the default theme at present till bugs worked out.
and I'm not sure what this linktree is? I looked thru the download.template.php and didnt see anything that stood out as being duplicated.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 04, 2008, 07:00:56 AM
daveand5,

That is because the duplication is only an issue on SMF 2.0 Beta 4, Like I stated in my post. ;)

Thank you, though, for verifying that 1.1.6 does not have the issue. :)

EDIT:

Also, this is what the linktree is, shown at top and bottom of most forums:

Simple Machines Community Forum > Customizing SMF > Modifications and Packages > Topic: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 04, 2008, 09:19:25 AM
A'llo.

Thanks for making it smf 2.04beta compatible, I used to use this on my old smf 1.x site...

Everything seems to be working ok for me ...

Only thing I noticed is that when I upload a file and it posts a link in a specified thread it doesn't post the correct link to the item uploaded.

Also it would be nice to customize how it posts the link & maybe a little section so you can add some other text to it too.

eZ.
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 04, 2008, 08:15:16 PM
How does the link look in the thread?
Title: Re: Download System (1.1.3 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 04, 2008, 08:35:44 PM
Quote from: daveand5 on November 03, 2008, 03:39:50 PM
Quote from: daveand5 on November 01, 2008, 01:50:54 AM
The package works excellant !
but it lists double items in recent and most viewed boxes ??
any ideas?
to be more specific - each file is listed twice in those boxes but no where else.

I did have double download buttons, but fixed that.

This problem is probably more an annoyance than anything, but some help removing the double listings in the recent and most viewed boxes would be appreciated.....
1.1.4
!Fixed a bug which could cause duplicate entries in main page blocks
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 05, 2008, 04:41:23 AM
errr ...

it links like this:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=view;down=smf_db_insert_id

rather than:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=downfile;id=2

---

I'm using smf 2.04beta.

Also could you please tell me what $id I need to be able to post the item description along with the link please !?

Thanks &

eZ !
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 05, 2008, 08:28:55 PM
Quote from: TheSentinel® on November 05, 2008, 04:41:23 AM
errr ...

it links like this:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=view;down=smf_db_insert_id

rather than:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=downfile;id=2

---

I'm using smf 2.04beta.

Also could you please tell me what $id I need to be able to post the item description along with the link please !?

Thanks &

eZ !
1.1.4.1
!Fixed a bug in the SMF 2.0 version for forum post links
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Özgür on November 05, 2008, 09:47:06 PM
how can i top 10 download items show boardindex? (i used smf 2.0b4 & Download system 1.1.4.1)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 05, 2008, 10:02:47 PM
Would require custom code to do so currently do not have any premade code to do that.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 06, 2008, 08:13:18 AM
Quote from: vbgamer45 on November 05, 2008, 08:28:55 PM
Quote from: TheSentinel® on November 05, 2008, 04:41:23 AM
errr ...

it links like this:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=view;down=smf_db_insert_id

rather than:

http://alternatingfrequencies.com/2b4/index.php?action=downloads;sa=downfile;id=2

---

I'm using smf 2.04beta.

Also could you please tell me what $id I need to be able to post the item description along with the link please !?

Thanks &

eZ !
1.1.4.1
!Fixed a bug in the SMF 2.0 version for forum post links


vbgamer45,

What files were changed, so I may be able to manually adjust them on my sites. :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 06, 2008, 08:51:52 AM
Gallery.php in the last update
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 06, 2008, 11:06:35 AM
Thanks esé !!!
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 06, 2008, 11:11:06 AM
Quote from: vbgamer45 on November 06, 2008, 08:51:52 AM
Gallery.php in the last update

I hope you meant:

Downloads.php
or
Downloads2.php

;)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 06, 2008, 03:38:05 PM
HaHa ...

Errr can you tell me how I can get it to post the item file description along with the link please.

I extracted this code from the Downloads2.php for smf 2.04beta.

Could you you show me what I need to add to get it to post the item description please !!!

Thank you in advance.

eZ.

if ($filesize != 0)
UpdateUserFileSizeTable($user_info['id'],$filesize);

if ($rowcat['ID_BOARD'] != 0 && $approved == 1)
{
// Create the post
require_once($sourcedir . '/Subs-Post.php');

$showpostlink = '[url]' . $scripturl . '?action=downloads;sa=view;down=' . $file_id . '[/url]';

$msgOptions = array(
'id' => 0,
'subject' => $title,
'body' => '[b]' . $title . "[/b]\n\n$showpostlink",
'icon' => 'xx',
'smileys_enabled' => 1,
'attachments' => array(),
);
$topicOptions = array(
'id' => 0,
'board' => $rowcat['ID_BOARD'],
'poll' => null,
'lock_mode' => $rowcat['locktopic'],
'sticky_mode' => null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $user_info['id'],
'update_post_count' => !$user_info['is_guest'] && !isset($_REQUEST['msg']),
);
preparsecode($msgOptions['body']);


createPost($msgOptions, $topicOptions, $posterOptions);
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: tridirk on November 07, 2008, 01:12:17 AM
I am running 1.04 is there an upgrade for the newest version.  I tried to uninstall via the package manager and I am warned not too?

Do I have to manually uninstall to install the updated version?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on November 07, 2008, 03:06:25 AM
Reply #527 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781196#msg1781196

Reply #526 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781061#msg1781061

Looking for an update author, any suggestions.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 08, 2008, 12:32:32 AM
Quote from: tridirk on November 07, 2008, 01:12:17 AM
I am running 1.04 is there an upgrade for the newest version.  I tried to uninstall via the package manager and I am warned not too?

Do I have to manually uninstall to install the updated version?
You can try to uninstall and reinstall it depends on where it is failing
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: razorblazer on November 12, 2008, 11:56:50 AM
Hi Guys, I am new to php and SMF. I managed to get SMF installed surprisingly easily and added a few mods which are all working fine with the exception of this one. I can't seem to upload anything larger than 1.5Mb even though the default upload size in the Download manager is set to 5Gb. Can anyone help me please? Thanks
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 12, 2008, 12:20:35 PM
Quote from: razorblazer on November 12, 2008, 11:56:50 AM
Hi Guys, I am new to php and SMF. I managed to get SMF installed surprisingly easily and added a few mods which are all working fine with the exception of this one. I can't seem to upload anything larger than 1.5Mb even though the default upload size in the Download manager is set to 5Gb. Can anyone help me please? Thanks

Is there a size restriction from your web host?
If so, you may need to get onto their support forum, or file a support ticket, asking to have it adjusted for you.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Arveles on November 12, 2008, 06:31:07 PM
I have problem..Because my upload limit is only 2mb..I want unlimit .
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: DeviDarkL on November 12, 2008, 07:54:44 PM
I just wondering if you can make points (credits) deduction (SMF Shop) for user who are going to download a file? The ones who got the credits were the ones who uploaded the file. Is that possible?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 12, 2008, 08:06:01 PM
Quote from: Egitimforumu.Com on November 12, 2008, 06:31:07 PM
I have problem..Because my upload limit is only 2mb..I want unlimit .
You have to modify your php.ini to increase the upload limit and also post_size varaible
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Nibogo on November 14, 2008, 09:30:31 PM
any news about the tinyportal downloads converter???

Thanks
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 15, 2008, 04:56:51 PM
Getting an error in my log:

Quotehttp://www.bksmf.com/index.php?action=downloads;sa=rate
8: Undefined index: rating
File: /Sources/Downloads2.php
Line: 3394

Any idea on how to fix it?

Thank you in advance. :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on November 15, 2008, 08:29:52 PM
Reply #527 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781196#msg1781196

Reply #526 - http://www.simplemachines.org/community/index.php?topic=203471.msg1781061#msg1781061

Looking for an update author, any suggestions.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Pho3niX90 on November 16, 2008, 05:56:42 AM
hey guys.. could you please help me/ or guide me where to change the following..

I want the POST of the download to show the description, and the URL should show "Link to Download" Kinda like this one on SMF's forum??

Thanks in advance.

PS: I have tried modding the downloads.php file, but no luck, maby im doing something wrong? I am using SMF1.1.6
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: DeviDarkL on November 16, 2008, 06:51:05 AM
Hey,

I tried to make a mod in the download system so that you could make points (credits) deduction (SMF Shop) for users that were going to download a file. The ones who got the credits were the ones who uploaded the file. But it doesn't work   :'(

Can someone help me do it?

Waiting for a reply and thanks in advance
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 18, 2008, 09:33:23 AM
Quote from: Pho3niX90 on November 16, 2008, 05:56:42 AM
hey guys.. could you please help me/ or guide me where to change the following..

I want the POST of the download to show the description, and the URL should show "Link to Download" Kinda like this one on SMF's forum??

Thanks in advance.

PS: I have tried modding the downloads.php file, but no luck, maby im doing something wrong? I am using SMF1.1.6

I tried that on Downloads2.php

I changed the link and text it displays to "Link: HERE"

but I couldn't get it to call the description no matter which callback I used.

I might have another look the day and see if I or the other can get it to work for my site.

eZ. - I asked if this was possible a couple weeks back I think, didn't get a reply mind !
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 18, 2008, 04:26:28 PM
Ok did it finally ...

I was using the wrong bloody syntax whatsit.

Oh well I've added both the 1.1.6 and 2.04beta versions in the .zip file ...

It displays:

Title in Bold

Link: HERE

Description here ...

eZ.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Regashi on November 20, 2008, 06:22:56 AM
hi it dosn't work for me its all installed properlly

the link is http;//blackfire-creations.co.cc/forums/downloads/

but it doesn't work ??
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 20, 2008, 08:20:00 AM
1. The link would not be that way. Would be like this:

http://blackfire-creations.co.cc/forums/index.php?action=downloads

2. Seems like x10Hosting suspended your hosting account.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Regashi on November 20, 2008, 08:43:37 AM
again ah crap...
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: headkaze on November 20, 2008, 12:08:39 PM
Thankyou for your Download mod. I am using SimplePortal and would like to create two blocks; "Recent Downloads" and "Most Viewed". Can I please have some help with the code that would accomplish that in a php block?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: pooya on November 20, 2008, 02:58:21 PM
i have a question before using this mod.

My server allows only 2mb uplaod through http such as the forums.

Could this mod anyway by pass the limit ?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on November 20, 2008, 08:02:22 PM
No. You would need to edit your php.ini to increase the max post size and upload file size
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on November 20, 2008, 08:25:19 PM
vbgamer45,

Just noticed possible bug in the Report Download.

Guests still can report, even when permissions are set to no.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: pooya on November 20, 2008, 08:26:36 PM
Thank you for the quick reply. Good luck wiht the bug.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: L'AltroWeb on November 21, 2008, 11:38:39 AM
Hi!
I have install this mod on smf 2beta4 (test theme).
All works fine with default theme, dont work with other theme (no menu button).
To fix simple edit (Subs.php):
'title' => $txt['downloads_menu'],to: 'title' => $txt['downloads'],
:)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: [SAP]Francis on November 24, 2008, 07:25:23 PM
Hmm. There's a bug.

When you create a new download which is "auto-approved", it doesn't make the description appear in a new topic. But, you can fix this by un-approving the download and re-approving it. There will be another topic with the same name but with the description in it. :)

How can I fix this? :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sentinel [AF] on November 25, 2008, 10:19:05 AM
Errr it doesn't post a description in the post.

it prints the files TITLE in bold and 2 lines underneath it prints the actual link to the download in full.

I edited the Download.php for smf 1.x and Download2.php for smf 2.x

My edited files are here:

http://www.simplemachines.org/community/index.php?topic=203471.msg1804503#msg1804503

Or just scroll up.

It says what it does on the post.

eZ.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: BrianZ on November 26, 2008, 12:31:21 PM
SMF version: 1.1.7
Downloads System version 1.1.4.1


I installed the mod via the package and I was able to setup cats, etc.

When I add a download and upload it from my PC, it goes through the motions just fine, then I look at the download in the view and it says 0KB for filesize. I then click on it to download and get the following message:

404 - Attachment Not Found

It's like the file should be there and the software thinks it is, but the actual file wasn't uploaded. Are there some folder permissions I'm missing?

The downloads folder and all folders under it are set to 777

Thanks for any help.

EDIT:

I have tested this mod on my forum with a 1 KB file. The same thing happens so it is not a file size issue with the host.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Regashi on November 27, 2008, 04:28:12 AM
yh it works now TY
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: BrianZ on November 28, 2008, 02:50:20 PM
Quote from: BrianZ on November 26, 2008, 12:31:21 PM
SMF version: 1.1.7
Downloads System version 1.1.4.1


I installed the mod via the package and I was able to setup cats, etc.

When I add a download and upload it from my PC, it goes through the motions just fine, then I look at the download in the view and it says 0KB for filesize. I then click on it to download and get the following message:

404 - Attachment Not Found

It's like the file should be there and the software thinks it is, but the actual file wasn't uploaded. Are there some folder permissions I'm missing?

The downloads folder and all folders under it are set to 777

Thanks for any help.

EDIT:

I have tested this mod on my forum with a 1 KB file. The same thing happens so it is not a file size issue with the host.


My Downloads System Mod still does not work. I have reinstalled a few times. I just need someone in the know to let me know what I might be missing. I love this mod in theory. I just haven't seen it working yet. :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: CKWT on December 01, 2008, 01:37:17 PM
Hey You'll I see there is some pending help here.. but I would like to make a small question...

In the Add Download there is a description box... I would like to know 2 things

1. - Is there a Way I can add the BBC tags in that screen
2. - Can I make that description box any bigger (Wider) like the normal forum or resize to windows size.

If the developer or any other user Has gotten so far I would really appreciate your help

Thanks
FYI
http://www.catrachosgaming.com/index.php?action=downloads
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: improv on December 01, 2008, 02:36:02 PM
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on December 01, 2008, 02:55:51 PM
Quote from: improv on December 01, 2008, 02:36:02 PM
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.

Isn't that what a Gallery is for?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 01, 2008, 11:35:17 PM
Quote from: improv on December 01, 2008, 02:36:02 PM
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.
Not yet I would say about a month away.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: BrianZ on December 02, 2008, 01:17:42 AM
Quote from: BrianZ on November 26, 2008, 12:31:21 PM
SMF version: 1.1.7
Downloads System version 1.1.4.1


I installed the mod via the package and I was able to setup cats, etc.

When I add a download and upload it from my PC, it goes through the motions just fine, then I look at the download in the view and it says 0KB for filesize. I then click on it to download and get the following message:

404 - Attachment Not Found

It's like the file should be there and the software thinks it is, but the actual file wasn't uploaded. Are there some folder permissions I'm missing?

The downloads folder and all folders under it are set to 777

Thanks for any help.

EDIT:

I have tested this mod on my forum with a 1 KB file. The same thing happens so it is not a file size issue with the host.


Hey Vbgamer45, I see that you visited the thread here, but you must have missed my post. I'm still unable to get this mod working and I have a feeling it's a quick fix, or maybe the reason why every time someone mentions this problem it's ignored should clue me in to thinking this is actually a serious issue that has no workaround.

Please respond, I am desperate here and I'm trying not to sound whiny. :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: okae on December 02, 2008, 07:50:31 AM
hi all i have installed this great mod to my forum, all works fine but lot of errors appear since i installed it:


    8: Use of undefined constant downloads_menu - assumed 'downloads_menu'
Archivo: /home/a2438675/public_html/Themes/default/ManagePermissions.template.php (main_above sub template - eval?)
Línea: 738



   8: Use of undefined constant downloads_menu - assumed 'downloads_menu'
Archivo: /home/a2438675/public_html/Themes/default/Login.template.php (main_above sub template - eval?)
Línea: 738



   8: Use of undefined constant downloads_menu - assumed 'downloads_menu'
Archivo: /home/a2438675/public_html/Themes/default/Errors.template.php (main_above sub template - eval?)
Línea: 738


etc etc... mod works fine all works fine in my forum, but why i have got this errrors?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: improv on December 02, 2008, 12:47:35 PM
Quote from: BurkeKnight on December 01, 2008, 02:55:51 PM
Quote from: improv on December 01, 2008, 02:36:02 PM
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.

Isn't that what a Gallery is for?

A gallery is to show images :)
screenshots for downloads is to show the public/members a fast preview of the uploaded tool/download.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Burke ♞ Knight on December 02, 2008, 12:56:08 PM
Quote from: improv on December 01, 2008, 02:36:02 PM
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.


However, the way you stated it, looked like you were looking to upload and show images. Did not state then that meant screenshots of the downloads. :P

However, I do agree that it would be nice feature.

Also, another feature I'd like, multiple download boxes, in case you have more than one version of same download. Like for example, I have a download for ThisIsGreat utility. However, I have 2 files, one for PC and one for Mac. Would be nice to be able to have both files for same download on one, instead of making 2 downloads for same utility, just different versions. This way, they see the download, and the choose which file they want for that download.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: sonicfetish on December 03, 2008, 03:39:17 AM
Really odd...

Somehow I am no longer able to have a thread automatically created when I add a new download.  Until today I was able to choose a forum to have a thread automatically created that pointed a link back to my new download but I am no longer given that option when I create (add) or edit a download.  Is there a setting that I may be overlooking?

Any thoughts?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 03, 2008, 09:10:27 PM
It is setup on a category level. Check that the correct is setup to post to and that it is enabled for each category that you want this to occur on.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: tonnybarros on December 04, 2008, 07:46:16 AM
Olá sou do Brasil e tenh dificuldade em usar esse MOD, gostaria de saber se tem como usar o sistema de downloads manda arquivos para outros servidor.

Eu até tentei fazer isso, coloquei o PATH mas apareceu erro de gravação.

Traduzido pelo google:

   
Hello I am Brazilian and I find it difficult to use this MOD, I wonder if you are using the system downloads send files to other server.

I even tried to do this, put the PATH but appeared error of recording.

http://tectonny.com
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: sonicfetish on December 06, 2008, 07:43:37 PM
Quote from: vbgamer45 on December 03, 2008, 09:10:27 PM
It is setup on a category level. Check that the correct is setup to post to and that it is enabled for each category that you want this to occur on.

Thank you that's it and it's working fine.  I figured out that someone added a download and chose a category that was previously deleted but still shows in the category drop down menu. I changed the category.  But now I wonder how to get rid of the phantom category
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Tones on December 08, 2008, 04:03:39 PM
Okay 30 pages to read through and i didnt see maybe a suggestion for it. First up, great mod, i havent had any issues with it at all. Now what it is missing, or maybe i'm missing it, is download logging. Who, what and when. I think this would be extremely useful, especially for the purpose of what i use it for.

Is this something that is going to be added into at a later release? or if someone could point me in the direction of how to create it myself, so i have half a clue, that would be great.

cheers.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 08, 2008, 07:55:23 PM
Might be added later. But those logs can get really huge if you allow guests to download.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: fyndler on December 11, 2008, 04:16:28 PM
Nice update,can you upload screenshots yet or ? :P
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Nibogo on December 11, 2008, 07:27:19 PM
any news about the TP Download Manager to SMF Downloads converter?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 11, 2008, 08:15:12 PM
No news yet very backed up at the moment on projects.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: CasperVg on December 14, 2008, 01:16:49 AM
I'm having a small issue utilizing this modification.

While the file itself uploads without an issue, it shows an error message directly after uploading, or when I try to view the category that a download has been uploaded under.

Fatal error: Out of memory (allocated 14417920) (tried to allocate 10223599 bytes) in /home/www/itcteam.awardspace.com/forum/Sources/Subs.php on line 743

I am using SMF 1.1.7 with PHP 5.2.5.

Any ideas?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 14, 2008, 10:40:37 AM
I would check what is going on line 743 of Subs.php and see what code is there
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Nibogo on December 14, 2008, 05:08:02 PM
Quote from: vbgamer45 on December 14, 2008, 10:40:37 AM
I would check what is going on line 743 of Subs.php and see what code is there

Hi vbgamer , Have you thought about adding support for restricting the number of downloads per week for each group??

Thanks
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: ディン1031 on December 20, 2008, 09:18:25 AM
Bugs:

I've found some small bugs ;). (Because i tried to combine it with the thank-o-matic).

1st:
If you click unapproved and approving it again the download will create a new topic... each time you make this ;). Even if the topic already exits.

2nd:
You've hold an information field called ID_TOPIC in the files table, but you did not fill it with the topic information...

Bye
DIN1031

Title: Re: Download System (1.1.4.1 Released!) SMF 1.1.7 Support Added!
Post by: Lyonsy on December 21, 2008, 12:03:31 PM
Hello I am trying to upload a file of 100MB to my server but i get this report (You need to enter a download title.)

Any Clues on this
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 21, 2008, 01:55:43 PM
You need to increase your PHP settings in your php.ini if you are in windows

File upload size and post upload size variables affect this.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Lyonsy on December 21, 2008, 04:37:45 PM
Ok i have set my max download filesize to 605000000 witch is about 576.972961 megabytes

And then i set my php.ini file to the below settings

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = "C:\myserver\tmp"

; Maximum allowed size for uploaded files.
upload_max_filesize = 200M


Is this correct.

Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 21, 2008, 05:18:25 PM
And increase post_max_size  as well.

Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Lyonsy on December 21, 2008, 05:50:41 PM
 ;D Works fine now vbgamer45,

Thanks for all your help.

Cheers.

Lyonsy.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: codnerd on December 26, 2008, 01:11:54 PM
My friend is working on modding this download system at the moment to mae it able to upload images. Would it be ok vbgamer to attach the download.php here where he finishes?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 26, 2008, 02:11:04 PM
No it would not be.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 28, 2008, 10:04:56 PM
If i set an external download by giving it a upload link instead of uploading a file will it actually upload the file to my site or will it just create a download page for the download and the actual file will be hosted werever it is
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 28, 2008, 10:10:14 PM
Why not integrate the comment feature so that if downloads are linked to topics then the posts in that topic are also comments on the download on the download page... Or atlest if you think thats hard then allow to disable comments and instead put a view comments link to the topic so people can see them like that...  You could also use the amount of replies as a way of displaying number of comments...

PLease please please do these things, trust me thats just what your mod needs!
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 29, 2008, 04:52:07 AM
Hi

I'm back with another package problem  :P before I carry on my forums are 1.1.7

So I installed the "SMF Download System" on my test forum and everything appears to be normal, untill I upload......

Now it appears that any file I upload "uploads", it appears in the downloads section, has it's own download url but when I try to download the file I get a 404 error which means it's not there, using FTP I checked this and confirmed that the file has not uploaded. Checked the permissions on the download folder and they are fine.

Whats wrong and how do I fix it

And now some help with my theme, I'm currentlly using "Blue Ace" theme.

After I installed the "Download System" I had to edit my "Blue Ace" Index.template.php to accomodate the new tab on the menu, now this I achieved :) in IE Explorer, but in FireFox it's..... well have a look.

IE is on the left and FF is on the right, look the menu FireFox is wonky lol

(http://i299.photobucket.com/albums/mm311/The_Wii_Nes_Boy/FFproblems-1.jpg)

Tried everything to fix it with no luck  ::)

Appreciate the help and thanks once again
:D 
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sudhakar Arjunan on December 29, 2008, 02:02:41 PM
For a instance, could i have one default downloads installed and one customized download on one forum.

Ex : I installed downloads in my forum, then trying opening the downloads and do some edits and show as a xdownloads mod.

could i install and use it on one forum.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 29, 2008, 07:55:51 PM
Good feature requests please post in my modtracker link from the first post of this topic and I will get to them in future releases.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 10:59:55 AM
Quote from: vbgamer45 on December 29, 2008, 07:55:51 PM
Good feature requests please post in my modtracker link from the first post of this topic and I will get to them in future releases.

Sorry but i dont see a link on your topic first post.... just one to the mod
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 12:41:15 PM
I cannot view any category but i can view the file if i open the direct link to the download page... The category shows paes with page number but its got nothing in it even though i uploaded 3 test files....
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 12:50:23 PM
Anyone!?
http://www.simplemachines.org/community/index.php?topic=203471.msg1856813#msg1856813
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 12:56:30 PM
Quote from: The_Wii_Nes_Boy on December 30, 2008, 12:50:23 PM
Anyone!?
http://www.simplemachines.org/community/index.php?topic=203471.msg1856813#msg1856813

OK well, Since i dont know very much i can give you only some basic pointers... First check if the directory set 4 your downloads is your attachments directory... Duh

Then check incase your attachments directory is set to your downloads directory.... duh

If they are the same then change them.... duh ;D JKz



Thats for the attachment /download issue... Other than that Ill need more time to think for the other issue.

Edit For now the most common issues that cause this is the width settings of yoru theme... you can increase it if you want manually shouldn't be too hard, even i can do that. Remember not to make it too wide... If that wont work take a look at the tags used, like if theyre using <br> you dont want to use <div> unless <br> is the one causing the problem


Thats all i can do if it wont work then bump the topic again so you can get the attention of a pro hopefully or if youre luky the theme author
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: sgandtg on December 30, 2008, 05:30:18 PM
Help!!

I have this mod installed and am using smf 1.1.7

My site was hacked and it looks like my index.php file must have been set as 777 for read/write access.  Not sure why, but that seems to have been the case.

Anyway, I've replaced the hacked index.php file with a fresh one taken from a new install of smf 1.1.7.  However, although the rest of the site seems to be ok, when a download link is clicked, it just loads up the main page of my site.  If the "downloads" button is clicked, the same thing happens.

I'm asuming that there is some missing info on the new index.php file, but I'm not sure.

Can anyone help?

Also, just noticed that I'm running an out of date version of this downloads mod.  Can I just uninstall the old one and re-install the new one?  Would this fix my problem?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Nibogo on December 30, 2008, 07:19:02 PM
Hi vbgamer

What do you think in add new rss to the downloads???

Would be great to be informated about the recent downloads
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 07:37:20 PM
Quote from: sgandtg on December 30, 2008, 05:30:18 PM
Help!!

I have this mod installed and am using smf 1.1.7

My site was hacked and it looks like my index.php file must have been set as 777 for read/write access.  Not sure why, but that seems to have been the case.

Anyway, I've replaced the hacked index.php file with a fresh one taken from a new install of smf 1.1.7.  However, although the rest of the site seems to be ok, when a download link is clicked, it just loads up the main page of my site.  If the "downloads" button is clicked, the same thing happens.

I'm asuming that there is some missing info on the new index.php file, but I'm not sure.

Can anyone help?

Also, just noticed that I'm running an out of date version of this downloads mod.  Can I just uninstall the old one and re-install the new one?  Would this fix my problem?

I reccomend you list the mods you have instlled and have people manual edit your main page one at a time to fix it.... Thats all I can think of
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 30, 2008, 08:19:28 PM
Yeah I would make a general support topic about that issue instead. For the downloads to upgrade just uninstall the old version and install the latest version.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 08:24:51 PM
VB were do u want us to put our feature requests?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 30, 2008, 08:31:14 PM

For feature requests and bug reports post here
http://www.smfhacks.com/index.php?action=modtracker
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 09:21:29 PM
Hi guys

Well I've managed to fix the upload problem, was my php.ini file that was causing thhat problem.

But I still havn't fixed my theme problem
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 30, 2008, 09:21:52 PM
What was the theme problem??
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 09:40:15 PM
IE is on the left and FF is on the right, look the menu in FireFox is wonky lol

(http://i299.photobucket.com/albums/mm311/The_Wii_Nes_Boy/FFproblems-1.jpg)

My index.template file had this code to add the "Download" button to the menu

       // Show the [Downloads System] button..
       if ($context['allow_downloads_view'])
       echo '
                       <li', $current_action == 'downloads' ? ' id="active_back"' : 'back', '><a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu'] , '</a></li>';


After I removed the part that said 'back' it's fixed

      // Show the [Downloads System] button..
      if ($context['allow_downloads_view'])
      echo '
                      <li', $current_action == 'downloads' ? ' id="active_back"' : '', '><a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu'] , '</a></li>';


thanks for all the help and pointers guys.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 30, 2008, 09:45:13 PM
If you post your index.template.php I can fix it.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 09:52:06 PM
Quote from: vbgamer45 on December 30, 2008, 09:45:13 PM
If you post your index.template.php I can fix it.

It is fixed thats what I said above lol

but you can find the index.template attached fell free to have a read throught the coding and see if anything is still wrong with it
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on December 30, 2008, 09:54:05 PM
Ah Looks good yeah I just reread your post yeah back part was bad should be


// Show the [Downloads System] button..
if ($context['allow_downloads_view'])
echo '
  <li', $current_action == 'downloads' ? ' id="active"' : '', '><a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu'] , '</a></li>';

Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 09:57:29 PM
Well I'm all good now and it's running fine on my "test forum" so I'm going to add it to my "public forum"
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 10:03:38 PM
Quote from: The_Wii_Nes_Boy on December 30, 2008, 09:57:29 PM
Well I'm all good now and it's running fine on my "test forum" so I'm going to add it to my "public forum"

Ahh a wise idea some of us are too lazy to apply, I should actually do that
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 30, 2008, 10:07:51 PM
Quote from: taha116 on December 28, 2008, 10:04:56 PM
If i set an external download by giving it a upload link instead of uploading a file will it actually upload the file to my site or will it just create a download page for the download and the actual file will be hosted werever it is

Bump
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on December 30, 2008, 10:34:20 PM
Quote from: taha116 on December 30, 2008, 10:03:38 PM
Quote from: The_Wii_Nes_Boy on December 30, 2008, 09:57:29 PM
Well I'm all good now and it's running fine on my "test forum" so I'm going to add it to my "public forum"

Ahh a wise idea some of us are too lazy to apply, I should actually do that
I done this because I know very little about php coding and would rather break a "test" forum than my "public".

On to your problem, I tested the url feature all it does is link you to the download site you got the url from.

[EDIT] Download system added to my public forum and it's running great, now all I need is members  ;D
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: taha116 on December 31, 2008, 11:44:14 AM
Quote from: The_Wii_Nes_Boy on December 30, 2008, 10:34:20 PM
Quote from: taha116 on December 30, 2008, 10:03:38 PM
Quote from: The_Wii_Nes_Boy on December 30, 2008, 09:57:29 PM
Well I'm all good now and it's running fine on my "test forum" so I'm going to add it to my "public forum"

Ahh a wise idea some of us are too lazy to apply, I should actually do that
I done this because I know very little about php coding and would rather break a "test" forum than my "public".

On to your problem, I tested the url feature all it does is link you to the download site you got the url from.

[EDIT] Download system added to my public forum and it's running great, now all I need is members  ;D

Lol thats the hardest part, first work on SEO then attract people by giving them what they want and getting them to stay longer. A decent site should have a couple of people online at a time always, a good site would have 20+ and beyond that means your doing a hell of a job... I have acquaintances who have 300+ people on their site a time. But then it depends on what your site is... If a person is watching a 30 min video than it will make the number look much higher and give you a flase estimate on thier hits. Some people like onemanga.com have many visitors but to top it of to read one chapter of your favourite anime you must go through about 25 pageloads... Thats good for ad revenue.

So depends if your runing a blog 5 people at a time is a good job.

Basicly the more time they spend on your site the more chances of them actually registering.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 02, 2009, 02:31:23 PM
1.1.4.2
!Fixed bugs with SMF 2.0 using the WYSIWYG editor
+Added editor for description for adding/editing downloads SMF 2.0
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: improv on January 02, 2009, 05:24:28 PM
Hmm, already news about the ability to include 'screenshots/images' ?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 02, 2009, 05:25:02 PM
No news yet on that.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 04, 2009, 03:19:03 AM
I'm back :P

Anyway discover that when anyone tries to upload files bigger than 10Mb they get this error "You need to enter a download title."

Any solutions to this.......

Thanks in advance
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 04, 2009, 10:36:17 AM
You need increase you upload_file_size in the php.ini and post_data_size
Title: Need help, help, help.
Post by: The_Wii_Nes_Boy on January 04, 2009, 03:36:48 PM
upload_file_size and post_data_size are both set to 60MB and upload size in config is set to 50MB but I still have this error "You need to enter a download title."

My forum error logs keep giving me an error on lines 1366 - 1373 in the downloads.php

   $title = htmlspecialchars($_REQUEST['title'],ENT_QUOTES);   
   $description = htmlspecialchars($_REQUEST['description'],ENT_QUOTES);   
   $keywords = htmlspecialchars($_REQUEST['keywords'],ENT_QUOTES);   
   $cat = (int) $_REQUEST['cat'];   
   $fileurl = htmlspecialchars($_REQUEST['fileurl'],ENT_QUOTES);   
   $allowcomments = isset($_REQUEST['allowcomments']) ? 1 : 0;   
   $sendemail = isset($_REQUEST['sendemail']) ? 1 : 0;   
   $filesize = 0;   

says Undefined index: ******* on them all.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 05, 2009, 08:26:13 PM
[/bump]

Sorry don't like bumping threads but some times is't needed, anyone know whats happening here?  http://www.simplemachines.org/community/index.php?topic=203471.msg1865299#msg1865299
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 05, 2009, 08:34:09 PM
The only thing I know about that is those two php settings that would cause that issue.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 05, 2009, 08:48:44 PM
I will try copying php.ini in to each folder this package uses and see if that fixes it, if not I will contact my host and ask them whats going on.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 07, 2009, 12:12:25 AM
Well I copied php.ini in to each folder that the Download Syserm uses and I can upload larger files.

Thanks for the help vbgamer45, oh and nice work this mod work great keep up the hard work :)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 07, 2009, 12:24:36 AM
Thanks! Keep the feature requests coming the more I get the better the mod will be.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Thunderace on January 07, 2009, 05:36:42 PM
This is a duplicated post .. I firstly put it into a topic I found about mod_security so please excuse that.


I'm having a problem with the downloads package and mod_sec.

The package is trying to use ;id in the querystring which is being seen quite correctly as a system command injection.

Matched signature <;id>"] [severity "CRITICAL"]

I'll certainly not gimp mod_sec as it's there for the reasons I put it there .. any suggestions?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 07, 2009, 07:51:00 PM
Known issue and a stupid rule you can disable mod_security in order to let the download system work.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Thunderace on January 08, 2009, 04:38:52 AM
Well thanks for the reply vb but I don't think it's a great idea to turn off a powerful and well respected security tool in order that a mod can work.

I tend to follow a rule of modifying my scripts to pass security rather than lower my security to match a script.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Thunderace on January 08, 2009, 06:05:50 AM
I think I have solved this quite simply for myself and below you will find what I did in case anyone else experiences the difficulty.

vbgamer45  if you see something I have missed would you mind letting me know?

Only 4 files in the downloads package are affected: -

Downloads.php
Downloads2.php
Downloads.template.php
Downloads2.template.php

1) Open Downloads.php and Downloads2.php

Replace all instances of $_REQUEST['id'] with $_REQUEST['fid']

2) Open all 4 files and replace ;id with ;fid

To clarify ;(colon)id with ;(colon)fid

There is no reasoning behind fid, I just added an f to avoid the mod_sec problem.

Finally and most importantly thanks to vbgamer45 for taking the time to write and support this great module.

Rob
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: .HuNTeR. on January 08, 2009, 06:21:48 AM
i had a problem with this download system and mod security too
and i replaced all ; with & and the problem solved for all who may be have same problem
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 09, 2009, 05:37:16 AM
Keep receiving this error pop up in the error log,  Any idea what it means

8: Undefined variable: 8
File: /****/********/public_html/Forums/Themes/default/Downloads.template.php (mainview sub template - eval?)
Line: 192


Once again thanks for the help :D
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Thunderace on January 09, 2009, 06:23:19 AM
Quote from: The_Wii_Nes_Boy on January 09, 2009, 05:37:16 AM
Keep receiving this error pop up in the error log,  Any idea what it means

8: Undefined variable: 8
File: /****/********/public_html/Forums/Themes/default/Downloads.template.php (mainview sub template - eval?)
Line: 192


Once again thanks for the help :D

Line 192 (if you are looking at the same code as me) has ..

$$file['ID_MEMBER']

I doubt that is really a variable variable.

Perhaps it should just be $file['ID_MEMBER']

I'm no expert on this code btw I just happen to be looking at this mod atm.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: AlesE on January 09, 2009, 07:33:35 AM
Working fine now.

But I have to disable mod_security (apache2). Very bad. Security lost.
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 09, 2009, 05:22:19 PM
The line is.....
if ($g_manage || $g_delete_own && $$file['ID_MEMBER'] == $ID_MEMBER)

Any one else got any info on this?
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 09, 2009, 08:06:07 PM
Yeah it should be

      if ($g_manage || $g_delete_own && $file['ID_MEMBER'] == $ID_MEMBER)
Title: Re: Download System (1.1.4 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 09, 2009, 09:05:10 PM
1.1.5 Released
!Fixed an error in 1.1.x of SMF on template page a $$ variable
+Added editor for description for adding/editing downloads SMF 1.1.x
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: codnerd on January 10, 2009, 02:41:01 PM
I switched hosting, and everyone is getting this error when uploading files:

"You need to enter a download title."

Over 10 people complained to me about this already. How do I fix this?

Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: The_Wii_Nes_Boy on January 10, 2009, 03:07:56 PM
Quote from: codnerd on January 10, 2009, 02:41:01 PM
I switched hosting, and everyone is getting this error when uploading files:

"You need to enter a download title."

Over 10 people complained to me about this already. How do I fix this?

You will need to reconfigure your php.ini file.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 10, 2009, 03:35:21 PM
Quote from: codnerd on January 10, 2009, 02:41:01 PM
I switched hosting, and everyone is getting this error when uploading files:

"You need to enter a download title."

Over 10 people complained to me about this already. How do I fix this?


Yeah that occurs if your php settings are set to the default which only allow max of 2mb. You can increase the upload file size and max post size varaibles.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: codnerd on January 10, 2009, 06:20:20 PM
I raised and all is fixed now. Thank you!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: headkaze on January 16, 2009, 03:36:58 PM
First of all thanks for the great work on this mod vbgamer45!

I have a question and a request so first onto the question.

How do I upgrade from 1.1.4.1 to 1.1.5? I have replaced the files manually and that works but I'm sure that is not the correct procedure. Do I uninstall 1.1.4.1 and then install 1.1.5? Will the database be intact?

Onto my request. Say I have a category set to sort in ascending order, if you have 2 pages of downloads when you click on the second page it will actually display the first page of downloads in descending order. This confuses people into thinking there is only one page of downloads! Since the default for the category is set to ascending it would make sense that clicking on page 2 for the first time would sort it that way. I hope you find the time to fix this :)

Thanks again!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 18, 2009, 03:25:31 PM
Quote from: headkaze on January 16, 2009, 03:36:58 PM
First of all thanks for the great work on this mod vbgamer45!

I have a question and a request so first onto the question.

How do I upgrade from 1.1.4.1 to 1.1.5? I have replaced the files manually and that works but I'm sure that is not the correct procedure. Do I uninstall 1.1.4.1 and then install 1.1.5? Will the database be intact?

Onto my request. Say I have a category set to sort in ascending order, if you have 2 pages of downloads when you click on the second page it will actually display the first page of downloads in descending order. This confuses people into thinking there is only one page of downloads! Since the default for the category is set to ascending it would make sense that clicking on page 2 for the first time would sort it that way. I hope you find the time to fix this :)

Thanks again!
To upgrade you can uninstall then reinstall the latest version

The second issue sounds like a bug will look into it
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: NukeGaming on January 19, 2009, 05:21:44 AM
Hello guys i have added the download system to my forums but i dont know what must i put to show the download page .

Can anyone help  cause theme my forum is DILBER MC and i dont know and version i using is SMF 1.1.7 and download only show in default theme and i want show download page in DILBER MC please anyone help on this and i apreciate.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 19, 2009, 08:21:07 PM
You need to edit the index.template.php and add a link to the downloads section.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: codnerd on January 21, 2009, 10:47:24 AM
VBGamer. I am in the processing on modding your downloading system to add a cueing system to it, so it will only allow a certain amount of users to download at one time, and the other downloaders will see a time limit. After that, I will be allowing people to upload pictures when uploading their files.

Can I give the modifyed files to the public that I make? (I don't want any credit for this, I just want to help all the hundreds of people out there that want the screenshots to be added)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 21, 2009, 08:06:16 PM
I generally do not allow that since that creates a different version and harder for me to support. For your own site you can do anything you want.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: codnerd on January 21, 2009, 09:13:08 PM
Ok. No Problem. Thanks. :)   (I tried yall)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SA™ on January 23, 2009, 12:08:03 AM
can you help with this code


im trying to make a block to display the top downloads and latest dowbloads


this is the code i have so far


echo '<table bgcolor="" width="100%">
  <tr>
    <td>Top 10 Downloads</td>
    <td>10 New Downloads</td>   
  </tr>';

$latest = array();
$top = array();
$request = $smcFunc['db_query']('', "SELECT f.ID_FILE, f.id_member, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.real_name, m.id_member AS mid_member
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.id_member = m.id_member
ORDER BY f.ID_FILE DESC
LIMIT 5");
while($row = $smcFunc['db_fetch_assoc']($request)) {
$latest[] = '<a href="'.$scripturl.'?action=view;id='.$row['ID_FILE'].'">'.$row['ftitle'].'</a> ('.timeformat($row['date']).')';
}

$request = $smcFunc['db_query']('', "SELECT f.ID_FILE, f.id_member, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.real_name, m.id_member AS mid_member
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.id_member = m.id_member
ORDER BY totaldownloads DESC
LIMIT 10");
while($row = $smcFunc['db_fetch_assoc']($request)) {
$top[] = '<a href="'.$scripturl.'?action=downloads;sa=view;id='.$row['ID_FILE'].'">'.$row['ftitle'].'</a> ('.timeformat($row['date']).')';
}

$max_count = max(array(count($top), count($latest)));
for($i = 0; $i < $max_count; $i ++);
{
echo '<tr><td>',isset($top[$i]) ? $top[$i] : '','</td></tr>';
echo '<tr><td>',isset($latest[$i]) ? $latest[$i] : '','</td></tr>';
}
echo '
</table>';


problem is it isbt outputing nothing theres no errors  eaither can you point me in the right direction please thanks
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 23, 2009, 12:13:39 AM
Change this to

{$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m

To

({$db_prefix}down_file AS f, {$db_prefix}down_cat AS c)
LEFT JOIN {$db_prefix}members AS m ON (f.id_member = m.id_member)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SA™ on January 23, 2009, 12:22:44 AM
that gives

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`sleepy`.smf_down_file AS f, `sleepy`.smf_down_cat AS c)
LEFT JOIN `sleepy`.smf_' at line 3
File: \htdocs\index.php
Line: 404

Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SA™ on January 23, 2009, 12:25:18 AM
ok i missed

FROM

still dont out put nothing tho
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: jayc7176 on January 23, 2009, 03:39:54 AM
This is the Best! Such nicely Done. Many Thanks for this Great Mod.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: sgandtg on January 24, 2009, 06:04:25 PM
Is it possible to restrict people to only upload to one folder/section?

Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: haito on January 25, 2009, 01:53:55 AM
great mod  :D
but i hope the latest download can be like http://mangahelpers.com/downloads/
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Destruction on January 25, 2009, 04:33:14 PM
Some1 knows how i can delete more then one Download at once? ( without deleting the whole category )
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: hartiberlin on January 25, 2009, 08:22:28 PM
Hi,
nice mod,
I installed it just on my German language SMF 2.0B4 and PortaMX
www.overunity.de
forum and added the modifications into the Who.german-utf8.php and
Modifications.german-utf8.php , etc.. files

But does somebody of you have already translated the English control  texts of this Mod
to German-utf8 language ?
If yes, please post these files.

Also, where is a documentation how to use this mod ?
I don´t see right now, where I can put up a new category and
where all these files are exactly stored, also if you
enable the option
Enable multiple folders for downloads storage

Will there be multiple folders created in my overunity.de/download/

folder then ?

Would be nice to read a PDF documentation fileabout the MOD,
if that exists ?

Many thanks in advance.

Regards, Stefan.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 25, 2009, 08:29:16 PM
There currently is no documentation.
Categories are created at http://www.yourforum.com/index.php?action=downloads
Multiple file storage creates additional folders under downloads folder to store files
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Destruction on January 26, 2009, 03:05:00 AM
Quote from: Destruction on January 25, 2009, 04:33:14 PM
Some1 knows how i can delete more then one Download at once? ( without deleting the whole category )
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 26, 2009, 08:34:24 AM
No current way to do that
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Destruction on January 26, 2009, 02:13:18 PM
Could you maybe do "Checkboxes" there so i can delete more then 1? :/ :/
Regards...
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on January 26, 2009, 08:09:47 PM
Quote from: Destruction on January 26, 2009, 02:13:18 PM
Could you maybe do "Checkboxes" there so i can delete more then 1? :/ :/
Regards...
I can do that in future versions
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: .Vapor on February 05, 2009, 11:41:46 PM
I have 2.0 beta 4 installed, and the install went fine. But when i go to permissions to grant users access i have no settings for the download mod??

Thx for the help :)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: hartiberlin on February 06, 2009, 12:18:38 AM
I got it to work on SMF 2.0B4,
but now SMF 2.0 RC1 is out.

Does the Download MOD need a change now ?

Will the SMF 2.0B4 Mod version also work with
SMF 2.0 RC1  ?

Many thanks.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 06, 2009, 12:22:44 AM
Should work fine with RC1
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Pho3niX90 on February 10, 2009, 07:33:31 AM
I think what will be great to add is a upload percentage, or just a bar showing the process for the upload??
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: coucnilhomeswap on February 10, 2009, 01:55:27 PM
do i have to set the Category level permissions by membergroups in the downloads section or can i just do them through SMF's permissions
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 10, 2009, 08:24:13 PM
You can just do with smf's permissions.

Category level permissions are optional
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Pho3niX90 on February 12, 2009, 04:37:57 AM
Quote from: vbgamer45 on October 31, 2007, 06:55:37 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=992)

A complete download system for SMF.

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!

Major Update
1.1
+New updated interface.
+Uses SMF's built in paging function
!Fixed bug with blocks shown item's that the user does not have access to.
+Added unlimited level deep link tree



For feature requests and bug reports post here
http://www.smfhacks.com/index.php?action=modtracker

I have made some changes in the template file, so im just sharing it with those not so clued up with php, i don't know if im allowed to do this so just let me know if i should remove it..

put the image in your default themes image file

Preview also attahced
Title: Links still not showing
Post by: quietstorm on February 19, 2009, 05:39:22 PM
I am bringing subject/topic this back up because....  :(   (sorry)

I am still having troubling with just one link showing up and it
is the search link!  :(

The following screen shot shows what I mean. It happens in the default
SMF themes as well as custom ones.

SMF 2.0 RC1

TIA
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Özgür on February 19, 2009, 10:13:59 PM
vbgamer45, do you think add prettyurls support ?
etc:
downloads/item/5/
downloads/section/5/
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: p41j on February 22, 2009, 03:41:23 AM
I LOVE this mod, but my regular members can't view it, how do I change it to where they can see the downloads?

EDIT:  I use SMF 2.0 Beta 4
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 22, 2009, 10:36:22 AM
Quote from: rordude on February 22, 2009, 03:41:23 AM
I LOVE this mod, but my regular members can't view it, how do I change it to where they can see the downloads?

EDIT:  I use SMF 2.0 Beta 4
Setup under Admin -> Permissions -> Modiy the group and choose downloads
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 22, 2009, 10:42:54 AM
!Fixed minor bug in SMF 2.0 not showing the title of permissions under simple permissions in SMF.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: p41j on February 22, 2009, 10:59:59 AM
Quote from: vbgamer45 on February 22, 2009, 10:42:54 AM
!Fixed minor bug in SMF 2.0 not showing the title of permissions under simple permissions in SMF.

I'm sorry, I actually use SMF 2.0 RC1    But it still shows up even know it says that its not officially made for it.  But my mods, and regular members can't see it how do I fix this?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 22, 2009, 02:02:25 PM
Should work fine for RC1. Just be sure to set the permissions and should work ok
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: budduke on February 23, 2009, 07:19:58 PM
I am also receiving the "You need to enter a download title. " error.
I checked my settings and they are set for 10meg upload, and the settings are set for 10meg upload.
I am trying to send an 11 meg file like I know some of my users will be doing.
Is there any way to display a different error message like "Max size exceeded"? instead of the above error?

Thanks for a great Mod!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 23, 2009, 07:38:43 PM
Can't do it since I can't tell the size of file that is being uploaded. Unless it is completely uploaded.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: mivm on February 26, 2009, 10:00:35 AM
When I try to upload a file I get an error message back, saying "Error has occured" 4.88KB

Anyone knows what the problem may be??
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 26, 2009, 09:14:35 PM
Just that? What version of SMF? anything in the error log that might be releated
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: steve1 on February 27, 2009, 09:23:02 AM
HI All.

I am having some problems. i have installed the mod and i use the Reflection theme. the mod work fine if i manually navigate to it by adding index.php?action=downloads to my url but in my theme i do not have a button to navigate to downloads.

I have used the parser and made all the changes. i can see the admin panal. I have even passed it over to our PHP guy in work, he did a full reinstall of the mod and there is still no button.

What are we doing wrong here?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Eddy Matthews on February 27, 2009, 01:14:24 PM
I'm looking forward to the Pro version - I'm perfectly happy to pay for decent software!

But there are two things that MUST be in it, otherwise it's no good for my use....

#1. It MUST allow files to be uploaded using FTP which can then be imported
#2. It MUST work with the "mod_security" directive ON

If those two criteria are met, I'll be one of your first paying customers!

Regards
Eddy
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: budduke on February 27, 2009, 06:46:44 PM
Quote from: mivm on February 26, 2009, 10:00:35 AM
When I try to upload a file I get an error message back, saying "Error has occured" 4.88KB

Anyone knows what the problem may be??

You ran into what I ran into, I had to look through the code to find the problem. It is with the max filesize error.
In the download.php file look for twice...
$txt['downloads_error_img_filesize']
replace both instances with
$txt['downloads_error_file_filesize']

I am not the programmer of this mod but that is what I found and how I fixed it.

PS: anyone trying to put a max value in download size (lets say you want 10meg limit)
I thought I could just type 10000000, did not work, that error message showed 9.6?? meg (I think)
Then I had to pull out my math memory to realize that 1 meg = 1024X1024 bytes
so in reallity if you want it to say 10meg limit you have to do this
1024 X 1024 X 10 = 10485760 (this value displays 10meg on the error screen)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 27, 2009, 08:37:35 PM
Quote from: Eddy Matthews on February 27, 2009, 01:14:24 PM
I'm looking forward to the Pro version - I'm perfectly happy to pay for decent software!

But there are two things that MUST be in it, otherwise it's no good for my use....

#1. It MUST allow files to be uploaded using FTP which can then be imported
#2. It MUST work with the "mod_security" directive ON

If those two criteria are met, I'll be one of your first paying customers!

Regards
Eddy
I am working on it should be ready in the next month.

For mod_security you can do a find a replace for
;id=
To
&id=

In download.template.php and sources/downloads.php
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: qubbah on February 28, 2009, 10:53:49 PM
when we use Upload Url: - that is mean that the file will be upload to our hosting or only give a link to download from original url?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on February 28, 2009, 11:20:37 PM
It only gives a link to the remote file.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: coucnilhomeswap on March 06, 2009, 05:52:16 AM
hi is there any way i can limit the amount of downloads a certain member group has. Say the newbie group can only download 5 times per day
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on March 07, 2009, 11:20:35 AM
Hello, while this is a great MOD.  I am having 1 issue with it - While the buttons for Smileys, etc. are showing in Add Download and Edit Download, clicking on these buttons does not put any of the BBC Code into the text area where you type.  However, when Adding and Editing Comments, it does put in the BBC Code when clicking on the buttons and the drop down menus for Font Face, Font Size, and Change Color.  I can input the BBC Code manually into the text area and that works fine, but like I said, I only have a problem when Adding and Editing Downloads.  Adding Comments and Editing Comments both work fine.

Can you please help me??

Here is the Code in my Downloads2.template.php file for the function "template_edit_download():

function template_edit_download()
{
global $scripturl, $modSettings, $txt, $context, $settings;

$g_manage = allowedTo('downloads_manage');


// Load the spell checker?
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/scripts/spellcheck.js"></script>';


echo '<form method="post" enctype="multipart/form-data" name="picform" id="picform" action="', $scripturl, '?action=downloads&sa=edit2" onsubmit="submitonce(this);">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr class="catbg">
    <td width="50%" colspan="2"  align="center">
    <b>', $txt['downloads_form_editdownload'], '</b></td>
  </tr>
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_title'] . '</b>&nbsp;</td>
  <td><input type="text" name="title" size="50" value="' . $context['downloads_file']['title'] . '" /></td>
  </tr>
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_category'] . '</b>&nbsp;</td>
  <td><select name="cat">';

foreach ($context['downloads_cat'] as $i => $category)
{
echo '<option value="' . $category['ID_CAT']  . '" ' . (($context['downloads_file']['ID_CAT'] == $category['ID_CAT']) ? ' selected="selected"' : '') .'>' . $category['title'] . '</option>';
}


echo '</select>
  </td>
  </tr>
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_description'] . '</b>&nbsp;</td>
  <td><table>
   ';
 
// Showing BBC?
if ($context['show_bbc'])
{
echo '
<tr class="windowbg2">

<td colspan="2" align="center">
', template_control_richedit($context['post_box_name'], 'bbc'), '
</td>
</tr>';
}

// What about smileys?
if (!empty($context['smileys']['postform']))
echo '
<tr class="windowbg2">

<td colspan="2" align="center">
', template_control_richedit($context['post_box_name'], 'smileys'), '
</td>
</tr>';

// Show BBC buttons, smileys and textbox.
echo '
<tr class="windowbg2">

<td colspan="2" align="center">
', template_control_richedit($context['post_box_name'], 'message'), '
</td>
</tr>
</table>';

      if ($context['show_spellchecking'])
      echo '
      <br /><input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'picform\', \'description\');" />';



echo '
  </td>
  </tr>
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_keywords'] . '</b>&nbsp;</td>
  <td><input type="text" name="keywords" size="50" maxlength="100" value="' . $context['downloads_file']['keywords'] . '" />
  </tr>
  <tr class="windowbg2">
  <td align="right"><b>', $txt['downloads_form_uploadfile'], '</b>&nbsp;</td>

    <td><input type="file" size="48" name="download" />
    </td>
  </tr>
   <tr class="windowbg2">
  <td align="right"><b>', $txt['downloads_form_uploadurl'], '</b>&nbsp;</td>
  <td><input type="text" name="fileurl" size="50" value="' . $context['downloads_file']['fileurl'] . '" />
  </tr>

   <tr>
  <td colspan="2" class="windowbg2"><hr /></td>
  </tr>';

foreach ($context['downloads_custom'] as $i => $custom)
{
echo '<tr>
<td class="windowbg2" align="right"><b>', $custom['title'], ($custom['is_required'] ? '<font color="#FF0000">*</font>' : ''), '</b></td>
<td class="windowbg2"><input type="text" name="cus_', $custom['ID_CUSTOM'],'" value="' , $custom['value'], '" /></td>

</tr>';
}


echo '
       <tr class="windowbg2">
<td align="right"><b>' . $txt['downloads_form_additionaloptions'] . '</b>&nbsp;</td>
<td><input type="checkbox" name="sendemail" ' . ($context['downloads_file']['sendemail'] ? 'checked="checked"' : '' ) . ' /><b>' . $txt['downloads_notify_title'] .'</b>
  </tr>';

  if ($modSettings['down_commentchoice'])
  {
echo '
   <tr class="windowbg2">
<td align="right">&nbsp;</td>
<td><input type="checkbox" name="allowcomments" ' . ($context['downloads_file']['allowcomments'] ? 'checked="checked"' : '' ) . ' /><b>',$txt['downloads_form_allowcomments'],'</b>
  </tr>';
  }
 
  // If the user can manage the downloads give them the option to change the download owner.
  if ($g_manage == true)
  {
  echo '<tr class="windowbg2">
  <td align="right">', $txt['downloads_text_changeowner'], '</td>
  <td><input type="text" name="pic_postername" id="pic_postername" value="" />
  <a href="', $scripturl, '?action=findmember;input=pic_postername;quote=1;sesc=', $context['session_id'], '" onclick="return reqWin(this.href, 350, 400);"><img src="', $settings['images_url'], '/icons/assist.gif" alt="', $txt['find_members'], '" /></a>
  <a href="', $scripturl, '?action=findmember;input=pic_postername;quote=1;sesc=', $context['session_id'], '" onclick="return reqWin(this.href, 350, 400);">', $txt['find_members'], '</a>
  </td>
  </tr>
  ';
  }

 
  // Display the file quota information
  if ($context['quotalimit'] != 0)
  {
echo '
   <tr class="windowbg2">
<td align="right">',$txt['downloads_quotagrouplimit'],'&nbsp;</td>
<td>',format_size($context['quotalimit'], 2),'</td>
  </tr>
   <tr class="windowbg2">
<td align="right">',$txt['downloads_quotagspaceused'],'&nbsp;</td>
<td>',format_size($context['userspace'], 2),'</td>
  </tr>
   <tr class="windowbg2">
<td align="right">',$txt['downloads_quotaspaceleft'],'&nbsp;</td>
<td><b>', format_size(($context['quotalimit']-$context['userspace']), 2), '</b></td>
  </tr>  
 
  ';
  }

echo '
  <tr class="windowbg2">
    <td width="28%" colspan="2"  align="center" class="windowbg2">
<input type="hidden" name="id" value="' . $context['downloads_file']['ID_FILE'] . '" />
    <input type="submit" value="' . $txt['downloads_form_editdownload'] . '" name="submit" /><br />';

  if (!allowedTo('downloads_autoapprove'))
  echo $txt['downloads_form_notapproved'];

echo '<div align="center"><br /><b>' . $txt['downloads_text_olddownload'] . '</b><br />
' . $context['downloads_file']['orginalfilename'] . '<br />
<span class="smalltext">' . $txt['downloads_text_views']  . $context['downloads_file']['views'] . '<br />
' . $txt['downloads_text_filesize']  . format_size($context['downloads_file']['filesize'],2) . '<br />
' . $txt['downloads_text_date'] . $context['downloads_file']['date'] . '<br />
</div>
    </td>
  </tr>
</table>

</form>
';

if ($context['show_spellchecking'])
echo '<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';


}


and here is the code for Downloads2.php for the function EditDownload():

function EditDownload()

{

global $context, $mbname, $txt, $modSettings, $user_info, $smcFunc, $sourcedir;



is_not_guest();



$id = (int) $_REQUEST['id'];

if (empty($id))

fatal_error($txt['downloads_error_no_file_selected']);



if ($context['user']['is_guest'])

$groupid = -1;

else

$groupid =  $user_info['groups'][0];



// Check if the user owns the file or is admin

    $dbresult = $smcFunc['db_query']('', "

    SELECT

    p.ID_FILE, p.allowcomments, p.ID_CAT, p.keywords, p.commenttotal, p.filesize,

    p.filename, p.approved, p.views, p.title, p.id_member,

      m.real_name, p.date, p.description, p.sendemail, p.fileurl, p.orginalfilename

    FROM {db_prefix}down_file as p

       LEFT JOIN {db_prefix}members AS m ON (m.id_member = p.id_member)

     WHERE p.ID_FILE = $id  LIMIT 1");

if ($smcFunc['db_affected_rows']()== 0)

    fatal_error($txt['downloads_error_no_downloadexist'],false);

    $row = $smcFunc['db_fetch_assoc']($dbresult);





    // Check the category permission

GetCatPermission($row['ID_CAT'],'editfile');



// Download information

$context['downloads_file'] = array(

'ID_FILE' => $row['ID_FILE'],

'id_member' => $row['id_member'],

'commenttotal' => $row['commenttotal'],

'views' => $row['views'],

'title' => $row['title'],

'description' => $row['description'],

'filesize' => $row['filesize'],

'filename' => $row['filename'],

'fileurl' => $row['fileurl'],

'allowcomments' => $row['allowcomments'],

'ID_CAT' => $row['ID_CAT'],

'date' => timeformat($row['date']),

'keywords' => $row['keywords'],

'real_name' => $row['real_name'],

'sendemail' => $row['sendemail'],

'orginalfilename' => $row['orginalfilename'],

);

$smcFunc['db_free_result']($dbresult);

// Check if spellchecking is both enabled and actually working.

// $context['show_spellchecking'] = !empty($modSettings['enableSpellChecking']) && function_exists('pspell_new');

// $modSettings['disable_wysiwyg'] = !empty($modSettings['disable_wysiwyg']) || empty($modSettings['enableBBC']);





// Needed for the WYSIWYG editor.

require_once($sourcedir . '/Subs-Editor.php');



// Now create the editor.

$editorOptions = array(

'id' => 'description',

'value' => $row['description'],

'width' => '90%',

'form' => 'picform',

'labels' => array(

'post_button' => '',

),

);

// Needed for the WYSIWYG editor.

create_control_richedit($editorOptions);

$context['post_box_name'] = $editorOptions['id'];







// Custom Fields

$result = $smcFunc['db_query']('', "

SELECT

f.title, f.is_required, f.ID_CUSTOM, d.value

FROM  {db_prefix}down_custom_field as f

LEFT JOIN {db_prefix}down_custom_field_data as d ON (d.ID_CUSTOM = f.ID_CUSTOM)

WHERE ID_FILE = " . $context['downloads_file']['ID_FILE'] . " AND ID_CAT = " . $context['downloads_file']['ID_CAT']);

$context['downloads_custom'] = array();

while ($row = $smcFunc['db_fetch_assoc']($result))

{

$context['downloads_custom'][] = array(

'ID_CUSTOM' => $row['ID_CUSTOM'],

'title' => $row['title'],

'is_required' => $row['is_required'],

'value' => $row['value'],



);

}

$smcFunc['db_free_result']($result);





if (allowedTo('downloads_manage') || (allowedTo('downloads_edit') && $user_info['id'] == $context['downloads_file']['id_member']))

{

// Get the category information



$dbresult = $smcFunc['db_query']('', "

SELECT

c.ID_CAT, c.title, p.view, p.addfile

FROM {db_prefix}down_cat AS c

LEFT JOIN {db_prefix}down_catperm AS p ON (p.ID_GROUP = $groupid AND c.ID_CAT = p.ID_CAT)

WHERE c.redirect = 0 ORDER BY c.roworder ASC");

$context['downloads_cat'] = array();

while($row = $smcFunc['db_fetch_assoc']($dbresult))

{

// Check if they have permission to add to this category.

if ($row['view'] == '0' || $row['addfile'] == '0' )

continue;



$context['downloads_cat'][] = array(

'ID_CAT' => $row['ID_CAT'],

'title' => $row['title'],

);

}

$smcFunc['db_free_result']($dbresult);



// Get Quota Limits to Display

$context['quotalimit'] = GetQuotaGroupLimit($user_info['id']);

$context['userspace'] = GetUserSpaceUsed($user_info['id']);



$context['page_title'] = $mbname . ' - ' . $txt['downloads_text_title'] . ' - ' . $txt['downloads_form_editdownload'];

$context['sub_template']  = 'edit_download';



// Check if spellchecking is both enabled and actually working.

$context['show_spellchecking'] = !empty($modSettings['enableSpellChecking']) && function_exists('pspell_new');

}

else

fatal_error($txt['downloads_error_noedit_permission']);
}


There is this code in there that I'm concerned about the most:


// Needed for the WYSIWYG editor.

require_once($sourcedir . '/Subs-Editor.php');



// Now create the editor.

$editorOptions = array(

'id' => 'description',

'value' => $row['description'],

'width' => '90%',

'form' => 'picform',

'labels' => array(

'post_button' => '',

),

);

// Needed for the WYSIWYG editor.

create_control_richedit($editorOptions);

$context['post_box_name'] = $editorOptions['id'];


Strange enough, if I change the id of $editorOptions from "description" to "comment" then it seems to work.  Clicking on the BBC Buttons actually adds the code into the text area when Editing downloads, but then there is the problem when clicking on the Edit Download button, I get a completely empty post.

I originally thought it must be something improperly named in the template function template_edit_download() in Downloads2.template.php, however after looking this over, it seems that it has "description" in there, and that it doesn't have any id equal to "comment".

Is anyone else having this problem??  Can someone please help me with this as it seems to be very minor.  I have tried several things, tho, nothing I do seems to work :( :(

So Basically my question is:  How come I can click on the BBC Buttons and it works for Adding/Editing Comments, but Clicking on the same buttons when Add/Editing Downloads does not work (meaning it doesn't put the BBC into the textarea/post/download)???  AND How can I get this to work???  Is there some other place where "comment" is defined that i can take a look at to be sure that "description" is defined in there also???

Should I post up the code for Adding/Editing comments also???  So you can see that code and compare, which I have already done with absolutely NO LUCK!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on March 07, 2009, 09:52:11 PM
Hello, is there anybody out there??
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Aamid on March 09, 2009, 07:33:03 AM
I am not been able to use it on a different template other than the default.
Title: Download System (1.1.5 Released!) SMF 2.0 Beta 4 - Cool Layout ADDON!
Post by: SoLoGHoST on March 09, 2009, 05:59:26 PM
Ok, Here is an ADD-ON that I made for this MOD with an option for a Cool Layout, or Normal Layout (default)!  To see what the Cool Layout Looks like, go here - DEMO SITE for Downloads System MOD with Cool Layout Add-On (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads;cat=1).  Improved Rating System so that it will not give you the ability to rate your own downloads.  Also, if you have rated a download, Your Rating will be shown in place of where you rated that download instead of the Rating Options.  Fixed BBC buttons when Adding and Editing Downloads so that when clicking on these buttons, they will have an effect in the textarea.  Please note that this is a test site, and this is a theme that is not available in this package.

How to Install:

STEP 1 - Please be sure you have the Downloads System MOD INSTALLED before downloading and installing this "Cool Layout - MOD Add-On".

STEP 2 - After you have successfully installed the Downloads System Mod (Version 1.1.5).  Download and extract it.  Copy install.php to your root directory of where you have SMF installed (The same directory that index.php is located in) via FTP or whatever program. Run install.php from your web browser, once you have done this, delete install.php, and install the files relative to the paths that they are in in the unzipped folder.  Be sure to copy all of the files in their respective folder to your folders related to the root of your SMF installation (where index.php is installed).

Note:  The folder "your_themes" are files that should be copied/overwritten to your theme folders (whatever their names may be).  Once you have done all of this, Flush/Clear Your SMF cache (Admin->Forum Maintenance->Routine->Empty the file cache and TADA, the Cool Layout ADDON for the Downloads System MOD is now fully functioning.  To set a category to the Cool Layout, you will see a link called [Layout] in each Category View Box (right next to the [Permissions] link).  You can also specify how many files to show per page with the Cool Layout and the Normal Layout separately in Admin->Downloads Configuration->Settings :: Downloads per page (Normal Layout) - Default = 20 :: Downloads per page (Cool Layout) - Default = 5.

ENJOY!!  Took me awhile to figure this all out, but as you can see by the  DEMO SITE (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads;cat=1) of what it actually looks like for guests/users/etc., it was well worth it.  Just thought other people would be interested in this also.

(EDIT:  Get the latest Cool Layout Add-On for the Downloads System MOD Below)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 09, 2009, 08:42:09 PM
I like your add on. Pls do it for 1.1.8.
Hoping.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on March 10, 2009, 10:49:39 AM
Sorry, don't think so, it was difficult enough to do for 2.0.  But you can always try it with 1.1.8, haven't tested it with this version tho... maybe it isn't any different at all.

EDIT:
Anyways, I'm still working on this AddOn, will post it up again when completely done!  But the download above is a good start for this Add-On.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Phlux- on March 11, 2009, 04:52:58 AM
Okay so the system is installed and working perfectly - the only problem is that uploading thru the upload system doesnt seem to work on files larger than about 3 megs - which directory can i upload the files via ftp to and how do i create entries on the download system for files allready existing on the folder - i looked around and things were not what they seemed.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on March 11, 2009, 08:48:23 AM
Check your php settings default limit is 2mb
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Phlux- on March 12, 2009, 07:51:41 AM
max download under the download tab on admin was set by default to 5000000bytes - thats 5mb right i changed it to 10000000 - still wont work.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 12, 2009, 08:11:07 AM
Quote from: Phlux- on March 12, 2009, 07:51:41 AM
max download under the download tab on admin was set by default to 5000000bytes - thats 5mb right i changed it to 10000000 - still wont work.

you need to modify php.ini
this is usuall in /bin/php/php5.?.?/php.ini

post_max_size = 100M
upload_max_filesize = 100M

if your host are on VPS or Dedicated server , you can manage in whm in php settings.

if you are on share hosting, you can ask your host.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Phlux- on March 12, 2009, 08:44:19 AM
thanks man. i did that - im using shared hosting so the admin on that side had to do it for me - im sure it will fix it but if i have any other problems - il post them here.

1 other thing i wanted to ask is - can i use my ftp client to upload the files then just tell the download manager where to find them ?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 12, 2009, 08:51:18 AM
Quote from: Phlux- on March 12, 2009, 08:44:19 AM
thanks man. i did that - im using shared hosting so the admin on that side had to do it for me - im sure it will fix it but if i have any other problems - il post them here.

1 other thing i wanted to ask is - can i use my ftp client to upload the files then just tell the download manager where to find them ?

Nope you can't use ftp.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 12, 2009, 06:41:55 PM
Hello SoLoGhost
I only want to know how to edit like Attach file
Title: COOL LAYOUT AddOn for the Downloads System MOD
Post by: SoLoGHoST on March 13, 2009, 03:13:08 AM
Ok, I have finally completed the Cool Layout Add-On for the Downloads System MOD!  Read "How to Install.txt" for a step by step guide for you to install this add-on!

You can view the Cool Layout Addon in Action at:  Graphics Mayhem (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=4) and at the Demo/Test Site (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads;cat=1)

Read Notes carefully and follow instructions exactly as defined in the .txt file included in the package.  It's fairly simple to install.

Perhaps vbgamer45 will add it in the next release of this awesome MOD  ???

Solomon

EDIT:  Admin options in SMF for downloaded files (Download Configuration Settings for only files) had no effect on the Cool Layout, now it is very customisable from within the ADMIN and working fine! :)

For the 5 members who have downloaded it before, if you installed it on your forum just 1 step needed for this update, overwrite "Downloads2.template.php" and "Downloads2.php" in the .zip file and that's it!

For Everyone else - Follow instructions in the .txt file!!

Furthermore, would like to see your websites that are using this Add-On and how you are using it in your site if that would be okay.  Just post the URL in a reply to this topic would be fine.

Thanks,
Solomon
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on March 14, 2009, 05:15:50 PM
Found some errors in the last AddOn, now all is fixed.  Download in the ABOVE post!  ENJOY! :)

Would really like to see how people are using this Add-On, so if you have a site with this addon installed, please post the url.

Thanks :)
Title: Cool Categories Layout Addon for the Downloads System MOD
Post by: SoLoGHoST on March 16, 2009, 01:59:58 AM
Ok, here is the FINAL RELEASE for the Cool Categories Layout Add-On for the Downloads System MOD. 

If you have installed this Add-On in prior versions, and want to install it with the updated features (Fixes Sortby method for Ratings, Adds how many people rated that particular download for the Cool Layout)

For users who have installed this Add-On previously, you can download the update here - COOL RATINGS (http://acs.graphicsmayhem.com/stuff/CoolRatings.zip)

Otherwise, download is located at the bottom of this topic.

Read "How to Install.txt" for a step by step guide for you to install this add-on!

You can view the Cool Layout Addon in Action at:  Graphics Mayhem (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=4) and at the Demo/Test Site (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads;cat=1)

Read Notes carefully and follow instructions exactly as defined in the .txt file included in the package.  It's fairly simple to install.

Perhaps vbgamer45 will add it in the next release of this awesome MOD  ???

Some Info:  Fixed Ratings problem that was not sorting the Ratings, but sorting by how many users rated (Only fixed this for the Cool Layout option, didn't mess with how vbgamer45 had set it up in the Normal Layout).  FYI - The rating column is flawed.  Is not a reliable source of getting the average rating, so I created a new column called, "actual_rating" which relies on the totalratings and rating columns, but holds the actual average rating from 0 - 100.

Thanks, was a ton of fun creating this Add-On!!
Solomon

P.S. - If you use this Add-On, please post the url in here.  Just interested to see it in action someplace else.  Thank You! :)

Bug Found and FIXED ->  Found an error when editing Categories to a default sortby of Rating.  Fixed this, and re-upped!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on March 17, 2009, 12:21:08 PM
To vbgamer45:  Will you please include this Add-On in the Next update, or better yet, this version of Download System??
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Sakae on March 18, 2009, 08:29:50 PM
I searched this topic but couldn't find it.

Is there anyway to integrate the download system search on the SMF default search?

I mean, if I look for "msn images" on boards, I could find (with some "highlight", maybe?) the images for MSN on download system, besides the topics about it.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on March 18, 2009, 08:52:21 PM
Quote from: softcore on March 18, 2009, 08:29:50 PM
I searched this topic but couldn't find it.

Is there anyway to integrate the download system search on the SMF default search?

I mean, if I look for "msn images" on boards, I could find (with some "highlight", maybe?) the images for MSN on download system, besides the topics about it.
Not at this time.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 21, 2009, 11:03:38 AM
Hello...
I installed your mod and work perfectly . But i have one problem
After 20 subcategories submit, category name box appear scroll bar . Why subcategory are not roll by roll . I mean
sub1 sub2 sub3 sub4
sub5 sub6 sub7 sub8

Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on March 21, 2009, 04:25:33 PM
Hard to find a way for subcategories per row or by screen width
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 21, 2009, 09:27:23 PM
Quote from: vbgamer45 on March 21, 2009, 04:25:33 PM
Hard to find a way for subcategories per row or by screen width

OK.. You can see . I send my link to your pm.
Title: Re:Convert TinyPoral Downloads to Download System
Post by: hartiberlin on March 23, 2009, 07:14:32 PM
Hi,
I have a problem.

I want to move my domain
www.overunity.com
from SMF 1.1.8 with Tinyportal to
SMF 2.0RC1 + PortaMX Portal  with the Download System Mod.

Now how can I get my more than 200 Downloads from
the TinyPortal download  into the
Download System Mod ?

Is there any easy conversion I could do or
must I do it all manually for more than 200 files ?

Many thanks.

Regards, Stefan.

P.S: File descriptions would not be so important , but just an
easy method to upload or move all the files from the Tinyportal
download system just to a Download System Mod system.
Many thanks in advance.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on March 26, 2009, 07:57:06 AM
hi.. vbgamer45
can u integrate upoad progress meter .
Title: Re:Convert TinyPoral Downloads to Download System
Post by: hartiberlin on March 30, 2009, 10:46:55 AM
Quote from: hartiberlin on March 23, 2009, 07:14:32 PM
Hi,
I have a problem.

I want to move my domain
www.overunity.com
from SMF 1.1.8 with Tinyportal to
SMF 2.0RC1 + PortaMX Portal  with the Download System Mod.

Now how can I get my more than 200 Downloads from
the TinyPortal download  into the
Download System Mod ?

Is there any easy conversion I could do or
must I do it all manually for more than 200 files ?

Many thanks.

Regards, Stefan.

P.S: File descriptions would not be so important , but just an
easy method to upload or move all the files from the Tinyportal
download system just to a Download System Mod system.
Many thanks in advance.


Anybody any idea how to do this the best and easiest way ?

Many thanks in advance.

Regards, Stefan.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Arveles on March 31, 2009, 05:01:54 PM
(http://img19.imageshack.us/img19/3741/20090331235818.jpg)

http://img19.imageshack.us/img19/3741/20090331235818.jpg
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on March 31, 2009, 06:49:02 PM
Quote from: hartiberlin on March 30, 2009, 10:46:55 AM
Quote from: hartiberlin on March 23, 2009, 07:14:32 PM
Hi,
I have a problem.

I want to move my domain
www.overunity.com
from SMF 1.1.8 with Tinyportal to
SMF 2.0RC1 + PortaMX Portal  with the Download System Mod.

Now how can I get my more than 200 Downloads from
the TinyPortal download  into the
Download System Mod ?

Is there any easy conversion I could do or
must I do it all manually for more than 200 files ?

Many thanks.

Regards, Stefan.

P.S: File descriptions would not be so important , but just an
easy method to upload or move all the files from the Tinyportal
download system just to a Download System Mod system.
Many thanks in advance.


Anybody any idea how to do this the best and easiest way ?

Many thanks in advance.

Regards, Stefan.
Would require a conversion script. Do not have one yet but it is planned down the road.


Quote from: <<Anadolu>> on March 31, 2009, 05:01:54 PM
(http://img19.imageshack.us/img19/3741/20090331235818.jpg)

http://img19.imageshack.us/img19/3741/20090331235818.jpg
To do this would require edits to the Downloads.template.php file
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Arveles on March 31, 2009, 07:04:58 PM
QuoteTo do this would require edits to the Downloads.template.php file
I know, but how? This is my file..thanks..
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on April 01, 2009, 05:45:47 PM
SOS

Warning Downloads path is not writable! /home/xxxx/public_html/xxxx/downloads/

what happen. All files are gone.  :-X :-X :-X :-X about 10GB
I almost die.
and i can't give permisson to writabel and it always show 0000.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 01, 2009, 08:15:28 PM
Contact your host might be diskspace used up
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 02, 2009, 04:01:43 AM
Quote from: <<Anadolu>> on March 31, 2009, 05:01:54 PM
(http://img19.imageshack.us/img19/3741/20090331235818.jpg)

http://img19.imageshack.us/img19/3741/20090331235818.jpg

Go into Downloads2.template.php edit functions template_add_download and template_edit_download like so:

function template_add_download()
CUT:
 
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_title'] . '</b>&nbsp;</td>
  <td><input type="text" name="title" size="50" /></td>
  </tr>



PASTE, AFTER:

  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_category'] . '</b>&nbsp;</td>
  <td><select name="cat">';

foreach ($context['downloads_cat'] as $i => $category)
{
echo '<option value="' . $category['ID_CAT']  . '" ' . (($cat == $category['ID_CAT']) ? ' selected="selected"' : '') .'>' . $category['title'] . '</option>';
}

echo '</select>
  </td>
  </tr>


function template_edit_download()

CUT:
 
  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_title'] . '</b>&nbsp;</td>
  <td><input type="text" name="title" size="50" value="' . $context['downloads_file']['title'] . '" /></td>
  </tr>


PASTE, AFTER:

  <tr class="windowbg2">
  <td align="right"><b>' . $txt['downloads_form_category'] . '</b>&nbsp;</td>
  <td><select name="cat">';

foreach ($context['downloads_cat'] as $i => $category)
{
echo '<option value="' . $category['ID_CAT']  . '" ' . (($context['downloads_file']['ID_CAT'] == $category['ID_CAT']) ? ' selected="selected"' : '') .'>' . $category['title'] . '</option>';
}


echo '</select>
  </td>
  </tr>


Upload files to server.  TADA!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 02, 2009, 10:05:09 PM
vbgamer45, Just noticed that you have inserted id_topic column in {db_prefix}down_file which never gets used.  I have utilized this by adding a column called id_message and finishing what you started for the Boards (when Editing/Adding a Category for instance, under Posting Options), that is calling the modifyPost() function when editing downloads, thus keeping the board up-to-date with the correct information in the downloads section.  Since, according to what you have coded, the only time the topic is updated, if a board is selected, is when a user is adding a download to that category, and that's all.  So this fixes that, by updating all posts in the topics using id_topic & id_message in {db_prefix}down_file to match with id_topic and id_msg in {db_prefix}messages table, and using the modifyPost() function to update the topic.  Also, if you delete a Category that contains downloads, and that Category is linked to a board, all topics in that board should also be deleted, which I did.  I assume you intended to use id_topic for that purpose to begin with.

Well, I have really done a ton of work to your MOD, I mean everything from fixing warnings in the SMF Error Log, adding improvements - Such as the ability to upload Screenshots for each download, redesigning the layout, etc. etc. etc.  You name it!!  Been there, done that!! ;)

Don't get me wrong, overall, this is an excellent MOD you've created.  I'll post it up for you when it is completely done as I am still working on it.  Only thing left to do is make the Adding and Viewing of Comments way cooler, like a slide-in, slide-out effect, or just a drop down effect.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Eric_WP on April 03, 2009, 10:16:33 PM
I completely apologize if this is the wrong section to be asking. 

How would I go about replacing the automatic file download link with a download button I have created?  I would love to know since I think that the current text display makes it hard for my visitors to find the download link (I was having a bit of hard time myself when I first installed it).  What code must I add to the downloads.template file for this to be a possibility?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: heinandar on April 04, 2009, 07:40:44 AM
Quote from: Umani on April 03, 2009, 10:16:33 PM
I completely apologize if this is the wrong section to be asking. 

How would I go about replacing the automatic file download link with a download button I have created?  I would love to know since I think that the current text display makes it hard for my visitors to find the download link (I was having a bit of hard time myself when I first installed it).  What code must I add to the downloads.template file for this to be a possibility?
OK.. You can try it

search
// 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>';


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

echo '<br/><span style="font-size: 15px; color: RED;"><strong><a href="' . $scripturl . '?action=downloads;sa=downfile;id=', $context['downloads_file']['ID_FILE'], '"><div class="smallfont" align="center">
<a href="' . $scripturl . '?action=downloads;sa=downfile;id=', $context['downloads_file']['ID_FILE'], '"><img title=" Your Title" src="Your image link" alt="Text" border="0"></a> </div></a><strong>';


You only need to change
Your Titel  (whatever)
Your image link
Text (whatever)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Arveles on April 04, 2009, 02:54:37 PM
SoLoGHoST (http://index.php?action=profile;u=198712)  thank you.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Özgür on April 04, 2009, 05:45:54 PM


Download System Little Pretty Url Support


Find in PrettyUrls-Filters.php
?>
Add Before:
function pretty_downloads_filter($urls)
{
global $boardurl, $scripturl;

// downloads cats
$pattern = '~' . $scripturl . '(.*)action=downloads;cat=([^;]+)~S';
$replacement = $boardurl . '/downloads/category/$2/';
$replacement .= (strpos($replacement, '?') === false ? '?' : ';') . (isset($PHPSESSID[0]) ? $PHPSESSID[0] : '') . ';' . (isset($sesc[0]) ? $sesc[0] : '') . (isset($fragment[0]) ? $fragment[0] : '');
foreach ($urls as $url_id => $url)
if (!isset($url['replacement']))
if (preg_match($pattern, $url['url']))
$urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);


// items
$pattern = '~' . $scripturl . '(.*)sa=view;down=([^;]+)~S';
$replacement = $boardurl . '/downloads/$2/';
$replacement .= (strpos($replacement, '?') === false ? '?' : ';') . (isset($PHPSESSID[0]) ? $PHPSESSID[0] : '') . ';' . (isset($sesc[0]) ? $sesc[0] : '') . (isset($fragment[0]) ? $fragment[0] : '');
foreach ($urls as $url_id => $url)
if (!isset($url['replacement']))
if (preg_match($pattern, $url['url']))
$urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);

return $urls;
}

You go to your site.com/forum/index.php?action=admin;area=pretty;sa=filters and find this code     }
}
from last line.
And add between these line for this
(example :     } code code code....
}
)
,
"downloads": {
        "description": "downloads",
        "enabled": 0,
        "filter": {
            "priority": 5,
            "callback": "pretty_downloads_filter"
        },
        "rewrite": {
            "priority": 5,
            "rule": [
                "RewriteRule ^downloads/([^/]+)/?$ index.php?action=downloads;sa=view;down=$1 [L,QSA]",
                "RewriteRule ^downloads/category/([^/]+)/?$ index.php?action=downloads;cat=$1 [L,QSA]"
            ]
        },
        "title": "downloads modu pretty url"
    }


And go to pretty settings and enable this filter and run pretty maintenance.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 05, 2009, 10:56:33 PM
Quote from: <<Anadolu>> on April 04, 2009, 02:54:37 PM
SoLoGHoST (http://index.php?action=profile;u=198712)  thank you.

You're very welcome, and be sure to check out my Cool Categories Add-On for this MOD, will post the URL when complete.  Just about done it!  But you can see it in action here ==> GRAPHICS MAYHEM (http://graphicsmayhem.com/GMForum/index.php?action=downloads)  and  TEST SITE (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Eric_WP on April 07, 2009, 01:14:39 AM
Thanks a lot heinander, that was exactly what I was looking for!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: louislam123 on April 09, 2009, 02:57:27 AM
Hi, I don't know if this has already been asked, but is there a way to specify which extensions are allowed to be uploaded, and limit the max filesize?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 09, 2009, 09:31:32 PM
Quote from: louislam123 on April 09, 2009, 02:57:27 AM
Hi, I don't know if this has already been asked, but is there a way to specify which extensions are allowed to be uploaded, and limit the max filesize?
Max filesize yes.  File extensions no.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 12, 2009, 04:21:14 AM
Oh, reminds me, also fixed the problem of creating empty downloads.  This would occur if say, your host was not set up for uploads bigger than, say 5 MB for instance.  And well, you have the Downloads System set at a max filesize of 10MB.  When users would try to upload a file bigger than 5 MB, say 7 MB, since it is smaller than the max filesize set in Downloads System, it will generate a Download, tho, when trying to download the file, it will take you to an empty page.  Well, fixed this so that it just generates an error when Adding the Download, that way there are no empty Downloads floating around by accident or whatever.

Will post up when fully completed.  Working on a new layout for it, will look kinda like Windows Live Gallery default layout for gadgets.  So there will be 3 layouts in all when complete.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 15, 2009, 07:28:09 AM
How can I make the download system to have Parse function, anyone have any ideas ? :(
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 15, 2009, 08:40:32 AM
What do you mean parse function
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 15, 2009, 09:03:01 AM
I mean to have like here

"Manual Instllation" -> Choose Your Version etc.

I really need this, because I`m making support site for SMF in my language
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 15, 2009, 09:40:53 AM
And how can I make an image function. So I can upload demos of the files ? Thanks

And I have problem with the Cool Addon

When I try to open my category it show me

Unknown column 'layout' in 'field list'
File: /usr/local/apache2/htdocs/rado/smf-bg.info/Sources/Downloads2.php
Line: 1732

Anyone can help ?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 15, 2009, 07:43:21 PM
Not part of the default install of the download system.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 17, 2009, 06:44:22 AM
Yes, I read now the hole topic and I know :D as for the cool addon can someone help, when I try to put it it show me:

Unknown column 'layout' in 'field list'
File: /usr/local/apache2/htdocs/rado/smf-bg.info/Sources/Downloads2.php
Line: 397


And Line 397  is ...

WHERE ID_CAT = $cat LIMIT 1");


and after it its ...

$row1 = $smcFunc['db_fetch_assoc']($dbresult1);

$context['downloads_cat'] = $row1['ID_CAT'];

$context['downloads_cat_name'] = $row1['title'];

$context['downloads_sortby'] = $row1['sortby'];

$context['downloads_orderby'] = $row1['orderby'];

$context['downloads_cat_norate'] = $row1['disablerating'];

if ($context['downloads_cat_norate'] == '')

$context['downloads_cat_norate'] = 0;

$context['downloads_cat_layout'] = $row1['layout'];

if ($context['downloads_cat_layout'] == '')

$context['downloads_cat_layout'] = 0;

$smcFunc['db_free_result']($dbresult1);
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 17, 2009, 07:01:29 AM
You have to read the .txt file included and copy install.php to your root SMF directory and run it from a browser in the root of your SMF directory, once this is done all problems should dissappear.  Then delete install.php.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 17, 2009, 01:34:43 PM
Quote from: Bulqr4eto on April 15, 2009, 09:40:53 AM
And how can I make an image function. So I can upload demos of the files ? Thanks

And I have problem with the Cool Addon

When I try to open my category it show me

Unknown column 'layout' in 'field list'
File: /usr/local/apache2/htdocs/rado/smf-bg.info/Sources/Downloads2.php
Line: 1732

Anyone can help ?

Image Screenshots available in the next update of the Cool Categories Layout, which will be renamed to Multiple Category Layouts, or something else, haven't decided on the name yet, as it does more than just category layouts, way more.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 19, 2009, 09:14:06 AM
Thanks for the response, and yes I read the .txt and run the install.php everything was great ... it showed me that everything is imported and after that ... I open the index.php?action=downloads and everything was the same, then I try to open one category and It show me this error and I still dunno how to fix it :( probably I will wait untill ur next version of this great addon :)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 20, 2009, 07:48:36 AM
SoLoGHost: I try the new Cool Addon u put but it show me again error :( and I did everything in the readme.txt

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 17
File: /usr/local/apache2/htdocs/rado/smf-bg.info/Sources/Downloads2.php
Line: 761
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 20, 2009, 10:37:54 PM
Ok, seems that there is a php error, probably something simple and easy to fix, though, I would just open Downloads2.php and look at line 17, probably something as stupid as failing to place a ; at the end of the line or something else just as stupid as that.

In any case, all errors fixed in this new update which will be available momentarilly at Graphics Mayhem (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11), called "ENHANCED DOWNLOADS SYSTEM AddOn".  Will post up some pics of it in a few, brb.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 20, 2009, 11:07:13 PM
Ok, you can NOW get the NEW UPDATE called, ENHANCED Downloads System Addon (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11) (Screenshot shows most of the new changes and functions, but there are so many great things about this update, can't fit them all on 1 page ;))

Some Pics in full view...
Moved Layout to Editing of Download Categories...
(http://acs.graphicsmayhem.com/eds/layout_edit_category.png)

Individually Setting the Layout for each Category by clicking on [Edit] link
(http://acs.graphicsmayhem.com/eds/layout_category.png)

You can now also specify a default layout type when creating categories, by default, when you install this MOD this setting in your Downloads Configuration is set to Full View, but you can change and it will change it for all categories...
(http://acs.graphicsmayhem.com/eds/default_admin_layout.png)

You can also now move the Page Blocks on the index page of downloads around to the left, right, top, and bottom areas, and also you can set the order in which they are in from top to bottom.  You can have it expanded by default, or not expanded by default also...
(http://acs.graphicsmayhem.com/eds/CLupdateAdmin.png)

Added a new layout called, Small Tables, and looks like this:
(http://acs.graphicsmayhem.com/eds/SmallTablesLayout.png)

You can set how many rows per page for the Small Tables Layout in Downloads Config...
(http://acs.graphicsmayhem.com/eds/admin_rows_per_page.png)

You can set how big the Screenshot Image will be (Viewed in Full Layout Category, and Downloads View Page), if screenshot being uploaded is bigger than dimensions set here, it will be resized to dimensions here keeping same aspect ratio
(http://acs.graphicsmayhem.com/eds/admin_max_screenshot.png)

And you can also Add a Cool Reflection Effect to your uploaded Screenshots for each of your downloads, Screenshot URL taken out, as this was just me playing with that option.  All images will be coming directly from your server, unless the [ img ] bbc code tag is being used.  Will fix this in next update perhaps:
(http://acs.graphicsmayhem.com/eds/add_edit_download.png)

Thumbnails for Page Blocks (Recent Downloads, Top Rated, Top Downloads, Most Commented, & Most Viewed) get shown if the user has selected to upload a Screenshot image when adding the download, otherwise, more info about the download is shown.
(http://acs.graphicsmayhem.com/eds/thumbnailsPageIndex.png)
And Many Many More Features...

ENJOY!!! :)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 21, 2009, 01:21:45 AM
Oh, and bytheway, no need to remove the other version, this will just replace the Cool Category's Addon, if installed.  This also fixes problem with the Downloads System MOD not being able to update posts that are linked to a board, if the user edits a download.  Uses modifyPost() function for this.  Creates new post if board is selected for that Category using bbc code, that way, you can edit it and reapply it easily.

You can see the ENHANCED DOWNLOADS SYSTEM AddOn in Action at Graphics Mayhem (http://graphicsmayhem.com/GMForum/index.php?action=downloads) or Test Site (http://acs.graphicsmayhem.com/soloforum/index.php?action=downloads)

Download here => ENHANCED DOWNLOADS SYSTEM AddOn for the Downloads System MOD (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 21, 2009, 04:19:25 AM
Ok I download this and try to install it again

now When I try to open the Category in the Downloads I get

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 17
File: /usr/local/apache2/htdocs/rado/smf-bg.info/Sources/Downloads2.php
Line: 773


Line 773 in Downloads2.php is:

LIMIT $context[start]," . $file_limit);

$context['downloads_files'] = array();

while($row = $smcFunc['db_fetch_assoc']($dbresult))

{


Please, help I really want this addon :(
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 21, 2009, 12:23:45 PM
Do you have a URL where I can see the error?

What version of SMF?  What version of Downloads System?  What other MODS, if any, are also installed?

What steps did you take to install this?  Please list the steps you've taken step by step, so I can see this, k?

Has anyone else got any errors like the 1 Bulqr4eto described above??  Will do a few more tests to try to see why you are getting this error Bulqr4eto.

If you have this AddOn Installed and working fine, please post up the URL so we can see it also, k?  Thanks!
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 21, 2009, 05:52:06 PM
Oh, bytheway, here is a FRESH INSTALL of the Enhanced Downloads System AddOn, with just the Downloads System MOD and the Enhanced Downloads System AddOn ==> FRESH INSTALL of SMF 2.0 RC1 with Downloads System MOD 1.1.5.1 and ENHANCED Downloads System AddOn (http://solo.acs.graphicsmayhem.com/ghost/index.php?action=downloads) so I know it works perfect.  I have noted that you can change the background color yourself when applying the styles to the style.css files.

One Flaw in this install is that images from the default/images path do not have all of the images.  Tho, the your_themes/images path has all of the images, and you should copy all images from this path into Themes/default/images to ensure that you have all of the images for the default theme as well.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 21, 2009, 10:59:34 PM
Ok, Just Fixed this Flaw and re-upped @ Graphics Mayhem, well I had a ton of fun with this MOD, thanks very much vbgamer45.  Please take a look at it when you get a chance and if you like it, would very much like to see this addon incorporated into the Actual MOD itself.  I would be more than happy to help provide support for this MOD with you here and anywhere else.  Well let me know if that would be fine with you.

Thanks,
Solomon
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 22, 2009, 08:18:58 AM
SoLoGHoST first thanks that you want to help me :) so am here we go

Here is what it say when I try to start install.php (I run it before 1 or 2 updates of your addon)

Notice: Undefined variable: scripturl in /usr/local/apache2/htdocs/rado/smf-bg.info/Themes/default/languages/Modifications.english.php on line 77

Notice: Undefined variable: scripturl in /usr/local/apache2/htdocs/rado/smf-bg.info/Themes/default/languages/Modifications.english.php on line 79

Notice: Undefined variable: scripturl in /usr/local/apache2/htdocs/rado/smf-bg.info/Themes/default/languages/Modifications.english.php on line 81

Error in Data Base
Duplicate column name 'layout'
File: /usr/local/apache2/htdocs/rado/smf-bg.info/install.php
Line: 52
Back


After I made the changes in Subs.php and everything else in the readme.txt here is what I get (see the attachments. The first pic is when I open the main download menu, the second is when I try to open a category

Here is the LINK (http://smf-bg.info) but u need to register...



Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 22, 2009, 11:03:06 AM
Ok, there is no readme.txt file that you mention in my installation package.  The file that you should be looking at is the "How to INSTALL.txt" file.  This is the file that you should be reading.  If you do not have the right installation package, it is located here (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11).  PLEASE PAY ATTENTION here, as DETAIL is the only thing we have to work with and is the only thing that will help you now.  I'm assuming that you have the correct version of SMF and Downloads System MOD installed as mentioned in the How to INSTALL.txt file.

FIRST, THIS STEP IS VERY IMPORTANT:
Please confirm that you have copied all files/folders (not including EXTRA INFO TXT Files, How to INSTALL.txt, Modifications.english.php EDITS.txt, and Subs.php EDITS.txt).  This means, you should have copied layout.js and ratings.js into your Themes/default/scripts directory relative to your SMF Root Directory.  If 1 or more folders do not exist in this path than create it.  Also, copy the folder (with the 2 folders inside of this folder) into the downloads/ directory.

IF you are still having problems after doing this... go on....

Would help if you were to give me these files, so I can see what has been done to them and make the changes to them myself, if needed:

1. Modifications.english.php
2. Downloads2.php
3. Downloads2.template.php
4. Subs.php
5. Downloads.english.php
6. Downloads.english-utf8.php
7. layout.js
8. ratings.js


Ok, and you need to check your database for the following tables and columns and confirm/deny these:

In Table:  smf_down_cat

Column name:  layout (you should only have 1 column, if you have more than 1 delete the 1 that doesn't have the values of -1, if none of these columns have the values of -1 and you still have more than 1, just delete them until you only have 1 column named layout)
all values by default should be:  -1

In Table:  smf_down_file

Column name:  actual_rating
Column name:  id_message
Column name:  ssThumb
Column name:  ssTables
Column name:  ssFilename


In Table:  smf_settings

You should not have the following values in the variable column:

1. down_set_files_per_page
2. down_set_files_per_page_normal
3. down_set_files_per_page_cool

You should have these variable column (value column):

1. down_set_files_per_page_list (value = 20)
2. down_set_rows_per_page_tables (value = 3)
3. down_set_files_per_page_full (value = 5)
4. down_set_file_rating_count (value = 1)
5. down_index_showtop (value = 0)
6. down_index_showbottom (value = 0)
7. down_index_showleft (value = 1)
8. down_index_showright (value = 0)
9. down_index_recent_order (value = 1)
10. down_index_mostviewed_order (value = 2)
11. down_index_mostdownloaded_order (value = 3)
12. down_index_mostcomments_order (value = 4)
13. down_index_toprated_order (value = 5)
14. down_index_recent_expand (value = 1)
15. down_index_mostviewed_expand (value = 0)
16. down_index_mostdownloaded_expand (value = 1)
17. down_index_mostcomments_expand (value = 0)
18. down_index_toprated_expand (value = 1)
19. down_set_file_ss_width (value = 0)
20. down_set_file_ss_height (value = 0)
21. down_set_cat_layout (value = 2)

Ok, you can just copy this text and place a YES/NO to the right of each of these if you have it, place YES, if you don't have it place NO.  Understand?  Don't worry, we will fix this together, but I need you to pay attention to DETAIL.

Thanks :)


Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Bulqr4eto on April 22, 2009, 03:03:02 PM
YeY we fix it ... it was because the old install.php didnt had the new tables... u have to make uninstall.php :P So it works now but why the categorys are in the right :( see HERE (http://smf-bg.info/index.php?action=downloads) The new addon work only on the files not on categorys, right ?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 22, 2009, 04:16:06 PM
Ok, I don't speak Russian, my wife does, but she is not here now... at work.  So I can't answer the darn question to register on there because I don't understand what it is asking.  I suggest you temporarily allow guests to view the Downloads section in the permissions so that I can see what you are talking about, k?
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 22, 2009, 05:14:51 PM
Quote from: Bulqr4eto on April 22, 2009, 03:03:02 PM
YeY we fix it ... it was because the old install.php didnt had the new tables... u have to make uninstall.php :P So it works now but why the categorys are in the right :( see HERE (http://smf-bg.info/index.php?action=downloads) The new addon work only on the files not on categorys, right ?
No need for uninstall.php since the install.php will uninstall any prior versions if found.  New AddOn will work on files and categories.  I can't see the downloads page since you don't have permissions setup for guests to view it, and I don't understand the language on this site.  You can go to Permissions via a link at the Bottom of the Downloads Configuration Settings, link name is "Permissions", clicking this link will allow you to set Permissions for the Download System for Guest, Registered Users, etc. etc.  Please select Guests, and place a checkmark in View.

Bytheway, what language are you using on your forum?  My wife doesn't completely understand it either.  She said that it kinda looks like Bulgarian or something like that.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 23, 2009, 12:49:46 AM
Ok, I managed to get some help on registering at your site, but it is telling me "You are not allowed to view the Downloads"

So, it now comes down to the permissions.  Can you please setup your permissions in Admin->Downloads Configuration and click on "Permissions" link at the bottom of the page, set permissions for Registered Users, k?  Than I can take a look at what you are talking about.

Does that seem possible??  If so, let me know when you are done doing this so I can check it out.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 23, 2009, 02:05:55 AM
Ok, just realized that I had an older version of Downloads.english.php and Downloads.english-utf8.php in this package.  Ok, this fixes the empty text next to 3 text area's in Downloads Configuration, which should say:

Downloads per page (List View):
Rows per page (Tables View):
Downloads per page (Full View):

Empty your file cache again after overwriting these files into (relative to your SMF Root):

1. Themes/default/languages

and

2. Themes/your_themes/languages

your_themes = your personal theme folder name, basicall any folder in ./Themes.  So you will need to add these language files to all folders in ./Themes in the language folder.

Already fixed this in the package and reupped so it's all good if you download and install the package now.  Located ==> HERE (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 23, 2009, 04:35:16 PM
Ok, am able to see your downloads section now.

1. Set your Screenshot Max Width and Max Heights in the "Downloads Configuration" to be a bigger size, looks good with a width of 400 - 600 pixels and height from 400 - 600 pixels.  This will not effect the size of the thumbnails in the Small Tables Layout and for the page index.  For Example, if you look at this page ==> http://smf-bg.info/index.php?action=downloads;sa=view;down=262 you will see a small pic and then a large one just underneath of it.  The large 1 just underneath of this pic would not be needed if you just set the Max Screenshot Width and Max Screenshot Height between 400 and 600 pixels, since they are both the same pic.  You will need to edit the download and re-up the Screenshot Image for this pic to be readded.  But if this is not your intention, do whatever, it's your site.

2. I am trying to duplicate a problem you are having with the Page Indexes shown on the right in IE (bytheway, looks fine in FF Browsers).  Although I can't seem to duplicate your issue.  Here is my attempt Page Blocks on Right (http://solo.acs.graphicsmayhem.com/ghost/index.php?action=downloads).  As you can see it all looks fine.  I recommend redownloading the package, and overwrite Downloads2.php in sources again, and Downloads2.template.php in all of folders located within your ./Themes folder.  Be sure to overwrite them all.



Also, if you are wondering what happened to "My Files" and "Search" links, these are now Submenu options in the Main "Downloads" Menu.  You will need to have a drop down menu MOD installed, or a theme that supports this.  Here's a MOD you can install that will show the My Files & Search Submenu's when hovering over the Downloads Menu ==> BK-SMF Drop Down Menu (http://custom.simplemachines.org/mods/index.php?mod=1508)

For those of you who do not wish to install the drop down menu mod above, it's a piece of cake to put these 2 links back into the Downloads Section Main Page.  Let me know if you need this, as I will  keep it as a submenu and also have it in the downloads section as well in the next update.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SA™ on April 24, 2009, 12:44:30 AM
i have downloads set to not allow guest


yes i get this in my error logs any idea


http://sleepy-arcade.ath.cx/sleepy/index.php?action=downloads;sa=prev;id=41 
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 41 LIMIT 1' at line 4


SELECT
ID_FILE
FROM smf_down_file
WHERE ID_CAT = AND approved = 1 AND ID_FILE > 41 LIMIT 1
File: C:/wayneker/htdocs/sleepy/Sources/Downloads2.php
Line: 4404 
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 24, 2009, 01:02:47 AM
Quote from: MAD Coder on April 24, 2009, 12:44:30 AM
i have downloads set to not allow guest


yes i get this in my error logs any idea


http://sleepy-arcade.ath.cx/sleepy/index.php?action=downloads;sa=prev;id=41 
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 41 LIMIT 1' at line 4


SELECT
ID_FILE
FROM smf_down_file
WHERE ID_CAT = AND approved = 1 AND ID_FILE > 41 LIMIT 1
File: C:/wayneker/htdocs/sleepy/Sources/Downloads2.php
Line: 4404 

That is mostly caused by the file with ID of 41 being deleted and someone using the old file links still
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SA™ on April 24, 2009, 01:14:31 AM
oh i see thanks wonderd why it dont happen all the time just now and again  thanks
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 24, 2009, 01:28:56 AM
Yeah, this is located in the PreviousDownload() function.  So basically when a user clicks on the Previous Download Link. 

EDIT:
And since the Previous Download link still exists for the 1st download in a Category, when it would be better to not be there at all (since there is no previous download), I suppose clicking on it will generate that error.  Probably the same can be said about the Next Download Link also for the last download in a Category.  You can test this out by doing it yourself and clearing your error log just before clicking the Previous Download Link for the 1st download in any of your categories.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Marcus J on April 24, 2009, 04:17:59 AM
I like the look of the enhanced add on.  I really want the uploaded screen shot. 

What is preventing this from becoming part of the base package?

Sorry for my ignorant question.  I'm just curious. 

Cheers.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 24, 2009, 04:57:11 AM
Thanks Marcus J for your feedback.  Glad you like this AddOn.  Waiting for a response from vbgamer45...
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: Arveles on April 24, 2009, 07:34:13 AM
How can I add quick file upload in Simple Portal block?
(http://img4.imageshack.us/img4/5451/20090424143141.jpg)
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: hartiberlin on April 24, 2009, 11:34:40 AM
Hi All,
I really need to move a big forum from
SMF 1.1.8/Tinyportal   to SMF 2.0RC1 with this Download
System.

Is there any option to rename the stored folder of the Tinyportal
Download Files into the VBgamer´s Download path and
just use some kind of PHP tool to put the files in the right
Download System Category ?

I really need to find a solution for this very soon,
cause I have to move about 260 Files this way from the TP Download
Section to the VBgamer´s Download System Categories.

How could I do this best ?

2. Is there any option to do this just via FTP and not single file by single
file manually ?
I want to avoid having to do it manually for all the 260 files...

Many thanks.

Regards, Stefan.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 24, 2009, 12:24:31 PM
Sent response via PM.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 24, 2009, 01:30:58 PM
Ok, sorry but I got no response from you via PM.
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: shaitanfr on April 25, 2009, 09:02:40 AM
Hello,

I try the enhanced add on but in first step, install.php

I have this error:

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/bug/install.php on line 40

SMF 1.1.8
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: SoLoGHoST on April 25, 2009, 09:16:01 AM
I don't believe this works for SMF 1.1.8, you should have SMF 2.0 RC1 installed.  I haven't tested this with 1.1.8.  Sorry :(
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: shaitanfr on April 25, 2009, 09:26:12 AM
Thank for the answer but  :'(
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 25, 2009, 10:41:39 AM
Quote from: shaitanfr on April 25, 2009, 09:26:12 AM
Thank for the answer but  :'(
It should work fine for SMF 1.1.x
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: shaitanfr on April 25, 2009, 11:02:15 AM
Hi Vbgamer45
Download Mod works well with SMF1.1.8, I have a problem to installing the enhanced add on. For now I'm stuck at step one
Install.php

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/bug/install.php on line 40
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: vbgamer45 on April 25, 2009, 11:06:16 AM
oh yeah Not sure if it would work then
Title: Re: Download System (1.1.5 Released!) SMF 2.0 Beta 4 Support Added!
Post by: shaitanfr on April 25, 2009, 11:10:31 AM
Yes, no luck
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 25, 2009, 04:16:52 PM
New Update! Added an easy import tool from Tiny Portal Downloads!

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.


Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 04:37:54 PM
shaitanfr - you can try the following install.php attached.

Please note, I haven't tested this for SMF 1.1.8, however, please let us know if it works for this version of SMF.  Make sure to do a backup of the files before overwriting them and a backup of the files that get edited as well.

Thanks :)

vbgamer45 - Feel free to use any or all of my AddOn features when you publish your next version.  Just ask that you include me, "SoLoGHoST" in there somewhere in with the credits and a link to the Graphics Mayhem site addy:  http://graphicsmayhem.com/GMForum/index.php and would also like to host it on Graphics Mayhem, if this is okay with you.

Please respond.  Thank You!

EDIT:  Attached File Removed.  Click on Enhanced Downloads Link on my Sig to get it for, both, SMF 1.1.x and SMF 2.0.x.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 25, 2009, 04:52:08 PM
Dea SoloGHoSt, you are the best.

I will try immediatly, I will using a test forum.

Quoteplease let us know if it works for this version of SMF.

Sure

Many Thanks  :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 25, 2009, 05:01:08 PM
Tryed, now

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/clone/install.php on line 41 

It was line 40 with the first version.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 05:14:30 PM
Ok, I'm sorry, I don't believe 1.1.8 supports the use of $smcFunc[], I will look into this and see if I can get this compatible for 1.1.8.  brb
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 25, 2009, 05:22:22 PM
Yes, i had take a look with Winmerge  $smcFunc[] is the problem.

for exemple, in Download Mod install for smf 1 and smf2, the différence:

Smf1.1.x

// File Ratings
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}down_rating
(ID int(11) NOT NULL auto_increment,
ID_FILE int(11) NOT NULL,
ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
value tinyint(2) NOT NULL,
PRIMARY KEY  (ID))", __FILE__, __LINE__);


Smf 2

// File Ratings
$smcFunc['db_query']('', "CREATE TABLE IF NOT EXISTS {db_prefix}down_rating
(id int(11) NOT NULL auto_increment,
id_file int(11) NOT NULL,
id_member mediumint(8) unsigned NOT NULL default '0',
value tinyint(2) NOT NULL,
PRIMARY KEY  (ID))");


QuoteI will look into this and see if I can get this compatible for 1.1.8.

Python programers on my site hope your success. And me too. For us, your add-on is important.

(sorry my english is bad)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 25, 2009, 05:23:29 PM
That would do it. That's why I have two different sets of files in my download modification one for SMF 1.1.x and one for SMF 2.0.x
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 05:26:45 PM
Thanks vbgamer45, will need to convert all files modified over to 1.1.8.  Am doing this now, so have a little patience with me shaitanfr.  Unless you want to upgrade to SMF 2.0 RC1 than no waiting necessary.  But, like I said, am working on this right now.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 05:28:31 PM
Quote from: vbgamer45 on April 25, 2009, 05:23:29 PM
That would do it. That's why I have two different sets of files in my download modification one for SMF 1.1.x and one for SMF 2.0.x
Please note that you have .svn folders in your package, in the downloads folder.  You should get rid of these hidden folders, not necessary for your MOD to work.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 25, 2009, 05:42:50 PM
Quote from: SoLoGHoST on April 25, 2009, 05:26:45 PM
Thanks vbgamer45, will need to convert all files modified over to 1.1.8.  Am doing this now, so have a little patience with me shaitanfr.  Unless you want to upgrade to SMF 2.0 RC1 than no waiting necessary.  But, like I said, am working on this right now.

Yes, of course, I would be patient. It's really great that you want to make this conversion and I am very grateful to you. I can not go to SMF2 yet. l I need Tinyportal and I should wait until it is developed for SMF2..
Many people still use Smf1.1.x and I think I would not be the only one who will use your add on.  :)

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 05:53:53 PM
Ok, thanks, already converted the install.php file, but will need to convert Downloads.php and Downloads.template.php files as well.  Not sure on exactly what changes vbgamer45 made to the new version 2.0 and how that will effect this addon, tho, I am still working from the 1.1.5 version, so hopefully the AddOn will still work after installing vbgamer45's 2.0 update.

Tho, if we were working together on this, might be better  :-X
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 25, 2009, 06:31:27 PM
Ok, I can give you an ftp access to a fresh Smf install and phpmyadmin with the Download Mod in 1.1.5 version. Or I can do all the test you want.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 25, 2009, 08:43:17 PM
Read your PM's.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 27, 2009, 02:21:11 AM
Ok, fully converted the Enhanced Downloads System AddOn to SMF 1.1.x.  You may download this Addon in the same spot.  The total package with both versions of SMF (2.0.x, and 1.1.x) are located here ==> Enhanced Downloads System AddOn (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11) for the Downloads System MOD.  Please note that I haven't tested this AddOn with any of the newer versions of this MOD.  Only tested it with version 1.1.5.1 and know that it works perfect with this version of the Downloads System MOD (1.1.5.1).  As You can see it working here => EDS on SMF 1.1.8 TEST SITE (http://passion-xbmc.org/addon/index.php?action=downloads)
If you'd like this AddOn to be incorporated with any newer version of the Downloads System MOD, please let me know.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 27, 2009, 04:42:45 AM
vbgamer45, While you may not feel a need to include my AddOn with your MOD, I highly recommend it.  As I have fixed the following problems with this MOD for SMF 2.0.x and SMF 1.1.x (by the way, your MOD works very well, and looks rather nicely in SMF 1.1.8, I can definitely tell that you've been coding for SMF for awhile :) Been only about 3 weeks for me ;)):

Problems FIXED for SMF 2.0.x with EDS AddOn installed:

1. SpellCheck not working for IE Browsers when Adding/Editing Downloads and Add/Editing Comments.  Fixed with my AddOn.

2. Empty Downloads would be created if a user would attempt to upload a file that the server was not setup, or able to handle files of that size, when it falls in between the filesize of that specified in the Downloads Configuration Settings.

Problem in both SMF 2.0.x and 1.1.x (FIXED with EDS AddOn installed):

3. If you have a Category set to display Added Downloads to an SMF Board, it creates a post when the download is added, however, if the user edits the download after this, the new info does not get updated in the post for that board.  Even further, if the user deletes that download, the post still remains in that board, giving false information, since the download doesn't exist anymore.  This is the case for both SMF 1.1.x and SMF 2.0.x, FIXED with the Enhanced Downloads System ADDON -  If download get deleted, it is also deleted from the post.  If download gets edited, then it is also updated in the post.

Please take my AddOn, as I debugged the hell out of it, so it should be perfect for both SMF 2.0.x and 1.1.x versions.  Take a look at it, and if it meets your standards, please use these files instead of the files you are using now, and just update these.  Ofcourse, it's your decision, I apologize if this post offends you.  I am just trying to lend a helping hand as best that I can.  I don't want anything from you in return.  I think your MOD has a lot of potential and was very glad to expose some of its potential in my AddOn.

Please respond either way, and know that I do not wish to take anything away from you, but just hope that I've helped you even a little bit with your MOD.  Just ask that I can also host it at Graphics Mayhem if that is not too much too ask.  Ofcourse just the FREE VERSION if that is ok with you.  Please consider this.

Thank You.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: shaitanfr on April 27, 2009, 06:28:25 AM
Thank you a thousand times SoLoGHoST.  My English is too poor to tell you how what you did is great.  :D

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 27, 2009, 09:13:41 AM
Sure, your welcome :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: m1ss1nnocent on April 27, 2009, 01:04:18 PM
Hi, I am sorry if this has been covered before and I have missed it :/

Anyhoo, I have been using the downloads system for a long time with no issues whatsoever...however now I am unable to upload my files :(

I constantly get a time out etc. I am using SMF 1.1.8 and the donwloads sstem I have been using for ages is version 1.0.4

Do you think this is due to some changes with my hist rather than the package?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 27, 2009, 05:08:37 PM
vbgamer45 - just saw your newest version.  Probably not a good idea to have the adminIndex() function in the AddCategory/EditCategory/DeleteCategory functions, since if the Admin gives permissions for one of his users to have Admin Priviledges for the Downloads System, they will also inherit Admin Priviledges for the Forum as well  >:(

m1ss1nnocent - You should install the newest version of the Downloads System MOD.  Also, have you tried my EDS AddOn, please do, fixes some problems when uploading files via the Add Download link.  It's in my Sig.

Also, have tested my AddOn with Downloads System 1.2.1 and installs perfectly.  Though, vbgamer45's tiny portal updates, and any other updates after 1.1.5.1 are not currently in this AddOn.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: scatman_mv on April 27, 2009, 08:23:12 PM
Hi there

Firstly thanks vbgamer for a great mod.
Once sorted my php issue it's been smooth sailing.

I do have a few requests, perhaps for the pro edition yet to come?

-Could there be something added for a box within Simple Portal, like latest download available?

-Also, would it be possible for guests to view that there are files there, and what files, but simply not be able to access them?

-Another thing I noted was I have categories with sub categories, and the files in my sub categories can pile up.
Instead of the prime category counting the number of files, could it count the number of sub cats, with a file count per sub cat?
I realise it would add more queries, and space to occupy, but it would make the system a bit more involved for the people downloading.

Apart from that, great mod, and I am getting good use out of it.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 27, 2009, 08:29:53 PM
Quote from: scatman_mv on April 27, 2009, 08:23:12 PM
Hi there

Firstly thanks vbgamer for a great mod.
Once sorted my php issue it's been smooth sailing.

I do have a few requests, perhaps for the pro edition yet to come?

-Could there be something added for a box within Simple Portal, like latest download available?

-Also, would it be possible for guests to view that there are files there, and what files, but simply not be able to access them?

-Another thing I noted was I have categories with sub categories, and the files in my sub categories can pile up.
Instead of the prime category counting the number of files, could it count the number of sub cats, with a file count per sub cat?
I realise it would add more queries, and space to occupy, but it would make the system a bit more involved for the people downloading.

Apart from that, great mod, and I am getting good use out of it.
I will see what I can do sounds like great requests
Early preview hopefully in the next couple of weeks http://www.smfhacks.com/storedemo/index.php?action=downloads
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Marcus J on April 27, 2009, 10:57:09 PM
Quote from: vbgamer45 on April 25, 2009, 04:16:52 PM
New Update! Added an easy import tool from Tiny Portal Downloads!

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.




I can't put into words how awesome that is!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 27, 2009, 11:01:12 PM
Quote from: Marcus J on April 27, 2009, 10:57:09 PM
Quote from: vbgamer45 on April 25, 2009, 04:16:52 PM
New Update! Added an easy import tool from Tiny Portal Downloads!

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.




I can't put into words how awesome that is!
Glad you liked it.  Took a little bit of time but was worth it.
Quote from: SoLoGHoST on April 27, 2009, 05:08:37 PM
vbgamer45 - just saw your newest version.  Probably not a good idea to have the adminIndex() function in the AddCategory/EditCategory/DeleteCategory functions, since if the Admin gives permissions for one of his users to have Admin Priviledges for the Downloads System, they will also inherit Admin Priviledges for the Forum as well  >:(

m1ss1nnocent - You should install the newest version of the Downloads System MOD.  Also, have you tried my EDS AddOn, please do, fixes some problems when uploading files via the Add Download link.  It's in my Sig.

Also, have tested my AddOn with Downloads System 1.2.1 and installs perfectly.  Though, vbgamer45's tiny portal updates, and any other updates after 1.1.5.1 are not currently in this AddOn.
admindex is needed to show that it is selected in the admin section in SMF 1.1.x it does not give them admin permissions of the forum just access to the downloads admin section if they have access to it.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on April 28, 2009, 01:33:47 AM
Sounds good and all vbgamer45, but you do not have AddCategory, EditCategory, and/or DeleteCategory in the Administration section of SMF 1.1.x anywhere.  So why would adminIndex() function be needed here?  I have taken this out with my AddOn, and works just fine without it.  Nothings changed, cept for the box on the left in the pic below is not there as this does nothing anyways, and if I'm an Admin, I don't need to see the Admin Settings when Adding/Editing/Deleting Categories, as this is not even an Admin Setting in there, but I think I follow you with your train of thought on this tho.  IMO, If I want to see the Admin Settings, I'll just click on the Admin Menu Button.  I can see you using this function everywhere else you have it, but just don't understand why it is in AddCategory, EditCategory, and DeleteCategory since these functions are performed from within the Downloads Section, not located anywhere in the Admin Section.  I disagree with you on adminIndex() being needed in these specific functions.  I don't have it with my AddOn and it works just fine :)

Here is what the user see's:
(http://acs.graphicsmayhem.com/images/AddCategory.png)

So, you were right here, as my assumption was wrong.  For when the user clicks on either of these links on the left it just tells them that they do not have any rights in here.  I don't see any access to the Downloads Admin Section in here, sorry.  Tho, it is in here when clicking on the "Settings" link from the Downloads index.  Wouldn't it be better to not display this at all for AddCategory, EditCategory, and DeleteCategory??  Ofcourse, it's your MOD, do what you wish with it.  Sorry for the wrong accusation in the prior post and thanks for clearing that up. :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: scatman_mv on April 29, 2009, 09:01:35 AM
Hey vbgamer

Sorry, I did forget one more thing.

When you go to the list of items added from a user, it shows the files and file size, but not where they have been put (aka, in what category)
Could this also perhaps be added?

Thanks.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 10:03:08 AM
Hi VBGamer  and ALL,
how do I best convert from SMF 1.1.8 with Tinyportal0.983
to SMF 2.0RC1 and PortaMX 0.957r2 with this DOWNLOAD SYSTEM ?

Do I first have to add the
DOWNLOAD SYSTEM to my SMF 1.1.8, so that this mod takes over
the Tinyportal downloads ?

Then disable Tinyportal0.983 and make an upgrade to SMF 2.0RC1 ?
(But this will also delete ALL MODS !)

So how do I do the conversion from
from SMF 1.1.8 / Tinyportal 0.983
to SMF 2.0RC1 / PortaMX 0.957r2 + Download System 1.2.1
the best way ?

There was no documentation or readme file  about the import
function in this new release....

Many thanks in advance.

Regards, Stefan.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 02:40:58 PM
Okay, I could not wait and installed the Download System Mod now first on
my SMF 1.1.8 / TP 0.983 forum
and executed the Import Function that is in the
Admin panel.

Then the following error come sup:


Database Error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1,)' at line 1
File: /xxxxxx/xxxxx/xxxxx/overunity/Sources/Downloads.php
Line: 5545

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

INSERT INTO smf_down_rating (ID_MEMBER, ID_FILE, value) VALUES (, 1,)


So what should I do now ??

Please help.

Many thanks in advance.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 04:51:22 PM
Hi,

I now upgraded my overunity.com
forum to
SMF2.0RC1 + PortaMX0.957r2 and
then installed Download System 1.2.1

and when I then try to import from Tinyportal,

it gives me the error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 6,)' at line 1
File: /xxxxxxxx/xxxxxxxx/yyyyyyyy/zzzzzzzzzz/overunity/Sources/Downloads2.php
Line: 5585

INSERT INTO smf_down_rating (ID_MEMBER, ID_FILE, value) VALUES (, 6,)

Hmm, are the Tinyportal downloads still now in the database ?

The problem is also in this moment, that I can not restore my SMF 1.1.8 database in this moment,
which I saved before the upgrade, cause my hoster has a limit on the database file to 100 Mbytes
and the overunity.com database is 266 Mbytes big...
Damn.

So what should I do now ?

I don´t want to put my forum live before I have not resolved this
Tinyportal import issue.

The download system page shows the former categories, but it does not import files,
only 1 file was imported during several tries...

Hmm,please can you help me ?

Many thanks in advance.

Regards, Stefan.

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 29, 2009, 08:24:43 PM
Released an update
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
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 08:26:33 PM
Many thanks for the update,
can it just be overinstalled onto the old 1.2.1 version ?

Many thanks.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 29, 2009, 08:27:58 PM
Quote from: hartiberlin on April 29, 2009, 08:26:33 PM
Many thanks for the update,
can it just be overinstalled onto the old 1.2.1 version ?

Many thanks.
First uninstall the old version then install the new version

Then after installed deleted all the old categories from the downloads page that was already imported then after they are deleted run the import tool again.


The import tool will not delete the old entries from Tiny Portal or the old files in tiny portal since some people may want to go back or if the import was to fail for a reason people would be missing some data.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 08:30:11 PM
Okay, I will try it now and report back in a few minutes.
Stay tuned..
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 08:35:52 PM
Hmm,
got the following error,when trying to deinstall the
version 1.2.1 on SMF2.0RC1 + PortaMX 0.957r2 +Sitemanp Mod + Admod 2.3.4
in the Default Template:


Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "Downloads System":
Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Modifications.english.php    Test failed
*    2.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Who.english.php    Test successful
*    3.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
      1.    Replace    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
*    4.    Execute Modification    ./index.php    Test successful
      1.    Replace    ./index.php    Test successful
*    5.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Replace    ./Sources/Admin.php    Test successful
*    6.    Execute Modification    ./Sources/Subs.php    Test successful
      1.    Replace    ./Sources/Subs.php    Test successful
      2.    Replace    ./Sources/Subs.php    Test successful
*    7.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Replace    ./Sources/ManagePermissions.php    Test successful
      2.    Replace    ./Sources/ManagePermissions.php    Test successful
   8.    Delete File    ./Sources/Downloads2.php    
   9.    Delete File    ./Themes/default/Downloads2.template.php    
   10.    Delete File    ./Themes/default/languages/Downloads.english.php    
   11.    Delete File    ./Themes/default/languages/Downloads.english-utf8.php    
   12.    Execute Code    DownloadUnInstall.php


Should I deinstall anyway ?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 29, 2009, 08:37:20 PM
Yes those two tests can fail proceed with uninstall
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 08:39:44 PM
Okay, have deinstalled it now.
Will now install the new version and report back.
Stay tuned.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on April 29, 2009, 08:49:35 PM
Okay, great ,seems to have worked now !
Many thanks VBGamer, you are my hero now ! ;)

Many thanks again.

Regards, Stefan.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 29, 2009, 08:52:51 PM
Quote from: hartiberlin on April 29, 2009, 08:49:35 PM
Okay, great ,seems to have worked now !
Many thanks VBGamer, you are my hero now ! ;)

Many thanks again.

Regards, Stefan.
Glad to help enjoy.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Marcus J on April 30, 2009, 02:01:52 AM
Hey VBGamer

When I try to run the migration script I get this error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
File: /home/********/public_html/Forum/Sources/Downloads.php
Line: 5443

Any thoughts?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Eclipse16V on April 30, 2009, 05:27:55 AM
Is here any ony who has the german language of this Mod?  :-[
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 30, 2009, 08:02:00 PM
Quote from: Marcus J on April 30, 2009, 02:01:52 AM
Hey VBGamer

When I try to run the migration script I get this error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
File: /home/********/public_html/Forum/Sources/Downloads.php
Line: 5443

Any thoughts?
Sounds like a category is missing a parent try this.
Open Sources/Downloads.php
Find

// Get the new parent id
if ($catRow['parent'] != 0)
$ID_PARENT = $catArray[$catRow['parent']];

Change to


// Get the new parent id
if ($catRow['parent'] != 0)
$ID_PARENT = $catArray[$catRow['parent']];
             
               if (empty($ID_PARENT))
                  $ID_PARENT = 0;


Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Marcus J on April 30, 2009, 09:09:39 PM
I made those changes, and the migration tool seems to work.  It has been running for about twenty minutes.  There is no progress bar or anything. 

Do you think the script has stalled or should I just let it go?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 30, 2009, 09:17:50 PM
I would let it go as long as the page does not time out. How many files are you importing?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Marcus J on April 30, 2009, 10:02:10 PM
I'm not sure on the number.  In the hundreds.  The page finally said done, but it went white/blank.  The forum still responds slowly like something is ticking in the background.

It looks like it worked, mostly.  Does it duplicate the files in the TP folder or does it just link to them?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on April 30, 2009, 10:07:29 PM
It duplicates the files. So you can check both of them to compare and free do with you want.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: papabill on May 04, 2009, 08:48:43 AM
All I get when I try to add a download is "An Error Has Occurred! You need to enter a download title. "  I'm trying to install it to SMF 1.1.8
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 04, 2009, 08:59:58 AM
Quote from: papabill on May 04, 2009, 08:48:43 AM
All I get when I try to add a download is "An Error Has Occurred! You need to enter a download title. "  I'm trying to install it to SMF 1.1.8
How large of a file?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: papabill on May 04, 2009, 09:03:10 AM
Most of these files exceed 100Mb. I've already set my download system mod to accept files over 200Mb
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on May 04, 2009, 01:35:43 PM
Hello papabill, I believe it is a server side issue, but if you install my addon, ENHANCED Downloads System (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=11), it should tell you what the problem is.  Ofcourse if you are wanting to keep the TP Downloads Import Tool, don't install this addon, otherwise, try the AddOn and let me know if this fixes your problem.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 04, 2009, 08:24:34 PM
Quote from: papabill on May 04, 2009, 09:03:10 AM
Most of these files exceed 100Mb. I've already set my download system mod to accept files over 200Mb
Files of that size probably are not recommend for post uploads.
You need to also increase your php and webserver limits.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 05, 2009, 08:55:20 PM
Hi VBGamer,
there is still a problem with the WAP2 interface.

If I use:

http://www.overunity.com/index.php?wap2

It gives me the error:

Notice: Undefined index: downloads_menu in /mounted-storage/home104b/sub001/sc11940-GNVW/overunity/Sources/Subs.php on line 3872


Also the importated TinyPortal File numbers don´t match the Download System
numbering...

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 05, 2009, 09:05:25 PM
Quote from: hartiberlin on May 05, 2009, 08:55:20 PM
there is still a problem with the WAP2 interface.

If I use:

http://www.overunity.com/index.php?wap2

It gives me the error:

Notice: Undefined index: downloads_menu in /mounted-storage/home104b/sub001/sc11940-GNVW/overunity/Sources/Subs.php on line 3872
That maybe a bug with SMF itself if SMF is not loading the changes to the modifications language file.

Quote from: hartiberlin on May 05, 2009, 08:55:20 PM
Also the importated TinyPortal File numbers don´t match the Download System
numbering...
You mean the download file count is wrong? Do you have sub categories? If so do you have count subcategories totals enabled.  Also subcategory counting will only go one level deep.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 05, 2009, 09:12:13 PM
Quote from: vbgamer45 on May 05, 2009, 09:05:25 PM
Quote from: hartiberlin on May 05, 2009, 08:55:20 PM
there is still a problem with the WAP2 interface.

If I use:

http://www.overunity.com/index.php?wap2

It gives me the error:

Notice: Undefined index: downloads_menu in /mounted-storage/home104b/sub001/sc11940-GNVW/overunity/Sources/Subs.php on line 3872
That maybe a bug with SMF itself if SMF is not loading the changes to the modifications language file.


Hmm, what should I test or try out ?

I also have a problem,
that the caching of my SMF 2.0RC1 + PortaMX 0.957r2+ Download System
does not work.
There are no files stored in the Cache folder,
although the server supports Leve1 caching (recommended)
and the Cache directory is set to 777 Permission.


Quote from: hartiberlin on May 05, 2009, 08:55:20 PM
Quote
Also the importated TinyPortal File numbers don´t match the Download System
numbering...
You mean the download file count is wrong? Do you have sub categories? If so do you have count subcategories totals enabled.  Also subcategory counting will only go one level deep.

No only 3 categories.

As for example , the File, that was called:

mysite.com/tpdownload?=163
has no longer the
number 163 in the Download System numbering.

So it is hard to say, which former Tinyportal Download file
is now the Download System file...
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 05, 2009, 09:16:24 PM
The file numbers will be different. The ID is not converted between the two systems since there could already be existing downloads that exist with that id.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 09, 2009, 11:49:32 AM
1.2.3
+Added most downloaded download index page block
+Added total download line in the main page blocks
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 09, 2009, 12:43:58 PM
1. Must Version 1.2.2 first be deinstalled before installing the new version ?

2. Will it fix this WAP problem ?

Quote
If I use:

http://www.overunity.com/index.php?wap2

It gives me the error:

Notice: Undefined index: downloads_menu in /mounted-storage/home104b/sub001/sc11940-GNVW/overunity/Sources/Subs.php on line 3872
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 09, 2009, 12:47:21 PM
1. Yes it should be if possible.

2. Does not fix that issue, it is an smf bug.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Sudhakar Arjunan on May 09, 2009, 02:57:32 PM
Quote from: vbgamer45 on May 09, 2009, 11:49:32 AM
1.2.3
+Added most downloaded download index page block
+Added total download line in the main page blocks

Thanks for the upgrade Vbgamer45.

But if there would be a upgrade option. It could be an added advantage.

Yes wap issue was an smf bug as noticed earlier.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 09, 2009, 06:46:47 PM
Quote from: vbgamer45 on May 09, 2009, 12:47:21 PM


2. Does not fix that issue, it is an smf bug.

Where can I read more about this  bug ?

I have searched via the site search form, but it did not find anything...

Many thanks.

Regards, Stefan.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on May 10, 2009, 12:05:25 AM
Quote from: vbgamer45 on May 09, 2009, 11:49:32 AM
1.2.3
+Added most downloaded download index page block
+Added total download line in the main page blocks
I have already done this in my Enhanced Downloads System AddOn also.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: The_Wii_Nes_Boy on May 10, 2009, 09:47:30 AM
Is the there any way to intergrate this with Fustrate's (http://www.simplemachines.org/community/index.php?action=profile;u=108127) "Advanced Reputation System"?

Where and what whould be the necassery edits required?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 10, 2009, 09:49:50 AM
What parts would you like to see integrated?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: The_Wii_Nes_Boy on May 10, 2009, 02:28:33 PM
Well when people upload items, the post that is automaticlly made in the forums I noticed that it doesn't add reputation points for that post. Any way to fix that? Or to add repuation points for uploads in general
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: qtime on May 10, 2009, 05:11:47 PM
it's a great mod, I like to know if it possible to decrease shop credits if someone wil download, I find the option to increase shop credits for uploading.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 10, 2009, 05:14:26 PM
Not built in but possible to do
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: qtime on May 10, 2009, 05:17:15 PM
is it possible to give the code? I can add myself easily...
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 10, 2009, 07:11:58 PM
Yeah search Downloads.php find shop code there are spots where it adds points
Just copy that to the  download_downfile function and change it to subtract points and you are set.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: qtime on May 10, 2009, 07:13:57 PM
ok many thanks for your advice, I will try this week and feedback!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: The_Wii_Nes_Boy on May 11, 2009, 05:59:54 AM
Quote from: vbgamer45 on May 10, 2009, 05:14:26 PM
Not built in but possible to do
Dude it would be awsome if it could be intergrated, it would take SMF one step closer to being perfect. :D
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: qtime on May 11, 2009, 06:05:57 AM
it is nice for a share option, like upload 3 files and download 9 with the credit system
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 11, 2009, 09:18:32 AM
Hi VBGamer,

did you change anything at the database from Version
1.2.2 to 1.2.4 ?

I just had to restore some files due to a hack on my domain
and I just restored it from another domain,
where 1.2.4 was already installed
and at overunity.com
only 1.2.2 was installed.

So if I restored all the Themes and Sources directory files
with the 1.2.4 files is this enough
or were there made also some database changes ?

Many thans.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 11, 2009, 07:34:12 PM
There are no database changes from 1.2.2 to 1.2.4 and if there were the built in upgrade would take care of them.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: minos on May 12, 2009, 04:45:31 PM
ehm .. its possible admin  to add links but input any user of my forum as uploader?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 13, 2009, 08:01:26 PM
You can change who owns the download by editing the download
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: hartiberlin on May 14, 2009, 02:52:05 PM
Quote from: vbgamer45 on May 11, 2009, 07:34:12 PM
There are no database changes from 1.2.2 to 1.2.4 and if there were the built in upgrade would take care of them.

I did not run the new version as an update.

I just copied the files over from another domain,where I installed the new
version.

That is why I asked, if theere were changes in the database.
So I know now, that it was enough and okay, just to copy the PHP and template files, right ?

Regards, Stefan,
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on May 14, 2009, 05:38:43 PM
Yes it is ok just to copy them over.
Title: Serious feature request
Post by: taha116 on May 27, 2009, 04:24:30 PM
I just thought of a really good feature that should be added to the system.

Can you add the ability to charge people a certain amount of posts, from thier post count for downloads, and let us put in the number of posts that a certain download is worth
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Enders on May 29, 2009, 02:50:44 AM
Can you change the text like "up" "down" "delete"..... to an icon?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Joe N on May 29, 2009, 06:11:29 AM
Great Mod
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Özgür on May 29, 2009, 12:13:36 PM
If i try delete comment get this

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 2
Dosya: /home/rockayse/public_html/rk/Sources/Downloads2.php
Satır: 2529

If my user try add comment

../index.php?action=downloads&amp;sa=comment2
Database error: Unknown column 'money' in 'field list'
File: /home/rockayse/public_html/rk/Sources/Downloads2.php
Line: 2358


Edit: I remove all shop values for my smf_settings table. And now my problem is solved.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: bengalistation on June 04, 2009, 11:58:16 AM
bro can you please tell me if these 2 options can be added and how:
#1 wait time in between downloads
#2 max download per day

i dont know if its already been submitted or not, if did then really sorry and will be very glad if u tell me the procedure, great mod bro :)
Thanks
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on June 04, 2009, 01:30:51 PM
I have added those two features in downloads pro
http://www.smfhacks.com/download-system-pro.php
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: DELHI_BOY on June 17, 2009, 03:05:38 PM
I installed this mod but it do not showing downloads. Help needed.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Eclipse16V on June 17, 2009, 03:24:00 PM
And what does it show?
Any error?
SMF Version?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on June 17, 2009, 04:13:37 PM
Quote from: Enders on May 29, 2009, 02:50:44 AM
Can you change the text like "up" "down" "delete"..... to an icon?
Sure, very easy to do in the Downloads.template.php file or the Downloads2.template.php file, depending on your SMF Version.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: DELHI_BOY on June 18, 2009, 01:11:27 AM
i am using smf2 rc1-1. It showing No errors but it do not showing any record in stats of download system. No file at all. All fields are 0.
I am using default theme.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 23, 2009, 03:46:39 PM
awesome mod!!
can you add a progress bar to it?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on June 23, 2009, 07:59:51 PM
Maybe but depends on your server setup
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 23, 2009, 10:41:05 PM
what if you used swf upload or something similar... it's so perfect...

but seriously, it's a DOWNLOAD system, files uploaded to it will not be less than 5 or 10 mb, so shouldn't the progress bar be one of the priorities of this system?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on June 23, 2009, 11:51:00 PM
Files uploaded are for all kinds of purposes.  If you look at Graphics Mayhem, you'll see that the maximum upload amount is no more than 10 MB.  As files uploaded can be any number of files from, graphics, gadgets, skins, MODS, Themes, games, mp3's, and the list goes on and on and on.  I don't think the average user needs to have a download system allowing users to upload more than 10 MB per file, unless they are allowing uploading of Video's and or Movies.

Just my opinion, and I may be alone on this, but a progress bar to indicate a file being uploaded is riduculous, however, a progress bar indicating how much quota space you used or will be using, compared to how much is available to you, by uploading this file would be interesting.  Again, just my 2 cents on this.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 24, 2009, 09:11:23 AM
thanks soLoGhost, but i'm not with you in that one
even 2 mb withouth a progress bar can be so annoying... put in consideration that not all of them have high rate road runner connection, most have an average of 512 kb to 1 mb connection (globally)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on June 24, 2009, 09:07:49 PM
Will think about it not sure maybe an option.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 25, 2009, 02:06:32 AM
thank you very much
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 26, 2009, 11:31:19 AM
by the way, i mis-asked the feature... i meant by progress bar: estimated time left, megas uploaded... upload rate
the cool progress bar is an option, but who needs it when the above information is included

thanks again :D
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on June 26, 2009, 09:11:48 PM
estimated time left could be tricky. Progress bar I can do something using Yahoo upload component.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 27, 2009, 03:51:17 PM
actually i know too little about it... i don't know if these are useful too, couldn't use them myself, but i'm sure they can come in handy in a way or another

http://swfupload.org/

http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-uploader


please tell me what do you think about it... copper mine 1.5 (which is a mysterious release that i can't find much about it...) is using it now...
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on June 27, 2009, 05:22:26 PM
Will check that one out too. Seems less complex but easier to setup that yahoo's
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: drhamza on June 27, 2009, 05:52:51 PM
you're the expert here, cheers

i know nothing about this stuff to be honest :D
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Bluey on July 01, 2009, 06:41:13 AM
Ok I have read this whole topic and am still not able to fix my problem. it has been asked a few times but no real answers so here goes.  I have SMF 1.1.9 with the Down Loads system enabled. It works fine until you try to add a file greater than 1.5 mb.  It appears to upload it but when you try to download it you get a 404 - File Not Found error.

I have double checked all the settings and contacted the web host who stated they allow up to 50mb in any one upload. Please this is a really great mod and my people would love to be able to upload bigger files.

Here is the error from the log

Error message '2: move_uploaded_file() [&lt;a href='function.move-uploaded-file'&gt;function.move-uploaded-file&lt;/a&gt;]: Unable to move '/tmp/phpoYkEeB' to '/home/jmforumc/public_html/downloads/1_01_07_09_5_50_41'
File: /home/jmforumc/public_html/Sources/Downloads.php
Line: 1483'

Thks
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: ReVoKe on July 01, 2009, 06:52:06 PM
I have the mod its just how could i able the mod to display the discription on the outside of the actual download e.g.:  http://darkblizz.org/dlMod.PNG
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 01, 2009, 08:10:38 PM
Quote from: Bluey on July 01, 2009, 06:41:13 AM
Ok I have read this whole topic and am still not able to fix my problem. it has been asked a few times but no real answers so here goes.  I have SMF 1.1.9 with the Down Loads system enabled. It works fine until you try to add a file greater than 1.5 mb.  It appears to upload it but when you try to download it you get a 404 - File Not Found error.

I have double checked all the settings and contacted the web host who stated they allow up to 50mb in any one upload. Please this is a really great mod and my people would love to be able to upload bigger files.

Here is the error from the log

Error message '2: move_uploaded_file() [&lt;a href='function.move-uploaded-file'&gt;function.move-uploaded-file&lt;/a&gt;]: Unable to move '/tmp/phpoYkEeB' to '/home/jmforumc/public_html/downloads/1_01_07_09_5_50_41'
File: /home/jmforumc/public_html/Sources/Downloads.php
Line: 1483'

Thks
Your php settings need to be increased to handle larger uploads.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Bluey on July 02, 2009, 01:47:18 AM
I looked into that. This is the info I got from my phpinfo.php file. The first value is the Local Value and the second is the Master Value. Are they all ok?

upload_max_filesize   16M          100M
upload_tmp_dir           no value   no value
user_dir                           no value   no value
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 02, 2009, 08:01:27 PM
post_max_size important too
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Bluey on July 02, 2009, 08:06:32 PM
Quote from: vbgamer45 on July 02, 2009, 08:01:27 PM
post_max_size important too

post max size is 16mb by local and master?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 02, 2009, 08:16:27 PM
MIGHT be permissions issue then not having permissions to move file one place to the other
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Bluey on July 02, 2009, 08:22:06 PM
Quote from: vbgamer45 on July 02, 2009, 08:16:27 PM
MIGHT be permissions issue then not having permissions to move file one place to the other

Ok I will check all permissions. What temp file does the mod store the upload in first until it transfers it?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 04, 2009, 06:32:15 PM
That would be the php upload directory set in your php settings.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Bluey on July 09, 2009, 04:44:08 AM
Quote from: vbgamer45 on July 04, 2009, 06:32:15 PM
That would be the php upload directory set in your php settings.

This is what is set. Could this be the problem

upload_tmp_dir   no value   
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: heinandar on July 09, 2009, 05:26:30 AM
vbgamer
how about Upload Progress Bar?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 09, 2009, 08:44:25 AM
Maybe a little tricky to add though.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: ReVoKe on July 10, 2009, 01:49:17 AM
Quote from: ReVoKe on July 01, 2009, 06:52:06 PM
I have the mod its just how could i able the mod to display the discription on the outside of the actual download e.g.:  http://darkblizz.org/dlMod.PNG
Uh? help please?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 10, 2009, 08:55:28 AM
You have to modify download.template.php. Read up on php coding at w3schools
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: dzinerfusion on July 11, 2009, 11:41:33 PM
Hi is there a way to allow guest to browse your downloads, but not able to download it. Like when you go on the page with the download link in it, It will say ''please register or login to download'' instead of the link to the file. Because now, if I allow access to the downloads, they can browse it and download it.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 12, 2009, 12:25:44 AM
Not currently do not have a downloads view permission for the lite version.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: asifnur on July 20, 2009, 12:53:08 AM
vbgamer buddy u are very nice coder..
also if u do the progress bar and time remaining thing to upload this mod would be sick!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: dancer4k on July 20, 2009, 07:33:08 PM
Hi, I've seen this mod on a forum and it's very nice. A member of my forum has asked me to install it. If I were using the default theme I'm sure I could do it no problem. However, I'm using Anecdota and I'm not ashamed to say that I've got absolutely no clue as to how to go about installing the mod. I have looked at all the recommended material and nothing makes sense to me. I simply can't find the code I need to edit. I'm looking for any advice!

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 20, 2009, 07:45:37 PM
For custom themes you just need to edit the index.template.php and add a link to the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: dancer4k on July 23, 2009, 02:49:31 PM
When trying to upload files that are even less than 2mb, I'm getting an error "Please enter title" or something similar (of course there already IS a title). I have adjusted the settings in the admin and also edited the upload max in the php.ini file to 100m.

Anyone any ideas on this error? At the moment my members can only upload files that are <2mb, which is just pointless.

:)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 23, 2009, 02:55:17 PM
Check out my post here
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: dancer4k on July 23, 2009, 04:27:23 PM
Thanks I will look into that now.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: dancer4k on July 23, 2009, 05:04:53 PM
Thanks vbgamer, I had neglected to edit post_max_size first time round.
I realise this was talked about on page 44
O:)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 23, 2009, 05:09:19 PM
Glad you got it working
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on July 28, 2009, 04:07:34 PM
Hi I downloaded this today.  I have smf version 1.1.10 and I use my own theme, which is of course based on one of the basic themes, just recoloured etc.  www.prettysims.com.  I can't work out how to intergrate this mod into my theme.  I have read through this to the point of red eyes and a headache.  I tried the modparser utility by dansoft but it doesn't support my version.

Can you help an old girl out with simple instructions on how to get this installed?  I can't find any .xml file to change as there isn't one, they are all php.  The instuctions for adding a mod to a default theme on this ite are mind boggling.  I can change code, I just need to know what to change and where.

Thanks in advance.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 28, 2009, 04:19:28 PM
You need to alter the index.template.php of your custom theme and alter the template_menu function of that file to include a link to the gallery
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on July 28, 2009, 04:51:01 PM
Quote from: vbgamer45 on July 28, 2009, 04:19:28 PM
You need to alter the index.template.php of your custom theme and alter the template_menu function of that file to include a link to the gallery

I'm sorry but I don't know what to edit or what to put in it's place.  i did try the main forum but it is telling us to find the .mod or the xml and there are none of either.

I need to know what to write and where in the code.  I have looked and used the instructions I can find on this site but it just doesn't match up.  The theme is called Pretty Sims Theme

Thanks for helping, I'm out of my depth here.  What gallery?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 28, 2009, 10:21:27 PM
Attach your index.template.php of the template and we can add download systems support.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on July 29, 2009, 05:20:40 AM
Thank you, that is really kind of you and I appreciate your help.  I attached it here.

Just one more thing.  If this works the way I expect it to, I will be making a donation.  I know how much work goes into something like this.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on July 29, 2009, 05:04:09 PM
I do believe I may have fixed this myself.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on July 29, 2009, 08:31:13 PM
Glad you got it working.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on July 31, 2009, 07:59:21 AM
Quote from: vbgamer45 on July 29, 2009, 08:31:13 PM
Glad you got it working.

Nope, it's all gone to pot since I installed the pro version, nobody can download a thing.  I have requested support for this in the support section
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on August 08, 2009, 12:55:56 PM
Hello, just wanted to let you know that your Who's Online (or more specific, who's viewing this Category) does not work.  Only gets the current user who is viewing the category and never gets all other users viewing the category.  Always says My Username and 0 Guests are viewing this category.  Atleast this is the case for SMF 2.0.x versions.  I have tested with multiple users and still says this.

Well, catch ya laterz...
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 16, 2009, 04:16:17 PM
Quote from: SoLoGHoST on August 08, 2009, 12:55:56 PM
Hello, just wanted to let you know that your Who's Online (or more specific, who's viewing this Category) does not work.  Only gets the current user who is viewing the category and never gets all other users viewing the category.  Always says My Username and 0 Guests are viewing this category.  Atleast this is the case for SMF 2.0.x versions.  I have tested with multiple users and still says this.

Well, catch ya laterz...
Fixed

1.2.5
!Fixed who is viewing category/download to now show all members viewing that page
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: zach21uk on August 20, 2009, 05:58:55 AM
I require a little bit of support here regarding a styling issue I am having.

My downloads section is located here: http://hailingfrequency.com/boards/index.php?action=downloads

I am having a styling issue with a certain page of the download system where hyperlinks are appearing white on a white background.   This is ocurring because I have white hyperlinks used elsewhere on the template.  I therefore need to add a CLASS to the specific table that contains the links in question, however due to the vastness of the download system code, I am having trouble locating the line of code with the area in question.

Here is the section that is the problem: http://hailingfrequency.com/boards/index.php?action=downloads;cat=21

It is basicaly occuring whenever you go into a category and attempt to view the downloads in the section.  The links are appearing white on the white background.

Can you please let me know in which file and on which line, the table is which I should attempt to add my styling class too?

Thanks
Zach
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: bmbpdk on August 20, 2009, 06:38:19 AM
WORKS PERFECT!!!

THE BEST MOD FOR SMF!


But are there any Danish language pack for this?
Im using 1.2.5



Cheers
Brian
Denmark
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 20, 2009, 08:54:24 AM
Quote from: bmbpdk on August 20, 2009, 06:38:19 AM
WORKS PERFECT!!!

THE BEST MOD FOR SMF!


But are there any Danish language pack for this?
Im using 1.2.5



Cheers
Brian
Denmark
No Danish pack but it is easy to translate just translate /themes/default/languages/downloads.english.php
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: zach21uk on August 20, 2009, 09:33:38 AM
Quote from: zach21uk on August 20, 2009, 05:58:55 AM
I require a little bit of support here regarding a styling issue I am having.

My downloads section is located here: http://hailingfrequency.com/boards/index.php?action=downloads

I am having a styling issue with a certain page of the download system where hyperlinks are appearing white on a white background.   This is ocurring because I have white hyperlinks used elsewhere on the template.  I therefore need to add a CLASS to the specific table that contains the links in question, however due to the vastness of the download system code, I am having trouble locating the line of code with the area in question.

Here is the section that is the problem: http://hailingfrequency.com/boards/index.php?action=downloads;cat=21

It is basicaly occuring whenever you go into a category and attempt to view the downloads in the section.  The links are appearing white on the white background.

Can you please let me know in which file and on which line, the table is which I should attempt to add my styling class too?

Thanks
Zach

Hey VBGamer - Did you have any insight on this?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 20, 2009, 12:47:17 PM
I can tell you the file Downloads.template.php but there are many many lines that would need to be adjusted.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: zach21uk on August 20, 2009, 02:27:27 PM
Quote from: vbgamer45 on August 20, 2009, 12:47:17 PM
I can tell you the file Downloads.template.php but there are many many lines that would need to be adjusted.

Is this something you could guide me on?  Its a really big problem at the moment for me.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 20, 2009, 03:02:12 PM
Not easily no
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: zach21uk on August 21, 2009, 09:54:42 AM
I see.  Do you have any other suggests then about how I can resolve the problem with the CSS on that pages? (http://hailingfrequency.com/boards/index.php?action=downloads;cat=21)

I can't continue to have the links invisible like that.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 21, 2009, 12:30:01 PM
I can't see that page not visible to guests
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on August 22, 2009, 12:14:54 AM
Except for admins and moderators my membership is post based. I don't see perms for post based, just regs. Is there no post based user support? Can it be added?

Thx
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 12:22:48 AM
No post based support at this time it is a little tricky to add.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on August 22, 2009, 12:37:06 AM
I'm not afraid to try if you're willing to point me in the right direction.

I'm not concerned about giving perms to add uploads - thats for admins only. I just want to allow registered members to be able to download but only allow guests to view the section but not download until they register.

Thx
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 12:40:07 AM
For guests with downloads system there is no seperate download permission. If they can view the downloads they can download the file
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on August 22, 2009, 12:51:55 AM
Plusev you can query the messages table and do a COUNT on it WHERE id_member = $user_info['id'] (SMF 2.0.x) or id_member = $ID_MEMBER (SMF 1.1.x).  Than you just find out if the returned count >= the post count you have set in the Downloads Config Settings (which will just need to add a text area for this).  If you give me a week or so, will add it to the EDS AddOn.

Cheers
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on August 22, 2009, 12:55:07 AM
Can something be done so guests get a "Sorry you can not access downloads until you register - click here to register"

What will happen to my post based members when they click the download link?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 01:11:26 AM

For the second question they will be able to download the file. They are treated the same what ever member group they are in. If they are regular members they will be treated as regular members.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 11:34:17 PM
Quick fix release
1.2.6
!Fixed bbc editor in SMF 2.0 not working in IE6/IE7
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on August 22, 2009, 11:36:41 PM
Should the old v be uninstalled first?

Thx
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 11:46:21 PM
If possible or you can use the upgrade option
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on August 22, 2009, 11:50:12 PM
Didn't see an upgrade option.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on August 22, 2009, 11:50:51 PM
Then I would uninstall then reinstall
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: plusev on September 08, 2009, 12:32:02 AM
Quote from: SoLoGHoST on August 22, 2009, 12:51:55 AM
Plusev you can query the messages table and do a COUNT on it WHERE id_member = $user_info['id'] (SMF 2.0.x) or id_member = $ID_MEMBER (SMF 1.1.x).  Than you just find out if the returned count >= the post count you have set in the Downloads Config Settings (which will just need to add a text area for this).  If you give me a week or so, will add it to the EDS AddOn.

Cheers

Where ever you get a chance my friend.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: temii on September 08, 2009, 07:34:11 AM
I just installed download system mod,I found the setting
under configuration but I cant find the download button on the home page of my forum.Im using smf 1.1.10,
theme babylon.
www.temicity.com
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: buckshot on September 12, 2009, 02:08:24 PM
Hi

I have problems with the Download system
I dont see the button or the settings?

Any suggestions?
I have installed manually since it did not work via the upload manager.

site: www.aggma.com
Theme: NewBabylon

Thanks!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 12, 2009, 04:48:08 PM
For custom themes for SMF 1.1.x you will need to modify the index.template.php and add a link/button to the downloads page which can be accessed via http://www.yourforum.com/index.php?action=downloads
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: morris91 on September 17, 2009, 01:31:09 PM
Hi.

I downloaded this mod couple weeks back but only few days ago discovered it was not working correctly.

i been uploading files but members could not download them, only file type iv been able to download is a .txt file.

I've tried uninstalling and installing again but still nothing.

I did put up a test file which u can see at http: //www.fs-explorer.com/ index.php?action=downloads;sa=view ;down=12 (delete spaces)

please let me know if there is any way to fix this.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 17, 2009, 02:09:53 PM
What do you have for your downloads path under settings?

Also check your forum's error log of anything that might be important.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: morris91 on September 17, 2009, 02:56:28 PM
Settings,
(http://i221.photobucket.com/albums/dd121/morris91_2007/forum.jpg)

And nothing related to downloads section in error logs.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on September 17, 2009, 03:23:39 PM
This is an exact example of the empty downloads problem with this MOD that has been fixed with my Enhanced Downloads System Addon (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=25;start=0;sortby=mostdowns;orderby=desc#down51).

Cheers :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 17, 2009, 03:53:29 PM
How large are the files being uploaded?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: morris91 on September 17, 2009, 04:00:44 PM
Uploading isnt the problem, its downloading.

All files i want to upload are all under 5mb, as the size of the test file.

EDIT: Been fixed, thanks for the help anyway guys. <3
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on September 17, 2009, 04:28:47 PM
Uploading is the problem, since it never fully uploads the entire contents of the file, this will cause it to be not downloadable, as is the link for your test at kh738tuh.zip (http://www.fs-explorer.com/index.php?action=downloads;sa=downfile&id=15)!  Basically it isn't checking for actual file existence after attempting to upload it, so that is why it creates an empty upload if the upload fails somewhere along the uploading process.  Usually happens for files that are too big in filesize than what you have defined in you php.ini file and/or the downloads configuration Admin page.

What my EDS AddOn (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=25;start=0;sortby=mostdowns;orderby=desc#down51) will do is let you know if there is a problem while uploading and stop execution of the upload with a fatal_error(); if there is a problem instead of allowing the upload to go through.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: morris91 on September 17, 2009, 07:13:36 PM
Quote from: SoLoGHoST on September 17, 2009, 04:28:47 PM
Uploading is the problem, since it never fully uploads the entire contents of the file, this will cause it to be not downloadable, as is the link for your test at kh738tuh.zip (http://www.fs-explorer.com/index.php?action=downloads;sa=downfile&id=15)!  Basically it isn't checking for actual file existence after attempting to upload it, so that is why it creates an empty upload if the upload fails somewhere along the uploading process.  Usually happens for files that are too big in filesize than what you have defined in you php.ini file and/or the downloads configuration Admin page.

What my EDS AddOn (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=25;start=0;sortby=mostdowns;orderby=desc#down51) will do is let you know if there is a problem while uploading and stop execution of the upload with a fatal_error(); if there is a problem instead of allowing the upload to go through.

I'm now starting to see what you mean... All my large downloads seem to not work but all my uploads under 1mb work.

Il try n give your addon ago.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 17, 2009, 07:35:29 PM
Read this topic on increasing your php limits
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on September 17, 2009, 09:25:47 PM
Yeah, definitely need to fix your php.ini to allow for large filesize uploads in upload_max_filesize and post_max_size (to the maximum you want to use), and the .htaccess file didn't know about, so you can do it that way if you have to.

Cheers :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: †MavN† on September 18, 2009, 03:11:25 AM
Function linktree doesn't work properly...
When you add comments, this function doesn't show you place.
When you watching files this function doesn't show name file.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 18, 2009, 07:42:12 PM
Correct haven't built that in yet.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on September 24, 2009, 12:37:28 PM
I'm having problems with people complaining that they can't always download files.  Sometimes it works and sometimes it doesn't.  I can see in the logs that some people are attempting to download six times or more, yet sometimes they can just do it.  Have you had this problme reported before?  What could it be?

Oh I have download system pro on smf 1.1.10
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 24, 2009, 07:43:37 PM
Haven't had that happen before. What happens does it download at all? Or does it time out? What type of connection do they have.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on September 24, 2009, 07:51:03 PM
Opção de enviar mensagem é só para versão paga?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on September 24, 2009, 07:59:36 PM
see that's the thing, it doesn't happen to everyone.  The ones who have reported it have been able to download it after I upload the .rar again.  It's the weirdest thing.  Some people haven't reported but I see they have tried to download it lots of times before they likely got it.  I'll see if any of them will tell me what connection they have.  problem is, they can be people who just signed up to download that one item.

I'll see what more I can find out and get back to you.

NOTE* I can't duplicate the issue at my end, I download first time every time.  I think you might be right and it's to do with their connections.  Is there anything I can do at my end?  I can't make the .rars any smaller.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on September 24, 2009, 08:02:34 PM
Quote from: SoLoGHoST on September 17, 2009, 03:23:39 PM
This is an exact example of the empty downloads problem with this MOD that has been fixed with my Enhanced Downloads System Addon (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=25;start=0;sortby=mostdowns;orderby=desc#down51).

Cheers :)

Could this be my problem too?  I'll check and see if it's the bigger .rars that are the issue.  You can see some of the comments on it here

http://www.prettysims.com/index.php?action=downloads;sa=view;down=82

The .rar in question there is only 1.1 mb
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 24, 2009, 08:05:12 PM
How large of the files. Does it start to download the file at all? Also what browser are they using
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: flutter on September 24, 2009, 08:06:33 PM
sorry, updated that just as you were replying.  I'll need to wait and see if they reply to me with that info.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: heinandar on September 27, 2009, 01:25:04 AM
Hello vbgamer

I used you download systems pro and very useful mod.
But i'm facing with some layout problems.

Please see attach image.
Sub Categories didn't go to next line. How can i solve? I use smf 1.1.10 and download system 1.2.6.
SMF is freshly installed.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 27, 2009, 10:36:55 AM
Hmm I might have to add a new setting number of subcategories per line to fix that.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: heinandar on September 27, 2009, 04:38:21 PM
Quote from: vbgamer45 on September 27, 2009, 10:36:55 AM
Hmm I might have to add a new setting number of subcategories per line to fix that.
Thanks for replying.
I'm waiting for your supporting.
Best Rgds,
Heinandar
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on September 29, 2009, 09:59:43 AM
how do I make an html block for shows in the latest downloads on
forum?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on September 29, 2009, 01:05:50 PM
It would need to be a php block this is built into ezportal
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on September 29, 2009, 01:16:36 PM
It may be, have a script for ai I use on my block, I do not use the portal but I Ad Management

http://tectonny.com
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 01, 2009, 08:34:15 AM
No?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 01, 2009, 08:35:18 AM
Not sure what the question is?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 01, 2009, 08:38:32 AM
I wish the new files appeared for download on the sidebar that I have the Ad Management

   
Translated by Google from Portuguese to English
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: heinandar on October 03, 2009, 12:21:38 AM
Quote from: vbgamer45 on September 27, 2009, 10:36:55 AM
Hmm I might have to add a new setting number of subcategories per line to fix that.
Hello vbgamer45
I'm still waiting your upgrade future.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on October 03, 2009, 12:30:14 AM
Quote from: tonnybarros on October 01, 2009, 08:38:32 AM
I wish the new files appeared for download on the sidebar that I have the Ad Management

   
Translated by Google from Portuguese to English
Ok, hope you don't mind vbgamer45...

Again, my EDS Addon (http://graphicsmayhem.com/GMForum/index.php?action=downloads;cat=25;start=0;sortby=mostdowns;orderby=desc#down51) allows you to add php code to any blocks (Simple Portal, TP, etc., or for creating your own php pages) for most recent downloads, top rated, most downloaded, etc.. basically everything that gets displayed on the main downloads index page (?action=downloads).  There is a txt file within a folder that describes this in great detail.  You can have the thumbnail screenshot of the download inserted into it also.  You'll need to call upon the getDownloads function which is, again, explained in full detail, with an example on how to do it, within the txt file (HOW TO Retrieve Download info from any file in your site.txt) found within the EXTRA INFO TXT Files folder.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 03, 2009, 09:15:55 PM
I wish the new files appeared for download on the sidebar that I have the Ad Management
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: gffb on October 06, 2009, 12:19:25 PM
I have installed this mod and all went well no errors during install, I have added a coupe of downloads and set permissions. Uploaded files fine.

The problem is when I go to the downloads section it says in the main menu there are x amount of files but when I go into each cat. no downloads are shown.

I have attached a couple of images that might help.

SMF 2 rc1.2
Default theme and others

Error Log
http://www.abcunited.info/abc/index.php?action=downloads;cat=4
2: Division by zero
File: /home/abcunite/public_html/abc/Sources/Subs.php
Line: 693

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: gffb on October 08, 2009, 12:19:33 AM
Any help on this people :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 08, 2009, 11:53:07 AM
vbgamer45 has no code for me to show the last active, so that I can use the Ad Management mod or Global Headers and Footers

http://www.tectonny.com/forum/index.php?action=downloads
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: sangwe11 on October 11, 2009, 11:58:39 AM
Does this have a uploading progress bar yet ?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 12, 2009, 10:40:39 PM
No it does not. That would mostly likely require a server extension or a flash module in order to get that to work.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: ptoledo1 on October 16, 2009, 04:52:13 PM
Can someone guide me on how to change the text of the tab that reads "downloads" to "media center"? I'm not sure where to change that text in the template files. thanks!!!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on October 16, 2009, 05:08:05 PM
All text is changed in the language files (Downloads2.english.php, Downloads.english.php, and/or Modifications.english.php).  And Clear you forum cache afterwards if using RC 1.2.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 16, 2009, 08:20:00 PM
That is correct just to note the files are found in themes/default/languages/
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Pinball Nation on October 18, 2009, 07:03:25 PM
Hello,I don't understand this mod.Can i upload files from my pc to the site for download.Or is this where you just add a link to download from?Im confused an can't see where to upload.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 18, 2009, 07:32:24 PM
You can upload files from your pc and place them in a download category. Users can then download the files.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: madsenart on October 21, 2009, 07:26:27 AM
Quote from: gffb on October 06, 2009, 12:19:25 PM
I have installed this mod and all went well no errors during install, I have added a coupe of downloads and set permissions. Uploaded files fine.

The problem is when I go to the downloads section it says in the main menu there are x amount of files but when I go into each cat. no downloads are shown.

I have attached a couple of images that might help.

SMF 2 rc1.2
Default theme and others

Error Log
http://www.abcunited.info/abc/index.php?action=downloads;cat=4
2: Division by zero
File: /home/abcunite/public_html/abc/Sources/Subs.php
Line: 693

I'm having the exact same problem. Any solution yet?

Ok, so after installing this mod i couldnt see my "Themes and Layout" or "current theme" pages. When trying to uninstall everything goes well but the "downloads" button i still in the menu.

Help?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 21, 2009, 08:33:04 AM
Most like you have set the number of files per page to zero the default should be 16
This can be updated under Admin -> Download Configuration -> Settings
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: madsenart on October 21, 2009, 02:07:09 PM
Somehow i can not upload files from my PC to the upload server that are bigger than 10mb. I can upload files under 10mb with no problem, but larger files gives me no error but they will not get uploaded.

edit: Tried to upload a file with a size of 12mb and got the following message: "You need to enter a title". Even though i have both title and description.

Suggestions?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 21, 2009, 03:35:07 PM
Check out this post
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: madsenart on October 21, 2009, 04:48:34 PM
Sorry to say that didnt work out for me. I cant get to my php.ini files and .htaccess keeps getting me a 500 error. My web provider tells that neither me or them can access the php.ini files. So i am stuck at 12mb size limit. Crapporama!!
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 21, 2009, 07:39:18 PM
That's strange the host should have full control
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: madsenart on October 22, 2009, 09:56:33 AM
Ye, i thought so to. I live in sweden and my host provider have live chat help. So i talked to them, but the live help from here was offline. Might try again today. Thank you for helping. Atleast i know where to look now :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: king kratos on October 24, 2009, 10:59:11 PM
A quick question, Do I need to have anonymous FTP to my server in order to use this mod? I have deactivated anonymous FTP just for personal security, but if I need to reactivate it in order to use this mod, I will.

Thank you,

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 24, 2009, 11:44:12 PM
No you do not need anonymous ftp all files are uploaded via web form
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 27, 2009, 02:32:26 PM
   
But once I ask, is there any way to put a block with the downloads via HTML or PHP
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 27, 2009, 05:42:24 PM
I have a block built into ezportal at http://www.ezportal.com
It needs to be php
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: tonnybarros on October 27, 2009, 05:58:09 PM
   
Only then can I use the blocks? Would not have otherwise?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 27, 2009, 07:29:41 PM
Only in that case do not have blocks for other portals yet but am looking to do that in the future.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Piki on October 29, 2009, 02:41:07 PM
Hi,
I have this Download System mod installed, and instead of actually uploading my downloads to the server (which our head developer currently needs to clean out before it's hard disk actually has enough space for the downloads), I chose to link the downloads to some download mirrors. This is not a problem since the mirrors update themselves automatically when a new file is added, and therefor I rarely need to relink the downloads, which work perfectly from within the Downloads tab. However, the size of the downloads are being reported as 0 bytes, when they are all actually hundreds of MB large. Is there a way to get the Download System to go to the mirrors and look up the sizes?

This site is at http://arklinux.org/
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on October 29, 2009, 07:29:36 PM
Not at this time.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: SoLoGHoST on October 30, 2009, 12:43:48 PM
This would be exceedingly difficult to add, just not worth it IMO, as it would need to download the file from the url, place it on the server get the info, and delete it from the server.  And if these are huge files, it's just ridiculous to download this to the server just for a filesize in bytes.  Perhaps an option to add your own filesize for these file urls would be better.  Just a thought.

Cheers :)
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: improv on November 03, 2009, 10:32:48 AM
Is it possible to replace the Download System with Download System Pro once bought (flawless action)?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on November 03, 2009, 01:06:43 PM
Yes it is. Very easy to upgrade from lite to pro.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: llyon on November 05, 2009, 03:44:44 PM
I'm using this mod & it's mostly working perfectly - except every time a file is uploaded it throws the following error:

"Database Error
Out of range value for column 'totalfilesize' at row 1
File: C:\www\Sources\Downloads2.php
Line: 3777 "

The offending line in Downloads2.php is :

   // Update the record
      if ($filesize >= 0)
         $smcFunc['db_query']('', "UPDATE {db_prefix}down_userquota SET totalfilesize = totalfilesize + $filesize WHERE id_member = $memberid LIMIT 1");
      else
         $smcFunc['db_query']('', "UPDATE {db_prefix}down_userquota SET totalfilesize = totalfilesize + $filesize WHERE id_member = $memberid LIMIT 1");

This is more than annoyance than anything else as the file is uploaded. However, the numbers of files does not increase until I do an edit and save of the file.

Any help would be appreciated.

Cheers,

Lance
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on November 05, 2009, 08:06:45 PM
How large do files get on your site?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: llyon on November 05, 2009, 09:04:44 PM
Hi mate,

Quote from: vbgamer45 on November 05, 2009, 08:06:45 PM
How large do files get on your site?

Up to 60mb.

cheers,

Lance
Title: 3 Description input boxes when uploading new file
Post by: rbeuker on November 08, 2009, 09:44:47 AM
I really like your mod, thx a lot!  :D

I'm testing it on 2.0 RC2 and it works fine...  but I get 3 input boxes to enter the description (see attachment). Do you know how I could fix this?

Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on November 08, 2009, 06:54:24 PM
The mod does not work for RC 2 charter or public yet waiting for the public version to be released.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: bolubeyi61 on November 09, 2009, 02:46:44 PM
2.0 RC2 sürüm için güncellenecek mi acaba?
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: petesky on November 09, 2009, 03:00:46 PM
Hello !

I just upgraded to 2.0 RC2 before i read here about compatibility of donwload system (free). Are you planning release the working upgrade soon or do i have to buy the pro version ? I have a small school forum with only few downloads for which the free version is enough.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: vbgamer45 on November 09, 2009, 03:34:03 PM
I plan to have something out tonight hopefully for the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: Arveles on November 09, 2009, 03:54:20 PM
Please update for rc2, thanks.
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: king kratos on November 09, 2009, 04:11:29 PM
Quote from: Arveles on November 09, 2009, 03:54:20 PM
Please update for rc2, thanks.

Your answer that was posted right above your post is:

Quote from: vbgamer45 on November 09, 2009, 03:34:03 PM
I plan to have something out tonight hopefully for the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 09, 2009, 07:51:56 PM
Updated for SMF 2.0 RC2!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: petesky on November 09, 2009, 11:51:07 PM
Thank you very much !
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on November 10, 2009, 12:33:47 AM
Not sure if anyone else has this issue, but my category permissions page is not displaying properly. In fact, it is not display anything that will allow me to use this mod properly. This is a major issue as I cannot set up categories and therefore, cannot set up any downloads!

See screenshot for actual image of what is happening.

Edit: Never mind, I just forgot how to use this mod! Everything is working just fine. The only thing is that the language strings are not matching up with the backgrounds. They are overflowing and it doesn't look very good. The screenshot attached to this post shows what I am talking about quite well.

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 10, 2009, 12:41:48 AM
That page looks ok just little style issue. You do not add categories on that page. You add them on the main downloads  index.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on November 10, 2009, 12:50:02 AM
Quote from: vbgamer45 on November 10, 2009, 12:41:48 AM
That page looks ok just little style issue. You do not add categories on that page. You add them on the main downloads  index.

Yea, sorry about that.......  :-[ See my edit on my last post.

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 10, 2009, 12:56:09 AM
Probably won't fix anytime soon. That might be a bug with RC2 or it does not support large tables of information that I have in this mod.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on November 10, 2009, 01:08:01 AM
No problem, I was just trying to point out a possible bug for you.

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Arveles on November 10, 2009, 06:17:00 AM
I have a problem:

(http://img44.imageshack.us/img44/1900/20091110131612.jpg)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: petesky on November 10, 2009, 06:59:35 AM
I have the same Problem ; it seems that <div class="navigate_section"> is twice in code somewhere ?!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: petesky on November 11, 2009, 07:33:55 AM
Remove this in Downloads2.tempplate.php around line 20:

echo '
      <div style="padding: 3px;">', theme_linktree(), '</div>';
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 11, 2009, 08:49:31 AM
Thanks! will fix that for next update
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Arveles on November 11, 2009, 08:52:49 AM
Quote from: petesky on November 11, 2009, 07:33:55 AM
Remove this in Downloads2.tempplate.php around line 20:

echo '
      <div style="padding: 3px;">', theme_linktree(), '</div>';

thank you...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: PSPx000 on November 11, 2009, 03:26:13 PM
How Do I Add A Category To The "Downloads Page"?

Im using
Downloads System      V 1.2.6
and
SMF version  1.1.10 8)

Here is a srceen shot of what i get when i try to add a download:
(http://i37.tinypic.com/2eksv8m.png)

EDIT: Its a mod, this might not be the rite place to place it
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Arveles on November 11, 2009, 03:31:15 PM
2. problem:

(http://img692.imageshack.us/img692/5066/20091111222945.jpg)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 11, 2009, 03:37:53 PM
Fix posted above. Will be fixed for next update.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on November 11, 2009, 04:22:37 PM
Quote from: PSPx000 on November 11, 2009, 03:26:13 PM
How Do I Add A Category To The "Downloads Page"?

Im using
Downloads System      V 1.2.6
and
SMF version  1.1.10 8)

Here is a srceen shot of what i get when i try to add a download:
(http://i37.tinypic.com/2eksv8m.png)

EDIT: Its a mod, this might not be the rite place to place it

Look on your screenshot and look towards the bottom (just under the red box you drew). You will see a link that says "add category". Click it.

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 11, 2009, 05:59:09 PM
Quote from: Dean B on November 02, 2007, 03:21:13 AM
is any version for SMF 1.1.3?
Works fine for SMF 1.1.x
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: PSPx000 on November 11, 2009, 06:06:39 PM
Quote from: king kratos on November 11, 2009, 04:22:37 PM
Quote from: PSPx000 on November 11, 2009, 03:26:13 PM
How Do I Add A Category To The "Downloads Page"?

Im using
Downloads System      V 1.2.6
and
SMF version  1.1.10 8)

Here is a srceen shot of what i get when i try to add a download:
(http://i37.tinypic.com/2eksv8m.png)

EDIT: Its a mod, this might not be the rite place to place it

Look on your screenshot and look towards the bottom (just under the red box you drew). You will see a link that says "add category". Click it.

Kratos
OMG THanks man,,,i didint see dat  ;D ??? :-[
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on November 11, 2009, 06:39:38 PM
Hey, it happens from time to time. It is kinda hidden there. Somewhat hard to notice. It took me a little looking and play around to learn how to use this mod at first.

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 11, 2009, 07:36:42 PM
Update
1.2.7
!Fixed extra link tree in SMF 2.0
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: mpglivecarlo on November 12, 2009, 02:21:59 PM
hi, is there any way to make downloads visible to guests but not to be able to download them? (only to registered users)

something like the hotlink protection on this mod:
http://custom.simplemachines.org/mods/index.php?mod=2126

thx for any suggestions.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: SoLoGHoST on November 12, 2009, 02:36:51 PM
Quote from: vbgamer45 on November 11, 2009, 07:36:42 PM
Update
1.2.7
!Fixed extra link tree in SMF 2.0

This was actually a fun one to learn also, just get rid of theme_linktree() function in the Template file. ;)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 12, 2009, 03:05:49 PM
Yup. Little things like that drive me nuts. Even more so when you have to figure them out yourself
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: mpglivecarlo on November 12, 2009, 04:52:52 PM
or maybe a few pointers on how to add a new permission? thx
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 12, 2009, 05:00:35 PM
I added a download permission in addition to view permission in the pro edition of the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: doughboy99 on November 13, 2009, 06:32:00 PM
Hi

I am using SMF 2 RC1.2 with simple portal 2.3.1 and Downloads system 1.2.6 plus these

od Name     Version     
1.    SMF Gallery Pro    2.5.5    
2.    No Reply Emails    1.3    
3.    SMF Gallery Pro    2.5.3.1    
4.    Sarcasmics smiley set    1.1.0.1
5.    Order Stickied Topics    1.01
6.    SMF Gallery Pro Recent Profile Images    1.0    
7.    SMF Gallery Pro    2.5.4
8.    SimplePortal    2.3    
9.    Attachments In Message    1.3.0
10.    Downloads System    1.2.6
12.    SimplePortal    2.3.1
13.    Irritate lurkers with 0 posts    0.1

I am gettting errors like the following when uploading files over 11mb

     Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL http://www.xxxxx.co.uk/forum/index.php?action=downloads&amp;sa=add2
Apply Filter: Only show the errors with the same message
8: Undefined index: fileurl
Apply Filter: Only show the errors from this file
File: /home/xxxxxx/public_html/xxxx/forum/Sources/Downloads2.php
Line: 1399

I have checked phpinfo and the following values are set

post_max_size    64M   64M
upload_max_filesize   64M   64M
In the Downloads mods admin area Settings
Max download filesize:    is set to 50000000(bytes)

and the File Space manager section has the users space quota set to 51 mb

When a file over about 11mb is uploaded the eror above is generated and the file appears as a download with zero bytes as the size. Attempting to download the file results in a 404  page.

any ideas what might be causing this? We dont often need to upload large files but when we do its important tha it works.

Thanks for any help.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: carterx on November 15, 2009, 03:50:39 PM
This is a great add-on but I'm having an issue with uploading files. I get the error "You need to enter a download title."

I'm running the latest SMF 2.0 RC2. I have gone over my permissions and all looks to be be good but when I go to upload a file I get the error. I have made sure to place a title and even tried to have a shorter title and still does not work.

You can see below that I have filled in the title and then the error.

Tks

(http://img525.imageshack.us/img525/7759/screenshot20091115at432.png)

(http://img301.imageshack.us/img301/7759/screenshot20091115at432.png)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 15, 2009, 03:55:44 PM
How large is the file? Might be exceeding the download limits read this post
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: carterx on November 15, 2009, 05:48:30 PM
I added the php.ini file and my settings are:

php_value upload_max_filesize 50M
php_value post_max_size 50M

Also, I made the upload limit in for the download mod. to have a limit of 25mb
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 15, 2009, 06:20:50 PM
You might have to restart the webserver for it to pick up. Or see if your host has a limit that overrides the limits set.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: sonicfetish on November 19, 2009, 11:46:38 AM
How do I add downloads in the "Recent Downloads" section of the main page? Right now it's set for 4, I'd like to make it 8 or 12. Is this possible?

Great mod. Couldn't live without it
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 19, 2009, 02:07:54 PM
You would need to modify the Downloads.template.php and change the LIMIT 4 to another number four was the default since it looked the best that way
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: sonicfetish on November 19, 2009, 02:14:49 PM
Great thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: sonicfetish on November 19, 2009, 03:17:15 PM
When I ctrl+f Downloads.Template.php looking for "limit" I don't find anything that looks like the setting I want. No 4s to change to 8s  :-[
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: petesky on November 23, 2009, 05:02:49 AM
Hello !

Is it possible to avoid the "SUB Categories" to be shown on all pages even when "Counts child categories" is on ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Nibogo on November 26, 2009, 02:41:36 PM
Just forget about it, I already fixed.

But I want to ask you something, how I can redirect from the old TP Downloads Url to the SMF Downloads System Urls in the .htaccess, this is the TP Style:

http://www.website.com/tpmod/?dl=item463

so I want of this will be redirected to:

http://www.website.com/downloads/?sa=view;down=463

This is possible?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 26, 2009, 03:19:33 PM
I do not know htaccess well I refer to samples when making them but it would be very easy to create a rule to do what you are asking
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Nibogo on November 26, 2009, 03:32:31 PM
Quote from: vbgamer45 on November 26, 2009, 03:19:33 PM
I do not know htaccess well I refer to samples when making them but it would be very easy to create a rule to do what you are asking

Can you show me how?? I don't know a squad about htaccess and I can't find how to redirect with a value (the downloads id)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 26, 2009, 03:39:22 PM
Check out this guide
http://www.workingwith.me.uk/articles/scripting/mod_rewrite
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Nibogo on November 26, 2009, 03:59:18 PM
Well obviouslly .htaccess is not my thing, but already fixed using php, quickly and easy as always :)

Thanks Anyway
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: ChrisFBBS on November 28, 2009, 08:48:59 AM
Great mod thank you!!!!

When clicking a keyword nothing happens.

I have added keywords (separated by a comma) to a bunch of downloads. When I click a keyword that has been added to several downloads i get taken to a page with 0 results. Is that normal?
I am using SMF 2.0 RC2 and SimplePortal 2.3.1

Thanks.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: improv on November 29, 2009, 11:27:54 AM
Hey, Currently I've tried to uploading a file larger then 100 mb.
I received a following error:
An Error Has Occurred!
"No download selected".

Has this something to do with my host?
Since I've set the upload limit high enough 'n things. hmm..
Thanks in advance.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 29, 2009, 11:49:32 AM
Yeah most likely php limits, or time out limits. I generally don't recommend uploading more than a 100mb when using a form based upload
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: improv on November 29, 2009, 12:10:48 PM
Ah damn.
Well, guess I'll try the ftp then?
And vbgamer45, does your EzPortal also supports the download system pro as in a block?
By all means that it also shows a screenshot when there is one?
Thanks , you rock.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on November 29, 2009, 12:24:22 PM
FTP may work. Yes ezPortal does have a built in downloads block support to pull from the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on December 05, 2009, 03:01:13 AM
Hi vbgamer45, Nice mod. Only one thing is left. Can you please help to add downloads in menu bar in dilbermc theme. I added following

// The [Downloads]!
if ($context['allow_downloads'])
echo'
<td align="center" class="menubg' , $current_action == 'downloads' ? '2' : '' , '">
<a href="', $scripturl, '?action=downloads">' , $txt['File'] , '</a>
</td>';


after this

// The [calendar]!
if ($context['allow_calendar'])
echo'
<td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>';

in index.template.php of dilbermc theme.

I want to give menu name as File. I have pretty urls installed.

Pls suggest !

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: EuroHack on December 11, 2009, 01:36:41 PM
e Downloads.english renamed and Downloads.english-utf8 by Downloads.spanish-utf8 and Downloads.spanish it and put in Themes \ default \ languages and is still not seen. to do so you can see the tab.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 11, 2009, 02:24:06 PM
Are you using a custom theme?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on December 12, 2009, 11:40:35 PM
Any help for me please !

Quote from: topbuyer on December 05, 2009, 03:01:13 AM
Hi vbgamer45, Nice mod. Only one thing is left. Can you please help to add downloads in menu bar in dilbermc theme. I added following

// The [Downloads]!
if ($context['allow_downloads'])
echo'
<td align="center" class="menubg' , $current_action == 'downloads' ? '2' : '' , '">
<a href="', $scripturl, '?action=downloads">' , $txt['File'] , '</a>
</td>';


after this

// The [calendar]!
if ($context['allow_calendar'])
echo'
<td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>';

in index.template.php of dilbermc theme.

I want to give menu name as File. I have pretty urls installed.

Pls suggest !


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 12:19:29 AM
Please attach your index.template.php file
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 08:47:14 AM
I mentioned a while back that I could see multiple downloads of the same file by the same member.  I couldn't work out what was happening.  Oh, I have downloads system PRO.  I had a complaint from one of my members and found out what's going on.  When they click on a download, it signs them out.  It's not happening everytime but it is happening an awful lot.  I have wondered why people weren't coming back too much, it's not the stuff on offer, it's the hassle of downloading it.

If you want I can send you a username and password so you can try it out for yourself.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 11:34:23 AM
I would need more information like what browser they are using etc. I haven't encountered the logging out issue on my test forums
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: petesky on December 13, 2009, 11:37:14 AM
Hey VBGAMER - why is Pro Support so slow and free support so fast ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 11:43:50 AM
It is actually the other way around I barely respond to these posts here.
I already did a update for Downloads Pro this week so will be a little while till next update.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 11:58:33 AM
You see that's the issue, it's happening to multiple users and I'm sure they will be using multiple browsers, why is this only compatible with one browser?  You asked that same question last time I asked about this.

I noticed what you said about barely answering here, but if people buy the pro version, surely they should get more if not as much support as the free version people do.  I think that's why somne of us pay and don't just take the free version as they're not much different to me, I don't use the store points thing or anything like that, I don't even use gallery with it
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 12:36:33 PM
I need to be able to repeat the issue so I know what to fix and what to look for. I myself use firefox, internet explorer and chrome
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 12:58:05 PM
would you like me to send you a password and username to my site and you can try to download something there?  I use mozilla and explorer and I haven't had this issue but the download logs show that people have attempted to download things up to seven times before giving up.  My site is all about downloads and it's no good if they can't get the stuff.  It's not one particular .rar it's across the board
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 01:00:50 PM
I would need an admin account to check the logs
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 01:05:29 PM
I'll pm you with one that gives permissions to administrate the downloads system.  If you click on any of the logs you'll se that it's happening with nearly every one of them
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 01:35:32 PM
Haven't been able to repeat the issue. I checked Market Square and Buy Wa goods anwywhere in Chrome,firefox, ie6.

Sarfari is the one browser I am not sure about on my test pc it wouldn't download anything from any site but could be a vista or sarfari  bug
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 02:43:25 PM
So why so many having this issue?  It's becoming a problem.  Is there any way you could make it compatible with the other browsers or with vista?  It'll kill my site
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 13, 2009, 02:58:29 PM
I have no idea. It worked with all the browsers I have tried. I used the downloads system on my sites and haven't heard any issues from anyone else yet.
Try contacting some of the people that are having issues and find what  browser and operating system they are using.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 13, 2009, 03:13:41 PM
I saw you in there and I appreciate your help.  You must have seen how many times people are trying to download these things.  The problem is, until they complain I don't like to spam them with emails about it.

I'll see what I can do.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: flutter on December 16, 2009, 07:18:16 AM
Sorry about doible posting but it's been a few days.  I'm hearing from a couple of people that mozilla is an issue.  That is annoying as that's my browser of choice and most other people too.  People are still having that iissue and I'm sure, although you didn't get it, that you could see from the download logs that it was a big problem for them.

They are asked to sign in when they are already signed in and they are logged off by the system.  This is affecting my site quite badly and people are getting really pissed off.

If I could have a way to have a box at the top of downloads to at least be able to tell them to try a different browser that might help, but I don't have that ability.

I'm annoyed if this is only affecting my site, but somehow I don't think that could be true.  Could this be anything do to with the fact that I haven't enabled stuff like store points, I'm not interested in that.  I just want basic free downloads.

I need to find an answer to this problem, or I might have to remove your system and go for another one, which would be a lot of hassle and a huge waste of money for me..  Oner person tried 12 times with a recent download, that's not acceptabe.  In the end that member never did manage to get that download

Can you help?

Edit*  I have installed an html ezblock in the downloads area asking for feedback.  I'll update this as soon as I have more info
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 16, 2009, 10:00:52 PM
Tried a very old version Mozilla before firefox worked ok. Tried IE8 and IE8 with complablitiy mode could not recreate the issue.

Make sure you on the latest version of the downloads sytem.

Also if people are getting logged try the following
Edit Sources/Downloads.php
Find

header('Set-Cookie:');

Change to

//header('Set-Cookie:');

And see if that fixes out the logout problem.

If not make an attachment in the forum the same as you would in the downloads and see if they can download the attachment without issue. If the attachment download doesn't work then it is an issue with the logic of SMF itself
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on December 19, 2009, 07:01:30 PM
Pls find attached.

Quote from: vbgamer45 on December 13, 2009, 12:19:29 AM
Please attach your index.template.php file
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Cheewy on December 22, 2009, 07:15:47 AM
can I put download links from other sites or it must be links from my site?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 22, 2009, 08:38:06 AM
I think only files that are uploaded if I remember correctly
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: [SAP]Francis on December 23, 2009, 08:23:57 PM
Quote from: vbgamer45 on December 22, 2009, 08:38:06 AM
I think only files that are uploaded if I remember correctly
Quote from: vbgamer45 on October 31, 2007, 06:55:37 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=992)

A complete download system for SMF.

Includes:
Uploadable or linked downloads
[...]

End of the question.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: SoLoGHoST on December 23, 2009, 10:07:38 PM
You can use links from any site.  Though the size of it will always say 0 kB.  Hope this answers your question.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: GohighVoltage on December 26, 2009, 11:28:14 PM
I notice the mod installs tables called   smf_down_custom_field  and smf_down_custom_field_data

What are these for?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on December 27, 2009, 12:28:08 AM
To add custom fields when a user uploads a file. Such asking for additional information They are set on a category level. So goto edit category to set them up.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: LC on January 07, 2010, 01:23:08 AM
Have a couple of questions. I am running RC2 Curve.

First, it seems I am having difficulty adding files by uploading to server. The permissions for the downloads directory are set correctly. (either at 755 or 777) and it still doesn't want to take it. I keep getting a 404 error, file not found and does not show the size of the file, just sits at 0kb.

Second is I think I might have found a small error in Downloads2.php, which gives this error on line 5305. Undefined index: admin_menu_name
$context[$context['admin_menu_name']]['tab_data'] = array(








Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 07, 2010, 01:31:03 AM
How large a file? If it is greater than 2mb probably is getting rejected because the php settings are too low

Check out this post on how to increase the limits
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: LC on January 07, 2010, 01:32:50 AM
Quote from: vbgamer45 on January 07, 2010, 01:31:03 AM
How large a file? If it is greater than 2mb probably is getting rejected because the php settings are too low

Check out this post on how to increase the limits
http://www.smfhacks.com/index.php/topic,3498.0.html
Ah I see. Makes sense. Thank you vbgamer. :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: sonicfetish on January 08, 2010, 05:14:22 PM
Thank you so much for this mod. I've been using it for over a year at our live music archive and can't live without out!

One question... I'm trying to modify the heading of "Downloads" on the main page to something better suited for our site. In this case Carolina Live Music Archive. Which file do I modify to change this? I'm sure I can find which line through trial and error but if you know that as well that would be great!

v1.0.4

Thanks again!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 08, 2010, 05:42:43 PM
In this file Themes/default/languages/Download.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: sonicfetish on January 08, 2010, 06:26:39 PM
Thank you so very much...



Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on January 09, 2010, 06:47:42 PM
Any help for me pls - one month now - no help

Pls suggest

Quote from: topbuyer on December 19, 2009, 07:01:30 PM
Pls find attached.

Quote from: vbgamer45 on December 13, 2009, 12:19:29 AM
Please attach your index.template.php file

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 09, 2010, 06:59:57 PM
Please reattach the file
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on January 12, 2010, 03:37:30 AM
Pls find attached. Thanks !

Quote from: vbgamer45 on January 09, 2010, 06:59:57 PM
Please reattach the file
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Enders on January 12, 2010, 04:04:12 PM
How do I sticky a download where it always show that download first in a category
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 12, 2010, 07:47:50 PM
Quote from: Enders on January 12, 2010, 04:04:12 PM
How do I sticky a download where it always show that download first in a category
Sticky downloads not supported yet good idea though
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 12, 2010, 07:58:12 PM
Quote from: topbuyer on January 12, 2010, 03:37:30 AM
Pls find attached. Thanks !

Quote from: vbgamer45 on January 09, 2010, 06:59:57 PM
Please reattach the file
Fixed file attached
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on January 13, 2010, 02:33:26 AM
Thanks. Can you please help to change the menu bar text from download to Files. I tried doing this, but couldn't able to make it work.

And only admin see gallery link in menu bar. ( I can raise this in your gallery thread if want)


Quote from: vbgamer45 on January 12, 2010, 07:58:12 PM
Quote from: topbuyer on January 12, 2010, 03:37:30 AM
Pls find attached. Thanks !

Quote from: vbgamer45 on January 09, 2010, 06:59:57 PM
Please reattach the file
Fixed file attached
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 13, 2010, 08:45:45 AM
You would edit the following file themes/default/languages/downloads.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on January 13, 2010, 04:07:02 PM
I changed this variable $txt['downloads_text_title'] = but its not changing the menu bar title, can you please suggest the correct variable to change.


Quote from: vbgamer45 on January 13, 2010, 08:45:45 AM
You would edit the following file themes/default/languages/downloads.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 13, 2010, 07:34:22 PM
Sorry wrong file meant themes/default/languages/modifications.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: topbuyer on January 14, 2010, 07:30:58 AM
Thanks ! All good now.

Quote from: vbgamer45 on January 13, 2010, 07:34:22 PM
Sorry wrong file meant themes/default/languages/modifications.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 14, 2010, 08:57:16 AM
Glad you got it working
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: king kratos on January 14, 2010, 11:50:48 AM
I cant find this option, so I am going to suggest it. I think it would be a good idea to have the option to set an expiration date for individual downloads.

For example, I often have downloads that I will only offer to customers for free for a certain period of time (10 days, 20 days, 1 month, etc). After that period of time, I would like the download to automatically become inactive so that customers then need to purchase it.

Not sure how easy or hard this would be, but I cannot seem to figure out how to get it to work.

Thanks,

Kratos
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 14, 2010, 07:32:43 PM
Maybe that would be pretty custom though to do not sure how many people would use it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on January 16, 2010, 04:07:47 PM
I am not sure I understand exactly what this mod does. I want the ability to offer large files for download in my forum.

1) File size would usually range from 30 MB to more than 500 MB in zip format.
2) I don't want outsiders to be able to download or hotlink the files.
3) I want the logged-in members to have a minimum number of posts to earn download permission.

Would this mod fulfill those wishes?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 16, 2010, 04:53:05 PM
1. You need to update your php settings to support larger files normally recommend max 100mb to 250mb per file upload on a web form.
2. Yes that is an option  you can protect it for members only
3. I think that is Downloads Pro only
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on January 16, 2010, 08:33:07 PM
I understand. Thank you much.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on January 18, 2010, 08:00:29 AM
On the settings page, what does "Enable multiple folders for downloads storage" do for me? Does it create a new folder for each new category? (I couldn't find any sort of manual to look this up myself.)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 18, 2010, 08:43:18 AM
It creates a new folder for every thousand files so that directories do not get too large
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on January 18, 2010, 10:03:55 AM
Thanks for the previous reply about the folders. One more question if you don't mind...

When viewing the download page with Internet Explorer (default curve theme) the menu buttons are off to the right. I am guessing I need to add a clear tag somewhere.

See the attachment.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on January 18, 2010, 07:22:59 PM
What version of internet explorer?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on January 19, 2010, 03:53:35 PM
Well, the short answer is version 7.0 (It really says version 7.0.5730.13) The menu is also off to the right when using Avant Browser.

The menu does work correctly in Firefox, Safari, Netscape, and Google Chrome. That is, the buttons start on the left side and make a horizontal row.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 08, 2010, 11:49:25 AM
1.2.8
+Optimized the table view for SMF 2.0 RC2
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: BCP on February 16, 2010, 06:37:07 PM
How do I upload my 1st file to the download system 1.2.7.  I do not see an upload link
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 16, 2010, 06:40:36 PM
If you use a custom theme for SMF 1.1.x you need to add a downloads button to your theme menu

Downloads accessed via http://www.yourforum.com/index.php?action=downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: BCP on February 16, 2010, 06:55:13 PM
which link do i goto?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 16, 2010, 06:58:19 PM
http://www.yourforum.com/index.php?action=downloads
Replace with your forum url
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Foreclosurepedia on February 20, 2010, 08:40:07 PM
I don't have any questions at the moment; simply wanted to say this is a really neat mod that was BADLY needed by my forum!  We are hobos and now we can exchange atlases and such!  Man, thanx! ;D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 21, 2010, 10:31:05 AM
Thanks for the comments and support!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: navjotjsingh on February 21, 2010, 08:41:03 PM
One Suggestion for next version, instead of text link to download file you should give a option of including a button so that download link becomes more prominent.

And thanks for the awesome mod, works like a charm. :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 21, 2010, 09:28:42 PM
I myself am not good with graphics so i normally stick to textlinks. I do have a button in the pro version of the mod though.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: Nibogo on February 27, 2010, 10:36:11 PM
vb I was wondering if you can modify how the Categories are showned in all the select fields in forms, I mean the categories are organized in the roworder but this is pretty bad when you have some categories because you can't find the category that you want quiclky, I think of would be pretty useful if you organize the categories based on the parent categories just like the select field for the jump to feature.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 27, 2010, 10:46:58 PM
Yeah I have that for Downloads Pro haven't updated lite yet with it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: ShawnH on February 28, 2010, 05:18:20 AM
Thanks for the Mod, i have 1 question, after i do a upload i get an error..

The database value you're trying to insert does not exist: is_ratings

can i fix this?

thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: vbgamer45 on February 28, 2010, 02:49:16 PM
Do you have the exact file and line number along with that error?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 08, 2010, 07:48:16 PM
New update/release

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
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Nibogo on March 08, 2010, 08:22:04 PM
Quote from: vbgamer45 on March 08, 2010, 07:48:16 PM
New update/release

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


vb this has been added in that release??:

Quote from: NIBOGO on February 27, 2010, 10:36:11 PM
vb I was wondering if you can modify how the Categories are showned in all the select fields in forms, I mean the categories are organized in the roworder but this is pretty bad when you have some categories because you can't find the category that you want quiclky, I think of would be pretty useful if you organize the categories based on the parent categories just like the select field for the jump to feature.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 08, 2010, 08:23:23 PM
Not yet but I have the code done for downloads pro just need to port it here.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Nibogo on March 08, 2010, 08:36:45 PM
Quote from: vbgamer45 on March 08, 2010, 08:23:23 PM
Not yet but I have the code done for downloads pro just need to port it here.

That is why I asked if maybe you added to the code but forgot it in the Changelog

Anyway thanks for this great mod, I'm going to check as soon as you update it with this feature
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Aoife on March 11, 2010, 04:27:00 PM
Very nice mod, vb!  I just added this mod to our forums this morning and so far the members are liking it alot.    ;D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 11, 2010, 04:40:51 PM
Thanks for your comments
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: tfs on March 12, 2010, 08:21:21 PM
I'd like to set this up for my clients, but I'd like to make one download area for each client, and have each client see ONLY their specific download area.  From what I've found, I've got to place DENY permissions for each client for each area they're not allowed to see.  Am I just missing something simple?

Is there a way I can set this up so that if I create a new download category, it's invisible to everyone unless I specifically grant that person/group permission?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 12, 2010, 08:39:40 PM
Not yet but would be a good request currently you would have to deny for each membergroup
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: tfs on March 12, 2010, 09:49:55 PM
Thanks for the quick feedback.  I think that would be a nice option.  Call it explicit mode or something like that, where you must explicitly grant access to someone or else they don't see a category.

I started to set this up yesterday but I eventually realized that every time I add a client and a corresponding download category, I have to deny access to every other client to that category, as well as denying access for the new client to all of the other categories.  It became too much.  (I did use the feedback form upon uninstall.  That was slick.  I've never seen any other mod do that)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: RawDepth on March 13, 2010, 09:38:44 AM
vbgamer45,

A great mod. I am loving it and considering the pro version.

I am about to update my forum from RC2 to RC3. (I will also update this mod from 1.2.7 to 1.3) My members currently have dozens of very huge files already uploaded into this mod.

Questions:

How should I approach the update? Should I uninstall this mod before the forum update or just let it copy files over top?

Will the database remember all currently uploaded files or will my members need to re-upload all files after the updates?

Will the database remember all current admin settings related to this mod?

Awaiting your advice. Thanks.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: petesky on March 13, 2010, 10:27:39 AM
Just upgrade and install the current pro version 1.0.15 - works perfect on RC3
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 13, 2010, 11:33:50 AM
For RawDepth all files/data are saved when you uninstall.

When you upgrade uninstall lite first otherwise you will missing the "Download File" new permission that was added in additon to the view permission.

Other than that the system will automatically pickup all your downloads from Downloads Lite.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: SAFAD on March 14, 2010, 08:55:53 AM
Hi there
I Have undefiend error
its image
i searched and i've found its the function that makes buttons
and i am using custom theme
with babylon buttons
and it looks like that
the button profile of the author of the file is missing
as same for the button to search
all these when to enter the page that contains info of the file
i dono how to add a define it for those images
Best Regards
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 14, 2010, 10:01:18 AM
Whats the exact error message?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: RawDepth on March 14, 2010, 03:44:32 PM
Quote from: vbgamer45 on March 13, 2010, 11:33:50 AM
For RawDepth all files/data are saved when you uninstall.

When you upgrade uninstall lite first otherwise you will missing the "Download File" new permission that was added in additon to the view permission.

Other than that the system will automatically pickup all your downloads from Downloads Lite.

I am all done updating. You were right. Everything works great. Thanks for the help.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 14, 2010, 04:04:28 PM
No problem glad you got it updated
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC2!
Post by: RawDepth on March 14, 2010, 08:18:33 PM
Quote from: RawDepth on January 18, 2010, 10:03:55 AM
Thanks for the previous reply about the folders. One more question if you don't mind...

When viewing the download page with Internet Explorer (default curve theme) the menu buttons are off to the right. I am guessing I need to add a clear tag somewhere.

See the attachment.

Except this problem is still there. Go back one page and look at the attachment on post #1101.

I never did see a fix for this. Did I miss something?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 14, 2010, 08:30:32 PM
On all pages that have that menubar? And what version of internet explorer?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: RawDepth on March 18, 2010, 07:26:44 PM
Quote from: vbgamer45 on March 14, 2010, 08:30:32 PM
On all pages that have that menubar? And what version of internet explorer?

Didn't I already answer those questions? I'll take that to mean you don't know why it occurs. Oh well, no biggie.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 18, 2010, 08:22:12 PM
I haven't seen or heard anything with issues with IE.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: numus on March 19, 2010, 04:52:15 PM
So i am going to attempt to modify this program a little bit and could use some help (my php is rusty)...
The goal is to create a rss like list of the real url's for specific categories in the downloads modification...

The purpose behind this is I own and run a Samsung Android modification group (sdx-developers.com)
and we are trying to create a program that will list out download urls for a .zip file so you can easily download it right to your sdcard.. then in recovery mode you can patch the kernel by applying the zip file..

We already have everything working except wget can't resolve php redirects that download modification uses

We could use a standard list style interface and just scrap that but since we already use the download modification and have a nice listing and system going, it would be best to utilize this method....
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: numus on March 20, 2010, 12:08:39 AM
Thanks to Arantor for building the base that i built upon

<? header('Content-type: text/xml'); ?>
<rss version="2.0">
<channel>
<title>SDX-Developers Kernel RSS Feed</title>
<description>Feed of developed kernels</description>
<link>http://www.sdx-developers.com/</link>
<copyright>GNU GPL2</copyright>
<?
require('Settings.php');

$con = mysql_connect($db_server, $db_user, $db_passwd);
mysql_select_db($db_name);
$q="SELECT fileurl, title, id_cat, date FROM smf_down_file WHERE id_cat = 7 ORDER BY date DESC";
$doGet=mysql_query($q);
while ($result = mysql_fetch_assoc($doGet)){

?>
     <item>
        <title> <?=htmlentities(strip_tags($result['title'])); ?></title>
        <description> <?=htmlentities(strip_tags($result['fileurl'],'ENT_QUOTES'));?></description>
        <link><?=$result['fileurl'];?></link>
        <pubDate> <?=strftime( "%a, %d %b %Y %T %Z" , $result['date']); ?></pubDate>
     </item>
<? } ?>


</channel>
</rss>

That will create a rss feed for a specific cat_id if you want to publish that
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: dnuttall on March 21, 2010, 08:11:55 AM
Is it possible to have a SEARCH of title, description for the Downloads System?

TIA.

Dave Nuttall
San Antonio, TX
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 21, 2010, 01:50:37 PM
I believe that should be built into the system there should be a search tab if not its in downloads pro.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Afro on March 21, 2010, 05:05:30 PM
How do you download the actual "download link" on the download page.
I mean the link people click to download files from my site
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 21, 2010, 05:50:03 PM
You would right click the link to get the link of the item for a direct link
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Afro on March 21, 2010, 06:54:58 PM
Quote from: vbgamer45 on March 21, 2010, 05:50:03 PM
You would right click the link to get the link of the item for a direct link

Damn..

i was supposed to ask how i can underline and bold the link.
possibly colour it too..
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 21, 2010, 07:05:23 PM
You would edit the downloads.template.php then use the <b> <u> tags to style the link
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Afro on March 21, 2010, 07:20:16 PM
thanks vb..

there are like a thousand "download" there.

which one ties to the download link ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 21, 2010, 08:05:06 PM
Look for the view_download template function.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Afro on March 21, 2010, 08:35:59 PM
ok, found it.. great work. thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Element18592 on March 27, 2010, 08:47:19 PM
Vbgamer could you tell me how exactly i would make it to where my users cant edit and delete categorys. Ive went through all the settings and permissions and cant seem to figure it out. I just want them to be able to upload and download. not really have access to the settings. Thanks for any help. Nice job on the system btw.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 27, 2010, 08:55:09 PM
Don't give them the Admin Downloads/Manage Downloads permission. Under Admin -> Permissions for each membergroup
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Element18592 on March 28, 2010, 08:39:01 PM
Thanks man.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: tfs on March 29, 2010, 02:20:09 AM
Is there a way to disable "Download Stats" and remove the link to "View Downloads Stats?"
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 29, 2010, 10:05:08 AM
You would currently need to remove it from the template itself.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on March 30, 2010, 10:39:29 PM
Hello,
I really would like to use your creation, however i seem to have run into many problems. The most important problem to fix at this time is that after installing into smf 2.0 RC 3.0 and going to DownloadConfigurations>category permissions I get a page where the template is all messed up like this: (http://i449.photobucket.com/albums/qq214/PowerKrewServers/downloadsystem.png).

Please help me resolve this first issue
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 30, 2010, 10:57:32 PM
That is just a style issue can be ignored that is the admin area doesn't affect what the user sees.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on March 31, 2010, 12:32:57 AM
So no adjustments can be made here by me, the admin? If so, where should i change it so that guests can see and download, but only members can upload and comment?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 31, 2010, 12:35:08 AM
Category permission are permissions if you want to set on a category.

Normal permissions are found under Admin -> Permissions
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 31, 2010, 03:11:27 PM
Update!

1.3.1
+Added better curve style support for SMF 2.0 RC3
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on March 31, 2010, 04:18:54 PM
Wow, lucky me!! Works perfect now, thanks and great work on this. You are a gift to computers everywhere.  ;D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: doughboy99 on March 31, 2010, 07:16:00 PM
This is looking good again. I think we are going to have to spring for the pro version soon.

I noticed a couple of very minor display issues. I am using Simple portal with just left hand blocks enabled when viewing the Dowloads area. Most Elements of the Downloads mod are showing at 100% width, however the list of items in a download category (class=table_grid?)and the actual view of download item(class=tborder?) show at 90% width. Was this intentional, The extra space at 100% would be most useful to me if possble. Also are these elements meant to have rounded coners?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on March 31, 2010, 07:21:06 PM
Didn't update every part with the curve style rounded corners just did the main index and the top downloads bar on all pages. Slowly moving everything to 100% width usage so it uses up all the page.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 01, 2010, 01:50:19 AM
Hey, just out of curiousity, is there a way to transfer a large amount of files(100+files) to the download system such as ftp,  or is the only way, one by one via browser interface?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: doughboy99 on April 01, 2010, 07:37:06 AM
Quote from: vbgamer45 on March 31, 2010, 07:21:06 PM
Didn't update every part with the curve style rounded corners just did the main index and the top downloads bar on all pages. Slowly moving everything to 100% width usage so it uses up all the page.

No Worries. The stytle changes you have already made to makin g the download system match the new curve style. Thanks again.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ramón Cutanda on April 02, 2010, 03:40:21 PM
Hi,

Attached you'll find the Spanish files for Download System 1.3.1 and next, the strings for the installation file.

Regards,

Modifications.spanish_es-utf8.php

<file name="$languagedir/Modifications.spanish_es-utf8.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Descargas';
$txt['downloads_admin'] = 'Configuración de descargas';
$txt['downloads_text_settings'] = 'Ajustes';

$txt['downloads_form_approvedownloads'] = 'Aprobar Descargas';
$txt['downloads_form_reportdownloads'] = 'Descargas Reportadas';
$txt['downloads_form_approvecomments'] = 'Aprobar Comentarios';
$txt['downloads_filespace'] = 'Administrador Espacio Archivos';
$txt['downloads_text_catpermlist2'] = 'Permisos de Categoría';
$txt['downloads_txt_import'] = 'Importar';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Descargas';
$txt['permissiongroup_simple_downloads'] = 'Sistema de Descargas';

$txt['permissionname_downloads_view'] = 'Ver Descargas';
$txt['permissionhelp_downloads_view'] = 'Permite al usuario ver las Descargas';
$txt['cannot_downloads_view'] = 'No tienes permiso para ver las Descargas';

$txt['permissionname_downloads_add'] = 'Añadir Descarga';
$txt['permissionhelp_downloads_add'] = 'Permite al usuario añadir una descargas.';
$txt['cannot_downloads_add'] = 'No tienes permiso para añadir una descarga.';

$txt['permissionname_downloads_edit'] = 'Editar Descargas propias';
$txt['permissionhelp_downloads_edit'] = 'Permite al usuario editar sus propias descargas.';
$txt['cannot_downloads_edit'] = 'No tienes permiso para editar descargas';

$txt['permissionname_downloads_delete'] = 'Borrar Descargas propias';
$txt['permissionhelp_downloads_delete'] = 'Permite al usuario borrar sus propias descargas.';
$txt['cannot_downloads_delete'] = 'No tienes permiso para borrar esta descarga.';

$txt['permissionname_downloads_ratefile'] = 'Valorar Descargas';
$txt['permissionhelp_downloads_ratefile'] = 'Permite al usuario valorar una descarga.';
$txt['cannot_downloads_ratefile'] = 'No tienes permiso para valorar ese archivo.';

$txt['permissionname_downloads_editcomment'] = 'Editar Comentarios propios';
$txt['permissionhelp_downloads_editcomment'] = 'Permite al usuario editar sus propios comentarios.';
$txt['cannot_downloads_editcomment'] = 'No tienes permiso para editar ese comentario.';

$txt['permissionname_downloads_comment'] = 'Escribir Comentarios';
$txt['permissionhelp_downloads_comment'] = 'Permite al usuario dejar comentarios en una descarga.';
$txt['cannot_downloads_comment'] = 'No tienes permiso para escribir comentarios.';

$txt['permissionname_downloads_report'] = 'Reportar Imágenes/Comentarios';
$txt['permissionhelp_downloads_report'] = 'Permite al usuario reportar descargas y comentarios.';
$txt['cannot_downloads_report'] = 'No tienes permiso para reportar contenidos.';

$txt['permissionname_downloads_autocomment'] = 'Auto-Aprobar Comentarios';
$txt['permissionhelp_downloads_autocomment'] = 'Los comentarios se publicarán directamente sin necesidad de revisión.';

$txt['permissionname_downloads_autoapprove'] = 'Auto-Aprobar Comentarios';
$txt['permissionhelp_downloads_autoapprove'] = 'Las descargas no se publicarán directamente sin necesidad de revisión.';


$txt['permissionname_downloads_manage'] = 'Administrar Sistema Descargas';
$txt['permissionhelp_downloads_manage'] = 'Permite al usuario añadir/editar/borrar todas las categorías. Borrar Comentarios, Borrar Descargas, Aprobar Descargas';
$txt['cannot_downloads_manage'] = 'No tienes permiso para administrar las descargas.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.spanish_es.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Descargas';
$txt['downloads_admin'] = 'Configuraci&oacute;n de descargas';
$txt['downloads_text_settings'] = 'Ajustes';

$txt['downloads_form_approvedownloads'] = 'Aprobar Descargas';
$txt['downloads_form_reportdownloads'] = 'Descargas Reportadas';
$txt['downloads_form_approvecomments'] = 'Aprobar Comentarios';
$txt['downloads_filespace'] = 'Administrador Espacio Archivos';
$txt['downloads_text_catpermlist2'] = 'Permisos de Categor&iacute;a';
$txt['downloads_txt_import'] = 'Importar';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Descargas';
$txt['permissiongroup_simple_downloads'] = 'Sistema de Descargas';

$txt['permissionname_downloads_view'] = 'Ver Descargas';
$txt['permissionhelp_downloads_view'] = 'Permite al usuario ver las Descargas';
$txt['cannot_downloads_view'] = 'No tienes permiso para ver las Descargas';

$txt['permissionname_downloads_add'] = 'A&ntilde;adir Descarga';
$txt['permissionhelp_downloads_add'] = 'Permite al usuario a&ntilde;adir una descargas.';
$txt['cannot_downloads_add'] = 'No tienes permiso para a&ntilde;adir una descarga.';

$txt['permissionname_downloads_edit'] = 'Editar Descargas propias';
$txt['permissionhelp_downloads_edit'] = 'Permite al usuario editar sus propias descargas.';
$txt['cannot_downloads_edit'] = 'No tienes permiso para editar descargas';

$txt['permissionname_downloads_delete'] = 'Borrar Descargas propias';
$txt['permissionhelp_downloads_delete'] = 'Permite al usuario borrar sus propias descargas.';
$txt['cannot_downloads_delete'] = 'No tienes permiso para borrar esta descarga.';

$txt['permissionname_downloads_ratefile'] = 'Valorar Descargas';
$txt['permissionhelp_downloads_ratefile'] = 'Permite al usuario valorar una descarga.';
$txt['cannot_downloads_ratefile'] = 'No tienes permiso para valorar ese archivo.';

$txt['permissionname_downloads_editcomment'] = 'Editar Comentarios propios';
$txt['permissionhelp_downloads_editcomment'] = 'Permite al usuario editar sus propios comentarios.';
$txt['cannot_downloads_editcomment'] = 'No tienes permiso para editar ese comentario.';

$txt['permissionname_downloads_comment'] = 'Escribir Comentarios';
$txt['permissionhelp_downloads_comment'] = 'Permite al usuario dejar comentarios en una descarga.';
$txt['cannot_downloads_comment'] = 'No tienes permiso para escribir comentarios.';

$txt['permissionname_downloads_report'] = 'Reportar Im&aacute;genes/Comentarios';
$txt['permissionhelp_downloads_report'] = 'Permite al usuario reportar descargas y comentarios.';
$txt['cannot_downloads_report'] = 'No tienes permiso para reportar contenidos.';

$txt['permissionname_downloads_autocomment'] = 'Auto-Aprobar Comentarios';
$txt['permissionhelp_downloads_autocomment'] = 'Los comentarios se publicar&aacute;n directamente sin necesidad de revisi&oacute;n.';

$txt['permissionname_downloads_autoapprove'] = 'Auto-Aprobar Comentarios';
$txt['permissionhelp_downloads_autoapprove'] = 'Las descargas no se publicar&aacute;n directamente sin necesidad de revisi&oacute;n.';


$txt['permissionname_downloads_manage'] = 'Administrar Sistema Descargas';
$txt['permissionhelp_downloads_manage'] = 'Permite al usuario a&ntilde;adir/editar/borrar todas las categor&iacute;as. Borrar Comentarios, Borrar Descargas, Aprobar Descargas';
$txt['cannot_downloads_manage'] = 'No tienes permiso para administrar las descargas.';

// END Download System Text Strings           
]]></add>
    </operation>
</file>

<file name="$languagedir/Who.spanish_es-utf8.php">
    <operation error="ignore">
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'En las <a href="' . $scripturl . '?action=downloads">Descargas</a>';
// END Download System Strings           
]]></add>
    </operation>
</file>

<file name="$languagedir/Who.spanish_es.php">
    <operation error="ignore">
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'En las <a href="' . $scripturl . '?action=downloads">Descargas</a>';
// END Download System Strings           
]]></add>
    </operation>
</file>


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 02, 2010, 03:42:16 PM
Thanks so much for translation!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: luismanson on April 03, 2010, 09:12:06 PM
as i have a lot of files to upload, is there any change to FTP them into the server and then edit the descriptions?

thanks!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 03, 2010, 09:18:55 PM
I don't know if this version as the batch add in the admin area or it might be part of downloads pro only.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 04, 2010, 02:03:38 AM
I really enjoy using this, but is there a meter or progress bar for uploading? Also many members are telling me that the system will time out if the file is over 10mb, anything you can do to help/change this would be greatly appreciated.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 09:59:53 AM
No progress meter yet but good idea.

The upload limit is controlled by your php settings. Which you can see under downloads configuration settings.

Either you need to increase it via editing the php.ini or contact your host.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 04, 2010, 11:28:08 AM
Alright well that definately helped.
I just attemped to upload something to my site, myself, and i got this error: "Hacking attempt..."
Any ideas what might have caused that?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 01:42:35 PM
Not sure really that is unusal. All files or a certain file?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 04, 2010, 02:09:59 PM
Hmm, upon further testing, it only happens with files that have apostrophes (') in their file name. I can avoid uploading files like that myself, or at least remove the apostrophes, But my users may not know to do that, is there any way to resolve this or should i just try to tell everyone not to include any wierd syntax such as that?

And thanks again for all your help.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 02:24:55 PM
Quote from: PPowerHouseK on April 04, 2010, 02:09:59 PM
Hmm, upon further testing, it only happens with files that have apostrophes (') in their file name. I can avoid uploading files like that myself, or at least remove the apostrophes, But my users may not know to do that, is there any way to resolve this or should i just try to tell everyone not to include any wierd syntax such as that?

And thanks again for all your help.
Fixed released new update
1.3.2
!Fixed issue with quotes in filenames that are uploaded!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: thorsummoner on April 04, 2010, 02:46:52 PM
Wow Good work man!
this has been extremely helpful to me and my friends and it works great!
I was wondering tho, what is the possibility of including photos in the download list?
I was hoping to find a way to call the first photo or two from the download's page description and display them in the download list, either in tiny 2em high preview witch would expand to a more visible photo on mouse over, but i know that maybe insanely hard to do. Other than that may be just do a picture in the download list in a decent size and leave it like that. Then again to call an image tag from a text field may also be incredibly hard to do also. Just a suggestion, I'd like to see you thoughts on the subject! Thanks for the great add-on anyways!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 02:52:16 PM
Photos/screenshots I currently have built into the Downloads Pro version of this mod.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: luismanson on April 04, 2010, 07:12:52 PM
Quote from: vbgamer45 on April 03, 2010, 09:18:55 PM
I don't know if this version as the batch add in the admin area or it might be part of downloads pro only.

its in the pro :(
i really cant affor that price but im glad to know its there
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 04, 2010, 08:16:14 PM
Bug

Sub-Sub-Categorys are not counted in the Categorys total.

As in Category > Sub-Category would be counted.
But, Category > Sub-Category > Sub-Sub-Category the second sub would not be counted.
Also, Category > Sub-Category > Sub-Sub-Category > Sub-Sub-Sub-Category would not be counted.

Example here (http://www.customfps.com/community/index.php?action=downloads).
The Call of Duty category has over 200 files in it, yet it shows only the amount of files that are in the Sub-Category of Call of Duty.

VBGamer or anyone else have a quick fix for this?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 11:07:31 PM
Not really a bug but that was how it was designed. Sub Sub totals arent' counted.
Same as SMF itself.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 05, 2010, 12:02:08 AM
Is there a piece of code that you can create or edit for me to make it count.
Because I need it, as my download system looks as it has 10 files at the moment, when it has over 200.

Help please?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 05, 2010, 12:04:34 AM
Maybe will see I would need to write it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 05, 2010, 12:09:44 AM
Thanks!, If you cannot though for any reason, just please contact me.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: thorsummoner on April 05, 2010, 12:59:23 AM
Yeah, I'm having trouble with uploading files to the download system.
I keep getting "
An Error Has Occurred!
You need to enter a download title.
"
I was wondering if this was a problem with the update because all fields except the last one for the url were filled in so i dunno whats wrong.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 05, 2010, 01:16:14 AM
When my members get that problem, it is because of your hosting max upload limit.
Mine is 64mb, so when someone trys to upload a file over 64mb, it gives them that error.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 05, 2010, 01:20:53 AM
You can see your limits under Downloads Configuration
Contact your host to increase them
Title: Download System - where is the upload function
Post by: npn on April 05, 2010, 07:36:48 AM
I know - sounds odd:

Have installed SMF and the Download System but seems to miss the upload function.
Is there some kind of manual for it - or maybe someone had the same prob.

xxw.cykelmaraton.dk/smf/

ty
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 05, 2010, 10:20:40 AM
You need to add category's first then you can upload files to a category
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: npn on April 05, 2010, 11:17:51 AM
Quote from: vbgamer45 on April 05, 2010, 10:20:40 AM
You need to add category's first then you can upload files to a category

My bad - have used a temp with black letters so I was unable to see the menu (*** /smf/index.php?action=downloads;sa=addcat;cat=5)

the black boarder with the menu - where can that color be changed ?

ty for your fast answer
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ramón Cutanda on April 05, 2010, 12:24:41 PM
Hi,

When a user adds a comment to a download the publisher can choose to receive a notification mail but, could other groups receive the same notification such as administrators or moderators?

I'd also like to receive an email notification when a file or comment is reported (and the same for SMF Links)

Is that possible?

Thanks in advance.

Regards,
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 05, 2010, 12:53:09 PM
Quote from: npn on April 05, 2010, 11:17:51 AM
Quote from: vbgamer45 on April 05, 2010, 10:20:40 AM
You need to add category's first then you can upload files to a category

My bad - have used a temp with black letters so I was unable to see the menu (*** /smf/index.php?action=downloads;sa=addcat;cat=5)

the black boarder with the menu - where can that color be changed ?

ty for your fast answer
That is controlled by css of your theme itself. So you would have to edit the css.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 07, 2010, 04:03:59 PM
Hey, well I am having some trouble with my host/download system/inability to code php. It seems that every attempt i make at raising the limit has failed.
I know this probably doesn't have anything to do with your download system, but when I asked another site, they tell me i need to modify the code on your system?! Here is a link to the topic i posted for further information.  http://forums.digitalpoint.com/showthread.php?t=1758809#post13966680 (http://forums.digitalpoint.com/showthread.php?t=1758809#post13966680)

Any help is greatly appreciated, the limit is the only thing preventing me from releasing the site to the public. :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 07, 2010, 04:23:37 PM
I would really contact your host. They are the ones that control it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 08, 2010, 07:12:26 PM
When I try to approve a download in this certain section, I get this error:

An Error Has Occurred!
Board structure corrupt: unable to find parent board
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 08, 2010, 07:17:37 PM
You probably have a board set as a download topic under downloads that was deleted/removed.

Check each of your downloads categorys to maek sure they are posting to a good board
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: codnerd on April 08, 2010, 07:18:49 PM
Np, thx :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 09, 2010, 08:21:11 PM
Well I able to resolve my limit issue by switching from a windows server to linux, everything went fine but we lost the 108 downloads we originally had, I still have the files in the format the download system saves them in, and the import function wants something with "Tiny Portal". Is there any way i can quickly reupload those files we had previously worked so hard to get there? Plx say yes :( this has been a personal nightmare for me.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 09, 2010, 08:24:04 PM
I have no idea it really depends on each server they have set to the limit. Contact your hosting provider and they should tell you the limits they have setup.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: PPowerHouseK on April 09, 2010, 08:29:33 PM
No I was able to raise the limits, but i had to reinstall the entire forum, how can I get all those downloads back in place?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 09, 2010, 09:00:30 PM
Check if there is a batch add in the admin area if not I think u have to do it one by one.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: pjn on April 21, 2010, 01:40:36 AM
i install this mod, but i don't see is on the up menu (i see link only)
http://new.pjn-il.com/

when i install other lang & make category & i use my lang, i get "???"

http://new.pjn-il.com/index.php?action=downloads


thanx!!!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on April 21, 2010, 09:52:42 AM
You need to convert tables to utf8 and create your own modifications.yourlanguage file for the downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: pjn on April 21, 2010, 12:35:09 PM
when i install tables:
Notice: Undefined index: downloads_menu in /home/pjnet/domains/new.pjn-il.com/public_html/Sources/Subs.php on line 4213 Recounting Download Totals...


& i made lang-utf8 & dont see in menu bar:
Downloads.hebrew-utf8
in path: Themes/core/languages/
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: CujoQuarrel on April 22, 2010, 07:32:15 PM
I know this is an imposition and I have tried to RTFM but I do not understand how to install addons such as this and I really want to use this addon.

Could someone point me to 'How to install for Dummies' information.

Thank you
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Arantor on April 22, 2010, 07:34:22 PM
Start from http://docs.simplemachines.org/index.php?topic=95
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: CujoQuarrel on April 22, 2010, 08:20:21 PM
Went there first. When I try to use the package manager to browse to the package using this server as recommended

http://mods.simplemachines.org/index.php/index.php

I get a server not found message.


I was able to get the 'upload' entry to work (FTPd the zip file and uploaded to the website). It did something. Got asked to install. PROGRESS!!!

I can configure the tool now .. making progress

Now all I need is where is the link to the download area? Is this something manual?

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Arantor on April 22, 2010, 08:21:33 PM
If you're using a custom theme you'll have to modify its code yourself; mods on 1.1.x only install to the default theme.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: CujoQuarrel on April 22, 2010, 08:43:56 PM
Bingo. Thank you for your patience.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 06, 2010, 10:45:42 AM
Hi i have a problem this mod. I have smf 1.1.11 and sp 2.3.2 and i install this mod almost perfect but when i  Downloads Configuration i have a message  You are not allowed to manage the downloads. and nothing happend
How to fix it?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 06, 2010, 10:58:44 AM
Are you an admin?

Check under permissions -> modify group and give manage downloads permission
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 06, 2010, 11:11:08 AM
ooo yes , perfect  ;D ;D
thank you very much
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 06, 2010, 11:51:17 AM
Glad you got it!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 06, 2010, 02:05:25 PM
A second question  ;D
i have upload a test file but when a user to download this file ,he take a message HTTP 404 - Page Not Found
Why? what i doiing wrong?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 06, 2010, 02:17:01 PM
File big? Do you have seo urls eneabled?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 06, 2010, 02:30:38 PM
file is 2 mb. seo urls eneabled?
look at the screen
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 06, 2010, 04:00:12 PM
404 error means bad url like do you have any url mods
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 06, 2010, 10:34:56 PM
sorry but i dont understand what you mean ..url mods
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Arantor on May 07, 2010, 03:34:31 AM
What mods do you have?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 07, 2010, 05:59:41 AM
SMF Staff Page  1.6
Automatically Remove Inbox Label Mod  1.0
SimplePortal      2.3.2
Downloads System  1.3.2
YouTube BBCode  2.6

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 07, 2010, 10:29:58 AM
Does it say anything else instead of 404? It could be a permission issue.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 07, 2010, 02:36:06 PM
the permissions are ok, i dont understand what happend with this mod.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: andy12gr on May 08, 2010, 08:39:18 AM
thank you all, i delete this mod and i am ok  :-X
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 08, 2010, 09:34:19 AM
Still it was very unusal to get a 404 error unless it was permission or another mod releated.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on May 22, 2010, 03:49:14 PM
When i try to edit my downloads, i get this error:

Forbidden

You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 22, 2010, 10:27:14 PM
Issue with mod_security contact host to disable it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on May 23, 2010, 10:14:00 AM
Quote from: vbgamer45 on May 22, 2010, 10:27:14 PM
Issue with mod_security contact host to disable it.

Have done, fixed, thank you.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 23, 2010, 10:27:05 AM
Glad you got it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on May 23, 2010, 10:31:29 AM
Quote from: vbgamer45 on May 23, 2010, 10:27:05 AM
Glad you got it working!

I'm glad too.

Your mod is fantastic and i must take the time thank you for your hard work.

There was one last thing, has anyone ever made you aware of the bug/issue in the mod in regards to Sub Categories of Sub Categories not being counted towards the totals?

Only the first level of Sub Categories get counted.  (Even with 'Counts child categories downloads totals' enabled in settings)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 23, 2010, 10:33:22 AM
Yes that is how it currently works only the first sub level is counted like how SMF does for the forums.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on May 23, 2010, 10:53:53 AM
Quote from: vbgamer45 on May 23, 2010, 10:33:22 AM
Yes that is how it currently works only the first sub level is counted like how SMF does for the forums.

So it's designed that way?

That's a shame, i get around it by adding empty files into a directory on the first level that is invisible to regular users but it's a lot of work just to have multiple sub directories and have the right totals.

What's the downside of having the software count past one sub level?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 23, 2010, 11:14:22 AM
Well it would do a query for each sublevel. Fixed it in downloads pro just never updated downloads lite yet with it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on May 23, 2010, 11:35:50 AM
I did consider buying the professional version of the mod but to be honest i wasn't sure if the feature i wanted was in the buyable version and my website is non profit therefore i didn't think it was worth spending £40 / $65 dollars for one little feature.

Thanks for the great mod anyway :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 27, 2010, 12:43:25 PM
Minor update!

1.3.3
!Fixed incorrect html linking code had an extra /
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on May 27, 2010, 04:41:19 PM
Another update thanks to a donation!
1.3.4
+Added unlimited level deep counting for file totals
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: dedo on June 05, 2010, 06:47:03 PM
Quote from: vbgamer45 on April 04, 2010, 02:24:55 PM
Quote from: PPowerHouseK on April 04, 2010, 02:09:59 PM
Hmm, upon further testing, it only happens with files that have apostrophes (') in their file name. I can avoid uploading files like that myself, or at least remove the apostrophes, But my users may not know to do that, is there any way to resolve this or should i just try to tell everyone not to include any wierd syntax such as that?

And thanks again for all your help.
Fixed released new update
1.3.2
!Fixed issue with quotes in filenames that are uploaded!

How did you do that? (I update manually)

On SMF 1.1.11 I updated both Download.php and Downloads.template.php but I still get a slashed orginalfilename, example:
Lorenzo De\' Medici - Canzoniere.epub
instead of
Lorenzo De' Medici - Canzoniere.epub
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 05, 2010, 06:51:06 PM
That just fixes an sql error on upload for the filename if it contained quotes.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: pjn on June 06, 2010, 08:55:00 AM
when i try to enter to a-category, i get database eror:

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
files: /home/pjnet/domains/test.pjn-il.com/public_html/Sources/Downloads2.php
line: 336

thanx!!!!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 06, 2010, 09:12:30 AM
Hmm check under settings that Downloads Per Page is set.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: pjn on June 06, 2010, 12:44:37 PM
thanx! it's work!!!!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 06, 2010, 01:49:39 PM
Glad you got it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: scimmiotto on June 09, 2010, 08:30:24 AM
Hi, is there any way to show download only for people Who has x posts?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 09, 2010, 09:44:51 AM
Not currently doesn't use post count groups.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: hitboy on June 09, 2010, 02:46:40 PM
Wow this mod looks sweet going to try it out when I make my new site
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: scimmiotto on June 09, 2010, 05:17:45 PM
Hi vbgamer

Are u planning to do so? Tnx anyway for this great mod
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on June 10, 2010, 03:24:29 PM
is there a way i can make files uploaded to be previewed before download ? (especially audio files)
if not i advice that feature be added to the next update.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 10, 2010, 03:40:05 PM
Not at this time. With pro edition you can add screenshots but you can't play media.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: scimmiotto on June 11, 2010, 08:56:41 AM
Quote from: scimmiotto on June 09, 2010, 05:17:45 PM
Hi vbgamer

Are u planning to do so? Tnx anyway for this great mod

Up for myself
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 11, 2010, 09:24:24 AM
Not planning to do so I don't like post count based permissions it gets really odd
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on June 11, 2010, 07:35:25 PM
some advice on the next update
Quotepreview download,no matter the file type
ability to add adsense/html codes in download page
comments on downloads shown on forum post as reply
downloads can be accessed via mobile
thats all for now...

but a question is how can i add a custom entry field to the file upload page so its like

Artist
Title
Category
Description
e.t.c

and when about to download it will show

Artist Title Size Downloads Views e.t.c
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on June 13, 2010, 01:25:38 AM
for the mean time is there a way i can edit the download page and add html code(s)
1) below the link for downloading a file
2) in between categories
3) in between files in a category

:-\ :-\ :-\ :-\ :-\ :-\
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 13, 2010, 01:41:31 AM
Yes you need to edit download.template.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on June 13, 2010, 02:11:30 AM
where exactly.  :-\ for
Quote1) below the link for downloading a file
2) in between categories
3) in between files in a category
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 13, 2010, 02:22:15 AM
Don't know u would have to search the file i don't remember.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on June 13, 2010, 05:31:09 AM
i might find that hard i just know how to replace or paste below or above a place,should i attach the download.template.php ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: arty5 on June 16, 2010, 10:29:16 PM
Awesome mod mate, ur the best
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 16, 2010, 10:31:11 PM
Glad you enjoy it!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ned.net on June 21, 2010, 03:57:14 AM
Hi,

First of all thanks for that great mod, it's very useful to me :)

I get an error message each time I try to delete a download on my forum :


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1' at line 4
File: /home/html/somwhere/forum/Sources/Downloads.php
Line: 4486


In fact, first click does nothing, the download still seems to be there, so when I click to delete a 2nd time, I get the error message, but the deletion is effective.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: improv on June 21, 2010, 10:18:54 AM
Is there a way to display the latest downloads in another page with a code? Including to show images?
Thanks!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Masterd on June 21, 2010, 10:37:04 AM
This mod is very useful.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 21, 2010, 11:04:18 AM
Quote from: ned.net on June 21, 2010, 03:57:14 AM
Hi,

First of all thanks for that great mod, it's very useful to me :)

I get an error message each time I try to delete a download on my forum :


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1' at line 4
File: /home/html/somwhere/forum/Sources/Downloads.php
Line: 4486


In fact, first click does nothing, the download still seems to be there, so when I click to delete a 2nd time, I get the error message, but the deletion is effective.
I couldn't recreate the first click doing nothing always deleted it.
I fixed the error if you have two windows open on the delete page and delete on one and try to delete on the second posted the new update
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ned.net on June 22, 2010, 01:54:39 AM
@vbgamer :

Thanks for having a look at my problem.

In fact, I suspect my server to have a refresh problem : if I click "delete" on a download, confirm the deletion, the displayed page afterwards still lists it.
- If I ask again for deletion, I can trigger the error I talked about.
- But If I reload my page, the deleted download isn't shown any more, and everything is ok.

Sorry for annoying you with this "not-a-bug", and thanks again for having taken time to answer  :)

I added the french translation in the present attachment ("downloads.xml" and "downloads2.xml" only contain the 3 <file> nodes concerned by language) If you find it interesting to add
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 22, 2010, 10:15:10 AM
Thanks for the translation!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ned.net on June 23, 2010, 02:08:22 AM
with pleasure, it's the least I could do to thank you for letting us use your great mod :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 23, 2010, 08:56:33 AM
Glad you enjoy it
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ned.net on June 24, 2010, 03:16:26 AM
I surely do ! :)

I have a last question : when translating, I saw the $txt['permissionname_downloads_autoapprove'], but I can't find where in my admin interface it is used, though I'd like to enable the autoapprove feature.
I'm using SMF 1.1.11

TIA
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 24, 2010, 08:27:18 AM
Found under Admin -> Permsissions
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Ned.net on June 24, 2010, 08:46:54 AM
of course, it was the only part where I didn't look  ;D
thanks a lot
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 24, 2010, 08:48:05 AM
Glad you found it!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on June 26, 2010, 10:40:19 AM
Minor Bugfix
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on July 02, 2010, 04:06:18 PM
how can i add an html popup to the downloads page (before viewing a download)
like a floating message that should be read before viewing the download

something like
                                     
                                      Please Make Donations To Support US
                                     
QuotePayPal HTML CODE
Close Message
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 02, 2010, 04:36:54 PM
You would need to be modify the downloads.template.php and include the code.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: daked on July 02, 2010, 05:01:23 PM
i'm like a newbie coder so where exactly do i add the code and can you please post an html of the floating bar ? (as in where to put text,html,and the close message link)  :-\ :-\ :-\

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Mick. on July 05, 2010, 04:41:12 PM
vb,

Is there an SSI available for this mod?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 05, 2010, 04:48:42 PM
Not at the moment
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Mick. on July 05, 2010, 05:12:43 PM
Quote from: vbgamer45 on July 05, 2010, 04:48:42 PM
Not at the moment

Ah.... no worries. ;)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on July 06, 2010, 11:49:16 AM
I'm reading all the information I can, cant find this exactly, but would it be possible to like integrate download credits with the paid subscriptions on SMF?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 06, 2010, 12:11:55 PM
Yes it would be possible but you would need php/mysql knowledge to do.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on July 06, 2010, 12:14:34 PM
Well, I have some, but I don't think enough lol.

Could it be implemented in a future version maybe?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 06, 2010, 12:16:49 PM
Probably not.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ephralon on July 10, 2010, 01:20:36 PM
Sorry if this doesn't belong here, I don't want to subscribe to the SMFhacks forum just for one question about the pro version of this.  :-[
I'm very interested in this mod but sadly it doesn't do what I need. Does the support for the paid pro version include feature requests?
What I'd need is one picture but several download links per item.

To be precise, I'd like to use this to offer Sims downloads. I'd need one picture of a set and then up to 20 download links. (One for the whole set and one for each individual item for those who don't have a use for everything.) Basically a "more attachments" link beneath the "upload file option", like with attachments in regular posts.
Would that be possible at all?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 10, 2010, 01:28:56 PM
Paid version you can make feature requests but they are not guaranteed to made into the software. I can customize the mod if needed but may require development time.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ephralon on July 10, 2010, 01:49:33 PM
Thank you for that speedy reply! So basically this means if I buy this there's a 50/50 chance that I get what I need or that I end up with a mod that I don't have a use for because nobody else has a need for such a modification. Hm, that's a tough choice, of course. (I understand that you can't make everything that users ask, I know that can be a bottomless pit.)

Has the pro version an option for how many recent downloads are shown?
What does one year of support mean, btw? Can I only download updated versions for newer SMF releases for one year then or is only asking questions/making feature requests limited to one year?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 10, 2010, 02:25:40 PM
The package comes with one year of updates so any updates posted within that year you will have access to.

Basically when adding a feature I have to weight how much time it will take to make it then how much time it will require me to support it. It may seem simple but requires a lot of work. First each time I add a feature I have to add it to SMF 1.1.x and then SMF 2.0.x version. Next I have to think what it will break or how the behavior would change.
For multiple attachments I will need to create another table to store all the files in the database. Then I have to think about file quota limits, how the download button will work now that there are multiple files in a package, how it will work with paid downloads, then how many users may complain if they try to upload multiple files at a time and it fails due to serverside limits.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ephralon on July 10, 2010, 04:31:55 PM
It's okay, thanks for the reply. I doubt my request would be useful for more than a handful of users and I don't want to cause you headache. Maybe we'll get the pro gallery, and I'll find a different solution for the downloads.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: sonicfetish on July 28, 2010, 11:57:48 AM
Hello,
I'm sure I'm not the first person to ask these questions but I can't seem to narrow the search to find the answer :P

I've been using Download System for a few years. I purchased Download System Pro the other day and intend on completely rebuilding my site which for all intents and purposes is a live music archive that centers around the trading of (legal) live music. I get a fairly high volume of submissions for approval and with each I am asked, "Can I embed a music player in my description?" DS is awesome but there are a few shortcomings I'm hoping there will be workarounds for since I just dropped $65 on your awesome mod.

As things stand right now (pre DS Pro), when a visitor clicks on "download" he/she downloads a zip archive containing several mp3s representing the songs performed. When a visitor clicks the "Stream" text link (I've enabled simple html in smf), they download, then open an m3u file, launch their media player, etc. My music files are not hosted on my server so I enter the URL instead of uploading the files to my server. The Upload url feature is great by the way!

Easier to show the Download/Stream links:
http://carolinalivemusic.net/forums/index.php?action=downloads;sa=view;id=446

The purpose of the "streaming" audio is so a downloader can quickly sample before downloading a concert in it's entirety. With the limitations of DS and DS Pro, my method to give them a link they can sample is pretty "ghetto" at best. Visitors currently choose to download or click on a text link called "stream" to download the m3u file and open it in their music player to begin "streaming". This has been a cumbersome approach and at times confusing for visitors but the workaround has worked (even though stats are not updated when someone uses the "stream" link.

I have three questions and a comment..

1) Is it possible to have a second field for Upload URL? If that was available I could link the download file (zip file) as the first Download URL and the "stream" (m3u) could be the second. I saw another download system that allowed for multiple.. is this possible with DS Pro?

2) Is it possible to embed objects in the description such as a media player? Any mods that will enable that? I realize it's a security nightmare but it seems that with the nature of my site I kind of need the ability to embed music players to go along with our downloads even if I don't want to allow visitors or members to embed objects. This would be the best for me since everyone knows what to do when they see a media player on a website. Is this possible or are there any workarounds someone might suggest so I can get a music player running in either the downloads description or any other smf post?

I also plan to use EZPortal so if there's a workaround that includes EZPortal that would be great... anything at all that will allow me to embed a music player to a download description.

I'm fairly new to php but am not afraid to dig into code when it's explained to me what file to look in

1.1.11 Default

Here's the player I would like to use

<OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="46">
<param name="fileName" value="http://www.domain.com/music/music.m3u">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-300">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.domain.com/music/music.m3u" name="MediaPlayer1" width=280 height=46 autostart=1 showcontrols=1 volume=-300>
</OBJECT>


Here's code for one from host's site where my files are hosted. Player seems to cause Firefox to crash sometimes. Not my first choice
<object width="640" height="26" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="true" name="allowfullscreen"/><param value="always" name="allowscriptaccess"/><param value="high" name="quality"/><param value="true" name="cachebusting"/><param value="#000000" name="bgcolor"/><param name="movie" value="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" /><param value="config={'key':'#$aa4baff94a9bdcafce8','playlist':[{'url':'chasingedison2010-06-25d1t01.mp3','autoPlay':false},'chasingedison2010-06-25d1t02.mp3','chasingedison2010-06-25d1t03.mp3','chasingedison2010-06-25d1t04.mp3','chasingedison2010-06-25d1t05.mp3','chasingedison2010-06-25d1t06.mp3','chasingedison2010-06-25d1t07.mp3'],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/chasingedison2010-06-25/'},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'audio':{'url':'http://www.archive.org/flow/flowplayer.audio-3.2.1-dev.swf'},'controls':{'playlist':true,'fullscreen':false,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true},'scrubberHeightRatio':0.6,'timeFontSize':9,'mute':false,'top':0}},'contextMenu':[{},'-','Flowplayer v3.2.1']}" name="flashvars"/><embed src="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" type="application/x-shockwave-flash" width="640" height="26" allowfullscreen="true" allowscriptaccess="always" cachebusting="true" bgcolor="#000000" quality="high" flashvars="config={'key':'#$aa4baff94a9bdcafce8','playlist':[{'url':'chasingedison2010-06-25d1t01.mp3','autoPlay':false},'chasingedison2010-06-25d1t02.mp3','chasingedison2010-06-25d1t03.mp3','chasingedison2010-06-25d1t04.mp3','chasingedison2010-06-25d1t05.mp3','chasingedison2010-06-25d1t06.mp3','chasingedison2010-06-25d1t07.mp3'],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/chasingedison2010-06-25/'},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'audio':{'url':'http://www.archive.org/flow/flowplayer.audio-3.2.1-dev.swf'},'controls':{'playlist':true,'fullscreen':false,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true},'scrubberHeightRatio':0.6,'timeFontSize':9,'mute':false,'top':0}},'contextMenu':[{},'-','Flowplayer v3.2.1']}"> </embed></object>


3) Is it possible to adjust the width of the "Title column" or any of the columns in the Category index? It seems Title seems very narrow while others are too wide for the layout.

4) Is there some way to prevent people from "tricking" the download stats? I have a couple of bands that figured out that they can move up the Top Downloads ranking by repeatedly clicking on the Download link and refreshiing... Any thoughts?

Thanks in advance for any and all replies.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on July 28, 2010, 05:53:20 PM
I generally keep download lite questions in this topic only.
For pro I have forums dedicated to them on http://www.smfhacks.com

1. Not yet currently only supports one download per file but has been requested by others as well so has a good chance of being added at some point.

2. The description supports BBC Code so if you have like a video embed bbcode for SMF you can use it inside the description of the download.

3. Not easily it should expand based on the contents. The format for the main page is icon,title,downloads,options
You maybe able to stick a width="10%" inside the td to force the size in the Downloads.template.php file

4. I could add option to add some simple checks to ignore multiple download counts on  file per session like I do in my gallery.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on August 16, 2010, 05:38:56 PM
This may be a noob question and it is very late here but for the life of me i can't get the permissions set up to allow users that have already had their uploads initially approved to edit the upload and have it automatically approve instead of waiting for it to be approved by the admins all over again.

Is this possible?

It would be great if it was because when a user decides to add a few pictures or a new youtube video to their download, that way i wouldn't have to approve it again as it's getting quite tiresome.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 16, 2010, 05:57:51 PM
Check in permissions if there is something for AutoApprove for the membergroup if not it is a feature in downloads pro.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on August 16, 2010, 06:02:42 PM
Quote from: vbgamer45 on August 16, 2010, 05:57:51 PM
Check in permissions if there is something for AutoApprove for the membergroup if not it is a feature in downloads pro.

Yes it's there, i saw it but didn't select it because i assumed that meant that all downloads from that member group could submit any upload without having to go through any type of approval at all.

Did i assume wrong?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 16, 2010, 06:06:34 PM
Nvm yeah currently does not support skipping approval if already approved and your just editing the file again.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on August 16, 2010, 06:14:20 PM
That's unfortunate, thanks for the prompt replies as usual, much appreciated.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ls-agro on August 25, 2010, 04:57:04 PM
Hi

I would like to change the language in the Download System, could anyone tell me witch file or files I have to edit to change it ?.


thanks in advance
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 25, 2010, 04:59:05 PM
themes/default/languages/modifications.english.php
and
themes/default/languages/downloads.english.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ls-agro on August 25, 2010, 05:00:57 PM
Quote from: vbgamer45 on August 25, 2010, 04:59:05 PM
themes/default/languages/modifications.english.php
and
themes/default/languages/downloads.english.php

Thanks  ;)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 25, 2010, 05:02:36 PM
No problem glad to help
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ls-agro on August 25, 2010, 06:17:20 PM
Hi again

I made the changes to the files regarding the language, but the changes only appears when im using the standard core theme, if I use another theme everything is back to normal english format.

Is there by any change a way to edit this, so it would work with other themes as well ?

 
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 25, 2010, 06:22:49 PM
If SMF 2.0 clear cache under forum maintenance.

Check your other themes langauges folder too
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ls-agro on August 25, 2010, 06:34:26 PM
Quote from: vbgamer45 on August 25, 2010, 06:22:49 PM
If SMF 2.0 clear cache under forum maintenance.

Check your other themes langauges folder too

Thanks again for this quick answer  ;)

Changes works now.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 25, 2010, 06:37:17 PM
Glad you got it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Storm3y on August 28, 2010, 06:31:34 PM
Does anyone know how I can add more download URLS for one file. See we have 3 servers hosting files and I'd like to add a various different links / mirrors.

Ta
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 28, 2010, 08:30:02 PM
No you can't currently.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Storm3y on August 29, 2010, 10:39:10 AM
Would this be easy to implement?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 29, 2010, 10:40:57 AM
Would require some major work to add would need another database table to store files/links
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Storm3y on August 29, 2010, 10:50:49 AM
Ok cheers. How hard would it be to move the 'Download' links from the top into the description? Since I could just add a link myself in the description and keep the original one below that.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ls-agro on August 29, 2010, 01:12:49 PM
Well, I have 2 questions now.

1. I would like to remowe the "Upload File" option from the Add download sektion, cause I only need the "Upload URL" option on my forum

If im correct, I have to edit the Downloads.template.php file, but could anyone tell me exactly wath I have to edit or remowe ?


2. In the download sektion the 4 newest downloads are shown, is there anyway that the amount of the newest downloads shown, can be changed ?


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 29, 2010, 02:09:16 PM
1. Yes it is Downloads.template.php

2. It is hardcoded at the moment to 4 check Downloads.php file and MainPageBlocks function I think
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dave009 on August 30, 2010, 08:54:39 AM
Hi vbgamer i would like to ask i have searched most files but i am having a problem i have the main site witch i would like to keep the same but i would like to be able to have the downloads page
NOT parse the global template_above and template_below do u know how i could do this.
Thanks
Dave
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 30, 2010, 09:59:40 AM
I am not sure how that would work since the above and below contain the main html for the forum and you would just be left with the tables for the downloads system.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dave009 on August 30, 2010, 10:02:07 AM
Quote from: vbgamer45 on August 30, 2010, 09:59:40 AM
I am not sure how that would work since the above and below contain the main html for the forum and you would just be left with the tables for the downloads system.

Thats what i would like plan to use in lightbox so user do not need to leave front page 6400+ members and counting lol
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on August 30, 2010, 10:18:48 AM
You could do giant if/else in the main template_above beleow if $_REQUEST['action'] == 'downloads' do this if not do that.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dave009 on August 30, 2010, 10:21:13 AM
so your saying do a request like if anypage but downloads else nothing lol

i will give it a go hope its works lol
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dave009 on August 30, 2010, 10:32:14 AM
Quote from: vbgamer45 on August 30, 2010, 10:18:48 AM
You could do giant if/else in the main template_above below if $_REQUEST['action'] == 'downloads' do this if not do that.

Looks like your a giant help lol
the giant if else works perfect don't know why i didn't think of it lol Thanks vbgamer  when the modification is complete i will send you some pics

Thank You very much
Dave
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dream of Omnimaga on August 31, 2010, 02:22:47 PM
Quote from: vbgamer45 on June 11, 2010, 09:24:24 AM
Not planning to do so I don't like post count based permissions it gets really odd
I hope you eventually change your mind. I think post count permissions would be nice. In my case it would filter some of the thieves out of my music download section.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 04, 2010, 11:09:23 AM
Trying to add 5 more stars to the download system to make a total of 10 (5 is not enough to get a proper rating in my opinion)

The existing code suggests that the value can be raised to 100:

"$rating =($context['downloads_file']['rating'] / ($context['downloads_file']['totalratings']* $max_num_stars) * 100);"

I've set $max_num_stars = 10 but i can't get the database to accept more than 5, if i submit more than 5, it submits a value of 3.

Any suggestions?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 04, 2010, 11:12:44 AM
Check Downloads.php in the sources folder that controls the rating there is a case statement of 1 to 5 you need to expand it to 10.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 04, 2010, 11:15:14 AM
Checking.

Thanks a million!

Always a prompt and useful response! :D

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 04, 2010, 11:25:40 AM
Glad you were able to modify it!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 04, 2010, 12:09:53 PM
(http://i52.tinypic.com/35lvkex.jpg)

:D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 04, 2010, 12:11:09 PM
Nice looks awesome!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 04, 2010, 12:18:35 PM
Thanks!

One last thing before i go, as the admin of my site, i upload and approve every download that is not my own, unfortunately the default setting is that the owner of a upload cannot rate their own download (for obvious reasons) but this leaves me the inability to rate other peoples work

Can this limitation be removed?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 04, 2010, 12:23:27 PM
Yeah there is check just check in the Downloads.php for rating
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Dave009 on September 04, 2010, 12:25:05 PM
Thanks VbGamer i will look now maybe i missed it lol

*EDIT*

Yea i did miss it lol
Thanks Again
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 04, 2010, 12:38:54 PM
Thanks again! :D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 05, 2010, 08:15:49 AM
We have broken one thing by introducting the new rating process, we naturally had to reset the existing rankings on all the downloads since they were all 5 stars and below but since we have done that we are missing the rankings on the main download page:

(http://i51.tinypic.com/2ahbl91.jpg)

Any idea what we did that would remove these completely? (we placed new votes on the downloads on that front page, they just ain't showing)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 05, 2010, 09:11:33 AM
There should be a GetStarsByPercent function in downloads or downloads.tmplate.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 05, 2010, 09:30:04 AM
Quote from: vbgamer45 on September 05, 2010, 09:11:33 AM
There should be a GetStarsByPercent function in downloads or downloads.tmplate.php

All fixed, hopefully the last thing we need to change from 5 stars to 10, cheers again! :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Hack-King on September 06, 2010, 04:11:19 AM
So how do I create a Category?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 06, 2010, 10:06:17 AM
Visit the main downloads page action=downloads and click on the add category link
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on September 06, 2010, 06:12:29 PM
Would it be a real pain to add a progress bar for uploading files?

Could you add one?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 06, 2010, 06:14:12 PM
Have to read up on that. I could use a javascript based upload system but not sure how well that works with large files also there is a progress bar php component but would rather avoid that.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on September 06, 2010, 06:40:21 PM
Quote from: vbgamer45 on September 06, 2010, 06:14:12 PM
Have to read up on that. I could use a javascript based upload system but not sure how well that works with large files also there is a progress bar php component but would rather avoid that.

Well after figuring out my hosts way of PHP configuration, I managed to change upload max to 120 MB, I used this mod to upload a 100MB file, for testing, it worked perfectly, but I was staring at a "appears to be doing nothing, but its actually uploading the file" page for a while, a progress bar would be superb for this part.

I don't know if this is easy or even possible, whats your opinion on a download quota for members or member groups, either daily weekly or just one solid download amount. Would that be possible?
I looked for it, but I only found an upload quota.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: DarkflameQ on September 07, 2010, 02:36:15 AM
An upload status bar is always good, in the mean time, i use Opera to upload files outside of FTP as it shows more information than any other browser when it comes to transferring files (it has its up transfer bar) :P
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Illori on September 08, 2010, 09:11:21 AM
Is it possible to have an "edit all" permission? I dont really want my moderators to have to be admin of the downloads in order to be able to edit others files. I would be willing to try to add this to my install if someone could give me an idea of where to start on editing the files.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 08, 2010, 03:49:58 PM
Permissions just to edit/delete/approve?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: Illori on September 08, 2010, 04:30:09 PM
Quote from: vbgamer45 on September 08, 2010, 03:49:58 PM
Permissions just to edit/delete/approve?

yep
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 09, 2010, 01:26:50 PM
Quote from: vbgamer45 on September 07, 2010, 10:46:28 AM
Just posted an update let me know if that fixes your issue.
After the mods you made work with MySql, it installed great, thanks.

Later, however, after I uploaded the first file, as I was trying to add another file for download, I get this error:

An Error Has Occurred! You need to enter a download title.

Everything is filled out, Title, Category, Description, Keywords,  and Upload File are all filled out. It won't let me add a file in any category.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 09, 2010, 01:44:33 PM
Check your php settings the file maybe larger than your allowed upload limit.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 09, 2010, 01:54:52 PM
Checked php.ini: upload_max_filesize = 5000M

The file I was uploading: 10,953kb

I started with that one, and tried several others, including a 'text.txt' which was 30 bytes in size. I wonder if it's the MySql again??
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 09, 2010, 02:02:51 PM
Or the webserver itself you also have to check max_post_size as well.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 09, 2010, 02:13:54 PM
Quote from: vbgamer45 on September 09, 2010, 02:02:51 PM
Or the webserver itself you also have to check max_post_size as well.

Sorry to let my stupidity show, but I cannot find anything like that
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 09, 2010, 02:21:26 PM
Check out this topic
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: swan on September 09, 2010, 02:41:46 PM
Sorry I know this may be a blonde question but what exactly is this for?

I know its downloads but I cant quite work out what for!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 09, 2010, 02:53:41 PM
If your forum has files or members share files this would be a place to store and organize them.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 09, 2010, 02:58:11 PM
Quote from: vbgamer45 on September 09, 2010, 02:21:26 PM
Check out this topic
http://www.smfhacks.com/index.php/topic,3498.0.html

Nope, even after setting everything to 10G and completely rebooting, it still gives me that error. And to top it all off, I tried to delete the only file that it would let me "upload", and now it tells me

An Error Has Occurred! No download selected.



Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 09:05:14 PM
I'm running SMF 1.1.11 and Downloads System 1.3.4.3, and I'm having problems.

As you can see from these pics, I'm having problems getting downloads into my system. The first pic http://www.sq1bbs.com/file1.jpg (http://www.sq1bbs.com/file1.jpg) shows that I have the first file in the database, but when I try to put in the second one http://www.sq1bbs.com/file2.jpg (http://www.sq1bbs.com/file2.jpg) and click on the 'Add Download' button, I get this error http://www.sq1bbs.com/error1.jpg (http://www.sq1bbs.com/error1.jpg). I've mentioned this before, but no-one has given me a solution. Could be I just didn't explain it clearly before.

Solutions??

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 09:09:19 PM
Mostly likely you are reaching your download limits for PHP

Check out this post for a way to increase them or contact your host
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 09:21:13 PM
Quote from: vbgamer45 on September 16, 2010, 09:09:19 PM
Mostly likely you are reaching your download limits for PHP

Check out this post for a way to increase them or contact your host
http://www.smfhacks.com/index.php/topic,3498.0.html

Actually, this is only the second download that I'm trying to enter. According to my php.ini, upload_max_filesize = 5000M and max_file_uploads = 500
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 09:26:53 PM
And there is a max_post_size as well that needs to be changed
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 09:34:08 PM
; Maximum size of POST data that PHP will accept.
post_max_size = 5000M


All these changes were made back a week or so ago when we spoke about it before.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 09:39:08 PM
That should be it you might need todo a webserver reset for it take affect.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 09:51:08 PM
Well, it let me "upload" a file, but now I'm getting THIS error:

An Error Has Occurred!
4.77MB 


That's it. That's the complete error message.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 09:53:20 PM
Check your max file size settings in downloads settings it should be in bytes
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:01:40 PM
"Max download filesize: 50000000000 (bytes)"

And as soon as I hit the 'save' button, it changed it to 2147483647 bytes

So far, so good. I'm up to 4 uploads (maximum so far 10,953Kb), but I've got some over 500Kb.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 10:14:05 PM
That should be more than enough that means your limit is set to 2048 mb for file uploads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:19:33 PM
Is there any way to increase it? I tried 50000000000, but that's when it changed to 2147483647. Sounds like I'm limited to 2Gb......

Well, I've gotta figure out how to shrink some files.

Thank you so much for your help. I hope I didn't sound too snotty
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 16, 2010, 10:21:55 PM
You would have to change the code case I cast max filesize as (int) or you can manually change it inside the smf_settings table that should override it but if you update anything on that settings page you would need to redo it.

I do find it amazing that you can get files uploaded of more than 2gigs though  a web form though.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:25:34 PM
I have a bunch of computer magazine archives in PDF format, and they are pretty big. Some are in excess of 440Mb. I should be o.k. with a 2Gb limit. (No programming for me-I'd screw up EVERYTHING)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on September 16, 2010, 10:25:49 PM
Quote from: papabill on September 16, 2010, 10:19:33 PM
Is there any way to increase it? I tried 50000000000, but that's when it changed to 2147483647. Sounds like I'm limited to 2Gb......

Well, I've gotta figure out how to shrink some files.

Thank you so much for your help. I hope I didn't sound too snotty

To shrink files use a "split archive". Winrar and 7-zip support split archives, 7-Zip is free open source software.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:28:25 PM
No, they are PDF files. I have to go into Adobe and re-save them with a smaller footprint.

I've done it before, but its been a LONG time
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:40:10 PM
Now that it seems to be working as intended, and me being a fat lazy southern boy, I wish there were some way to automatically import all 785 uploads I need to get into the database. :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on September 16, 2010, 10:45:46 PM
Quote from: papabill on September 16, 2010, 10:28:25 PM
No, they are PDF files. I have to go into Adobe and re-save them with a smaller footprint.

I've done it before, but its been a LONG time

If your referring to the the Long time creating the archive, you can reduce this time very much, buy using a "store" setting, it will not compress, it will just split.

Their is also an app called, HjSplit, it splits files without compression, = fast splitting :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: papabill on September 16, 2010, 10:53:41 PM
 :) No, I'm referring to the long time it's been since I did it. The process will take a 400Mb PDF file and "shrink" it down to 60 or so megs. That's what I need to do to some of the larger PDF files I have on my BBS so they don't take up so much room.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on September 16, 2010, 11:04:22 PM
OK lol..

Well splitting a file does not require editing the file, it basically splits it like this
Lets say you have a 5 GB file, and you have a problem uploading files larger than 1 GB, this is what you would do.
Using HjSplit or a archiving program (and setting the archiving program to not do any compressing, usually called store mode), set the files to 1 GB each.
The process should take less than a minute and will create these files. (1GB each)

something.pdf.001
something.pdf.002
something.pdf.003
something.pdf.004
something.pdf.005

After they are downloaded, the downloader can Join the files similar to the way you split it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on September 27, 2010, 04:48:13 PM
Minor update bug fix for SMF 2.0

1.3.4.4
!Fixed missing image for stats bar in SMF 2.0
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: LsDDeAtH on October 17, 2010, 12:03:45 PM
Hello.I'm using SMF 1.1.11 with the standart theme, the only thing is that I'm using the Langauge drop mod to selecet between english and spanish, after installing this mod, when I switch to spanish the 2 new button of the Download System disappear.How can I keep them in the spanish verision, even without translation.I can select english for administrating the forum, but I need the download button to be shown when a user select spanish even if the name remain the same without any translation.Thank you!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on October 17, 2010, 12:06:04 PM
I just posted in your other support topic check it out.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: flutter on October 20, 2010, 03:50:01 PM
Will you ever add the ability to upload more than one .rar?  I've asked a couple of times and I'm not paying for the pro one till it suits us better.  I don't even want this one unless it can have more than one .rar.  I paid hoping it would be worth it and asked for more .rars and it never happened.  I'll watch here and if you ever add the ability to have more rars on the pro one or even this one, then I'll rethink.  Keep in mind that we would have been long term payers.  Why am I putting this here?  Because I'm shut out of the pro support due to not anting to pay again until it's better for us, just one little thing, that's all we want.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on October 20, 2010, 04:42:57 PM
I plan on adding multifiles in one download just is very very complicated.  Since there multiple ways to download files and the credit system has to take in account each part etc.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: flutter on October 20, 2010, 04:52:35 PM
we didn't need a credit system, just the ability for us to upload six .rars at mot and for people to download them.  I told you that nearly a year ago.

This is the only thing that has stopped us from using downloads pro, we need those extra .rars.  Currently we have to upload six files or so in one .rar and the downloader has to download them all to get one, other wise we'd have ten thousand downloads for them to go through. 

You could have just told me where to change it myself and I'd have added the code in

It really is a shame as we liked the system apart from that one thing and we are now on the search for a system more suited to us.  If you do decide to help us out, let me know and we'll buy it again
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: ~tico~ on November 04, 2010, 02:54:38 PM
When I try to go to the /downloads page I get a 500 error. Any ideas what could be causing it?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC3!
Post by: vbgamer45 on November 04, 2010, 03:02:47 PM
You do not visit that page to access the mod. You visit http://www.yourforum.com/index.php?action=downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: ~tico~ on November 04, 2010, 05:05:30 PM
That was the problem, Thanks!  ;D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on November 04, 2010, 05:35:27 PM
Glad you got it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: T3CHN0 on November 12, 2010, 09:30:39 AM
Hello I am getting this error.

Table 'krajinal_smfrc2.smf_rc2tp_dlmanager' doesn't exist
File: /home1/krajinal/public_html/aussierampage/smf/Sources/Downloads2.php
Line: 5516


This happens when I go to Import and then click on the "Import Tiny Portal Downloads" button

Any ideas please

Everything else works but I have always had this error & just never searched for a fix before.
but now I have uploaded some big files to the FTP directory and would like to get this option working now.
I search for the error but found nothing on it.

I tried reinstalling the mod as well but still the same
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Illori on November 12, 2010, 10:07:52 AM
did/do you use tinyportal for downloads? if not then dont worry about that message
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: T3CHN0 on November 12, 2010, 10:25:19 AM
OK well here is the thing then.
i want to import my large files to the downloads board
I have already uploaded my files to /downloads/ftp
so now i need the import part to work.

should i install tinyportal for this to work?

I am using Ezportal & don't want any headacks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Illori on November 12, 2010, 10:40:44 AM
when you go to make a download there is a spot you can add a link, you can do it that way so large files are still hosted on your site. I have used this method on my site with no issues.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: T3CHN0 on November 12, 2010, 10:44:00 AM
thanks I did see that but was hoping there was a right way rather then a work around way.
I will do that for now, but if there is something better i can do could anyone please post it.

cheers for you help buddy. was good of you to reply so fast
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: jelence on November 19, 2010, 03:33:58 AM
http://www.asekonomija.com/index.php?action=portal;sa=shoutbox;shoutbox_id=2;time=1290154012;xml
Undefined index: downloads_menu
Datoteka: /home8/asekonom/public_html/Sources/Subs.php
Linija: 4314

Hello! I am getting this error all the time.
I am using SMF 2 rc3 outline theme.
Can anybody help me? Thanks!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on November 19, 2010, 09:53:58 AM
You need to copy the downloads language text from themes/default/modifications.english.php to themes/default/modifications.yourlanguage.php

And Or themes/yourcustomtheme/modifications.english.php

To fix that issue.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: T3CHN0 on November 19, 2010, 10:07:13 AM
Quote from: Illori on November 12, 2010, 10:40:44 AM
when you go to make a download there is a spot you can add a link, you can do it that way so large files are still hosted on your site. I have used this method on my site with no issues.

Getting back to this. was OK as a work around but I had to make my folder containing the downloads public
& the out come of that is that any one not registered with the forum is able to access the files.
I really need the FTP option to be able to import the files so only members with correct permissions
can access them to download...

like the Aeva Media MOD FTP,,, I need that option in the downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on November 19, 2010, 10:18:40 AM
I am not sure if I have it there for Downloads System Lite Batch FTP tab if not it is in downloads Pro.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: jelence on November 19, 2010, 12:31:16 PM
Quote from: vbgamer45 on November 19, 2010, 09:53:58 AM
You need to copy the downloads language text from themes/default/modifications.english.php to themes/default/modifications.yourlanguage.php

And Or themes/yourcustomtheme/modifications.english.php

To fix that issue.

Thanks!
It is OK now  :).
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on November 19, 2010, 01:02:24 PM
Glad you got it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: T3CHN0 on November 19, 2010, 10:58:25 PM
Quote from: vbgamer45 on November 19, 2010, 10:18:40 AM
I am not sure if I have it there for Downloads System Lite Batch FTP tab if not it is in downloads Pro.

would it be possible to get the coding for the FTP option from the download pro MOD then please
so I can add this option my self?.

I am happy to donate $10 but I don't have $65 to buy downloads pro.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: henrik1782 on December 07, 2010, 06:00:43 AM
Thanks for this great mod...

Here is the danish translation...

Best regards
Henrik Poulsen


Downloads.danish.php

<?php
/*
Download System
Version 1.3
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2010 SMFHacks.com

############################################
License Information:

Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################

Downloads Danish Text Strings
*/

// Downloads.template.php Downloads

// Title string
$txt['downloads_text_title'] = 'Downloads';

// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategori';
$txt['downloads_text_categorydescription'] = 'Kategori beskrivelse';
$txt['downloads_text_totalfiles'] = 'Downloads';
$txt['downloads_text_reorder'] = 'Flyt';
$txt['downloads_text_options'] = 'Valgmuligheder';
$txt['downloads_text_category'] = 'Kategori';
$txt['downloads_text_parentcategory'] = 'Ovenstående Category';
$txt['downloads_text_catnone'] = '(Ingen)';

$txt['downloads_text_adminpanel'] = 'Downloads Admin Panel';
$txt['downloads_text_addcategory'] = 'Tilføj kategori';
$txt['downloads_text_cat_disableratings'] = 'Deaktiver download bedømmelse';
$txt['downloads_text_bbcsupport'] = '(BBC koder supporteres)';
$txt['downloads_text_editcategory'] = 'Rediger kategori';
$txt['downloads_text_delcategory'] = 'Slet kategori';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_text_permissions'] = 'Rettigheder';
$txt['downloads_rep_deletefile'] = '[Slet billede]';

$txt['downloads_text_fileswaitapproval'] = 'Filer afventer godkendelse: ';
$txt['downloads_text_filecheckapproval'] = 'Kontroller fil godkendelsesliste';
$txt['downloads_text_comwaitapproval'] = 'Kommentar afventer godkendelse: ';
$txt['downloads_text_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';

$txt['downloads_text_filereported'] = 'Rapporterede filer: ';
$txt['downloads_text_filecheckreported'] = 'Kontroller rapporterede filer';

$txt['downloads_text_comreported'] = 'Rapporterede kommentarer: ';
$txt['downloads_text_comcheckreported'] = 'Kontroller rapporterede kommentarer';

$txt['downloads_write_error'] = 'Advarsel - Download sti er ikke skrivbar! ';
$txt['downloads_text_myfiles'] = '[Mine filer]';
$txt['downloads_text_search'] = '[Søg]';
$txt['downloads_text_myfiles2'] = 'Mine filer';
$txt['downloads_text_search2'] = 'Søg';
$txt['downloads_text_edit'] = '[Rediger]';
$txt['downloads_text_delete'] = '[Slet]';
$txt['downloads_text_unapprove'] = '[Afvis]';
$txt['downloads_text_approve'] = '[Godkend]';
$txt['downloads_text_up'] = '[Op]';
$txt['downloads_text_down'] = '[Ned]';
$txt['downloads_text_reportdownload'] = '[Rapporter download]';
$txt['downloads_text_delcomment'] = '[Slet kommentar]';
$txt['downloads_text_edcomment'] = '[Rediger kommentar]';
$txt['downloads_text_repcomment'] = '[Rapporter kommentar]';

$txt['downloads_text_prev'] = 'Forrige download';
$txt['downloads_text_next'] = 'Næste download';
$txt['downloads_text_filesize'] = 'Filstørrelse: ';
$txt['downloads_text_by'] = 'Af:';
$txt['downloads_text_date'] = 'Dato: ';
$txt['downloads_text_comments'] = 'Kommentar';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Visninger: ';
$txt['downloads_text_pages'] = 'Sider: ';
$txt['downloads_text_commentwait'] = 'Din kommentar vil ikke blive vist før den er blevet godkendt.';

$txt['downloads_text_adddownload'] = 'Tilføj en download';

$txt['downloads_text_returndownload'] = 'Retur til download indeks';
$txt['downloads_text_returnfile'] = 'Retur til fil';
//Online strings
$txt['downloads_who_viewdownload'] = ' gennemser denne download kategori.';
$txt['downloads_who_viewfile'] = ' gennemser disse filer.';
$txt['downloads_who_members'] = 'Medlemmer';
$txt['downloads_who_hidden'] = 'Skjult';

//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beskrivelse:';
$txt['downloads_form_icon'] = 'Kategori icon URL:';
$txt['downloads_form_uploadicon'] = 'Upload kategori icon';
$txt['downloads_write_catpatherror'] = 'Advarsel - Kategori icon sti er ikke skrivbar! ';
$txt['downloads_form_filenameicon'] = 'Kategori icon filnavn:';

$txt['downloads_warn_category'] = 'Advarsel - Dette vil SLETTE denne kategori og alle downloads, kommentarer og bedømmelser i denne kategori...';

$txt['downloads_form_adddownload'] = 'Tilføj Download';
$txt['downloads_form_category'] = 'Kategori:';
$txt['downloads_form_keywords'] = 'Keywords:';
$txt['downloads_form_uploadfile'] = 'Upload fil:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';

$txt['downloads_form_additionaloptions'] = 'Flere valgmuligheder:';
$txt['downloads_form_allowcomments'] = 'Tillad kommentarer for denne download.';
$txt['downloads_form_notapproved'] = 'Din fil vil ikke blive vist i downloads for andre brugere før den er blevet godkendt.';
$txt['downloads_form_editdownload'] = 'Rediger download';
$txt['downloads_form_viewratings'] = 'Vis bedømmelser';
$txt['downloads_form_ratedownload'] = 'Bedøm download';
$txt['downloads_form_norating'] = 'Denne download er ikke blevet bedømt endnu.';
$txt['downloads_form_rating'] = 'Bedømmelse: ';
$txt['downloads_form_ratingby'] = ' af ';
$txt['downloads_form_ratingmembers'] = '  medlemmer.';
$txt['downloads_text_rating'] = 'Bedømmelse';

$txt['downloads_text_changeowner'] = 'Skift ejer';

$txt['downloads_text_olddownload'] = 'Gammel download';
$txt['downloads_text_deldownload'] = 'Download';

// View file
$txt['downloads_text_filestats'] = 'Download statistik:';

$txt['downloads_text_postedby'] = 'Indsendt af:  ';
$txt['downloads_text_addcomment'] = 'Tilføj kommentar';
$txt['downloads_text_editcomment'] = 'Rediger kommentar';
$txt['downloads_text_reportcomment'] = 'Rapporter kommentar';
$txt['downloads_text_commodifiedby'] = 'Sidst ændret af: ';
$txt['downloads_text_home'] = 'Downloads forside';

// Delete file
$txt['downloads_warn_deletedownload'] = 'Advarsel - Dette vil slette din download og du kan ikke genskabe den.';
$txt['downloads_form_deldownload'] = 'Slet download';
$txt['downloads_form_deldownload2'] = '[Slet download]';

$txt['downloads_form_comment'] = 'Kommentar:';

$txt['downloads_form_reportdownload'] = 'Rapporter download';


$txt['downloads_form_managecats'] = 'Administrer kategorier';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporter downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_form_approveallcomments'] = 'Godkend alle kommentarer';
$txt['downloads_form_reportedcomments'] = 'Rapporterede kommentarer';

// Settings page
$txt['downloads_set_description'] = 'Tillader dig at redigere vigtige indstillinger for din download sektion.';
$txt['downloads_set_filesize'] = 'Maksimal download filstørrelse: ';
$txt['downloads_set_path'] = 'Download sti: ';
$txt['downloads_set_url'] = 'Download URL: ';
$txt['downloads_set_whoonline'] = ' Vis hvem der gennemser download';
$txt['downloads_set_commentschoice'] = ' Tillader brugeren at bestemme om kommentarer vises for en download eller ej.';
$txt['downloads_set_permissionnotice'] = ' Endelig! Glem ikke at sikre dig at rettighederne er sat korrekt for hver gruppe, så de har mulighed for at vise eller tilføje filer i downloads.';
$txt['downloads_set_editpermissions'] = ' Rediger rettigheder';
$txt['downloads_set_files_per_page'] = ' Downloads pr. side:';
$txt['downloads_set_commentsappr'] = ' Kommentar kræver godkendelse?';
$txt['downloads_set_commentsnewest'] = ' Vis nyeste kommentarer første.';
$txt['downloads_set_showratings'] = ' Vis download bedømmelser';
$txt['downloads_set_enable_multifolder'] = ' Aktiver flere kataloger til download lagerpladse';
$txt['downloads_index_toprated'] = ' Vis højest bedømte downloads på index side';
$txt['downloads_index_recent'] = ' Vis seneste downloads på index side';
$txt['downloads_index_mostviewed'] = ' Vis mest viste download på index side';
$txt['downloads_index_mostdownloaded'] = ' Vis den mest hentede downloads på index side';
$txt['downloads_index_mostcomments'] = ' Vis den mest kommenterede downloads på index side';
$txt['downloads_index_showtop'] = ' Vis indeks blok i toppen på indeks siden';

$txt['downloads_set_count_child'] = ' Medtæl Sub kategorier i antal downloads. <br />(Udfører flere forespørgsler til databasen)';
$txt['downloads_set_show_quickreply'] = ' Vis hurtig svar på kommentar visning';

// Category Display Settings
$txt['downloads_set_t_downloads'] = ' Vis samlede downloads';
$txt['downloads_set_t_views'] = ' Vis samlede visninger';
$txt['downloads_set_t_filesize'] = ' Vis filstørrelse';
$txt['downloads_set_t_date'] = ' Vis dato';
$txt['downloads_set_t_comment'] = ' Vis samlede kommentarer';
$txt['downloads_set_t_username'] = ' Vis brugernavn';
$txt['downloads_set_t_rating'] = ' Vis bedømmelse';
$txt['downloads_catthumb_settings'] = 'Kategori skærm indstillinger';

// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max kategori billede højde:';
$txt['downloads_set_cat_width'] = 'Max kategori billede bredde:';

// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads skærm indstillinger';
$txt['downloads_set_file_prevnext'] = ' Vis forrige og næste links';
$txt['downloads_set_file_desc'] = ' Vis beskrivelse';
$txt['downloads_set_file_title'] = ' Vis titel';
$txt['downloads_set_file_views'] = ' Vis antal visninger';
$txt['downloads_set_file_downloads'] = ' Vis download antal';
$txt['downloads_set_file_lastdownload'] = ' Vis sidste download';
$txt['downloads_set_file_poster'] = ' Vis indsendt af';
$txt['downloads_set_file_date'] = ' Vis dato';
$txt['downloads_set_file_showfilesize'] = ' Vis filstørrelse';
$txt['downloads_set_file_showrating'] = ' Vis bedømmelse';
$txt['downloads_set_file_keywords'] = ' Vis nøgleord';

$txt['downloads_save_settings'] = 'Gem indstillinger';

// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop point indstillinger</b><br /><span class="smalltext">Bruges kun hvis SMF Shop er indstalleret</span>';
$txt['downloads_shop_fileadd']  = 'Download point: ';
$txt['downloads_shop_commentadd'] = 'Kommentar point: ';

// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Link koder';
$txt['downloads_set_showcode_directlink'] = ' Vis direkte link koder';
$txt['downloads_set_showcode_htmllink'] = ' Vis HTML link koder';

$txt['downloads_txt_directlink'] = 'Direkte link';
$txt['downloads_txt_htmllink'] = 'HTML link';

// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beskrivelse';
$txt['downloads_app_date'] = 'Dato';
$txt['downloads_app_membername'] = 'Medlemsnavn';

$txt['downloads_text_withselected'] = 'Med udvalgte';
$txt['downloads_text_performaction'] = 'Udfør handling';

// Report list
$txt['downloads_rep_filelink'] = 'Download link';
$txt['downloads_rep_reportby'] = 'Rapporteret af';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'vis download';
$txt['downloads_rep_deletedownload'] = '[slet download]';
$txt['downloads_rep_delete'] = '[Slet rapporterede]';
$txt['downloads_rep_org_comment'] = 'Original kommentar';
// Search Page
$txt['downloads_search_download'] = 'Søg i downloads';
$txt['downloads_search_for'] = 'Søg efter:';
$txt['downloads_search_title'] = 'Søg download titel';
$txt['downloads_search_description'] = 'Søg download beskrivelse';
$txt['downloads_search_keyword'] = 'Søg nøgleord';
$txt['downloads_search'] = 'Søg';

$txt['downloads_search_days30']  = 'Sidste 30 dage';
$txt['downloads_search_days60']  = 'Sidste 60 dage';
$txt['downloads_search_days90']  = 'Sidste 90 dage';
$txt['downloads_search_days180']  = 'Sidste 180 dage';
$txt['downloads_search_days365']  = 'Sidste 365 dage';
$txt['downloads_search_alltime']  = 'Alle dage';
$txt['downloads_search_daterange'] = 'Dato område: ';

$txt['downloads_search_membername'] = 'Indsendt af (medlems navn): ';
$txt['downloads_search_advsearch'] = 'Avancerede søgemuligheder';

$txt['downloads_searchresults'] = 'Søge resultat';

// MyFiles
$txt['downloads_myfiles'] = 'Mine filer';
$txt['downloads_myfiles_app'] = 'Download godkendt';
$txt['downloads_myfiles_notapp'] = 'Download afvist';

// Index Page Strings
$txt['downloads_main_recent'] = 'Seneste downloads';
$txt['downloads_main_viewed'] = 'Mest viste';
$txt['downloads_main_toprated'] = 'Bedst bedømte';
$txt['downloads_main_mostcomments'] = 'Mest kommenterede';
$txt['downloads_main_mostdownloads'] = 'Mest hentede';

// Stats
$txt['downloads_text_stats']  = 'Stastistik';
$txt['downloads_stats_last']  = 'Sidste 10 indsendte downloads';
$txt['downloads_stats_viewed'] = 'Mest viste downloads';
$txt['downloads_stats_toprated'] = 'Bedst bedømte downloads';
$txt['downloads_stats_mostcomments'] = 'Mest kommenterede';
$txt['downloads_stats_title'] = 'Download statistik';
$txt['downloads_stats_totalviews'] = 'Antal visninger';
$txt['downloads_stats_totalcomments'] = 'Antal kommentarer';
$txt['downloads_stats_totalfize'] = 'Samlede downloads filstørrelse';
$txt['downloads_stats_totalfiles'] = 'Downloads';
$txt['downloads_stats_viewstats'] = 'Vis downloads statistik';

// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Tilføj Sub kategori';
// Board
$txt['downloads_text_postingoptions'] = 'Indsend valgmuligheder';
$txt['downloads_text_boardname'] = 'Board navn:';
$txt['downloads_postingoptions_info'] = 'Information: Hvis du vælger et board vil der blive oprette en bested i dette board når en download godkendes.';
$txt['downloads_posting_showlinktodownload'] = 'Vis link til download forside';
$txt['downloads_posting_locktopic'] = 'Lås Emne';

// File Space and Quota information
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_filespace_note'] = 'Miniature billeder tælles ikke med i en brugers pladsbegrænsning';
$txt['downloads_filespace_filesize'] = 'Plads brugt';
$txt['downloads_filespace_list'] = 'List filer';
$txt['downloads_filespace_list_title'] = 'Filliste';
$txt['downloads_filespace_recount'] = 'Kontroller brugt lagerplads';
$txt['downloads_filespace_groupquota_title'] = 'Medlemsgruppe kvote begrænsning';
$txt['downloads_filespace_groupname'] = 'Medlemsgruppe navn';
$txt['downloads_filespace_limit'] = 'Fil kvote begrænsning';
$txt['downloads_filespace_addquota'] = 'Tilføj kvote begrænsning';

// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategori rettighedsliste';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_text_catperm'] = 'Kategori rettigheder';
$txt['downloads_text_addperm'] = 'Tilføj rettigheder';

//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du skal indtaste kategori titel!';
$txt['downloads_error_no_file_selected'] = 'Ingen download valgt.';
$txt['downloads_error_file_notapproved'] = 'Denne download er endnu ikke godkendt og du har ikke rettigheder til at se det.';
$txt['downloads_error_no_title'] = 'Du skal indtaste download titel.';
$txt['downloads_error_no_cat'] = 'Du skal vælge en kategori.';

$txt['downloads_error_file_filesize'] = 'Download overstiger max filstørrelse. Max filstørrelse er ';
$txt['downloads_error_no_download'] = 'No uploaded download found.';
$txt['downloads_error_no_downloadexist'] = 'Ingen download eksisterer';
$txt['downloads_error_noedit_permission'] = 'Du har ikke rettigheder til at redigere denne download.';
$txt['downloads_error_nodelete_permission'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['downloads_error_no_comment'] = 'Du indtastede ikke en kommentar!';
$txt['downloads_error_not_allowcomment'] = 'Vent et øjeblik... Denne download tillader ikke kommentarer...';
$txt['downloads_error_no_com_selected'] = 'Ingen kommentar valgt.';
$txt['downloads_error_no_user_selected'] = 'Ingen bruger valgt.';
$txt['downloads_error_no_report_selected'] = 'Ingen raport valgt.';
$txt['downloads_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';
$txt['downloads_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';
$txt['downloads_error_nocomedit_permission'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['downloads_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';
$txt['downloads_error_already_rated'] = 'Du har allerede bedømt denne download.';
$txt['downloads_error_space_limit'] = 'Det er ikke muligt at sende filen da den overstiger din kvote begrænsning. Kvote information: ';
$txt['downloads_error_noquota'] = 'Du indtastede ikke en kvote begrænsning.';
$txt['downloads_error_nogroup'] = 'Ingen medlemsgruppe valgt.';
$txt['downloads_error_quotaexist'] = 'Der eksisterer allerede en kvote for denne gruppe. Slet gammel kvote først.';
$txt['downloads_error_nouser_exists'] = 'Ingen bruger eksisterer.';
$txt['downloads_error_nocat_above'] = 'Der er ingen kategori over den nuværende.';
$txt['downloads_error_nocat_below'] = 'Der er ingen kategori under den nuværende.';
$txt['downloads_error_norate_own'] = 'Du kan ikke bedømme din egen download.';
$txt['downloads_error_no_catexists'] = 'Du skal oprette en kategori før du kan indsende en download.';
$txt['downloads_error_invalid_picture'] = 'Invalid billede fil';

// Quota Limits
$txt['downloads_quotagrouplimit'] ='Kvote begrænsning';
$txt['downloads_quotagspaceused'] ='Kvote plads brugt';
$txt['downloads_quotaspaceleft'] ='Kvote plads tilbage';

// Permissions
$txt['downloads_perm_no_view'] = 'Du har ikke rettighed til at vise denne kategori.';
$txt['downloads_perm_no_add'] = 'Du har ikke rettighed til at tilføje download til denne kategori.';
$txt['downloads_perm_no_edit'] = 'Du har ikke rettighed til at redigere denne download i denne kategori.';
$txt['downloads_perm_no_delete'] = 'Du har ikke rettighed til at slette denne download i denne kategori.';
$txt['downloads_perm_no_ratefile'] = 'Du har ikke rettighed til at bedømme denne download i denne kategori.';
$txt['downloads_perm_no_editcomment'] = 'Du har ikke rettighed til at redigere denne kommentar i denne kategori.';
$txt['downloads_perm_no_addcomment'] = 'Du har ikke rettighed til at tilføje kommentarer i denne kategori.';
$txt['downloads_perm_no_report'] = 'Du har ikke rettighed til at bedømme indhold i denne kategori.';
// Notify comment
$txt['downloads_notify_body'] = 'Der er blevet skrevet en kommentar til din indsendte download.' "\n\n" 'Du kan se den på' "\n" '%s' "\n\n";
$txt['downloads_notify_subject'] = 'Ny kommentar: %s';
$txt['downloads_notify_title'] = 'Underret mig om kommentarer';

$txt['downloads_perm_view'] = 'Vis';
$txt['downloads_perm_add'] = 'Tilføj download';
$txt['downloads_perm_edit'] = 'Rediger egen download';
$txt['downloads_perm_delete'] = 'Slet egen download';
$txt['downloads_perm_addcomment'] = 'Tilføj kommentar';

$txt['downloads_permerr_permexist'] = 'Der eksisterer allerede rettigheder for denne gruppe og kategori. Slet venligst disse rettigheder første.';

$txt['downloads_perm_allowed'] = 'Tilladt';
$txt['downloads_perm_denied'] = 'Afvist';

$txt['downloads_guest'] = 'Gæst';

// Custom Fields
$txt['downloads_custom_fields'] = 'Brugerdefineret felt';

$txt['downloads_custom_title'] = 'Felt titel';
$txt['downloads_custom_default_value'] = 'Standard værdi';
$txt['downloads_custom_required'] = 'Påkrævet';
$txt['downloads_custom_addfield'] = 'Tilføj felt';

$txt['downloads_custom_err_title'] = 'Brugerdefineret feltnavn er krævet.';
$txt['downloads_error_nocustom_above'] = 'Der er ingen brugerdefinerede felter over det nuværende.';
$txt['downloads_error_nocustom_below'] = 'Der er ingen brugerdefinerede felter under det nuværende.';
$txt['downloads_err_req_custom_field'] = 'Du har et påkrævet felt der mangler information kaldet ';

$txt['downloads_err_checkfailed'] = 'Sikkerhedstjek fejlede';

$txt['downloads_click_enlarge'] = 'Klik for forstørrelse';
$txt['downloads_sub_cats'] = 'Sub kategorier: ';

// Sorting Options
$txt['downloads_txt_sortby'] = 'Sorter efter: ';
$txt['downloads_txt_orderby'] = 'Rækkefølge: ';
$txt['downloads_txt_sort_go'] = 'Udfør';

$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Dato';
$txt['downloads_txt_sort_mostviewed'] = 'Visninger';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentarer';
$txt['downloads_txt_sort_mostrated'] = 'Bedømmelse';
$txt['downloads_txt_sort_filesize'] = 'Filestørrelse';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Medlemsnavn';

$txt['downloads_txt_sort_asc'] = 'Stigende';
$txt['downloads_txt_sort_desc'] = 'Faldende';


$txt['downloads_error_img_size_height'] = 'Billede overskrider krav til størrelse. Billedets højde:  ';
$txt['downloads_error_img_size_width'] = ' Billedets bredde: ';


// Category Display
$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bedømmelse';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Visninger';
$txt['downloads_cat_filesize'] = 'Filstørrelse';
$txt['downloads_cat_date'] = 'Dato';
$txt['downloads_cat_comments'] = 'Kommentarer';
$txt['downloads_cat_membername'] = 'Medlemsnavn';
$txt['downloads_cat_options'] = 'Valgmuligheder';

$txt['downloads_text_lastdownload'] = 'Sidste download: ';
$txt['downloads_text_lastdownload2'] = 'Aldrig';

// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importer Tiny Portal downloads';
$txt['downloads_txt_import'] = 'Importer';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal downloads import resulter';
$txt['downloads_txt_import_downloads'] = 'Importer downloads';

$txt['downloads_txt_import_note'] = 'Hvis du har indstalleret et andet download system tidligere, vil du have mulighed for at importere disse filer i Download System';

$txt['downloads_txt_categories_imported'] = 'Importerede kategorier: ';
$txt['downloads_txt_files_imported'] = 'Importerede filer: ';


$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Filesize ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Filesize ';
$txt['downloads_upload_limits_notes'] = 'Ovenstående PHP indstillinger kontrollere hvor stor en fil der accepteres. Disse indstillinger kontrolleres af php.ini eller din webhost';

?>




Downloads.danish-utf8.php

<?php
/*
Download System
Version 1.3
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2010 SMFHacks.com

############################################
License Information:

Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################

Downloads Danish Text Strings
*/

// Downloads.template.php Downloads

// Title string
$txt['downloads_text_title'] = 'Downloads';

// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategori';
$txt['downloads_text_categorydescription'] = 'Kategori beskrivelse';
$txt['downloads_text_totalfiles'] = 'Downloads';
$txt['downloads_text_reorder'] = 'Flyt';
$txt['downloads_text_options'] = 'Valgmuligheder';
$txt['downloads_text_category'] = 'Kategori';
$txt['downloads_text_parentcategory'] = 'OvenstÃ¥ende Category';
$txt['downloads_text_catnone'] = '(Ingen)';

$txt['downloads_text_adminpanel'] = 'Downloads Admin Panel';
$txt['downloads_text_addcategory'] = 'Tilføj kategori';
$txt['downloads_text_cat_disableratings'] = 'Deaktiver download bedømmelse';
$txt['downloads_text_bbcsupport'] = '(BBC koder supporteres)';
$txt['downloads_text_editcategory'] = 'Rediger kategori';
$txt['downloads_text_delcategory'] = 'Slet kategori';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_text_permissions'] = 'Rettigheder';
$txt['downloads_rep_deletefile'] = '[Slet billede]';

$txt['downloads_text_fileswaitapproval'] = 'Filer afventer godkendelse: ';
$txt['downloads_text_filecheckapproval'] = 'Kontroller fil godkendelsesliste';
$txt['downloads_text_comwaitapproval'] = 'Kommentar afventer godkendelse: ';
$txt['downloads_text_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';

$txt['downloads_text_filereported'] = 'Rapporterede filer: ';
$txt['downloads_text_filecheckreported'] = 'Kontroller rapporterede filer';

$txt['downloads_text_comreported'] = 'Rapporterede kommentarer: ';
$txt['downloads_text_comcheckreported'] = 'Kontroller rapporterede kommentarer';

$txt['downloads_write_error'] = 'Advarsel - Download sti er ikke skrivbar! ';
$txt['downloads_text_myfiles'] = '[Mine filer]';
$txt['downloads_text_search'] = '[Søg]';
$txt['downloads_text_myfiles2'] = 'Mine filer';
$txt['downloads_text_search2'] = 'Søg';
$txt['downloads_text_edit'] = '[Rediger]';
$txt['downloads_text_delete'] = '[Slet]';
$txt['downloads_text_unapprove'] = '[Afvis]';
$txt['downloads_text_approve'] = '[Godkend]';
$txt['downloads_text_up'] = '[Op]';
$txt['downloads_text_down'] = '[Ned]';
$txt['downloads_text_reportdownload'] = '[Rapporter download]';
$txt['downloads_text_delcomment'] = '[Slet kommentar]';
$txt['downloads_text_edcomment'] = '[Rediger kommentar]';
$txt['downloads_text_repcomment'] = '[Rapporter kommentar]';

$txt['downloads_text_prev'] = 'Forrige download';
$txt['downloads_text_next'] = 'Næste download';
$txt['downloads_text_filesize'] = 'Filstørrelse: ';
$txt['downloads_text_by'] = 'Af:';
$txt['downloads_text_date'] = 'Dato: ';
$txt['downloads_text_comments'] = 'Kommentar';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Visninger: ';
$txt['downloads_text_pages'] = 'Sider: ';
$txt['downloads_text_commentwait'] = 'Din kommentar vil ikke blive vist før den er blevet godkendt.';

$txt['downloads_text_adddownload'] = 'Tilføj en download';

$txt['downloads_text_returndownload'] = 'Retur til download indeks';
$txt['downloads_text_returnfile'] = 'Retur til fil';
//Online strings
$txt['downloads_who_viewdownload'] = ' gennemser denne download kategori.';
$txt['downloads_who_viewfile'] = ' gennemser disse filer.';
$txt['downloads_who_members'] = 'Medlemmer';
$txt['downloads_who_hidden'] = 'Skjult';

//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beskrivelse:';
$txt['downloads_form_icon'] = 'Kategori icon URL:';
$txt['downloads_form_uploadicon'] = 'Upload kategori icon';
$txt['downloads_write_catpatherror'] = 'Advarsel - Kategori icon sti er ikke skrivbar! ';
$txt['downloads_form_filenameicon'] = 'Kategori icon filnavn:';

$txt['downloads_warn_category'] = 'Advarsel - Dette vil SLETTE denne kategori og alle downloads, kommentarer og bedømmelser i denne kategori...';

$txt['downloads_form_adddownload'] = 'Tilføj Download';
$txt['downloads_form_category'] = 'Kategori:';
$txt['downloads_form_keywords'] = 'Keywords:';
$txt['downloads_form_uploadfile'] = 'Upload fil:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';

$txt['downloads_form_additionaloptions'] = 'Flere valgmuligheder:';
$txt['downloads_form_allowcomments'] = 'Tillad kommentarer for denne download.';
$txt['downloads_form_notapproved'] = 'Din fil vil ikke blive vist i downloads for andre brugere før den er blevet godkendt.';
$txt['downloads_form_editdownload'] = 'Rediger download';
$txt['downloads_form_viewratings'] = 'Vis bedømmelser';
$txt['downloads_form_ratedownload'] = 'Bedøm download';
$txt['downloads_form_norating'] = 'Denne download er ikke blevet bedømt endnu.';
$txt['downloads_form_rating'] = 'Bedømmelse: ';
$txt['downloads_form_ratingby'] = ' af ';
$txt['downloads_form_ratingmembers'] = '  medlemmer.';
$txt['downloads_text_rating'] = 'Bedømmelse';

$txt['downloads_text_changeowner'] = 'Skift ejer';

$txt['downloads_text_olddownload'] = 'Gammel download';
$txt['downloads_text_deldownload'] = 'Download';

// View file
$txt['downloads_text_filestats'] = 'Download statistik:';

$txt['downloads_text_postedby'] = 'Indsendt af:  ';
$txt['downloads_text_addcomment'] = 'Tilføj kommentar';
$txt['downloads_text_editcomment'] = 'Rediger kommentar';
$txt['downloads_text_reportcomment'] = 'Rapporter kommentar';
$txt['downloads_text_commodifiedby'] = 'Sidst Ã¦ndret af: ';
$txt['downloads_text_home'] = 'Downloads forside';

// Delete file
$txt['downloads_warn_deletedownload'] = 'Advarsel - Dette vil slette din download og du kan ikke genskabe den.';
$txt['downloads_form_deldownload'] = 'Slet download';
$txt['downloads_form_deldownload2'] = '[Slet download]';

$txt['downloads_form_comment'] = 'Kommentar:';

$txt['downloads_form_reportdownload'] = 'Rapporter download';


$txt['downloads_form_managecats'] = 'Administrer kategorier';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporter downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_form_approveallcomments'] = 'Godkend alle kommentarer';
$txt['downloads_form_reportedcomments'] = 'Rapporterede kommentarer';

// Settings page
$txt['downloads_set_description'] = 'Tillader dig at redigere vigtige indstillinger for din download sektion.';
$txt['downloads_set_filesize'] = 'Maksimal download filstørrelse: ';
$txt['downloads_set_path'] = 'Download sti: ';
$txt['downloads_set_url'] = 'Download URL: ';
$txt['downloads_set_whoonline'] = ' Vis hvem der gennemser download';
$txt['downloads_set_commentschoice'] = ' Tillader brugeren at bestemme om kommentarer vises for en download eller ej.';
$txt['downloads_set_permissionnotice'] = ' Endelig! Glem ikke at sikre dig at rettighederne er sat korrekt for hver gruppe, sÃ¥ de har mulighed for at vise eller tilføje filer i downloads.';
$txt['downloads_set_editpermissions'] = ' Rediger rettigheder';
$txt['downloads_set_files_per_page'] = ' Downloads pr. side:';
$txt['downloads_set_commentsappr'] = ' Kommentar kræver godkendelse?';
$txt['downloads_set_commentsnewest'] = ' Vis nyeste kommentarer første.';
$txt['downloads_set_showratings'] = ' Vis download bedømmelser';
$txt['downloads_set_enable_multifolder'] = ' Aktiver flere kataloger til download lagerpladse';
$txt['downloads_index_toprated'] = ' Vis højest bedømte downloads pÃ¥ index side';
$txt['downloads_index_recent'] = ' Vis seneste downloads pÃ¥ index side';
$txt['downloads_index_mostviewed'] = ' Vis mest viste download pÃ¥ index side';
$txt['downloads_index_mostdownloaded'] = ' Vis den mest hentede downloads pÃ¥ index side';
$txt['downloads_index_mostcomments'] = ' Vis den mest kommenterede downloads pÃ¥ index side';
$txt['downloads_index_showtop'] = ' Vis indeks blok i toppen pÃ¥ indeks siden';

$txt['downloads_set_count_child'] = ' Medtæl Sub kategorier i antal downloads. <br />(Udfører flere forespørgsler til databasen)';
$txt['downloads_set_show_quickreply'] = ' Vis hurtig svar pÃ¥ kommentar visning';

// Category Display Settings
$txt['downloads_set_t_downloads'] = ' Vis samlede downloads';
$txt['downloads_set_t_views'] = ' Vis samlede visninger';
$txt['downloads_set_t_filesize'] = ' Vis filstørrelse';
$txt['downloads_set_t_date'] = ' Vis dato';
$txt['downloads_set_t_comment'] = ' Vis samlede kommentarer';
$txt['downloads_set_t_username'] = ' Vis brugernavn';
$txt['downloads_set_t_rating'] = ' Vis bedømmelse';
$txt['downloads_catthumb_settings'] = 'Kategori skærm indstillinger';

// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max kategori billede højde:';
$txt['downloads_set_cat_width'] = 'Max kategori billede bredde:';

// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads skærm indstillinger';
$txt['downloads_set_file_prevnext'] = ' Vis forrige og næste links';
$txt['downloads_set_file_desc'] = ' Vis beskrivelse';
$txt['downloads_set_file_title'] = ' Vis titel';
$txt['downloads_set_file_views'] = ' Vis antal visninger';
$txt['downloads_set_file_downloads'] = ' Vis download antal';
$txt['downloads_set_file_lastdownload'] = ' Vis sidste download';
$txt['downloads_set_file_poster'] = ' Vis indsendt af';
$txt['downloads_set_file_date'] = ' Vis dato';
$txt['downloads_set_file_showfilesize'] = ' Vis filstørrelse';
$txt['downloads_set_file_showrating'] = ' Vis bedømmelse';
$txt['downloads_set_file_keywords'] = ' Vis nøgleord';

$txt['downloads_save_settings'] = 'Gem indstillinger';

// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop point indstillinger</b><br /><span class="smalltext">Bruges kun hvis SMF Shop er indstalleret</span>';
$txt['downloads_shop_fileadd']  = 'Download point: ';
$txt['downloads_shop_commentadd'] = 'Kommentar point: ';

// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Link koder';
$txt['downloads_set_showcode_directlink'] = ' Vis direkte link koder';
$txt['downloads_set_showcode_htmllink'] = ' Vis HTML link koder';

$txt['downloads_txt_directlink'] = 'Direkte link';
$txt['downloads_txt_htmllink'] = 'HTML link';

// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beskrivelse';
$txt['downloads_app_date'] = 'Dato';
$txt['downloads_app_membername'] = 'Medlemsnavn';

$txt['downloads_text_withselected'] = 'Med udvalgte';
$txt['downloads_text_performaction'] = 'Udfør handling';

// Report list
$txt['downloads_rep_filelink'] = 'Download link';
$txt['downloads_rep_reportby'] = 'Rapporteret af';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'vis download';
$txt['downloads_rep_deletedownload'] = '[slet download]';
$txt['downloads_rep_delete'] = '[Slet rapporterede]';
$txt['downloads_rep_org_comment'] = 'Original kommentar';
// Search Page
$txt['downloads_search_download'] = 'Søg i downloads';
$txt['downloads_search_for'] = 'Søg efter:';
$txt['downloads_search_title'] = 'Søg download titel';
$txt['downloads_search_description'] = 'Søg download beskrivelse';
$txt['downloads_search_keyword'] = 'Søg nøgleord';
$txt['downloads_search'] = 'Søg';

$txt['downloads_search_days30']  = 'Sidste 30 dage';
$txt['downloads_search_days60']  = 'Sidste 60 dage';
$txt['downloads_search_days90']  = 'Sidste 90 dage';
$txt['downloads_search_days180']  = 'Sidste 180 dage';
$txt['downloads_search_days365']  = 'Sidste 365 dage';
$txt['downloads_search_alltime']  = 'Alle dage';
$txt['downloads_search_daterange'] = 'Dato omrÃ¥de: ';

$txt['downloads_search_membername'] = 'Indsendt af (medlems navn): ';
$txt['downloads_search_advsearch'] = 'Avancerede søgemuligheder';

$txt['downloads_searchresults'] = 'Søge resultat';

// MyFiles
$txt['downloads_myfiles'] = 'Mine filer';
$txt['downloads_myfiles_app'] = 'Download godkendt';
$txt['downloads_myfiles_notapp'] = 'Download afvist';

// Index Page Strings
$txt['downloads_main_recent'] = 'Seneste downloads';
$txt['downloads_main_viewed'] = 'Mest viste';
$txt['downloads_main_toprated'] = 'Bedst bedømte';
$txt['downloads_main_mostcomments'] = 'Mest kommenterede';
$txt['downloads_main_mostdownloads'] = 'Mest hentede';

// Stats
$txt['downloads_text_stats']  = 'Stastistik';
$txt['downloads_stats_last']  = 'Sidste 10 indsendte downloads';
$txt['downloads_stats_viewed'] = 'Mest viste downloads';
$txt['downloads_stats_toprated'] = 'Bedst bedømte downloads';
$txt['downloads_stats_mostcomments'] = 'Mest kommenterede';
$txt['downloads_stats_title'] = 'Download statistik';
$txt['downloads_stats_totalviews'] = 'Antal visninger';
$txt['downloads_stats_totalcomments'] = 'Antal kommentarer';
$txt['downloads_stats_totalfize'] = 'Samlede downloads filstørrelse';
$txt['downloads_stats_totalfiles'] = 'Downloads';
$txt['downloads_stats_viewstats'] = 'Vis downloads statistik';

// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Tilføj Sub kategori';
// Board
$txt['downloads_text_postingoptions'] = 'Indsend valgmuligheder';
$txt['downloads_text_boardname'] = 'Board navn:';
$txt['downloads_postingoptions_info'] = 'Information: Hvis du vælger et board vil der blive oprette en bested i dette board nÃ¥r en download godkendes.';
$txt['downloads_posting_showlinktodownload'] = 'Vis link til download forside';
$txt['downloads_posting_locktopic'] = 'LÃ¥s Emne';

// File Space and Quota information
$txt['downloads_filespace'] = 'Lagerplads hÃ¥ndtering';
$txt['downloads_filespace_note'] = 'Miniature billeder tælles ikke med i en brugers pladsbegrænsning';
$txt['downloads_filespace_filesize'] = 'Plads brugt';
$txt['downloads_filespace_list'] = 'List filer';
$txt['downloads_filespace_list_title'] = 'Filliste';
$txt['downloads_filespace_recount'] = 'Kontroller brugt lagerplads';
$txt['downloads_filespace_groupquota_title'] = 'Medlemsgruppe kvote begrænsning';
$txt['downloads_filespace_groupname'] = 'Medlemsgruppe navn';
$txt['downloads_filespace_limit'] = 'Fil kvote begrænsning';
$txt['downloads_filespace_addquota'] = 'Tilføj kvote begrænsning';

// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategori rettighedsliste';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_text_catperm'] = 'Kategori rettigheder';
$txt['downloads_text_addperm'] = 'Tilføj rettigheder';

//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du skal indtaste kategori titel!';
$txt['downloads_error_no_file_selected'] = 'Ingen download valgt.';
$txt['downloads_error_file_notapproved'] = 'Denne download er endnu ikke godkendt og du har ikke rettigheder til at se det.';
$txt['downloads_error_no_title'] = 'Du skal indtaste download titel.';
$txt['downloads_error_no_cat'] = 'Du skal vælge en kategori.';

$txt['downloads_error_file_filesize'] = 'Download overstiger max filstørrelse. Max filstørrelse er ';
$txt['downloads_error_no_download'] = 'No uploaded download found.';
$txt['downloads_error_no_downloadexist'] = 'Ingen download eksisterer';
$txt['downloads_error_noedit_permission'] = 'Du har ikke rettigheder til at redigere denne download.';
$txt['downloads_error_nodelete_permission'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['downloads_error_no_comment'] = 'Du indtastede ikke en kommentar!';
$txt['downloads_error_not_allowcomment'] = 'Vent et Ã¸jeblik... Denne download tillader ikke kommentarer...';
$txt['downloads_error_no_com_selected'] = 'Ingen kommentar valgt.';
$txt['downloads_error_no_user_selected'] = 'Ingen bruger valgt.';
$txt['downloads_error_no_report_selected'] = 'Ingen raport valgt.';
$txt['downloads_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';
$txt['downloads_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';
$txt['downloads_error_nocomedit_permission'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['downloads_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';
$txt['downloads_error_already_rated'] = 'Du har allerede bedømt denne download.';
$txt['downloads_error_space_limit'] = 'Det er ikke muligt at sende filen da den overstiger din kvote begrænsning. Kvote information: ';
$txt['downloads_error_noquota'] = 'Du indtastede ikke en kvote begrænsning.';
$txt['downloads_error_nogroup'] = 'Ingen medlemsgruppe valgt.';
$txt['downloads_error_quotaexist'] = 'Der eksisterer allerede en kvote for denne gruppe. Slet gammel kvote først.';
$txt['downloads_error_nouser_exists'] = 'Ingen bruger eksisterer.';
$txt['downloads_error_nocat_above'] = 'Der er ingen kategori over den nuværende.';
$txt['downloads_error_nocat_below'] = 'Der er ingen kategori under den nuværende.';
$txt['downloads_error_norate_own'] = 'Du kan ikke bedømme din egen download.';
$txt['downloads_error_no_catexists'] = 'Du skal oprette en kategori før du kan indsende en download.';
$txt['downloads_error_invalid_picture'] = 'Invalid billede fil';

// Quota Limits
$txt['downloads_quotagrouplimit'] ='Kvote begrænsning';
$txt['downloads_quotagspaceused'] ='Kvote plads brugt';
$txt['downloads_quotaspaceleft'] ='Kvote plads tilbage';

// Permissions
$txt['downloads_perm_no_view'] = 'Du har ikke rettighed til at vise denne kategori.';
$txt['downloads_perm_no_add'] = 'Du har ikke rettighed til at tilføje download til denne kategori.';
$txt['downloads_perm_no_edit'] = 'Du har ikke rettighed til at redigere denne download i denne kategori.';
$txt['downloads_perm_no_delete'] = 'Du har ikke rettighed til at slette denne download i denne kategori.';
$txt['downloads_perm_no_ratefile'] = 'Du har ikke rettighed til at bedømme denne download i denne kategori.';
$txt['downloads_perm_no_editcomment'] = 'Du har ikke rettighed til at redigere denne kommentar i denne kategori.';
$txt['downloads_perm_no_addcomment'] = 'Du har ikke rettighed til at tilføje kommentarer i denne kategori.';
$txt['downloads_perm_no_report'] = 'Du har ikke rettighed til at bedømme indhold i denne kategori.';
// Notify comment
$txt['downloads_notify_body'] = 'Der er blevet skrevet en kommentar til din indsendte download.' "\n\n" 'Du kan se den pÃ¥' "\n" '%s' "\n\n";
$txt['downloads_notify_subject'] = 'Ny kommentar: %s';
$txt['downloads_notify_title'] = 'Underret mig om kommentarer';

$txt['downloads_perm_view'] = 'Vis';
$txt['downloads_perm_add'] = 'Tilføj download';
$txt['downloads_perm_edit'] = 'Rediger egen download';
$txt['downloads_perm_delete'] = 'Slet egen download';
$txt['downloads_perm_addcomment'] = 'Tilføj kommentar';

$txt['downloads_permerr_permexist'] = 'Der eksisterer allerede rettigheder for denne gruppe og kategori. Slet venligst disse rettigheder første.';

$txt['downloads_perm_allowed'] = 'Tilladt';
$txt['downloads_perm_denied'] = 'Afvist';

$txt['downloads_guest'] = 'Gæst';

// Custom Fields
$txt['downloads_custom_fields'] = 'Brugerdefineret felt';

$txt['downloads_custom_title'] = 'Felt titel';
$txt['downloads_custom_default_value'] = 'Standard værdi';
$txt['downloads_custom_required'] = 'PÃ¥krævet';
$txt['downloads_custom_addfield'] = 'Tilføj felt';

$txt['downloads_custom_err_title'] = 'Brugerdefineret feltnavn er krævet.';
$txt['downloads_error_nocustom_above'] = 'Der er ingen brugerdefinerede felter over det nuværende.';
$txt['downloads_error_nocustom_below'] = 'Der er ingen brugerdefinerede felter under det nuværende.';
$txt['downloads_err_req_custom_field'] = 'Du har et pÃ¥krævet felt der mangler information kaldet ';

$txt['downloads_err_checkfailed'] = 'Sikkerhedstjek fejlede';

$txt['downloads_click_enlarge'] = 'Klik for forstørrelse';
$txt['downloads_sub_cats'] = 'Sub kategorier: ';

// Sorting Options
$txt['downloads_txt_sortby'] = 'Sorter efter: ';
$txt['downloads_txt_orderby'] = 'Rækkefølge: ';
$txt['downloads_txt_sort_go'] = 'Udfør';

$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Dato';
$txt['downloads_txt_sort_mostviewed'] = 'Visninger';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentarer';
$txt['downloads_txt_sort_mostrated'] = 'Bedømmelse';
$txt['downloads_txt_sort_filesize'] = 'Filestørrelse';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Medlemsnavn';

$txt['downloads_txt_sort_asc'] = 'Stigende';
$txt['downloads_txt_sort_desc'] = 'Faldende';


$txt['downloads_error_img_size_height'] = 'Billede overskrider krav til størrelse. Billedets højde:  ';
$txt['downloads_error_img_size_width'] = ' Billedets bredde: ';


// Category Display
$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bedømmelse';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Visninger';
$txt['downloads_cat_filesize'] = 'Filstørrelse';
$txt['downloads_cat_date'] = 'Dato';
$txt['downloads_cat_comments'] = 'Kommentarer';
$txt['downloads_cat_membername'] = 'Medlemsnavn';
$txt['downloads_cat_options'] = 'Valgmuligheder';

$txt['downloads_text_lastdownload'] = 'Sidste download: ';
$txt['downloads_text_lastdownload2'] = 'Aldrig';

// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importer Tiny Portal downloads';
$txt['downloads_txt_import'] = 'Importer';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal downloads import resulter';
$txt['downloads_txt_import_downloads'] = 'Importer downloads';

$txt['downloads_txt_import_note'] = 'Hvis du har indstalleret et andet download system tidligere, vil du have mulighed for at importere disse filer i Download System';

$txt['downloads_txt_categories_imported'] = 'Importerede kategorier: ';
$txt['downloads_txt_files_imported'] = 'Importerede filer: ';


$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Filesize ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Filesize ';
$txt['downloads_upload_limits_notes'] = 'OvenstÃ¥ende PHP indstillinger kontrollere hvor stor en fil der accepteres. Disse indstillinger kontrolleres af php.ini eller din webhost';

?>

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: henrik1782 on December 07, 2010, 06:08:50 AM
Danish translation continued:

downloads2.xml  and  downloads.xml

<file name="$languagedir/Modifications.danish.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads konfiguration';
$txt['downloads_text_settings'] = 'Indstillinger';

$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporterede downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_txt_import'] = 'Importer';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'Vis downloads';
$txt['permissionhelp_downloads_view'] = 'Tillader brugeren at se en download';
$txt['cannot_downloads_view'] = 'Du har ikke rettigheder til at se denne download';

$txt['permissionname_downloads_add'] = 'Tilføj download';
$txt['permissionhelp_downloads_add'] = 'Tillader brugeren at tilføje en download.';
$txt['cannot_downloads_add'] = 'Du har ikke rettigheder til at tilføje en download.';

$txt['permissionname_downloads_edit'] = 'Rediger egne download';
$txt['permissionhelp_downloads_edit'] = 'Tillader brugeren at redigere egne downloads download.';
$txt['cannot_downloads_edit'] = 'Du har ikke rettigheder til at redigere denne download';

$txt['permissionname_downloads_delete'] = 'Slet egne download';
$txt['permissionhelp_downloads_delete'] = 'Tillader brugeren at slette egne downloads.';
$txt['cannot_downloads_delete'] = 'Du har ikke rettigheder til at slette denne download.';

$txt['permissionname_downloads_ratefile'] = 'Bedøm downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Tillader brugeren at bedømme en download.';
$txt['cannot_downloads_ratefile'] = 'Du har ikke rettigheder til at bedømme denne downlaod.';

$txt['permissionname_downloads_editcomment'] = 'Rediger egne kommentar';
$txt['permissionhelp_downloads_editcomment'] = 'Tillader brugeren at redigere egne kommentarer.';
$txt['cannot_downloads_editcomment'] = 'Du har ikke rettigheder til at redigere denne kommentar.';

$txt['permissionname_downloads_comment'] = 'Tilføj kommentarer';
$txt['permissionhelp_downloads_comment'] = 'Tillader brugeren at tilføje kommentar til en download.';
$txt['cannot_downloads_comment'] = 'Du har ikke rettigheder til at tilføje kommentarer.';

$txt['permissionname_downloads_report'] = 'Rapporter downloads/kommentar';
$txt['permissionhelp_downloads_report'] = 'Tillader brugeren at rapportere downloads og kommentarere.';
$txt['cannot_downloads_report'] = 'Du har ikke rettigheder til at rapportere indhold.';

$txt['permissionname_downloads_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentar skal ikke afvente godkendelse.';

$txt['permissionname_downloads_autoapprove'] = 'Automatisk godkendelse af downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads skal ikke afvente godkendelse.';


$txt['permissionname_downloads_manage'] = 'Administrer Download System';
$txt['permissionhelp_downloads_manage'] = 'Tillader brugeren at tilføje/slette/redigere alle kategorier. Slette kommentarer, slette downloads, Godkende downloads';
$txt['cannot_downloads_manage'] = 'Du har ikke rettigheder til at administrere downloads.';

// END Download System Text Strings
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.danish-utf8.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads konfiguration';
$txt['downloads_text_settings'] = 'Indstillinger';

$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporterede downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_txt_import'] = 'Importer';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'Vis downloads';
$txt['permissionhelp_downloads_view'] = 'Tillader brugeren at se en download';
$txt['cannot_downloads_view'] = 'Du har ikke rettigheder til at se denne download';

$txt['permissionname_downloads_add'] = 'Tilføj download';
$txt['permissionhelp_downloads_add'] = 'Tillader brugeren at tilføje en download.';
$txt['cannot_downloads_add'] = 'Du har ikke rettigheder til at tilføje en download.';

$txt['permissionname_downloads_edit'] = 'Rediger egne download';
$txt['permissionhelp_downloads_edit'] = 'Tillader brugeren at redigere egne downloads download.';
$txt['cannot_downloads_edit'] = 'Du har ikke rettigheder til at redigere denne download';

$txt['permissionname_downloads_delete'] = 'Slet egne download';
$txt['permissionhelp_downloads_delete'] = 'Tillader brugeren at slette egne downloads.';
$txt['cannot_downloads_delete'] = 'Du har ikke rettigheder til at slette denne download.';

$txt['permissionname_downloads_ratefile'] = 'Bedøm downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Tillader brugeren at bedømme en download.';
$txt['cannot_downloads_ratefile'] = 'Du har ikke rettigheder til at bedømme denne downlaod.';

$txt['permissionname_downloads_editcomment'] = 'Rediger egne kommentar';
$txt['permissionhelp_downloads_editcomment'] = 'Tillader brugeren at redigere egne kommentarer.';
$txt['cannot_downloads_editcomment'] = 'Du har ikke rettigheder til at redigere denne kommentar.';

$txt['permissionname_downloads_comment'] = 'Tilføj kommentarer';
$txt['permissionhelp_downloads_comment'] = 'Tillader brugeren at tilføje kommentar til en download.';
$txt['cannot_downloads_comment'] = 'Du har ikke rettigheder til at tilføje kommentarer.';

$txt['permissionname_downloads_report'] = 'Rapporter downloads/kommentar';
$txt['permissionhelp_downloads_report'] = 'Tillader brugeren at rapportere downloads og kommentarere.';
$txt['cannot_downloads_report'] = 'Du har ikke rettigheder til at rapportere indhold.';

$txt['permissionname_downloads_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentar skal ikke afvente godkendelse.';

$txt['permissionname_downloads_autoapprove'] = 'Automatisk godkendelse af downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads skal ikke afvente godkendelse.';


$txt['permissionname_downloads_manage'] = 'Administrer Download System';
$txt['permissionhelp_downloads_manage'] = 'Tillader brugeren at tilføje/slette/redigere alle kategorier. Slette kommentarer, slette downloads, Godkende downloads';
$txt['cannot_downloads_manage'] = 'Du har ikke rettigheder til at administrere downloads.';

// END Download System Text Strings
]]></add>
</operation>
</file>

<file name="$languagedir/Who.danish.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'Gennemser <a href="' . $scripturl . '?action=downloads">downloads</a>';
// END Download System Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Who.danish-utf8.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'Gennemser <a href="' . $scripturl . '?action=downloads">downloads</a>';
// END Download System Strings
]]></add>
</operation>
</file>




package-info.xml

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">

<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>vbgamer45:downloadsystem</id>
<name>Downloads System</name>
<type>modification</type>
<version>1.3.4.4</version>

<install for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<redirect url="?action=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">downloads.xml</modification>
<require-file name="Downloads.php" destination="$sourcedir" />
<require-file name="Downloads.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall.php</code>

</install>

<upgrade for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<redirect url="?action=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Downloads.php" destination="$sourcedir" />
<require-file name="Downloads.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall.php</code>

</upgrade>

<uninstall for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<modification type="file" reverse="true">downloads.xml</modification>
<remove-file name="$sourcedir/Downloads.php" />
<remove-file name="$themedir/Downloads.template.php" />
<remove-file name="$themedir/languages/Downloads.english.php" />
<remove-file name="$themedir/languages/Downloads.english-utf8.php" />
<remove-file name="$themedir/languages/Downloads.danish.php" />
<remove-file name="$themedir/languages/Downloads.danish-utf8.php" />
<code>DownloadUnInstall.php</code>
</uninstall>

<install for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">downloads2.xml</modification>
<require-file name="Downloads2.php" destination="$sourcedir" />
<require-file name="Downloads2.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall2.php</code>

</install>

<upgrade for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Downloads2.php" destination="$sourcedir" />
<require-file name="Downloads2.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall2.php</code>

</upgrade>

<uninstall for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<modification type="file" reverse="true">downloads2.xml</modification>
<remove-file name="$sourcedir/Downloads2.php" />
<remove-file name="$themedir/Downloads2.template.php" />
<remove-file name="$themedir/languages/Downloads.english.php" />
<remove-file name="$themedir/languages/Downloads.english-utf8.php" />
<remove-file name="$themedir/languages/Downloads.danish.php" />
<remove-file name="$themedir/languages/Downloads.danish-utf8.php" />
<code>DownloadUnInstall.php</code>
</uninstall>


</package-info>
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: henrik1782 on December 07, 2010, 06:29:25 AM
Hi

Is it possible to make a modification to the section Who so you can se what catagory is being watched.

Best regards
Henrik Poulsen
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 10, 2010, 09:25:21 PM
Possible yes but not not high on list to work at the moment.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: mcmedal001 on December 15, 2010, 11:18:13 AM
Good day, i'd like to add adsense to the top of every article but below the summary. That is the ads will be between the summary and the main article. I don't know much about coding. Please, where do i edit in the article template? Thank you
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 15, 2010, 11:40:42 AM
Think you have the wrong mod sounds like you are looking for the articles mod.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Kajol on December 21, 2010, 09:05:40 AM
Whenever I create a Download I get the Error Message "You need to enter a download title." although I gave a title.
I don't understand this. I have SMF 2.0 RC4.
Any idea what that means and what I need to do?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 21, 2010, 10:30:55 AM
Your download is probably exceeding your php upload limits
Check out http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Arebias on December 21, 2010, 11:00:59 PM


Two Questions:


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 22, 2010, 12:34:25 AM
1. You would need to modify Sources/Downloads.php
2. That would be in themes/default/downloads.template.php and you would modify the template to make it not checked
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Arebias on December 22, 2010, 04:54:34 AM

Thank you vbgamer for those answers and for this mod. I made the edits that were needed in order to tailor to my needs. I have one last step I believe.

I would assume that I would get rid of the smileys in the Downloads2.template.php but I am not having much luck. Are there multiple areas within this template that I would need to edit to remove all smileys for the post form? In other words I do not want smileys showing on the add download form at all.


Also a suggestion, and not a bug I don't think but who knows. When you have multiple categories and unique fields for each of those categories. When you choose to upload using one category and then switch categories, using the drop down menu choice for categories, it does not update the unique fields for that alternate category which essentially renders that drop down menu useless.


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: FragaCampos on December 22, 2010, 08:16:14 AM
Sorry if this already was answered among the 70 pages of the thread, but i searched and couldn't find the answer.
Is it possible to import my attachments to the download system?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 22, 2010, 09:12:49 AM
Quote from: FragaCampos on December 22, 2010, 08:16:14 AM
Sorry if this already was answered among the 70 pages of the thread, but i searched and couldn't find the answer.
Is it possible to import my attachments to the download system?
Not currently
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on December 23, 2010, 04:23:08 PM
Minor bug fix update
1.3.5
!Allowed quotas to be set above 2GB
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Hack-King on December 25, 2010, 10:58:04 AM
its cool though, i like it. It's very good...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: Kajol on December 30, 2010, 05:53:53 AM
Quote from: vbgamer45 on December 21, 2010, 10:30:55 AM
Your download is probably exceeding your php upload limits
Check out http://www.smfhacks.com/index.php/topic,3498.0.html

Aye, seems to be very likely but unfortunately I can't change this.
I will try a smaller file and see if it gives the same error. (probably not if you were right) :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: IlyZor on January 02, 2011, 02:38:03 PM
I have an old version of this mod and want to upgrade it. I try to uninstall the old mod but get this message:

1.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
2.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
4.    Execute Modification    ./index.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Sources/Subs.php    Test failed
7.    Execute Modification    ./Sources/ManagePermissions.php    Test successful

Should I proceed anyway?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 02, 2011, 02:41:43 PM
I would leave it installed and just install the new version on top of it. The system should auto upgrade to latest version that way.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on January 05, 2011, 02:16:24 AM
Thanks for this valuable mod :)

i want to make some changes.. please help me..

1. When a user clicks on "download" click the link should open in a new window..

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld.jpg)


2. This notification to user should be highlighted.. changing its look...

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld1.jpg)

3. I want to remove uploader.

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld2.jpg)



Thank you :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: impreza on January 05, 2011, 06:18:55 AM
An interesting add-on, test it at home - thank you
Title: Re: Download System (With TP Downloads Import Tool) Works with SMF 2.0 RC!
Post by: !RFAN on January 05, 2011, 07:27:59 AM
Quote from: vbgamer45 on May 10, 2009, 07:11:58 PM
Yeah search Downloads.php find shop code there are spots where it adds points
Just copy that to the  download_downfile function and change it to subtract points and you are set.

plus .. please integrate shop with download system so that credits are deducted on each download..
Many Thanks :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: hardcore_f on January 05, 2011, 09:06:16 PM
seems there is an issue:
Downloads System    1.3.4.4 

all the following from the log file.


Undefined index: admin_menu_nameFile: /Downloads2.php
Line: 5359

Undefined index: description
Downloads2.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 294

8: Undefined index:
/Downloads2.php
Line: 1401
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on January 10, 2011, 10:01:21 AM
still waiting for reply :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 10, 2011, 10:33:52 AM
Just do what I said in 2009 that would work
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on January 10, 2011, 12:34:19 PM
i cant understand what you said in that post.. please explain it a little..


and please reply to my this post as well...


Thanks for this valuable mod :)

i want to make some changes.. please help me..

1. When a user clicks on "download" click the link should open in a new window..

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld.jpg)


2. This notification to user should be highlighted.. changing its look...

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld1.jpg)

3. I want to remove uploader.

(http://i246.photobucket.com/albums/gg88/irfanfani/dnld2.jpg)



Thank you :)

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 10, 2011, 12:52:17 PM
That would be custom code you would have to write that
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on January 11, 2011, 07:05:35 PM
hmmm.. looks like u r not interested in free support... i can pay u for this if u integrate it with SA Shop.. which is updated and way better than SMF Shop..

Thanks for reply though :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 11, 2011, 07:06:42 PM
Just don't have time to do custom work at this time.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on January 11, 2011, 07:15:15 PM
Ohkay i can wait.
Btw, do u have any plan for integrating it with SA Shop?
it is better than SMF Shop.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 11, 2011, 07:22:26 PM
No plans in the near future.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 16, 2011, 04:01:00 PM
Minor updates to searching
1.3.6
!Improved how search results are handled for multiple pages
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: henrik1782 on January 16, 2011, 08:44:16 PM
Hi vbgamer 45

I have submitted the danish translation for this mod in this toppic. Are you going to implement this into the package?

It would be much easyer for me to update...  ;) and may be helpfull for other danish users.

Best regards
Henrik Poulsen
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 16, 2011, 09:12:05 PM
Which post did you attach it to? I don't see it as an attachment in post above
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: henrik1782 on January 17, 2011, 04:32:58 AM
Hi ...

It was post 1183, but anyway here it is.

Let me know if anything is missing
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: MaXiForum.cz on January 17, 2011, 01:51:04 PM
Quote from: vbgamer45 on January 16, 2011, 04:01:00 PM
Minor updates to searching
1.3.6
!Improved how search results are handled for multiple pages


Hi vbgamer45,
is there any change in the database?
Or can I replace only files?
Thank you
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 17, 2011, 02:01:05 PM
No database changes
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: gv on January 25, 2011, 12:21:57 PM
How do you install it on other themes ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 25, 2011, 12:25:44 PM
Depends on SMF version with 2.0 no theme edits needed. SMF 1.1.x just modify index.template.php to include a button.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on January 31, 2011, 09:53:57 PM
I use SMF 2.0 RC4 with mods installed: SimplePortal 2.3.3, SMF Gallery, AEVA lite, Download System


I want guests to be able to use download system so I gave all same permissions that registered member have.
So guests can upload, download and comment.
But they cant delete their own uploads and cant rate the uploads (I have give these permissions to guests) and receive a message that the action is able only to registered users.

You can check here http://battleforge.gr/index.php?action=downloads

Any idea how to fix it?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 31, 2011, 10:15:15 PM
Not possible for guests to delete their own download or rate.
How would it know that the file is owned by that guest and not someone else same for rating.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on January 31, 2011, 10:27:32 PM
thanks for quick replay , yeah you are right
I just see this in permissions so I said "why not?"  O:)


one more question:
I use greek-utf8 language in forum
In download system I can just type Latin characters. When I use Greek in comments or description I get this ??????????

How to fix it?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on January 31, 2011, 10:32:14 PM
You need to convert the downloads tables to uf8 as table type using phpmyadmin
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on January 31, 2011, 11:00:48 PM
I turned everything to UTF-8 Unicode but no result.

Strange is that my gallery (similar way of description, comments etc) works fine.


Any idea?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on February 01, 2011, 04:10:55 PM
So any idea what cause the problem and how to fix?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 01, 2011, 04:12:08 PM
Check all downloads tables and columns inside tables to make sure they are utf8
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on February 03, 2011, 08:51:35 AM
for some reason it didnt work but its an awesome modification anyway


One more question:
What file I need to make changes so Custom Fields will be shown in Category Display Listing?

To make it specific:
I want the fields Player, Deck, Opponent, Opp.Deck, Map, Duration that are visible here http://battleforge.gr/index.php?action=downloads;sa=view;down=16 to make it be visible here http://battleforge.gr/index.php?action=downloads;cat=2

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 03, 2011, 09:22:49 AM
That would be two files Downloads.php and Downloads.template.php there is a main function I think or category display that controls that. You would have to join the custom fields table with the category id.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on February 03, 2011, 09:52:44 AM
Quote from: vbgamer45 on February 03, 2011, 09:22:49 AM
That would be two files Downloads.php and Downloads.template.php there is a main function I think or category display that controls that. You would have to join the custom fields table with the category id.

Just tried but I have no chance to make it work  :(

Can you make it for me?
;D  joking

I know you have no time to make custom changes for everyone who asks, I hope you will add this option in    DownloadSystem 1.3.7 so Custom Fields will be shown in Category Display Listing
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 04, 2011, 10:35:56 AM
Might add it or in downloads pro but would be a while currently busy with many projects.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: dematrix2571 on February 09, 2011, 02:59:33 PM
I am looking at the script in the download.php,

How can I change the file size from 10 to 15mg.  I know it not the server cause I have another website that can upload 20meg after setting the parameters in my site program.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 09, 2011, 03:03:17 PM
Check your maxfilesize limit setting in downloads pro

And read this
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: dematrix2571 on February 09, 2011, 03:14:46 PM
Yeah.. I saw that AFTER I post.  I thought from counting it was 50meg  but it was actually 5 meg.. it helps if I put my glasses on.  So I changed it however,  When I went back to try to post a 14meg file, i keep getting a error

An Error Has Occurred!
You need to enter a download title.

I did enter a download title.  I already uploaded 7 files but all was under 5meg.   The PHP information says 10m.  It says I can change the value in the PHP.INI or the webserver.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 09, 2011, 03:16:11 PM
There is also post_data_size needs to be increased.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: dematrix2571 on February 09, 2011, 03:24:15 PM
I can't increase it.  It's just show 10M

See Image Attached.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 09, 2011, 03:25:09 PM
Read
http://www.smfhacks.com/index.php/topic,3498.0.html

That says what you need to change.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: dematrix2571 on February 09, 2011, 03:42:23 PM
Ok.. I made the change in the PHP.INI file.  I should have looked in the Public_html folder.

Since this site is host with another company and not my server.  How long does it take to reflect the change?

Sorry for asking these questions, and you may not know.  I am new but learning fast.

_______________

Never mind.. you got me this far and THANKS! to you for your help.  I am going to ask my webhost about this.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 09, 2011, 03:43:38 PM
Instant or webserver may need a restart if not contact hosting company about php limit
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: thesikaleon on February 14, 2011, 12:13:24 PM
how can I make all member info to be visible in comments

I mean signature, genre, age etc same like forum posts
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 14, 2011, 01:11:11 PM
I would have to add that.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: allthumbz on February 15, 2011, 01:36:42 AM
Great mod. Any way to only allow users with more than a certain number of posts to access the downloads?  People register, don't participate, download and are never seen again.

Right now, it allows regular users, which is anyone who is not a guest under the standard membergroups and definitions.

Thanks.

Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on February 15, 2011, 02:30:40 AM
u can make a membergroup having similar permissions and attributes like regular members but dont allow them to visit downloads.. i have done this for several mods..
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: !RFAN on February 15, 2011, 04:45:47 AM
when i add a download a new topic is created and i will get Add download points (say 20) and New Topic (say 10) points.. total 30
When my download is deleted only Add Download points (20) will be subtracted..  I will get 10 points even that topic is deleted..

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: allthumbz on February 15, 2011, 06:05:58 PM
I have increased my file limits on uploads and posts in my PHP file to 10M and 10M, which are the limits of my web host. (Yes, I know this is annoyingly small, but they say they cannot increase it).

When people try to upload a file larger than 4.8M they get an error message in the downloads system "4.7".

Why does this happen even though the PHP settings are set to 10M and how can I fix this.

Thanks.

Nelson

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 15, 2011, 06:12:52 PM
What is the exact error message that you are getting?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: allthumbz on February 16, 2011, 09:07:01 AM
I have attached the error message.

Thanks,

Nelson

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: vbgamer45 on February 16, 2011, 09:17:05 AM
Quote from: allthumbz on February 16, 2011, 09:07:01 AM
I have attached the error message.

Thanks,

Nelson


I see the issue under download configuration your Downloads Max Filesize is too low raise your limited currently 4.77MB
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC4!
Post by: allthumbz on February 16, 2011, 09:26:17 AM
Quote from: vbgamer45 on February 16, 2011, 09:17:05 AM
Quote from: allthumbz on February 16, 2011, 09:07:01 AM
I have attached the error message.

Thanks,

Nelson


I see the issue under download configuration your Downloads Max Filesize is too low raise your limited currently 4.77MB

Where do I raise it? I already raised the maximum in the PHP file for the system to 10M.

Thanks,

Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 16, 2011, 09:30:17 AM
Under Downloads Configuration -> Settings
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on February 16, 2011, 09:33:06 AM
It is already at 10M there. I am attaching the screen.

Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Arantor on February 16, 2011, 09:35:17 AM
post_max_size needs to be bigger, typically 2-3x the max upload size. The content gets encoded to be sent, and it's hitting the max post size limit.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on February 16, 2011, 09:38:21 AM
My stupid web hosting service has a 10M limit, which they "say" they cannot change. They say it is a "platform" issue (I am not knowledgeable enough to know what they mean). It sure is an annoyance to me because I run a machinist forum and we have manuals that I want to upload for various machines to offer to my members, and this limit really is a PITA.

I guess I am stuck then at 4.77M?


Nelson




Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 16, 2011, 09:40:30 AM
No you have the raise the very first field on that page it says Max File Size 5000000
You can change the 5 to a 10
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on February 16, 2011, 09:52:49 AM
Quote from: vbgamer45 on February 16, 2011, 09:40:30 AM
No you have the raise the very first field on that page it says Max File Size 5000000
You can change the 5 to a 10

That worked awesome!

Thanks very much vbgamer45!


Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 16, 2011, 09:53:49 AM
Minor update
1.3.7
!Fixed missing text string for max filesize too large when uploaded file exceeds the max filesize setting
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: pgodell on February 16, 2011, 09:58:38 PM
I have installed this but it did not put anything in no download button and nothing in the admin section but it shows that it is installed
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 16, 2011, 10:06:07 PM
If nothing in admin or menu I don't think it installed might be file permission issue
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Dumpy on February 20, 2011, 03:05:17 PM
Is there any way to style a button that says DOWNLOAD rather than just having the file name displayed - much as I hate to say it some of members are so thick they couldn't figure out that they had to click the file name to download a file.

Thanks in advance  ;)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 20, 2011, 07:53:12 PM
You would need to modify the download.template.php to include an image button for the download url I added an option for image in the pro edition.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: !RFAN on February 21, 2011, 01:45:25 AM
what if i add an image tag in language file???
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 21, 2011, 09:58:04 AM
Try and see what happens
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: !RFAN on February 21, 2011, 11:17:22 AM
i tried.. but i was not able to add download afterwards.. it gives an error that i dont have permission when i click on submit download...

can u please tell us what php code we should use for this??
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 21, 2011, 11:42:22 AM
I don't know the code without doing it myself but it would be in downloads.template.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: andy12gr on February 24, 2011, 11:38:29 PM
Hi i install the downloads system 1.3.7 in  SMF 2.0 RC3 and SP2.3.2 and i have Maximum allowed size for uploaded files:1000M and max time:1000.
when i upload a file in 120mb all are ok but when i upload a file above 120mb(200..300mb) i have the message
The connection was reset
The connection to the server was reset while the page was loading.

How to fix it?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 24, 2011, 11:40:20 PM
You have set your server to accept long connection times. And php settings to allow long execution and the file upload limits are high enough
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Kreator on February 25, 2011, 11:57:22 AM
Hello, I have an enormous, no Humangous Problem , I have been happily run the Download system without any problems up until I upgraded to RC5.


Now there was no Problem with this either, until I decided (unfortunately!) to add ADK`s Portal system to the site.


I like the Portal however, their Extreme download system ( Not really extreme to me) has taken over the "Download" tab even though I have not Activated the Extreme Download extension!!


So my original downloads are no longer viewable, but all the mods to files , tables etc are still there, So apart from deleting the Portal, is there any way I could say, alter The menutab to DLOADS and the download system recover itself?


I have been onto ADK but have received no response whatsoever.


I hope you can help, ( I have a strong feeling that you might say delete adk!)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 25, 2011, 12:38:16 PM
Not familiar with that mod what actions those that mod point to?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Nibogo on February 25, 2011, 02:37:44 PM
Quote from: vbgamer45 on February 25, 2011, 12:38:16 PM
Not familiar with that mod what actions those that mod point to?

It's the mod that copied code from yours, if I ain't wrong ;)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on February 25, 2011, 03:00:52 PM
That would cause problems then cause it would be the same code. :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Kreator on February 25, 2011, 03:04:45 PM
It would look that way , I had a further look into it.

I thought if I changed the menutab to something like "Dloads" (Themes/default/languages/modifications.english.php), then that may work, No joy!

So I had a look at the install files seems the folder for the downloads is ADK-downloads so I changed that to AK-Downloads in the niave hope that it would return an error, no such luck its still there and the mod is still pointing to the contents of this folder. as its renamed The original Downloads folder to Adk-downloads ... very strange!




Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Kreator on February 28, 2011, 03:23:27 AM
Nope I can`t get this to work at all with the Adk portal mod in place, it totally overtakes the Download mod, it would also appear that it takes over other mods as well! so I have reported the Adk mod as unsafe.

The support for it is dismal with the adk blog as well!

I have had to uninstall smf Downloads. then ensure the adk one is not activated.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: thesikaleon on February 28, 2011, 07:33:19 AM
There is bug in mod when there are custom fields.  Hope i make you understand cause my English sucks.


I have 4 categories in downloads. I have make different custom fields for each category.

Lets name the 4 categories A, B, C, D

When I'm in A category I click on "Add a download" I come on this page http://mydomain/index.php?action=downloads;sa=add;cat=1 and everything is ok cause custom fields of A category are visible. But if I change my mind and want upload to category B, I go to the category field (under title) and set it to B. Normally custom fields should auto-change but they dont. So I cant use custom fields of category B.
In order to upload in category B I must first go in B category and then click on "Add a download", so i come on http://mydomain/index.php?action=downloads;sa=add;cat=2


Moreover when I'm on MYFILES and i click "add" I come on http://mydomain/index.php?action=downloads;sa=add so no custom fields are visible.

I guess there should be a way so custom fields auto-change when I change the category field.




PS: Sorry for my poor English
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: MCK on March 01, 2011, 01:03:08 AM
Thanks for making this great mod. I have a quick question on permissions.

I would like to give my Global Moderators the permission to edit or delete other's uploads but the only way I can do this seems to be by giving them the "Admin Download System" permission which also means they can now add/delete categories etc. I don't want them to go that far. Is there a way to add an incremental permission for something like "Edit other's Download" and "Delete other's Download"?

Thanks much for your kind assistance.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: !RFAN on March 01, 2011, 10:59:17 PM
how to add links for diiferent parts of a file??

e.g.,

File (part 1)
File (part 2)
File (part 3)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 01, 2011, 11:03:10 PM
You would add another download for each link.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: thesikaleon on March 03, 2011, 04:39:44 PM
How to make it so after I make an upload I'll be redirected to the category and not to "my files"?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 03, 2011, 04:49:24 PM
Modify Sources/Download.php and send it to that category instead of myfiles
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: thesikaleon on March 04, 2011, 10:57:19 AM
I guess this is the code
// Redirect to the users files page.
if ($user_info['id'] != 0)
redirectexit('action=downloads;sa=myfiles;u=' . $user_info['id']);
else
redirectexit('action=downloads;cat=' . $cat);

what change I need to make exactly?

Maybe if I replace it with the following
// Redirect to the users files page.
if ($user_info['id'] != 0)
redirectexit('action=downloads;cat=' . $cat);
else
redirectexit('action=downloads;cat=' . $cat);


I just ask before i mess up, cause I'm not sure

thanks for your time ;)

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: thesikaleon on March 04, 2011, 11:10:43 AM
I want also not to be redirected to "myfiles" after edit or delete a download
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 04, 2011, 11:45:05 AM
Same file just check for EditDownload2 and DeleteDownload2
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: thesikaleon on March 05, 2011, 01:42:35 AM
cool works great  8)  thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 05, 2011, 08:33:55 AM
Glad you enjoy the mod
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: jelence on March 08, 2011, 02:31:04 AM
Hello!
I don't know if this was mentioned before, but I couldn't find it.

I am now at smf2 rc5 version and use Download system 1.3.7

Before I was at smf2 rc4 and, I think D.S. 1.3.6.
There was option in settings to chose order of downloads in category.
Mine were in revers alphabetical order.

Now I don't have that option and my downloads are changing places - when I press Download button, first page in chosen category is in revers alphabetical order, on second page some of these downloads show again, and when I go on first page again they are not in alphabetical but in some random order?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 12, 2011, 06:49:54 PM
I changed permissions, but it still won't allow Global Moderators to approve downloads, only me as administrator.  What is wrong? I gave global mods all possible downloads permissions.

Also, any way to modify this mod so that when you log on, it tells you there are downloads awaiting approval? Right now you have to go to downloads to see you have some awaiting permission. Thanks,


Nelson

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 12, 2011, 08:05:44 PM
What happens when they try to approve the downloads?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 13, 2011, 01:33:28 PM
I set the permissions of Global Moderators ALL to ALLOW, but they tell me that they do NOT see the Administration Panel, just a list of download files available. 

As administrator, I get both the list of downloads and the admin panel.

Thanks,

Nelson

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: FounderSim on March 14, 2011, 05:31:53 PM
The ability to add pictures to downloads would be awesome!!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 14, 2011, 07:29:21 PM
Have that in Downloads Pro at the moment.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 15, 2011, 12:21:19 PM
Quote from: vbgamer45 on March 12, 2011, 08:05:44 PM
What happens when they try to approve the downloads?

They do NOT see the Administration Panel, just a list of download files available. 

As administrator, I get both the list of downloads and the admin panel.

Thanks,

Nelson

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 15, 2011, 12:59:28 PM
You mean access to the admin tab? Or the admin panel on the downloads index page. That think is controlled by Admin Downloads permission.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 15, 2011, 08:29:47 PM
Global Moderators cannot access the Administer Downloads option in the Downloads area. They do not see it.

This means that ONLY the administrator can APPROVE downloads.  I would like to give this power to Glober Administrators also to take the load off me.

Any way to do it?


Thanks,


Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 15, 2011, 08:37:17 PM
Make sure you give the global mods membergroup the "Admin Download System" permission then that should show them that panel and stuff
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: sikkens1997 on March 16, 2011, 11:00:38 AM
How do I get this working? I Apply'd the mod and it's installed, what now? Can't figure it out.
I want to add a download.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 16, 2011, 11:04:14 AM
Go to the downloads menu button or downloads configuration link in the admin area
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 16, 2011, 03:59:37 PM
Quote from: vbgamer45 on March 15, 2011, 08:37:17 PM
Make sure you give the global mods membergroup the "Admin Download System" permission then that should show them that panel and stuff

I gave them that permission in the General Permissions area of SMF and they STILL do not see the admin downloads panel in the downloads area.

What could be going wrong?


Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 16, 2011, 04:09:48 PM
As long as they are not forum "Moderators" and normal global mods they should see it.
Unless you have a deny permission from either other secondary membergroup or something.


Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 17, 2011, 09:22:38 AM
They are each listed as a moderator of a forum on the "boards" theme, but ALSO Global moderators with normal Global Moderator's permissions. The moderator listing is only for assigning a particular global moderator to a forum to moderate. I did not realize that it would block them from seeing the admin downloads panel.

What if I permit the "moderators" group to also admin the downloads?

Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 17, 2011, 09:47:03 AM
You can try and see if that helps. The moderator group is not checked in the downloads system
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: allthumbz on March 17, 2011, 01:47:55 PM
No luck with that. I checked secondary permissions and everything appears clear.

I'm stumped.

Nelson
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: FounderSim on March 22, 2011, 10:47:50 AM
I need to create my own importer.. =)

I got over 30,000 files to import..

Questions:
#1, in smf_down_file, is fileurl the fullpath?
#2, can filename, be same as originalfilename
#3, what other fields would be required to import my files besides title, id_member and date?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 22, 2011, 10:49:55 AM
1. No that is for a remote file hosted on another website. filename is the name of the file stored in the downloads folder.
2. Yes it can be.

3. ID_CAT, filename, orginalfilename
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: T3CHN0 on March 22, 2011, 10:59:33 AM
with the downloads my forum members tell me that the downloads crash after about 300kb and sometime that can download
up to about 50mb but never compleats the download. most of my files are between 70mb and 800mb

i thought i would test it and the same thing happens to me.

is this the mod or the hosting server that's the problem, my forum is hosted with bluehost

i will add if i ftp the files into a folder that anyone can look at, then every download works

any help...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: FounderSim on March 22, 2011, 11:00:08 AM
I see the filename is something weird like"1_22_03_11_8_54_37". How do I convert my files to that format?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 22, 2011, 11:54:39 AM
Doesn't need to be converted that was just a way to generate a unique filename
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: FounderSim on March 22, 2011, 12:56:09 PM
Thanks for the help vbgamer. I got my importer working =]
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 22, 2011, 01:10:44 PM
Glad you got it working btw what did you import it from?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: FounderSim on March 22, 2011, 04:14:15 PM
Quote from: vbgamer45 on March 22, 2011, 01:10:44 PM
Glad you got it working btw what did you import it from?


Nothing. I wrote a web scrapper to download these files i needed and imported them to your download system =)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 22, 2011, 04:22:08 PM
Awesome :) Glad you were able to get working how you wanted.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: BartB on March 26, 2011, 02:16:53 PM
When I add a download to a category using the URL function (because the file is already on the system but in another directory) it adds the file correctly, but with a reported size of 0B. Any way to fix that?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on March 26, 2011, 02:21:13 PM
Possible but I would have to do another request to get the filesize.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: bfallgren on April 01, 2011, 12:22:44 AM
I got this error when I tried to delete a download that did not upload properly. (Download showed as having 0b file size and file attachment not found. It never actually uploaded.)

Fatal error: require_once() [function.require]: Failed opening required '/RemoveTopic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /Sources/Downloads.php on line 2104
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 01, 2011, 11:37:32 PM
Quote from: bfallgren on April 01, 2011, 12:22:44 AM
I got this error when I tried to delete a download that did not upload properly. (Download showed as having 0b file size and file attachment not found. It never actually uploaded.)

Fatal error: require_once() [function.require]: Failed opening required '/RemoveTopic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /Sources/Downloads.php on line 2104
Fixed posted an update

1.3.8
!Fixed bug with removetopic in SMF 1.1.x on deleting a download
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: bfallgren on April 02, 2011, 05:20:27 PM
Thank you :) 
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: bfallgren on April 02, 2011, 07:56:18 PM
Is there any way to increase the max file size for upload?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 02, 2011, 07:58:47 PM
Under settings for downloads.

Also you need to increase settings in your php.in or contact your host to increase limits for file uploads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: bfallgren on April 06, 2011, 09:00:40 PM
Thanks, I finally got the max upload size increased.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 06, 2011, 09:14:05 PM
Glad you were able to get the upload size increased and have the download system work for you!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: 72 454 on April 09, 2011, 08:08:26 PM
I'm interested in using this as a system for users that need a place to store their pictures for use in their posts. However, the links don't seem to work in posts using the (http://)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Arantor on April 09, 2011, 08:14:41 PM
No, and they won't. img bbcode is specifically protected to reject links that contain ?action= unless it is action=dlattach for regular attachments.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: 72 454 on April 09, 2011, 08:27:14 PM
Ok, tnx for the info.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: KDD on April 09, 2011, 09:45:33 PM
How do I add a category. When I click on add a download it says an error has occurred.

"You need to create a category first before you upload a download."

I uploaded a file in one of my Forum categories but it doesn't show on the downloads page.
Or is that not how this is suppose to work.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 09, 2011, 10:03:03 PM
Does not take from the forum categories.

You need to go to Downloads in the menu then in the admin panel area there is an add category link.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: KDD on April 10, 2011, 03:38:33 AM
Thanks vbgamer45, I was looking all over for that. All working good here. Thanks again for the MOD keep up the good work.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: douglas.chagas on April 27, 2011, 10:44:44 AM
Hi, it is fantastic.

But I have a doubt. How can I configure the Non Registered Viewers to View the Downloads, but don´t do the download.

If a unckeck the box for view they can´t view the downloads and be interested in registering.

Is there a way to them view the downloads, but when they want to download they should register?

Sorry for bad english.

Thanks,
Douglas Chagas
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 27, 2011, 11:14:31 AM
Currently the lite edition does not have a seperate download permission or has the view download permission
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: douglas.chagas on April 27, 2011, 12:11:26 PM
If I buy the Pro version I can configure the way I said?

Douglas Chagas
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on April 27, 2011, 12:40:39 PM
Yes you can there is both a download and a view permission.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: a3d on May 05, 2011, 07:59:54 AM
Hi all
I am new user of SMF 2.0 RC5. I would like to ask you how can i delete "my files" and "search" buttons and put in this place some differrent text e.g
"you need to login to see downloads" visible for users.

Thank you for help
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Tomas1 on May 22, 2011, 04:37:46 PM
i use SMF 2.0 RC5 and i installed DownloadSystem1.3.8

and works fine, i just whant to change the name of the MOD displayed in my Home page as " Downloads"

i whant to change  the displayed name from " Downloads " to " Upload / Download "

where to look to change it

best ragards

Like in this photo :(http://i54.tinypic.com/1t0h39.jpg)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on May 22, 2011, 04:52:21 PM
Modify themes/default/languages/modifications.english.php

Then clear your cache in SMF 2.0 forum admin maintenance area.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Tomas1 on May 23, 2011, 12:29:02 AM
i tryed , i can modify any ather menu name except "Downloads", can't change it

any  clue?

best regards
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on May 23, 2011, 12:32:38 AM
try modifying modifications.english-utf8.php too
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Tomas1 on May 23, 2011, 02:37:29 AM
problem solved, i tryed another way

step1 - uninstall Download MOD
step2 - delete Download MOD & clean cache
step 3 - open the MOD from my PC and find and replace these lines :

downloads.xml :
find - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';


replace with - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Upload/Download';
$txt['downloads_admin'] = 'Downloads Configuration';


downloads2.xml :

find - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';


replace with - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Upload/Download';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';


step4 - save the changes
step5 - upload MOD
step6 - Install MOD
step7 - show the result :

(http://i54.tinypic.com/2z3v31e.jpg)


thx to all for try helping me :D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: Dude36 on May 29, 2011, 09:09:15 AM
How do i get this to work with the "Noize" theme of this dzinerstudio.com site?
Help would be appreciated, thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on May 29, 2011, 09:42:28 AM
What part do you need to work? Like adding a menu button what SMF version?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: OCJ on June 03, 2011, 04:41:42 AM
Recently upgraded to the latest version - from previous version.
After a file was added a topic was created in a forum but that forum has been deleted and posts moved. Now when I try and upload a file it fails with this error message:

QuoteBoard structure corrupt: unable to find parent board

I cant find in the settings where I can change the forum for topic posting of a new download - is it still there?

Andy
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on June 03, 2011, 09:24:09 AM
Check under edit category for the category that you are uploading the file to.
You used to have a topic being posted to a board but probably deleted that board make sure you have no board selected under edit category and click save
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: OCJ on June 04, 2011, 01:46:27 AM
Got it .... works ok now new board selected. I just kept looking in the settings rather than the the downloads page.
Thanks!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0 RC5!
Post by: vbgamer45 on June 04, 2011, 09:52:51 AM
Glad you have it working
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: OCJ on June 14, 2011, 11:14:59 AM
Using the latest version on SMF 2 rc5 and having trouble downloading a large file.

A movie - file type .mov which is 73MB. It is on the server at 73MB but every time attempting to download it cuts off around 30 to 45MB, and is unplayable.

Upload limit is 100MB in the download settings and php file. Total limit of registered users is 1.4GB and now only about 400MB.

Cant see why it keeps failing. Now registered users only can access but not failing because of being logged out.
Andy?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 14, 2011, 11:18:53 AM
Could be the server/application is timing out before the download can complete. Make sure you increase your max execution time in php and check your webservers connection/timeout limits.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on June 25, 2011, 02:36:50 AM
Hi man, thanks for awesome modifications you make.

What I need to change so members signatures will be visible in their comments?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 25, 2011, 06:31:17 AM
You would need to modify to the Downloads.template.php file and add the sig code
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: doughboy99 on July 04, 2011, 07:51:37 PM
using SMF 2.0, SimplePortal 2.3.3, SMF Gallery Pro 3.0.23 and Download System 2.3.8

In order to access downloads users have to be logged in.

We sometimes send out email with link to downloads in the forum such as http://www.xxxxx.com/forum/index.php?action=downloads;sa=view;down=161

Using such a link causes the message

"You are not allowed to view the Downloads
Please login below or register an account with xxxx Forum. "
along with a login box

With Internet Explorer entering a valid login takes the user to the front page (SP custom page of the forumand allows the user to download the relevant file.

However in Firefox(tried 4 on Windows and 3.6 on Mac) once a valid login is entered the user is taken to the frontpage of the forum but no download starts. If the user then navigates within the forum to the download file and try to open or download it they are again asked to login. However if they the forum header area shows them as logged in and they can access other areas of the forum thast require them to be logged in.

Any ideas as to what might be wrong?

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Adrek on July 05, 2011, 05:09:17 PM
How can i remove possibility to download files for guests ? I want to show them files, but don't allow to download.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Illori on July 05, 2011, 05:11:31 PM
there is no permission system on ability to download the files with this mod, the paid version has that feature though.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Adrek on July 05, 2011, 05:42:11 PM
so I just edited Downloads2.template.php and I used "if ($context['user']['is_logged'])" :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Illori on July 05, 2011, 05:46:09 PM
but did you make sure that if someone knows the url to download the file and they put it in their browser that they can not download the file anyway?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Adrek on July 05, 2011, 05:50:11 PM
I just needed to hide link on download page, if someone knows direct link - good for him.
Unfortunately I can't afford to buy premium version of this mod :/

/
and now I found a way to block visitors who have a direct link (they are redirected to login page) :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ben sisko on July 14, 2011, 08:25:25 AM
any compatibility issues with the pretty url mod?

i just upgraded to 2.0gold + Downloads System 1.3.8 + Pretty URLs 1.0RC5.2 + PortaMx 1.3
and i have problems with the downloads links after i run the maintenance tasks in the pretty url mod.

you can see for yourself here: http://alphacentauri2.info/downloads/?sa=view;down=28
you just have to click on the download link..

this is the broken link: http://alphacentauri2.info/downloads/?sa=downfile&id=28
and this is the one that works: http://alphacentauri2.info/index.php?action=downloads;sa=downfile&id=28

***EDIT***

in IE it's working. i usually use Chrome. :-[
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 14, 2011, 08:30:48 AM
Not sure I normally don't pretty actions when using pretty urls.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ben sisko on July 14, 2011, 08:35:59 AM
ok. i will run again the maintenance tasks without downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on July 21, 2011, 12:10:19 PM
I want files to be published without need my approval but some people upload virus.
Is there any way to set the file types that people will be able to upload?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 21, 2011, 12:35:23 PM
Quote from: DragonSlayer on July 21, 2011, 12:10:19 PM
I want files to be published without need my approval but some people upload virus.
Is there any way to set the file types that people will be able to upload?
Don't have that yet. To decide which file types are allowed or not.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: OCJ on July 24, 2011, 11:03:49 PM
Everything works ok but maybe search bots giving a few errors now and again.
Latest version with smf 2 final.

Apply Filter: Only show the error messages of this URL
http://*********.com/events/index.php?action=downloads;sa=prev&amp;id=5
Apply Filter: Only show the errors with the same message
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 5 LIMIT 1' at line 4
Apply Filter: Only show the errors from this file
File: /home2/*********/public_html/events/Sources/Downloads2.php



Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: danskmacabre on July 25, 2011, 04:50:57 PM
This doesn't work with the PortaMX portal SEF option switched on.
I have turned off the SEF feature and it works fine, but it would be nie to see it working with SEF compatibility.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 25, 2011, 05:04:38 PM
What doesn't work?
Can you add an exception to not SEF the download system. I am not doing anything crazy with the urls so it shouldn't break....
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SIMul8rReviews on July 30, 2011, 09:49:43 PM
Is there a way to add pictures to the downloads? Like so..

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=203471.0;attach=183466;image)

But, in a gallery type way?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 30, 2011, 10:00:51 PM
I have pictures/screenshots in downloads pro currently
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SIMul8rReviews on July 31, 2011, 12:15:42 PM
Quote from: vbgamer45 on July 30, 2011, 10:00:51 PM
I have pictures/screenshots in downloads pro currently

ah man!  :-\ Now's the time I really wish I had $65 for it..
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: 9BitStrider on August 06, 2011, 11:46:34 AM
Uploading a file using a URL instead of the upload script doesn't update the file size of whatever's uploaded.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 06, 2011, 11:51:00 AM
That is the case with lite may fix it though.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ကိုေန on August 12, 2011, 02:04:17 PM
My SMF 2.0rc5 With Download System But my own Unicode font not working in Download.

Please Help Me !


(http://i938.photobucket.com/albums/ad222/konayonline/8-12-201110-01-17PM.png)

(http://i938.photobucket.com/albums/ad222/konayonline/8-12-201110-01-42PM.png)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 12, 2011, 02:09:20 PM
Convert the smf_downloads tables to utf8
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ကိုေန on August 12, 2011, 03:17:22 PM
Quote from: vbgamer45 on August 12, 2011, 02:09:20 PM
Convert the smf_downloads tables to utf8

Where I find smf_downloads tables and how do i convert ?
Please Explain me ......
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 12, 2011, 03:18:20 PM
You can find them in phpmyadmin
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ကိုေန on August 12, 2011, 04:49:01 PM
ံHow to change Download Icon instead of Link ...
what file can i edit ??? Please help me !
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ကိုေန on August 28, 2011, 12:59:37 AM
Apply Filter: Only show the error messages of this URL
http://www.myanmar-technicians.org/community/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: rating
Apply Filter: Only show the errors from this file
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/community/Sources/Downloads2.php
Line: 3512


ံHow to fix this Error !  :-[ :-[ :-[
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: warezxts on August 31, 2011, 11:26:00 PM
Hello Guys!

Is there any way to enlarge the profile field at downloads comments? The names and the comments too close
What can i modify?

Thaks in advance
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 31, 2011, 11:29:11 PM
That's Downloads.template.php in the view download function you need to change the td width % for the comment box for that column
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: warezxts on September 01, 2011, 02:13:49 AM
its worked, thanks a lot!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ကိုေန on September 10, 2011, 02:24:16 PM
I Upgrade SMF 2.0 Gold Version And Download System 1.3.8 Latest Version Installed !
When Rate The Download .... Every Show in Error Logs in this error .....
QuoteApply Filter: Only show the error messages of this URL
http://forum.myanmar-technicians.org/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/forum/Sources/Downloads2.php
Line: 3509

Any idea ... How to fix this error ...Please !


(http://i938.photobucket.com/albums/ad222/konayonline/1-47.png)

(http://i938.photobucket.com/albums/ad222/konayonline/2-41.png)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on September 21, 2011, 10:08:55 AM
Hi and thanks for the awesome mod  :)


Is there any way to make comments in download system to count as posts.

I mean a user has 50 posts in the forum and he has also posted 18 comments in the download system.
I want his total posts in profile to be 68.
Is it possible?

thanks for your time
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 21, 2011, 12:56:45 PM
Not at the moment you would need to edit the code.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on September 23, 2011, 01:31:31 PM
I know I need to edit the code.

Any idea how to make it or its too complicated?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 23, 2011, 03:17:18 PM
Sources/Downloads2.php

AddComment2 function you will need to modify.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 27, 2011, 06:16:20 AM
Ok, so somewhere in the installation process of the latest version I got double download buttons, and even if I uninstall the latest one, one button stays (and points to the index when pressed). When I install the package I got on the server I get two buttons and they appear to go to the downloads system, but it's messed up. Only one recent download shows.

It shouldn't be possible to get into this situation by installing or uninstalling in the wrong order. What should I do to fix this? Replace all files on the server with the standard ones and run the package installations? What about the database?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 27, 2011, 06:24:48 AM
IF SMF 2.0
Open Sources/Subs.php and remove duplicate downloads entry

If SMF 1.1.x
Open themes/default/index.template.php and remove duplicate downloads entry
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 27, 2011, 06:47:58 AM
I'm using 1.1.5

I have the duplicate entry in the admin panel too, and just removing them won't solve the prob that the download system halts to showing only the most recent download. I think some other code is messed up too.

I have database backups from before, but they are not useful as a lot of posts have been made since then. So should I uninstall all mods, and replace all source files with the original ones? And then reapply the mods?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 27, 2011, 10:02:41 PM
Depends on number of mods if not alot you can replace files.
Otherwise grab the manual install code and reverse it manually in places it installed twice.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 28, 2011, 04:10:21 PM
Ok, I removed the remains by following the manual instructions, and now I install it manually.

I finished everything, but when I run "downloadsinstall.php" it just gets stuck at

"Recounting Download Totals..."

But that's the last echo so it's normal?


It won't show up in the package manager?

Also, the problem persists. I'll describe it.

When I press "Downloads" I don't see the categories. It looks like this:

(http://img713.imageshack.us/img713/8234/mainscreenx.jpg)

I know the categories are there, because I can press that "2 Mega" and navigate not to the main category, but one category below it.

The rate buttons have no text. The format of the download information looks like this:
1.03MB   (525)   (214)   2011-09-26, 21:40:20

Again no text. Problem with the language file?

I double checked that I replaced everything, is this a database problem?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 28, 2011, 04:14:20 PM
Yeah it looks like you missing a language file Downloads.english.php or Downloads.english-utf8.php to themes/default/languages folder.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 28, 2011, 04:24:06 PM
Ok, thanks that solved a part of the problem. I can now see the text. However the main category is still empty for some reason.

When I press MyFiles I get the option to select three pages of downloads (that's what it should be), but I only see the name of one entry per page (the top one), and no information about the rating, views, downloads etc in that list.

I think the code that lists downloads is broken somehow. Which file is that?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 28, 2011, 04:28:13 PM
Check under Downloads Settings make sure they are all filled out.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 28, 2011, 04:39:23 PM
Every box is checked in:

- Category Display Settings

- Downloads Display Settings

In the settings panel the approve downloads list is empty as well, but there should be entries in it.



Unrelated to this there's also a typing error that might be good to fix
"Has the Downloads Systen helped you? Then support the developers:"

:P

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 29, 2011, 03:04:47 PM
Also, when I press a download a blank page appears.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 29, 2011, 03:13:15 PM
Sounds really strange...Leads to wonder if a setting is blank or values are set to 0 when they shouldn't be.

Any related errors in the error log?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 29, 2011, 05:50:22 PM
This is what I get (blank page):

8: Undefined index: id
File: forum/Sources/Downloads.php
Line: 3450

I found other errors as well:

8: Undefined index: rating
forum/Sources/Downloads.php
Line: 3453


2: smf_main(/forum/Sources/Downloads.php) [<a href='function.smf-main'>function.smf-main</a>]: failed to open stream: No such file or directory
File: forum/index.php
Line: 345

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 29, 2011, 06:02:18 PM
That part is strange smf_main(/forum/Sources/Downloads.php) [<a href='function.smf-main'>function.smf-main</a>
Do you use a full file path for your sources folder

Also are you rewriting urls in anyway?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on September 29, 2011, 06:27:51 PM
Yes I edited out the path before forum in all cases, before I posted it here.

The path seems to be full in all cases.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Enzofielt on October 02, 2011, 08:34:36 AM
Hello, i realy love this mod and have been using it for a long time now.
Because a server move and renewing of the SMF forum software i had to reinstall the download also, al my files are found without no problems.
There is only no way to download any file and while trying to upload i gett the following error .

(http://dl.dropbox.com/u/4797385/downloads.jpg)

Any idea whats wrong ???
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 02, 2011, 10:53:49 AM
Fixed redownload and install

1.4.1 Bug fixes due to prefix function changes
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: T3CHN0 on October 02, 2011, 12:09:51 PM
thanks for such a great mod
I just sent you a small donation to show my appreciation mate.
hard work making editing and fixing mods..

cheers. have a drink on me buddy
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 02, 2011, 12:33:05 PM
Thanks T3CHN0 really appreciate it since does take a lot of time to keep all these mods updated even more so since they are kind of big.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Enzofielt on October 02, 2011, 01:31:11 PM
Quote from: vbgamer45 on October 02, 2011, 10:53:49 AM
Fixed redownload and install

1.4.1 Bug fixes due to prefix function changes

I am unable to uninstal, is there a update possible?

(http://dl.dropbox.com/u/4797385/downloads.jpg)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 02, 2011, 02:35:57 PM
Yeah you can install over it or copy the downloads files to their spots to update.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Enzofielt on October 02, 2011, 02:42:09 PM
Ok thanks for the support
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Enzofielt on October 02, 2011, 02:48:06 PM
Perfect, al is working again.
Thanks for the update.  ;D :D
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 02, 2011, 02:53:58 PM
Glad you got it working.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on October 03, 2011, 07:21:24 AM
Now it's possible to download files again, but lists don't work. Doesn't loop through all options?

The only lists that work are "approve downloads", "File space manager" and user made comments.

I also think that there was a footer with admin login (or manage/create new category - that kind of things + your copyright info). But nothing shows, it's just blank. In fact, I don't even see the SMF copyright info, no stuff about queries either.

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: harnser on October 05, 2011, 02:18:20 PM
Hi.  I seem to have the same problem with blank pages when I try to download any file over 1mb; smaller files are working correctly.  I've un-installed v1.3.8 and then installed v1.4.1, but no change.  Hope someone can help.  Thanks in advance...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: WhiteFly on October 06, 2011, 05:35:33 AM
Hi VB!

I've installed 1.4.1 and all seem ok.

But there's a problem with sub-categories.
I set a description and add an image but nothing is displayed and, also, I can't find how edit or delete subcats!  :(

I wanna use yor mod!  It's the best & easy download system I've see!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 06, 2011, 09:52:38 AM
What SMF Version?

For categories you can either go to manage categories to edit or go into the parent category and you will see the subcategories edit category/delete
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: WhiteFly on October 06, 2011, 10:09:47 AM
Yes, sorry. SMF 2.0.1

Also installed Simple Portal 2.3.3

I know how should be... but don't show nothing. :(

What I can check or try?

Thanks

Graziano
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 06, 2011, 10:20:12 AM
Haven't seen that happen before. Do you see the title or anything of the category.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: WhiteFly on October 06, 2011, 10:28:29 AM
Quote from: vbgamer45 on October 06, 2011, 10:20:12 AM
Haven't seen that happen before. Do you see the title or anything of the category.

Solved! :)

The skin I used was for RC4, after the install of a 2.0 gold skin all is ok! :)

Sorry for the waste of time.  :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 06, 2011, 11:11:37 AM
Ah glad you were able to get it working!
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: harnser on October 07, 2011, 03:27:46 AM
Hello again.  What about the problem with blank pages when downloading any file over 1mb?  I'm using SMF 2.01 and Downloads System 1.4.1.  Please help!  Thank you.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 07, 2011, 09:50:01 AM
For increasing upload limits read
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: harnser on October 07, 2011, 01:43:06 PM
vbgamer45 thanks very much for your reply.  However, my problem isn't with uploading - the files have been successfully uploaded to the Downloads area - but with downloading them.  I did check the two php.ini settings referred to in your link and they're set to 16M and 8M respectively.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 07, 2011, 01:44:21 PM
Could be either a webserver issue/setting such as timeout same with php check your timeout settings.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: IlyZor on October 08, 2011, 07:32:46 PM
When I unchecked some boxes about parameters I wanted to view things appear as they should (more or less). Then I found out that enabling "Show rating" for the category view messes things up. Where is that located in the code? Might be some ending bracket missing or similar.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Dan_y2k on October 10, 2011, 11:42:24 AM
Using the latest version (v1.4.1) translated into Hebrew on a fresh SMF v2.0.1 install, I think that download keywords should be separated by commas, that will allow using 2-words keyword (like "Simple Machines, SMF, Simple Machines Forum", 2 words, 1 word, 3 words).

Also, when I search after keywords I've input (mostly in Hebrew), I don't get any results. Also, I suggest changing the search input limit to 3 characters (so people will be able to search the keyword "SMF" ;)).

Thanks.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 10, 2011, 01:24:26 PM
Commas should work with keywords. Hebrew searching maybe a bug have to check to see how those characters are handled.

If you check out Downloads2.php in sources folder you can modify the Search2 function to increase the search limit to 3 characters
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: harnser on October 13, 2011, 08:13:51 AM
vbgamer45, sorry, I've not been able to look at this for a few days...

I don't think that timeouts are the problem, as the blank page (for example, .../index.php?action=downloads;sa=downfile&id=23) appears within a few seconds of requesting the download.  In my php.ini, timeouts is set to Connection: 300 - Keep-Alive: 15, and mysql.connect_timeout and default_socket_timeout are both set to 60.  Do they sound okay?

Thanks again.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: lifeguard81 on November 19, 2011, 01:46:44 AM
Is there a dutch language file for this great MOD?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 19, 2011, 02:08:24 AM
I don't believe so but easy to translate. Just do themes/default/languages/Downloads.english.php to Downloads.dutch.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on December 02, 2011, 03:09:41 PM
I want the comments at downloads to count in total posts of a member

After this
// Update Comment total
$smcFunc['db_query']('', "UPDATE {db_prefix}down_file
SET commenttotal = commenttotal + 1 WHERE ID_FILE = $id LIMIT 1");

I added the following

$user_info['posts']++;
updateMemberData($posterOptions['id'], array('posts' => '+'));


I made it work but  now forum members get random posts in their stats.


Any idea what I should do?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on December 02, 2011, 03:32:02 PM
That part looks wrong
posterOptions['id'
should be
$user_info['id']
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on December 03, 2011, 01:57:58 AM
awesome man, thanks!!! You rock!!!  8)

with a simple code comments can count like posts

$user_info['posts']++;
updateMemberData($user_info['id'], array('posts' => '+'));


Maybe you can add it to next Download System version



Can you please tell me how to add avatar and signature on comments?
I guess it is juts some code to add but i cant make it on my own.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on December 04, 2011, 03:15:03 AM
Hi vbgamer45,
Nice mod, which i have only just discovered and started using. My main aim for it is to make my weekly newspaper available in PDf form via the forum, in addition to through my website and MediaFire. However there is one little quirk of how the list is sorted that i would like to fix if possible, which is how numbers are ordered. My newspapers have issue numbers starting at 1, and in the list I would like them to be in proper number order, but (and this is also an irritating quirk of Windows or was the last time I used it) in your mod I give the download the title 'Issue x' and it sorts them as follows:
Issue 1
Issue 10
Issue 11
Issue 12
Issue 2
Issue 3
Issue 4 etc

Is there any way to fix this?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on December 04, 2011, 09:50:58 AM
No easy way to fix that. I would need to some sort of manual ordering system to fix.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on December 04, 2011, 09:41:53 PM
Thanks vbgamer, I had a feeling that might be the case. I guess as long as I upload all my back issues/create the link in the correct order I can sort them by date and they will appear in the correct order, assuming the date sort is set up that way.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on December 05, 2011, 10:56:22 AM
Can you please tell me how to add avatar and signature on comments?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on December 05, 2011, 11:10:32 AM
I would check the Display.template.php code of your forum where it shows the avatar signature etc and copy that code.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: rubix123 on January 13, 2012, 05:30:34 AM
There is a feature for automatically posting threads when a download is added, can I edit what the thread says?

Thanks for any help  :laugh:
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 13, 2012, 09:44:10 AM
What do you want to train that feature is built in.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: rubix123 on January 14, 2012, 03:16:23 AM
Quote from: vbgamer45 on January 13, 2012, 09:44:10 AM
What do you want to train that feature is built in.

It does automatically post the thread when a download is added, which is good, but I want to change what the thread says. How can I do this?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 14, 2012, 10:05:19 AM
What part do you want do you want to change? The body of the thread the subject?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on January 20, 2012, 11:55:02 AM
Quote from: thesikaleon on December 05, 2011, 10:56:22 AM
Can you please tell me how to add avatar and signature on comments?

Quote from: vbgamer45 on December 05, 2011, 11:10:32 AM
I would check the Display.template.php code of your forum where it shows the avatar signature etc and copy that code.



my theme has not its own Display.template.php

what change i make in default/Display.template.php takes effect on my theme

Can you please tell me which part of code i need to copy and where exactly I must paste it?
Cause every time I try on my own i get errors and cant make it work  :(

If its not that simple and requires much time then I could make it a pay order.
Pls i really need to make comments look like forum posts.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 20, 2012, 12:27:39 PM
I can do it for a fee just don't have a lot of free time at the moment.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on January 20, 2012, 01:45:06 PM
pls send me a PM with details when you have the time to make it, thanks dude
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 22, 2012, 09:56:30 PM
New Update!

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
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: thesikaleon on January 23, 2012, 04:45:35 PM
awesome man

I made some manual changes  in code and i have this result

(http://img515.imageshack.us/img515/6793/rockx.png)


I believe you must make 3 changes so people dont have to do it manually:

online/offline button in front of username
border = 1 to separate the comments
vallign = top so comments appear in top of the blocks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 23, 2012, 04:46:20 PM
Will do thanks for tip.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on January 30, 2012, 01:41:25 AM
hmmm.....

Ok, just installed a test forum with a ton of mods to see what I could break....

The Download System with SimpleSEF breaks....   500 error on the server.
(BTW: Same thing happens with the articles system)

essentially, default or basic configuration of all mods....
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Heardy on February 03, 2012, 09:39:54 AM
Unknown column 'money' in 'field list'
File: /home/mindless/public_html/Sources/Downloads2.php
Line: 1610

I'm getting this after every file I add to the download list, any idea why?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on February 03, 2012, 11:02:32 AM
You must have the shop mod installed at one point. And it detects that was installed. You have to drop the shop settings from your smf_settings  table
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Inti31 on February 11, 2012, 06:51:05 AM
Thx for that...

here is the German translation of that nice mod (see attached Downloads.german-utf8.php)

Modifications.german-utf8.php

// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Konfiguration';
$txt['downloads_text_settings'] = 'Einstellungen';

$txt['downloads_form_approvedownloads'] = 'genehmige Downloads';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'genehmige Kommentare';
$txt['downloads_filespace'] = 'Speicherplatzverwaltung';
$txt['downloads_text_catpermlist2'] = 'Kategorie: Berechtigungen';
$txt['downloads_txt_import'] = 'Import';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'zeige Downloads';
$txt['permissionhelp_downloads_view'] = 'Erlaubt den Zugang zur Download-Sektion';
$txt['cannot_downloads_view'] = 'Es ist Dir nicht erlaubt die Download-Sektion zu sehen';

$txt['permissionname_downloads_add'] = 'Download hinzufügen';
$txt['permissionhelp_downloads_add'] = 'Erlaubt das Hinzufügen eines Downloads.';
$txt['cannot_downloads_add'] = 'Es ist Dir nicht erlaubt einen Download hinzufügen.';

$txt['permissionname_downloads_edit'] = 'Eigenen Download editieren';
$txt['permissionhelp_downloads_edit'] = 'Erlaubt das Editieren des eigenen Downloads.';
$txt['cannot_downloads_edit'] = 'Es ist Dir nicht erlaubt diesen Download zu editieren.';

$txt['permissionname_downloads_delete'] = 'Eigenen Download löschen';
$txt['permissionhelp_downloads_delete'] = 'Erlaubt das Löschen des eigenen Downloads.';
$txt['cannot_downloads_delete'] = 'Es ist Dir nicht erlaubt diesen Download zu löschen.';

$txt['permissionname_downloads_ratefile'] = 'Download bewerten';
$txt['permissionhelp_downloads_ratefile'] = 'Erlaubt das Bewerten eines Downloads.';
$txt['cannot_downloads_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download zu bewerten.';

$txt['permissionname_downloads_editcomment'] = 'Eigenen Kommentar editieren';
$txt['permissionhelp_downloads_editcomment'] = 'Erlaubt das Editieren eigener Kommentare.';
$txt['cannot_downloads_editcomment'] = 'Es ist Dir nicht erlaubt diesen Kommentar zu editieren.';

$txt['permissionname_downloads_comment'] = 'Kommentar schreiben';
$txt['permissionhelp_downloads_comment'] = 'Erlaubt das Kommentieren eines Download.';
$txt['cannot_downloads_comment'] = 'Es ist Dir nicht erlaubt einen Kommentar zu hinterlassen.';

$txt['permissionname_downloads_report'] = 'Kommentar/Download melden';
$txt['permissionhelp_downloads_report'] = 'Erlaubt das Melden von Downloads und Kommentaren.';
$txt['cannot_downloads_report'] = 'Es ist Dir nicht erlaubt diesen Inhalt/Inhalte allg. zu melden.';

$txt['permissionname_downloads_autocomment'] = 'Auto-Genehmigung: Kommentare';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentare bedürfen keiner Genehmigung und sind sofort sichtbar.';

$txt['permissionname_downloads_autoapprove'] = 'Auto-Genehmigung: Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads bedürfen keiner Genehmigung und sind sofort verfügbar/sichtbar.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Erlaubt die Voll-Administration, also das Hinzufügen/Editieren/Löschen von allen Kategorien/Kommentaren/Downloads, etc.';
$txt['cannot_downloads_manage'] = 'Es ist Dir nicht erlaubt diese Download-Sektion zu administrieren.';

// END Download System Text Strings


Who.german-utf8.php

// Begin Download System
$txt['whoall_downloads'] = 'schaut sich die <a href="' . $scripturl . '?action=downloads">Downloadsektion</a> an.';
// END Download System Strings




The Downloads-german-utf8.php (see attch'ed file) contains one extra-string for a welcome message is shown in the downloads area

$txt['downloads_text_welcome'] = '<br /><center>Willkommen im Downloadbereich!<br />Hier findet ihr alle wichtigen Dokumente komfortabel als Download<br />Neue Dokumente können hier von Euch ganz einfach bereitgestellt werden.<br />Bitte bewertet und kommentiert die angebotenen Downloads</center>';


I put that code to /Sources/Downloads2.php

<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
', $txt['downloads_text_welcome'], '
</td>
</tr>
</table>


above that code

<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right">
<tr>
<td align="right">
', Downloads_DoToolBarStrip($context['downloads']['buttons'], 'top'), '
</td>
</tr>
</table>
</td>
</tr>
</table>

<br />';
}


it looks like this (see 2. Screenshot)

once again, thank you for that mod...

cheers inti31
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on February 11, 2012, 09:40:47 AM
Thanks for translation and neat tip for modifying the layout.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: rocknroller on February 25, 2012, 10:52:20 AM
hi,  :)
This is great mod  8)  but, if you made new user group that group is automatically allowed to can download. if you have lots downloads and lots new member group which are on the rise. You must go to each existing category to disallow that membergroup to can't view the download.

Can it be by default to new member group created can't view the download, only if in category you mark as "Can View"?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on February 25, 2012, 11:39:28 AM
Hmm will think about that one yeah that can take some time.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: rocknroller on February 25, 2012, 02:21:27 PM
Quote from: vbgamer45 on February 25, 2012, 11:39:28 AM
Hmm will think about that one yeah that can take some time.

thank you, maybe you can tell me in which file is that function so i can try to do it. :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on February 29, 2012, 11:22:21 AM
Is there any way to bulk upload?

I have 30+ files which I want to add, but don't feel like doing each one individually....
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on February 29, 2012, 11:25:44 AM
I have in the pro edition what site are you using it for?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on February 29, 2012, 01:48:15 PM
I'm using it for a personal site which we use for building our LARPs...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Drover on March 19, 2012, 10:21:04 AM
When I put all my downloads in a topic, I used a sticky for the rules (ie. copyright, etc.).  There's not really a place for that with this mod.  I was just wondering how others were handling that?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on March 19, 2012, 12:48:53 PM
Not sure what the question is?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Drover on March 19, 2012, 02:26:24 PM
Quote from: vbgamer45 on March 19, 2012, 12:48:53 PM
Not sure what the question is?

Sorry.  Wasn't really a question about the mod.  Was really a question for users of the mod.  Where do they post download/upload rules?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: GlitchPC on March 28, 2012, 04:36:42 PM
vbgamer45...

I have an issue with the Downloads2.template.php file.  (See attached image)

I can't find the code to correct the issue, though....and what code to use to correct it.

Can you help, please?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on March 28, 2012, 04:47:07 PM
That's in the downloads.template.php in the template_ approvelist function or something similar to that.

That issue would be a column a style class
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: GlitchPC on March 28, 2012, 04:54:02 PM
Quote from: vbgamer45 on March 28, 2012, 04:47:07 PM
That's in the downloads.template.php in the template_ approvelist function or something similar to that.

That issue would be a column a style class

Yeah...I hear ya...just can't find the location to fix it, though...

Here's the code for that area:

function template_approvelist()
{
global $scripturl, $context, $modSettings, $txt;


echo '
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>', $txt['downloads_form_approvedownloads'], '</td>
</tr>
<tr class="windowbg">
<td>
<form method="post" action="', $scripturl, '?action=downloads;sa=bulkactions">
<table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
<thead>
<tr class="catbg">
<td>&nbsp;</th>
<th scope="col" class="smalltext first_th">', $txt['downloads_app_download'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_text_category'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_title'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_description'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_date'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_membername'], '</th>
<th scope="col" class="smalltext last_th">', $txt['downloads_text_options'], '</th>
</tr>
</thead>
';


foreach ($context['downloads_file'] as $i => $file)
{
echo '<tr class="windowbg2">';
echo '<td><input type="checkbox" name="files[]" value="',$file['ID_FILE'],'" /></td>';

echo '<td><a href="' . $scripturl . '?action=downloads;sa=view;down=' . $file['ID_FILE'] . '">',$txt['downloads_rep_viewdownload'],'</a></td>';
echo '<td>' . (empty($file['catname']) ? $file['catname2'] : $file['catname']) . '</td>';
echo '<td>', $file['title'], '</td>';
echo '<td>', $file['description'], '</td>';
echo '<td>', timeformat($file['date']), '</td>';
if ($file['real_name'] != '')
echo '<td><a href="' . $scripturl . '?action=profile;u=' . $file['id_member'] . '">'  . $file['real_name'] . '</a></td>';
else
echo '<td>',$txt['downloads_guest'],'</td>';

echo '<td><a href="' . $scripturl . '?action=downloads;sa=approve&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_approve']  . '</a><br /><a href="' . $scripturl . '?action=downloads;sa=edit&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_edit'] . '</a><br /><a href="' . $scripturl . '?action=downloads;sa=delete&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_delete'] . '</a></td>';
echo '</tr>';

}



echo '<tr class="titlebg">
<td align="left" colspan="8">
' . $txt['downloads_text_pages'];

echo $context['page_index'];

echo '<br /><br /><b>',$txt['downloads_text_withselected'],'</b>

<select name="doaction">
<option value="approve">',$txt['downloads_form_approvedownloads'],'</option>
<option value="delete">',$txt['downloads_form_deldownload'],'</option>
</select>
<input type="submit" value="',$txt['downloads_text_performaction'],'" />
</form>
';
echo '
</td>
</tr>
</table>
</td>
</tr>

</table>';

}



Edit...

This is happening in both my custom template and SMF's default curve theme.  I'm pretty sure the answer to my question is located within the above code, somewhere...but, I'm not a coder...so, I wouldn't know how, or where to make the edit.  That's why I asked the question and presented you with the code.  I was hoping you could tell me exactly what it is I have to change and how to change it.

Also...if you use in-line images within the description...they are not getting re-sized.

One last thing...I can edit categories...but, I can't edit sub-categories.  I added a couple of sub-categories...and now, I can't remove them.  Am I missing something?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Inti31 on March 29, 2012, 03:24:46 AM
@Glitch - you are right - the only way to change the name of a subcategory is to do this direct in the database.
I had this too - I mispelled my first subcategory... *ompf*

But it is easy to change  - I use mysqld for this

click on SQL-Browser - select table "{dbprefix}down_cat", then click on edit and do this manually...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: GlitchPC on March 29, 2012, 08:26:22 AM
Quote from: Inti31 on March 29, 2012, 03:24:46 AM
@Glitch - you are right - the only way to change the name of a subcategory is to do this direct in the database.
I had this too - I mispelled my first subcategory... *ompf*

But it is easy to change  - I use mysqld for this

click on SQL-Browser - select table "{dbprefix}down_cat", then click on edit and do this manually...


Actually, I feel like somewhat of a "moron"...I found if you click the main category...you can see the sub-categories and edit them from the list.

So, no...you don't have to edit the names of the sub-categories through the database via MySQL.

However...I am experiencing somewhat of an issue with other issues I have described in my previous post.  I'm just waiting for the mod developer to address them.

As far as I can tell...the issue with the header for a particular table column is a coding issue of the mod.  I'm not a coder and need to know just what I need to edit...and whether or not the developer intends to correct the code of the mod.

I'm, also, experiencing the issue with in-line images not being re-sized.  Whether or not this is a "Pro" feature...I don't know.

One last thing...

If I add a download and use the setting to have it add a post to a certain forum...in my case, a child board...the post is created.  However, the "new" button that's created for that new topic does not work correctly from the Board Index.  If I click it...I get redirected to recent unread topics...but, it's not listed there.  I find this to be strange behavior...since it is a new thread I'm creating...correct?

Anyhow...I'll wait to see what vbgamer45 has to say.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Inti31 on March 29, 2012, 09:59:26 AM
Quote from: GlitchPC on March 29, 2012, 08:26:22 AM
Actually, I feel like somewhat of a "moron"...I found if you click the main category...you can see the sub-categories and edit them from the list.

So, no...you don't have to edit the names of the sub-categories through the database via MySQL.

arrghhh - thx for that hint - haven't seen that before....
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: GlitchPC on March 30, 2012, 04:43:05 PM
Bump...

Quote from: vbgamer45 on March 28, 2012, 04:47:07 PM
That's in the downloads.template.php in the template_ approvelist function or something similar to that.

That issue would be a column a style class

Could you be a little more specific, please?  Thank you...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: CableTool on April 04, 2012, 05:04:21 PM
I scanned through some of the posts and cant find this yet-

I realized that there are links to my downloads through google in as much as you just click the link in through google search and the download starts. You never have to visit my download page to get it.

Anything I can do to avoid "direct downloads" and force them to at least go to the download page to do so?
I mean.. I put an ad on the page for  reason... :)

Any ideas?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: fouad on April 13, 2012, 07:42:34 AM
hello everyone

i have installed download system 1.5 .i have also a  button on my forum main page.plz tell me how i can  place items in this downloads section.?

thanx
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: fouad on April 13, 2012, 10:15:51 AM
hi everyone

i wanna add a download section to my forum.i have installed download system 1.5 mod .but on saving settings it says Warning Downloads path is not writable!..kindly help me out.

thank you
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 13, 2012, 01:45:45 PM
What path do you have?

Make sure your downloads folder in your forum's root folder is writable.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 14, 2012, 06:33:32 PM
is it possible for guests to be able to view downloads but only be able to download once registered?

thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 15, 2012, 12:43:57 AM
Not at the moment is a feature of downloads pro since it has a seperate view and download permissions.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on April 16, 2012, 11:09:57 AM
How to change download links to image button. Because peoples in my Country are very stupid
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 16, 2012, 12:18:25 PM
You have edit the downloads.template.php and find the edit the view download template function in that file to add a link.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on April 16, 2012, 03:32:27 PM
Quote from: vbgamer45 on April 16, 2012, 12:18:25 PM
You have edit the downloads.template.php and find the edit the view download template function in that file to add a link.

This I know. Which line of code? And what I am supposed to write. I'm not a programmer
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 16, 2012, 04:02:26 PM
Have it build in Downloads Pro
But here is similiar code
Find in file

// Show the main download

In that area look for the other download link code and chagne to

echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="http://ww.yourdownloadimage.com/myimage.jpg" alt="" /></a>';

Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on April 16, 2012, 04:10:56 PM
Quote from: vbgamer45 on April 16, 2012, 04:02:26 PM
Have it build in Downloads Pro
But here is similiar code
Find in file

// Show the main download

In that area look for the other download link code and chagne to

echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="http://ww.yourdownloadimage.com/myimage.jpg" alt="" /></a>';



Thanx working fine. I need learn more PHP  O:)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 16, 2012, 05:47:42 PM
Glad you were able to get it working.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 17, 2012, 06:51:17 PM
i no stupid question but where the hell is downloads.template.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 17, 2012, 06:59:11 PM
In themes/default folder in your SMF install.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 17, 2012, 07:21:35 PM
i have a downloads2.template.php file is that the same thing and if so i cant find the line to edit to add image for download.

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 17, 2012, 08:16:59 PM
Yes that is the same thing try searching for similiar code if you can
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 18, 2012, 08:13:39 AM
could i be realy cheeky and ask u if you can find the code ? cos i cnt :/ also if i buy pro download system can i easly move files over?

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 18, 2012, 11:41:42 AM
Your issue for seperate permissions wouldn't be in that file it would be Sources/Downloads2.php the only think I could do right now would be move the viewdownload permission from the download page to the downloadfile function. So anyone could view a download page but depending on your permissions would only be able to download that file if part of right group.

Downloads Pro is instant upgrade and transfers all files/settings from the lite edition.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 18, 2012, 11:53:44 AM
thanks i will get the pro next week once ive been paid, sorry i was meaning i wonted to add a download button instead of text

http://talkappliance.co.uk/imgup/image_files/download-now.gif

is tht possible in the file?


Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 18, 2012, 12:05:45 PM
Updated file attached
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on April 18, 2012, 12:41:49 PM
herrm i upload this file to themes/core/ and it doesnt add the image :S im i putting it in the correct place? sorry im a complete noob :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 18, 2012, 01:06:20 PM
Oops attached wrong file download this one.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Inti31 on April 19, 2012, 11:19:16 AM
Quote from: vbgamer45 on April 16, 2012, 04:02:26 PM
Have it build in Downloads Pro
But here is similiar code

THX very much
if you want to make it more professional for us "Non-Pro-Users"...

echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="' . $settings['images_url'] . '/download.png" alt="' .   $txt['txt_missingdlpic'] . '" title="' .   $txt['txt_dlnow'] . '" width="150" /></a>';


so you just need this in Modifications.<language(-utf8).php>

$txt['txt_dlnow'] = download now!';
$txt['txt_missingdlpic'] = DOWNLOAD NOW!';


the width="150"- parameter  is just for me to resize my download.png which is located in "Themes\default\images"

When done it looks like this (see att'ed file)

cheers Inti31
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on April 22, 2012, 04:19:35 AM
Would it be a real pain to add a progress bar for uploading files?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 22, 2012, 10:21:20 AM
It depends requires a server extension in order for it to work properly.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on April 23, 2012, 06:27:53 AM
How to set default icon in posts? When I upload file i have new post with link and "standard" icon. I would like to select the icon for the board.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 23, 2012, 09:46:23 AM
Quote from: MESWEB on April 23, 2012, 06:27:53 AM
How to set default icon in posts? When I upload file i have new post with link and "standard" icon. I would like to select the icon for the board.
There is a function called in Sources/Downloads.php search for createpost and you can edit the icon used to make the posts.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Abhay Trivedi on May 04, 2012, 06:42:38 AM
i am stuck
i added this mod but now i want to remove this mod but its not showing up in installed packages list :(
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 04, 2012, 07:05:08 AM
I have upload mp3 - how to make preview file in download?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 04, 2012, 11:18:34 AM
What's a preview file?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 04, 2012, 11:30:06 AM
I mean preview of the file. When I upload any file the file name is changed like this: 1_16_04_12_1_05_50 etc. This files are mp3 that would be better if any can listen file before download it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 04, 2012, 11:34:11 AM
Yeah they are changed to prevent execution of the file.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 04, 2012, 11:44:28 AM
How to change this ?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on May 04, 2012, 12:27:01 PM
you don't...   it would be insecure.

If you want to host/play/download media files, then use one of the media gallery mods
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 04, 2012, 12:36:43 PM
Can You explain more? Which on mod?? I have AEVA but this mod is not working with UTF-8 file name.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 05, 2012, 07:26:05 PM
I do it but Am stuck here.
<param name="flashvars" value="mp3=" />
In value="mp3=" must be folder and file specified
example:
value="mp3=downloads/filename"
foldername is value="mp3='.$modSettings['down_path']
Which one php code i need put next?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 09, 2012, 04:48:33 PM
Search keywords is not working!! I just enter any words to search box and select "Search Keywords".
Reults allways empty screen - none results.
This is a bug??
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 09, 2012, 05:03:38 PM
Do you have keywords tagged to the downloads? as keywords
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 09, 2012, 05:14:20 PM
Yes when I uploading file I enter keywords in Keywords
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 11, 2012, 06:08:01 PM
How to change time format - last download:
like
1:33:26 to 13:33:26
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 11, 2012, 07:03:40 PM
It should be based on the SMF time format.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: promonkey on May 13, 2012, 07:43:34 AM
i wont to move all uploaded files to a subdomain is this possible and for the old links to work ??

Thanks
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 13, 2012, 10:05:23 AM
If you change the file path and the file url to the correct spots it should work.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on May 14, 2012, 12:41:56 AM
Quote from: MESWEB on May 05, 2012, 07:26:05 PM
I do it but Am stuck here.
<param name="flashvars" value="mp3=" />
In value="mp3=" must be folder and file specified
example:
value="mp3=downloads/filename"
foldername is value="mp3='.$modSettings['down_path']
Which one php code i need put next?
How to display file URL??
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SMFHacks.com Team on May 28, 2012, 03:43:58 PM
1.5.1
!Fixed bug with SMF 2.0 missing a function for showing rating information in blocks.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on June 03, 2012, 05:24:23 PM
Quote from: MESWEB on May 09, 2012, 04:48:33 PM
Search keywords is not working!! I just enter any words to search box and select "Search Keywords".
Reults allways empty screen - none results.
This is a bug??

Any ideas?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 03, 2012, 05:29:04 PM
Do you have keywords in for your downloads?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: MESWEB on June 03, 2012, 05:35:21 PM
Here is example of my download.
Słowa kluczowe = Keywords.

http://yoump3.pl/index.php?action=downloads;sa=view;down=27 (http://yoump3.pl/index.php?action=downloads;sa=view;down=27)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Adrek on July 04, 2012, 10:36:06 AM
Today I noticed in logs one repeating error:

http://***.pl/index.php?action=downloads;sa=search2;q=download%2Fsa.search2%2F
8: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 14 bytes
File: /home/***/domains/***.pl/public_html/Sources/Downloads2.php
Line: 3306


SMF 2.0.2 with:
1.   SimpleColorizer   1.1
2.   Fancy Features   1.2.7
3.   SimpleSEF   2.1
4.   WYSIWYG Quick Reply   2.3
5.   Redirect Banned Users   2.0
8.   SMF Gallery Lite   3.1.3
9.   Downloads System   1.5.1
10.   Contact Page   3.0
11.   Google Analytics Code   1.4
12.   Optimus Brave   1.8.2
13.   Admin Notepad   2.0.2
14.   Quick Spoiler   0.9.2
15.   SP-Shoutbox Notification Sound HTML5   0.5
16.   Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.2
17.   Switch Permissions   1.0
18.   SimplePortal   2.3.5
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Apllicmz on July 14, 2012, 04:45:00 PM
Yes
nice work
when Update dont forget portuguese Linguage
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System Text Strings translate By Candidosa2
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configura&ccedil;&atilde;o';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'Ver os Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao utilizador visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao utilizador adicionar download.';
$txt['cannot_downloads_add'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Pr&oacute;prias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao utilizador editar seus pr&oacute;prios download.';
$txt['cannot_downloads_edit'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar pr&oacute;prio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao utilizador apagar as suas pr&oacute;prias download.';
$txt['cannot_downloads_delete'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar pr&oacute;prios Comentario';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao utilizador editar suas pr&oacute;prias observa&ccedil;&otilde;es.';
$txt['cannot_downloads_editcomment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse coment&aacute;rio.';

$txt['permissionname_downloads_comment'] = 'Deixar coment&aacute;rios';
$txt['permissionhelp_downloads_comment'] = 'Permite ao utilizador deixar coment&aacute;rios sobre um download.';
$txt['cannot_downloads_comment'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a deixar coment&aacute;rios.';

$txt['permissionname_downloads_report'] = 'Relat&oacute;rio imagem/Coment&aacute;rios';
$txt['permissionhelp_downloads_report'] = 'Permite ao utilizador relat&oacute;rio downloads e comentários.';
$txt['cannot_downloads_report'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a apresentar um relat&oacute;rio comentario.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar coment&aacute;rios';
$txt['permissionhelp_downloads_autocomment'] = 'Coment&aacute;rios n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao utilizador adicionar / excluir / editar todas as categorias. Excluir coment&aacute;rios, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a gerir os downloads.';

// END Download System Text Strings    suporte smfpt.net       
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="after"><![CDATA[
?>]]></search>
        <add><![CDATA[
// Begin Download System Text Strings translate By Candidosa2
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configura&ccedil;&atilde;o';

// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao utilizador visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para ver os downloads';

$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao utilizador adicionar download.';
$txt['cannot_downloads_add'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o adicionar download.';

$txt['permissionname_downloads_edit'] = 'Editar Pr&oacute;prias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao utilizador editar seus pr&oacute;prios download.';
$txt['cannot_downloads_edit'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar este download';

$txt['permissionname_downloads_delete'] = 'Apagar pr&oacute;prio Download';
$txt['permissionhelp_downloads_delete'] = 'Permite ao utilizador apagar as suas pr&oacute;prias download.';
$txt['cannot_downloads_delete'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para apagar esse download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Permite ao utilizador avaliar um Ficheiro.';
$txt['cannot_downloads_ratefile'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o avaliar este Ficheiro.';

$txt['permissionname_downloads_editcomment'] = 'Editar pr&oacute;prios Comentario';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao utilizador editar suas pr&oacute;prias observa&ccedil;&otilde;es.';
$txt['cannot_downloads_editcomment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para editar esse coment&aacute;rio.';

$txt['permissionname_downloads_comment'] = 'Deixar coment&aacute;rios';
$txt['permissionhelp_downloads_comment'] = 'Permite ao utilizador deixar coment&aacute;rios sobre um download.';
$txt['cannot_downloads_comment'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a deixar coment&aacute;rios.';

$txt['permissionname_downloads_report'] = 'Relat&oacute;rio imagem/Coment&aacute;rios';
$txt['permissionhelp_downloads_report'] = 'Permite ao utilizador relat&oacute;rio downloads e comentários.';
$txt['cannot_downloads_report'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a apresentar um relat&oacute;rio comentario.';

$txt['permissionname_downloads_autocomment'] = 'Auto aprovar coment&aacute;rios';
$txt['permissionhelp_downloads_autocomment'] = 'Coment&aacute;rios n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_downloads_autoapprove'] = 'Auto aprovar downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';


$txt['permissionname_downloads_manage'] = 'Adminstrar Sistema Download ';
$txt['permissionhelp_downloads_manage'] = 'Permite ao utilizador adicionar / excluir / editar todas as categorias. Excluir coment&aacute;rios, apagar downloads, aprovar downloads';
$txt['cannot_downloads_manage'] = 'Voc&ecirc; n&atilde;o est&aacute; autorizado a gerir os downloads.';

// END Download System Text Strings    suporte smfpt.net       
]]></add>
    </operation>
</file>



Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on July 23, 2012, 11:37:19 AM
I have it set to post a topic in certain boards when downloads are added.
However, if the download gets deleted, it also deletes the topic from the forum.
Is there any way to set this so it does not delete the forum topic and all replies?
Thank you.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 23, 2012, 11:54:53 AM
Quote from: BurkeKnight on July 23, 2012, 11:37:19 AM
I have it set to post a topic in certain boards when downloads are added.
However, if the download gets deleted, it also deletes the topic from the forum.
Is there any way to set this so it does not delete the forum topic and all replies?
Thank you.
You would have to comment out the delete code when deletedownloadbyid function in the downloads2.php file. just search for the removetopic function call.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on July 23, 2012, 12:02:30 PM
That did it. Thank you! :)
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 23, 2012, 12:35:12 PM
Glad to help.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 02:17:32 AM
where can I find the place that limits what file extensions can be uploaded?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 07:52:34 AM
That would be in the Sources/Download.php in the AddDownload2 to function and EditDownload2 function
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 10:35:37 AM
I can't find anything in those areas that mention any list of accepted file extensions. I did find an area in the attachment headers area but adding a file extension there still didn't work.

I have a specific file type of .dm_68 I need to be able upload and so far I can upload images but no archives, exe's, wmv's or my file. Seems only images will upload
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 10:59:14 AM
What error message do you get on upload?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 12:31:29 PM
QuoteInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@***********.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.***********.com Port 80

I have no problems uploading an image file but all other files give this error. And I have verified I am not trying to upload to large of a file

P.S.
I tried it with no other mods installed
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 12:49:27 PM
How large are the files?

That is not an SMF error that is a server level error.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 12:53:48 PM
THE FILES ARE 350K OR LESS BUT IF IT IS A SERVER PROBLEM... WHY WILL IT UPLOAD GIF AND JPEG FILES sorry bout the caps.

I have seen this many times before.... these server errors are caused by scripting not doing what it should be doing... this is not an error of the server because iIcan upload these kinds of files through other forum software with no problem... just not SMF
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 02:11:58 PM
Check download system lite code and does not have kind of code that checks filetypes it allows them all to be posted.

Next steps either check the forum's erorr log or apache error log for possible hints.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 04:24:38 PM
there is nothing in my error log other than the error pages do not exist. i do not have access to the apache log.

I had no trouble with this using vbulletin and it is the same server
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 04:27:53 PM
the SMF error lof has no entries regarding this
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 04:43:05 PM
Check apache log or contact the host and see if they have mod_security installed or if they can see the error on their end in the apache log.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 05:12:35 PM
like I said earlier.... I have vbulletin installed on teh same site and I have no problems with this
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 05:55:13 PM
That's the only options you have. I use this mod on my sites and can upload files of any type without issues...
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PsYc0TiC on July 29, 2012, 05:57:25 PM
well it doesn't work for me... and many others I see from all the posts
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on July 29, 2012, 06:19:53 PM
Really what posts??? All I have seen is mostly issues with php upload limits
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: stylusss on August 17, 2012, 03:21:15 PM
In terms of permission, is there an option that allows/disallows a membergroup from downloading a file or uploading a file.

For instance, I would like membergroup 2 to be able to upload files, but not download files. Is this a possibility? And those who are not allowed to download files, they are still allowed to see the file that's uploaded (but, of course, not able to download it).
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 17, 2012, 03:24:02 PM
Three is global permissions in the lite version to view the download page and add downloads

The pro edition adds a separate download file permission. Which controls if they can download a file or not.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: stylusss on August 17, 2012, 03:37:31 PM
So, the full version has the option that I am looking for?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 17, 2012, 03:46:51 PM
Yes it does. Has a separate download/view/upload permissions and bunch of things such as you can charge for downloads and add images for downloads etc.
More information at http://www.smfhacks.com/download-system-pro.php
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: stylusss on August 17, 2012, 07:57:48 PM
Quote from: vbgamer45 on August 17, 2012, 03:46:51 PM
Yes it does. Has a separate download/view/upload permissions and bunch of things such as you can charge for downloads and add images for downloads etc.
More information at http://www.smfhacks.com/download-system-pro.php

Thanks.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: fouad on August 19, 2012, 01:31:23 PM
hi

i am using smf 2.0.2 and i recently installed this mod download system 1.5.1.but it is not showing any download section on main page..is there an issue with installation ?

plz  guide me

tnx
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 19, 2012, 02:09:10 PM
Do you see in the admin panel? The mod adds a link in the menu system in the smf tabs.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SMFHacks.com Team on August 25, 2012, 11:59:55 AM
New update bug fix
1.5.2
!Fixed top downloads bar layout issue in chrome
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PaulSwire on September 30, 2012, 12:51:49 PM
I have this mod installed and I have two images missing from my installation and I cant find them any where.

I am looking for

myfiles.png and search.png these should both be in Themes/*themename*/images/buttons/
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 30, 2012, 01:56:55 PM
I do not have files for those. Some themes require images for buttons so I put place holder images for those. Please create files for those names.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: PremiumVikings on November 11, 2012, 12:26:31 AM
I am trying to upload a TTT map on the Download. But everytime i upload it it says "404 - Attatchment not found". It's a .bsp file.

But with everything else, like .png and .jpg works. How can i make it so i can upload .bsp files?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 11, 2012, 02:35:51 AM
How big is the file?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 15, 2013, 10:31:45 AM
Recently upgraded a board that was running SMF version 1.1.11 with Tiny Portal to SMF version 2.0.3. I have reinstalled the latest version of Tiny Portal. All the previous downloads files are still in the TP-Downloads folder but now are not visable in the Downloads module. Can these be recovered without reuploading all the files?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 15, 2013, 11:05:39 AM
Yes there is an import option from Tiny Portal in the admin area of the downloads
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 15, 2013, 11:53:46 AM
I do not see an import option.   On the FTP tab, I do see all the files listed and have the option to select them, and assign a catagory to them. Is this what I use?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 15, 2013, 12:41:51 PM
There should be an import tab next to the FTP tab.

If not make sure you have the latest version of FTP.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 15, 2013, 01:37:25 PM
According to my Package manager it is Tiny Portal version 1.107.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 15, 2013, 01:42:07 PM
I meant the latest version of the downloads system.
You might have to uninstall completely the download system and reinstall if you had an older version of it.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 15, 2013, 01:58:54 PM
Quote from: vbgamer45 on January 15, 2013, 01:42:07 PM
I meant the latest version of the downloads system.
You might have to uninstall completely the download system and reinstall if you had an older version of it.


How do I do that? The download system installed as part of TP. I don't see anywhere to uninstall it separately.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 15, 2013, 02:03:27 PM
Download my mod here has the import option built in.
http://custom.simplemachines.org/mods/index.php?mod=992
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 15, 2013, 02:21:21 PM
Ok, I've installed your mod. When I use the import function i get the following error.

Unknown column 'authorid' in 'field list'
File: /home/jtechpro/public_html/vintagebikeforum/Sources/Downloads2.php
Line: 5565
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 15, 2013, 02:25:05 PM
hmmm will need to check that out.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Munkey on January 21, 2013, 10:00:54 AM
Any ideas what my issue is?
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 21, 2013, 10:54:08 AM
All I can think of is Tiny Portal changed the format and I would have to make a new importer.
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: ovidole91 on February 19, 2013, 10:48:24 AM
hi i have an eerror on my smf forum
i have installed download system  made the rigfht settings
i have the right settings on server to up  to 128 mb for upload php maxim file size
and when i try to add a download
i fill the right fields
then select a file from my computer
if the file is smaller than 8 mb there are no problems
but if the file is biggert than 8 mb,after the file is uploaded i have this eror:

(http://s14.directupload.net/images/130219/n86h977c.jpg)



http://funkyimg.com/u2/3103/566/149110error.jpg


i have talk abot this with the server team  from hosting services of my website and they have fixed everything about with server ,and say that  this could be from the script,that i am using and tell me to contact the webdeveloper
but please help me if you know how to fix this
please


i have standard version free version of download system
Title: Re: Download System (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on February 19, 2013, 12:10:27 PM
Check out this topic there are a couple other settings to change
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SMFHacks.com Team on March 19, 2013, 04:17:45 PM
New update!

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
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Capt. John on March 26, 2013, 06:30:10 AM
OLD TOPIC BUMP:

How to not allow guest to download, but only view the downloads?

To bait them to register?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on March 26, 2013, 09:42:08 AM
Quote from: Capt. John on March 26, 2013, 06:30:10 AM
OLD TOPIC BUMP:

How to not allow guest to download, but only view the downloads?

To bait them to register?
At the moment not included in the lite version. In lite there is just the view permission.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Costa on April 02, 2013, 06:57:21 AM
Description it's not showing up. I write, submit, andthe download description retunr without any text(despite the file being ok).

Any idea about that? No errors in log. SMF 2.0.4
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 02, 2013, 09:14:43 AM
Quote from: Costa on April 02, 2013, 06:57:21 AM
Description it's not showing up. I write, submit, andthe download description retunr without any text(despite the file being ok).

Any idea about that? No errors in log. SMF 2.0.4
Check that you have the description displayed under Admin -> Download Configuration Settings -> Downloads Display Settings -> Show description
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Costa on April 02, 2013, 10:14:04 AM
Yes, I have. When I edit the download, and submit, the description disappear.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 02, 2013, 10:15:01 AM
Are you using the latest version?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Costa on April 02, 2013, 10:18:24 AM
Yes.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 02, 2013, 10:29:02 AM
Does it happen for all downloads? Or just a specific one.

Does adding working? But it disappears just on edit?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Costa on April 02, 2013, 11:37:24 AM
Today I add a download with description, when I go to the download page the description disappear. This also happen when I edit old downloads. The download file it's ok, but the description is gone. So, if I edit any download, the description disappear. If I add new downloads and write some description, after send the download, the description disappear.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Mareid on April 12, 2013, 05:53:25 PM
I installed the mod apparently correctly.  But I can't figure out how to create categories (there doesn't seem to be any way in the mod to do so) and I can't figure out how or where to upload the files I want to show as downloadable.  I know I'm missing something but I 'm not all that familiar with mods, so apologies in advance
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 12, 2013, 06:02:16 PM
To add categories go to the downloads menu item. There should be a link on that page to add a category.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: JTVaughn on April 13, 2013, 03:46:12 PM
Tried searching but couldn't find an answer.

Is there a way to have the upload and the Direct Link both be the actual file?

i.e. instead of ?action=downloads;sa=downfile&id=1 it's www.etc.co.uk/forum/downloads/filename.pdf
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on April 13, 2013, 03:47:35 PM
That is strongly not recommended. There is a reason why direct file access is not provided: security.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: JTVaughn on April 13, 2013, 04:16:41 PM
I see. But is it possible? The uploaded files will all be the same file type, and all are meant to be publicly available.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 13, 2013, 04:19:02 PM
Yeah you can do but would require editing of the source of the downloads system.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Mick. on May 09, 2013, 10:38:54 AM
vb, I'm using a script that in order to download a file, the user has to tweet before activating the download button.

I use this line for the specific download inside the <script> tags:

' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '

It works at it should but it throws a undefined error: 'downloads_file' due to php and js don't mix.

What would be the alternative to this line?
', $context['downloads_file']['ID_FILE'], '

I search thru your files but everything seems to use that line.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 09, 2013, 11:21:41 AM
Do you have $context['downloads_file'] loaded on the page with that script? And $context defined as a global
$context['downloads_file'] comes from a mysql call that loads the row for that file ID
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Mick. on May 09, 2013, 11:24:03 AM
Quote from: vbgamer45 on May 09, 2013, 11:21:41 AM
Do you have $context['downloads_file'] loaded on the page with that script? And $context defined as a global
$context['downloads_file'] comes from a mysql call that loads the row for that file ID

This is my script in index.template

<script type="text/javascript">
$(document).ready(function(){

// Using our tweetAction plugin. For a complete list with supported
// parameters, refer to http://dev.twitter.com/pages/intents#tweet-intent

$("#tweetLink").tweetAction({
text: "Download Professional SMF Themes. Free and Premium.",
url: "http://idesign360.com",
via: "idesign360",
related: "idesign360"
},function(){

// When the user closes the pop-up window:

$("a.downloadButton")
.addClass("active")
.attr("href", "' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '");

});

});
</script>


downloads_file is throwing a undifined.  cant use globals on js  :o
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 09, 2013, 11:38:45 AM
Is it a specific download you want or any? Any reason the code is on every page and not the just the downloads page?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Mick. on May 09, 2013, 11:40:50 AM
Quote from: vbgamer45 on May 09, 2013, 11:38:45 AM
Is it a specific download you want or any? Any reason the code is on every page and not the just the downloads page?

No reason at all. I didnt thought of that.  Ill try it.

Its for all downloads.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Mick. on May 09, 2013, 11:43:36 AM
OMG. Why i didnt thought of that. That worked. No errors.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 09, 2013, 02:35:54 PM
Glad that was able to work!
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: TLOVeritas on May 16, 2013, 04:23:33 PM
Are there any plans to add multiple mirrors to this mod? That'd be really useful/helpful.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on May 16, 2013, 04:31:33 PM
How exactly would it upload to mirrors?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: TLOVeritas on May 17, 2013, 01:21:14 PM
Not upload, just link to.

Though if you wanted it to, uploading via FTP to mirrors would be nice.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 17, 2013, 01:45:38 PM
Multiple links could be possible. Either in the description.
I do support multiple uploads in one download in the pro edition.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: TLOVeritas on May 29, 2013, 08:37:26 PM
I would find multiple links to be very useful.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: drfun on June 17, 2013, 12:11:20 PM
I really like this mod and i want to say thanks to all that have worked so had to keep it functioning. Kudos to you all!!

Please i wish to use this mod for download of MP3 files, but am having problem inserting a Mp3 player on the description section, so that my users can listen to the music before downloading it. I tried rapping the MP3 short script from google and other source with the
tag but it didnt work.
Please is there a way i can do this on category of my Audio Music Downloads.
Thanks
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: jokesonme on June 17, 2013, 04:38:56 PM
Does anyone know if you Add a Download by URL (something you already stored on your server through FTP) after it's added how you can change the listed filesize from 0B? Anytime I add a download by link it lists it at 0B, wondering if there was a path to go in and possible edit?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 17, 2013, 05:17:18 PM
At the moment the only possible way to edit it in the lite version is using the database.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: jokesonme on June 17, 2013, 05:41:15 PM
How would I upgrade to the non-lite/ Pro version? And would I have the functionality after upgrading?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 17, 2013, 05:53:22 PM
Pro version is at
http://www.smfhacks.com/download-system-pro.php

Hmm just double checked the pro version doesn't seem to have autofilesize detect for remote urls but that is something I can add as long as the fileurl is a direct link to the file itself.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on June 17, 2013, 09:06:44 PM
For some reason, I can't put or edit a description for downloads anymore on my site.
When try to write a comment, I put any text in the field and when submit, it says that I did not enter a comment.

Download System 2.0
SMF 2.0.4
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 17, 2013, 10:10:24 PM
Two issues you are having are can't put in a description for download.
And can't add comments is that right?
For SMF 2.0.x?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on June 18, 2013, 03:00:13 AM
Correct. I was able to when first set it up, then all of a sudden, when trying to add new download yesterday, found out. I tried uninstalling other mods I had installed after it, but did not fix it.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: drfun on June 18, 2013, 08:08:04 AM
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.

Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 18, 2013, 10:05:10 AM
Quote from: drfun on June 18, 2013, 08:08:04 AM
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.

Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks

Link to mod http://custom.simplemachines.org/mods/index.php?mod=2681
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 18, 2013, 10:08:06 AM
Quote from: BurkeKnight on June 18, 2013, 03:00:13 AM
Correct. I was able to when first set it up, then all of a sudden, when trying to add new download yesterday, found out. I tried uninstalling other mods I had installed after it, but did not fix it.
Hmm not getting that on my test site.

What browser are you using?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on June 18, 2013, 11:37:08 AM
IE 10 and FF 21 both. Think maybe another mod may have done it?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 18, 2013, 11:58:27 AM
Could be did you install any antispam systems or anything that might check the input.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on June 18, 2013, 12:10:31 PM
Stop Spammer 2.3.9
Ban Filter 1.0
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: drfun on June 18, 2013, 12:30:22 PM
Quote from: vbgamer45 on June 18, 2013, 10:05:10 AM
Quote from: drfun on June 18, 2013, 08:08:04 AM
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.

Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks

Link to mod http://custom.simplemachines.org/mods/index.php?mod=2681

Thanks vbgamer45, but my Aeva (Media Gallery & Auto-embedder) has all the listed site in this your mod enabled on my site, wont it conflict. This is the MP3 player script am trying to embed <embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?
audioUrl=http://LINK" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" height="27" width="400">


OR this one
<iframe id="hulkshare-player-embed" name="hulkshare-player-embed" src="http://www.hulkshare.com/hsPlayer/embed/embed_clean.php?fn=70wxw9g9mku8&enableDownload=1&enableCover=1&enableAdd=false&bg=undefined&fg=undefined&iconColor=undefined&backColor=undefined&outColor=undefined&overColor=undefined&textColor=undefined&tintColor=undefined&pid=&type=7&width=100%" scrolling="no" frameborder="0" allowTransparency="true" style="width:100%;height:160px;"></iframe>
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SMFHacks.com Team on June 18, 2013, 12:45:46 PM
The mod doesn't allow html input but if you put a direct link to the audio file then the embeding mods should auto emebed it.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: drfun on June 18, 2013, 02:01:12 PM
ok that means i can not in any way embed this Mp3 player script in the description?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 18, 2013, 02:08:27 PM
No since that is security risk if we allow html code.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: rommel132 on June 30, 2013, 07:01:01 PM
Hi i am having troubles with the download system by smfhacks.com. Everytime i try approve a mod, this message is shown-
An Error Has Occurred!
Board structure corrupt: unable to find parent board

Also, when uploading a large file, it says website not available and 404 not found.

Any help appreciated. Thanks in advance
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on June 30, 2013, 08:28:51 PM
One of your download categories is set to auto post to a board in your forum that no longer exists.

Reedit each of your category and save changes and make sure it does not point to a non existing board.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: wilkolak on September 06, 2013, 02:58:56 AM
Is it possible to make downloads visible to guests but don't allow them to download actual files? (Please login/register to download this file, etc.) If so, how to make it working?

Cheers,
Oskar
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 06, 2013, 09:50:01 AM
Not in the lite edition I have a separate permission in the pro version called download file in addition to view downloads
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: wilkolak on September 06, 2013, 10:20:20 AM
Nice to know. Will consider updating. Thanks!

I also have a second question. Is it possible to make file downloadable after clicking the link in category view? I mean without entering file details view.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 06, 2013, 10:26:22 AM
The download system could be edited to do that. Otherwise in downloads pro there is a downloads button option on the category view area.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: wilkolak on September 06, 2013, 10:29:36 AM
Ok, thank you for the information!
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Ventic on September 19, 2013, 06:05:17 AM
stupid  question  but how  we  upload things in order other people download it?:D
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 19, 2013, 11:22:23 AM
Click the add download link inside a category to upload a file.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Ventic on September 19, 2013, 11:29:22 AM
Quote from: vbgamer45 on September 19, 2013, 11:22:23 AM
Click the add download link inside a category to upload a file.
sorry but i didnt understand you
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 19, 2013, 11:29:59 AM
After you have the downloads system installed. Next step add a category in the downloads system. Then after category is added go into the category and click the add download link
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Ventic on September 19, 2013, 12:48:24 PM
I cant find the  'add download  link'
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 19, 2013, 12:50:58 PM
Do you have a link to your downloads section?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Ventic on September 19, 2013, 07:18:01 PM
a link ?what link?a added the category in downloads,i choosed the category from my boards though nothing happend.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 19, 2013, 07:40:08 PM
A link to your forum with downloads system.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Ventic on September 19, 2013, 07:59:05 PM
My forum is under maintenance at  the moment
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 20, 2013, 10:12:09 AM
Can you pm an admin login?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on September 29, 2013, 08:41:19 AM
vbgamer45,

Hey old friend. :)

Just one thing I'd like for one of my sites.
The Downloads Configuration menu in Admin panel.
Instead of cloning that then having the drop down with Settings, etc., I'd like to have that be top, then the drop down start at Settings, since it has it's own page. That way, when hover over Downloads Configuration it will show the different settings pages, instead of Downloads Configuration again. How would I accomplish this?

Here are two images, showing what I mean:

(http://www.bkm.cc.nf/work/Downloads_Menu_1.png)


(http://www.bkm.cc.nf/work/Downloads_Menu_2.png)
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 29, 2013, 02:26:04 PM
Is the admin menu bar on that page? Or the full menu bar as SMF?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Burke ♞ Knight on September 29, 2013, 02:29:05 PM
Admin menu, and I just finished working on it. :)

So, you can forget it if you wish, my friend. :)

By the way, hope all is well with you.
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: j0hny21 on September 29, 2013, 04:21:02 PM
Hi, I have a problem this MOD, when I entered in the "Description:" Polish characters such as the ą ć ó, after save the description is blank  :-\  just nothing is not there :/ What is wrong? Or maybe someone could provide a link to another alternative mod?
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 30, 2013, 11:28:18 AM
What SMF version?

Also have downloads pro
http://www.smfhacks.com/download-system-pro.php
Title: Re: Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: j0hny21 on October 03, 2013, 10:37:32 AM
Quote from: vbgamer45 on September 30, 2013, 11:28:18 AM
What SMF version?

Also have downloads pro
http://www.smfhacks.com/download-system-pro.php

SMF 2.0.5

Oh no  $65 is too much for me :( some alternative? Or how to fix it?

EDIT: After entering russian characters, after saving the pops: (example) &#1085;&#1086; &#1103;&#1081;&#1094;&#1072;

EDIT2: this is something wrong with the coding language forum, This is not the fault mod.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SMFHacks.com Team on October 03, 2013, 11:43:26 AM
Posted an update that might help too
2.1
+Better support for other languages
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: j0hny21 on October 04, 2013, 02:23:12 PM
something is wrong:

QuoteParse error: syntax error, unexpected ')' in /virtual/xxx.xxx.xx/Sources/Downloads2.php on line 2379

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 04, 2013, 02:29:05 PM
Posted a new update/fix for that issue.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: forumfjott on October 18, 2013, 05:24:13 AM
Nice addition to our forum, but I miss the ability to upload several files in one go.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 18, 2013, 09:54:48 AM
Check out downloads pro has some extra including multiple files per download http://www.smfhacks.com/download-system-pro.php
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on October 22, 2013, 11:06:59 PM
Hi vbgamer,
I have recently uninstalled this, not because it is a bad mod, just that it duplicated something on my main website, and i just thought you should know that it does not remove the downloads folder when it uninstalls; this may be the correct behaviour as far as SMF goes but as I was also trying to reduce space taken up on the server I think some sort of note should be added regarding uninstalling, and that the folder will have to be manually deleted after uninstalling, or all items in the folder deleted prior to uninstalling. That is, unless it is a fault on my forum installation? I did have to make some manual edits to uninstall because of edits made by other mods but that shouldn't affect removing this folder I don't think - all the other files added by the mod to Sources and the default theme were removed.

Otherwise thank you for the mod which worked fine while I was using it.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on October 22, 2013, 11:09:25 PM
Well, there's a good reason it's not deleted... what happens if you uninstall to install a later version? Would really suck to lose all your downloads like that.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 22, 2013, 11:13:45 PM
Quote from: Arantor on October 22, 2013, 11:09:25 PM
Well, there's a good reason it's not deleted... what happens if you uninstall to install a later version? Would really suck to lose all your downloads like that.
Exactly the reason why the download folder remains. If someone no longer needs they can remove the folder completely themselves.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on October 22, 2013, 11:16:26 PM
Yes I understand that but just some sort of note on the mod page, or warning when uninstalling, that the folder does not get deleted would be a good addition, as there may be others who uninstall to save space.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on October 22, 2013, 11:19:15 PM
The thing is, most people don't uninstall to save space... ;)
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on October 22, 2013, 11:27:17 PM
you should be aware, then, that SMF themes act the same way -- when you remove the theme from your smf install, it does not delete the theme directory.

I'd have to say that this behavior is completely appropriate and even expected.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on October 22, 2013, 11:59:16 PM
Is this general SMF behaviour noted anywhere because I was not aware of it and i am sure there are others too. as regards Arantor's comment, I would think there are plenty of people who decide to uninstall something because of space concerns, as many will be on shared hosting or even free hosting where this is an issue. For me this was a side benefit rather than the reason as i have indicated. For future versions of SMF do you think it might be an idea to implement an optional deletion of such folders when the mod or theme installs one? I am not a noob and have been using SMF for some time and I was not aware that this didn't happen when a mod/theme is uninstalled/deleted.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on October 23, 2013, 12:03:08 AM
Speaking from having done years of experience of support, people do not generally remove components like that from their site due to space concerns. Especially because of the plethora of 'unlimited space' plans out there ;)

You've also noted that you have an alternative to the file serving - most users do not.

And no, I do not think it is a good idea to implement this in the manner you're thinking of into SMF's package system in the future.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on October 23, 2013, 12:44:11 AM
Well, OK, but would you care to share why you think that? Or at least why it isn't made clear to SMF users that this is the normal behaviour? I think others would assume, like I did, that when you uninstall/delete a mod or theme that all the actions would be reversed that were carried out on installation. I'm not criticising, just pointing out something that is worth considering either changing the behaviour or making clearer to people. From your smiley I know you are aware that 'unlimited' is not the case so I don't know why you would object to something that would clearly help forum/website owners avoid coming up against the actual limits with all the hassle and performance limitations that can involve.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Kindred on October 23, 2013, 01:00:21 AM
well, first of all - since the only method to update some mods involves uninstalling them first and then installing the new version - could you imaing the issues if - every time you had to update the mod, it removed all your previous data?
Uninstalling a mod removes the code changes done by the mod - but not any data files or database tables.

second - it's assumed that, if the intention is to "save space", then you'll manually go into your files list and delete things from there. It's not like any of the forum files actually take up more than a few MB, in all.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on October 23, 2013, 01:05:28 AM
Last point first, unlimited doesn't exist. But any site that does use such a host is going to hit many other limits far beyond hitting the space limit.

Secondly, as I just outlined, most people do not just up and delete mods to save space. You are frankly atypical. This is not based on guesswork but years of helping people with their SMF installations.

Thirdly, if it removed files on uninstall, it would screw up any mod that has to be uninstalled to add an update where new files are added. This affects so much more than your limited use case.

There are mods that did actually go out of their way to clean up. Typically backfired on them too because people don't read what's in front of them.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: awolexpat on October 23, 2013, 07:02:25 AM
Kindred & Arantor,
I'm thinking that maybe you haven't been reading my posts fully; I did not say in any of them that I uninstalled this mod to save space, it just became unnecessary as what it offered was duplicated on my main website; however a side benefit of removing it was that it reduced space taken up, but only when I manually removed the downloads folder that had been created by the mod. I also only originally suggested adding a note to the mod page and/or the install notes to inform users that they would need to delete the folder manually. I then went on to suggest having an optional deletion of such folders when uninstalling in a future version of SMF, not a mandatory one.

I don't know if there are, were or will be other users of this mod that wanted or will want to uninstall it to save space but surely my suggestions are not a reason for you to be so uppity is it? And the same can apply to any other mods/themes - just make people aware that this is how SMF's mod/theme installation operates. As I said, I am sure there are many other users out there that think that a mod uninstall/deletion would be the reverse of the install. I'm not saying the existing behaviour has to change, just make sure people are aware of it. I guess I thought that because most, if not all, Wordpress plugins issue a warning that your data will be deleted when uninstalling that this might be possible with SMF as well. I don't mind, I thought I was being helpful in pointing out a behaviour I hadn't been aware of before.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: cee山 on January 30, 2014, 05:51:21 AM
Quote from: Sakae on October 03, 2008, 11:27:53 AM
Hey, vbgamer45.

I finally managed to access www.tinyportal.net and I search for a bunch of threads there, and the common answer for a TP BLOCK WITH RECENTLY ADDED DOWNLOADS was "ask for the mod creator".

Can you provide that block code snippet? Thanks in advance...

I found a block code with most popular downloads (add in a phpbox):

global $db_prefix, $scripturl;

$request = db_query("SELECT f.ID_FILE, f.ID_MEMBER, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.realName, m.ID_MEMBER AS mID_MEMBER
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.ID_MEMBER = m.ID_MEMBER
ORDER BY totaldownloads DESC
LIMIT 10",__FILE__,__LINE__);
while($row = mysql_fetch_assoc($request)) {
echo '<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td valign="top" class="smalltext"> <a href="',$scripturl,'?action=downloads;sa=view;id=',$row['ID_FILE'],'">',$row['ftitle'],'</a></td>
<td valign="top" class="smalltext" align="right">',$row['totaldownloads'],'</td>
</tr>
</table>';
}

need DownloadSystem2.1a
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 30, 2014, 05:46:50 PM
Why that version? You can download the latest from the site.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: cee山 on January 31, 2014, 10:26:45 AM
 :o  have ssi portal.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on January 31, 2014, 10:36:12 AM
Ok i don't understand.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Pentaxian on April 23, 2014, 07:00:00 AM
Here added a Dutch translation for utf8 for this mod. Thanks for the mod!
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on April 23, 2014, 08:24:46 AM
Quote from: Pentaxian on April 23, 2014, 07:00:00 AM
Here added a Dutch translation for utf8 for this mod. Thanks for the mod!
Thanks for the translation.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on May 01, 2014, 01:47:45 AM
Hey VBgamer, need a pointer or two about the block listings display...

I want a category name to be displayed on a line under the thumbnail along with all the other data displayed there, mainly because i have already tweaked it a little to display a set of randomly chosen files on my portal page & they are various media types so the category name would be a bit more descriptive for the members

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 01, 2014, 11:36:25 AM
You would need to a left join with down_cat table and then use ID_CAT and title from that table.

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on May 01, 2014, 05:22:35 PM
Quote from: vbgamer45 on May 01, 2014, 11:36:25 AM
You would need to a left join with down_cat table and then use ID_CAT and title from that table.


Do I need to modify the template, can't quite figure out where I'm screwing up, Downloads2.php attached

Had it working in a much older version of Downloads Pro, will take a look at that again

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on May 01, 2014, 05:54:15 PM
Got it, thanks
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Itchigotim on May 29, 2014, 07:06:29 PM
Hi guys. I currently have 1.5.2 and I'm considering upgrading to either 2.1 or the paid version. In either case, can I just install over the old one, or is it more involved? I'm not much of a coder, and I want to keep my current setup. To redo things, we're talking 200 files. As I just did this moving to a cloud based setup, I don't want to do it again....
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on May 29, 2014, 07:14:00 PM
Yes you can just install it over to upgrade to the latest version! From lite to pro I suggest to uninstall but all your data/files are saved and not removed.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Itchigotim on May 29, 2014, 07:28:34 PM
Thanks! I'm reluctant to spend the money (pro) for just 1 option. Not that I don't want to support you guys, but the only thing I'm missing is adding an image to a file. Using an imagehost I solved that, but the upload procedure is more complicated. But we'll see. I just got an investor for my site, so I will probably end up doing it.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Osaugue on August 15, 2014, 04:23:24 PM
Please is there anyway i can create RSS for this mod???
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 15, 2014, 05:53:34 PM
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Osaugue on August 16, 2014, 03:14:43 PM
Quote from: vbgamer45 on August 15, 2014, 05:53:34 PM
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
its not there '(
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on August 17, 2014, 05:22:38 AM
Quote from: Osaugue on August 16, 2014, 03:14:43 PM
Quote from: vbgamer45 on August 15, 2014, 05:53:34 PM
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
its not there '(

I can confirm that it is available in the Pro version...
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Xer0n_ on August 21, 2014, 06:33:31 PM
Is it possible to have this system manage external download links?  My webhosting supports up to 200MB at full speed then caps at 50KB/s which is not acceptable because i'm hosting content packs for counter strike source which are pretty big.  They are all hosted on a gigabit dedicated server, and wish to have this system manage who can download the packs and keep the URL's private to prevent mass people on steam over-loading my bandwidth.

Thanks,
Xer0n
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on August 29, 2014, 02:13:57 AM
Yay, got the pro version integrated with the SMF Tagging module!!
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 30, 2014, 02:17:50 PM
What did you do with the tagging module? I have tags built but you tied that mod with this one?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on August 30, 2014, 02:30:38 PM
Quote from: vbgamer45 on August 30, 2014, 02:17:50 PM
What did you do with the tagging module? I have tags built but you tied that mod with this one?

Yes, downloads keywords get tied to tagging system module whenever adding a download or editing an existing file in the downloads, however, still need to add a conditional statement to be sure that the tagging module is installed first so that this edit will be usable in any smf site, but i'd be happy to PM you what I did so far, maybe you can streamline it cause the code has to be added to about 5 or 6 areas of the downloads2.php file the way I did it?

but so far its error free

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on August 30, 2014, 02:43:15 PM
Sure send it over.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on August 30, 2014, 02:49:40 PM
Quote from: vbgamer45 on August 30, 2014, 02:43:15 PM
Sure send it over.

hmm, since its the pro version i can't attach it here, and PM won't let me attach a file here, so now what?

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on August 30, 2014, 03:05:26 PM
Quote from: Bob Perry on August 30, 2014, 02:30:38 PM
Quote from: vbgamer45 on August 30, 2014, 02:17:50 PM
What did you do with the tagging module? I have tags built but you tied that mod with this one?

but so far its error free



however, I am getting alot of these errors in the log, but I'm pretty sure its not related to my edits...

(http://gator4064.hostgator.com/~wpc921/images/smfhelp19.png)

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: larry007 on September 10, 2014, 02:31:19 PM
I am looking for the german_informal language file.

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 10, 2014, 02:35:01 PM
Not sure if it has been translated but you can search this topic and it might have been or look on smfhacks.com
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on September 11, 2014, 11:16:44 AM
Quote from: vbgamer45 on August 30, 2014, 02:43:15 PM
Sure send it over.

Tried to get it to ya several times at your site, unsuccessfully as there is some glitch where when I hit the send button it logs me out or a timeout or something then it won't let me log back in??

It functions perfect but I still haven't added a check to see whether the tagging module is present yet...

It also tags the file description to the body of the topic if the admin has set it to post to a forum when uploading a new download...
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 11, 2014, 11:56:17 AM
Can you attach to a post over here?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on September 11, 2014, 12:04:37 PM
I think so, if you say so... be warned to anyone else who tries to use this, if you don't have the tagging module installed this will give you fatal errors...

This version also has a block set to list downloads in random order too, and incresed the number of items listed from 4 to 12...

oh yes, vbgamer you'll also need to fix the deprecated error this creates as well... and i was experimenting with trying to get the regenerate thumbnails function to act as though the "Edit" button was being pushed on each file touched, not working yet, the reason being that i want to automate updating downloads that already exist with fresh copies of the newly added ability to put a body to the forum posts & the tagging function, otherwise, you have to manually do it one single file at a time...
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 11, 2014, 01:36:33 PM
You can remove it from the post now.

The tagging code looks good going to tweak it a little bit and add it to the main release.


Will check out the other changes as well.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on September 12, 2014, 02:41:26 AM
Quote from: vbgamer45 on September 11, 2014, 01:36:33 PM
You can remove it from the post now.

The tagging code looks good going to tweak it a little bit and add it to the main release.


Will check out the other changes as well.

Dude, what is wrong with your support site? It absolutely will not allow me to remain logged in, every time i try to do something it logs me out and won't let me back in? what's up with that?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 21, 2014, 08:04:04 PM
I did a fresh install of the SMF forum and kept all the default settings. I then installed the Download System Mod and kept all its settings default aswell except the Max Download filesize which I set to 300MB. I can upload a .zip, .txt, and a picture. But, when I try to upload a file that is 200MB, I get a 404 page error. A friend of mine did the same thing only using Xampp and he didn't touch any settings at all and was able to upload a 300MB+ file on his test forum. I am using my own server machine running a windows server OS. Thanks.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 21, 2014, 08:09:18 PM
Check out this post http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 21, 2014, 10:27:03 PM
I have read the post you linked to me, but even after I configured my php.ini it still switches over to the 404 error page. I forgot to mention in my last post that it does show the upload going on. The percent as it says uploading. Once it hits 100% that's when it goes to the 404 error page.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 21, 2014, 11:01:06 PM
How big a file can you upload?

Did you check what your php.ini settings are when you visit a phpinfo page? Also if you using fastcgi you will have to update that as well.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 21, 2014, 11:47:34 PM
I do not have FastCGI. I was able to only upload a 13MB file as a test.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 21, 2014, 11:56:49 PM
Did the settings take affect in the changes you made to the php.ini?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 22, 2014, 12:41:11 AM
Yes it did. For example I put 1024M in the php.ini and it's showing the same within the Download System Configurations.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 22, 2014, 08:30:33 AM
For both values max upload and max post size?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 22, 2014, 01:45:14 PM
Yep. I have max upload as 1024M and max post as 2048M and both are showing up in the settings. And I know nothing is blocking uploads or I wouldn't be able to upload even the small files.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 22, 2014, 01:45:48 PM
Probably then something with the webserver itself blocking the request.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 22, 2014, 02:48:54 PM
Wouldn't that block other files aswell? I can't call the webhost cause I am the webhost. lol. I own the server machine that everything is being ran on. I really do like this mod. I can do links, but then the filesize will show as 0kb and I would like those to show so people will know how big the files are that they are getting.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 22, 2014, 03:19:53 PM
It would only affect posts/uploads when ever you are putting the data.  Downloads are a different sotry.

I think I fetch the filesize in downloads pro.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 22, 2014, 05:26:54 PM
If I remember right, I have to pay for pro.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 22, 2014, 05:37:16 PM
Yeah has some extra added features such as charging for download credits etc.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 22, 2014, 07:43:49 PM
Lol. I just want to get this one working.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 23, 2014, 06:54:27 PM
I own the server. Wouldn't other files be rejected to?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 23, 2014, 07:08:06 PM
If you uploading large files that large then yes it would be.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 23, 2014, 07:37:08 PM
Max download sizes that people can download is set to 300mb. The files themselves that I want to upload is actually only 100-250mb each. No higher then that.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Arantor on September 23, 2014, 07:39:54 PM
You need to set the max_upload_size to the actual maximum size and post_max_size to *larger*. I generally suggest at least 3x the max_upload_size, because of the padding and fluff that gets put around any kind of upload by the HTTP protocol (since the post_max_size relates to the entire physical request being sent to the server, while max_upload_size relates to a specific part of it)
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 23, 2014, 07:54:20 PM
PHP: Upload Max Filesize   1024M
PHP: Post Max Filesize   2048M

This is in my download system configuration on my forum
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 26, 2014, 09:36:02 AM
Well it seems I still can't get this to work. It seems to work only with apache and xampp without messing with any of the settings, but it seems to suck on windows server. Looks like back to the URL and hiding the filesize.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 26, 2014, 10:54:10 AM
Well then it is probably an IIS setting I would think if you are using that on a windows server
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: SoultakerSpirit on September 26, 2014, 05:35:56 PM
What do you think it might be? Maybe I can go into my IIS settings.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on September 26, 2014, 05:55:57 PM
I do not know you would need to search on google.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Akshtsaklani7 on October 16, 2014, 05:21:13 PM
Hey,

Can someone help me out in making this mod responsive?

(http://i.imgur.com/0nnhe8O.jpg)

The table in the circle does not adjust its width on  smaller screen.

Please help.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 16, 2014, 05:27:14 PM
Responsive I do not have must experience other than using bootstrap. You would probably need to change the downloads2.template.php  convert the tables to divs/how your theme is designed.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Akshtsaklani7 on October 17, 2014, 12:54:39 AM
Quote from: vbgamer45 on October 16, 2014, 05:27:14 PM
Responsive I do not have must experience other than using bootstrap. You would probably need to change the downloads2.template.php  convert the tables to divs/how your theme is designed.

My theme's css folder has a bootstrap file
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 17, 2014, 01:05:28 AM
I would search on google for a guide for responsive themes.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Akshtsaklani7 on October 17, 2014, 01:31:33 AM
I found the solution actually.

Just had to add <div class="table-responsive">...</div> around the table code in downloads2.template.php
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 19, 2014, 11:17:29 PM
Good to know. What SMF theme are you using btw that is responsive?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Akshtsaklani7 on October 19, 2014, 11:22:12 PM
Reseller by Daniiel, though i changed the color scheme
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 19, 2014, 11:27:53 PM
Ok thanks good to know.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on October 24, 2014, 05:21:25 PM
Hey Vbgamer45, how do i fix this statement to function properly, its a bug in the pro version near the bottom that was originally a eregi_replace() function which is of course deprecated...

This is what I have thus far but it creates a delimiter error, I have almost got ALL the bugs out of the customizations that I've done to it, except this one which is not related to those changes as it was in the orininal code...

    $color = preg_match("#","", $downloadSettings['screenshot_set_water_textcolor']);

For everyone else, I'm creating a huge database of digital antique files from my shareware CD collection, and there are ways to actually make a buck by contributing (uploading your own) too, this module combined with his Shop module make an awesome combination...

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 24, 2014, 10:15:49 PM
$color = eregi_replace("#","", $modSettings['class_set_water_textcolor']);
To
$color = str_replace("#","", $modSettings['class_set_water_textcolor']);
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on October 25, 2014, 12:06:11 AM
Quote from: vbgamer45 on October 24, 2014, 10:15:49 PM
$color = eregi_replace("#","", $modSettings['class_set_water_textcolor']);
To
$color = str_replace("#","", $modSettings['class_set_water_textcolor']);

Now getting undefined index on class_set_water_texcolor?

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 25, 2014, 01:00:42 AM
Should fill in a a color for that property water color text color
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on October 25, 2014, 01:20:17 AM
Quote from: vbgamer45 on October 25, 2014, 01:00:42 AM
Should fill in a a color for that property water color text color

so what is the name of the property suppose to be because its still throwing same error? i tried class_set_water_text_color
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 25, 2014, 01:21:11 AM
class_set_water_textcolor in smf_settings table
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on October 25, 2014, 01:43:30 AM
Quote from: vbgamer45 on October 25, 2014, 01:21:11 AM
class_set_water_textcolor in smf_settings table

I can't find a property by that name anywhere in the settings table dude, hence, undefined??
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 25, 2014, 10:16:57 AM
Then it would need to be created.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Bob Perry of Web Presence Consulting on October 25, 2014, 01:40:24 PM
Quote from: vbgamer45 on October 25, 2014, 10:16:57 AM
Then it would need to be created.

What? Doesn't it do that during install of the mod??

Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on October 25, 2014, 08:49:36 PM
It might if not just add an entry to smf_settings table.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: larry007 on November 07, 2014, 05:54:11 AM
Why can't i see the language modification on my Modifications.german_informal-utf8.php on the website?

Any idea?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 07, 2014, 09:37:38 AM
Make sure your language set is set to german_informal-utf8

And if you have a custom theme and the file german_informal-utf8 exists make sure you copy that text to that file as well.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: larry007 on November 09, 2014, 08:55:29 AM
@vbgamer45

everything now ok  ;)

only simple and clear, here are the hole translated file version from me to use the DownloadSystem in german.

Downloads.german_informal-utf8.php
<?php
/*
Download System
Version 1.5
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2012 SMFHacks.com

############################################
License Information:

Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################

Downloads English Text Strings
*/

// Downloads.template.php Downloads

// Title string
$txt['downloads_text_title'] = 'Downloads';

// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategoriename';
$txt['downloads_text_categorydescription'] = 'Kategoriebeschreibung';
$txt['downloads_text_totalfiles'] = 'Gesamtanzahl';
$txt['downloads_text_reorder'] = 'Anordnen';
$txt['downloads_text_options'] = 'Optionen';
$txt['downloads_text_category'] = 'Kategorie';
$txt['downloads_text_parentcategory'] = 'Hauptkategorie';
$txt['downloads_text_catnone'] = '(Keine)';

$txt['downloads_text_adminpanel'] = 'Downloads Administration Panel';
$txt['downloads_text_addcategory'] = 'Kategorie hinzufügen';
$txt['downloads_text_cat_disableratings'] = 'Deaktiviere Download Bewertungen';
$txt['downloads_text_bbcsupport'] = '(BBC Code wird unterstützt)';
$txt['downloads_text_editcategory'] = 'Kategorie editieren';
$txt['downloads_text_delcategory'] = 'Kategorie löschen';
$txt['downloads_text_settings'] = 'Einstellungen';
$txt['downloads_text_permissions'] = 'Berechtigungen';
$txt['downloads_rep_deletefile'] = '[Datei löchen]';

$txt['downloads_text_fileswaitapproval'] = 'zu genehmigende Dateien: ';
$txt['downloads_text_filecheckapproval'] = 'zeige genehmigte Datei Liste';
$txt['downloads_text_comwaitapproval'] = 'zu genehmigende Kommentare: ';
$txt['downloads_text_comcheckapproval'] = 'zeige genehmigte Kommentare Liste';

$txt['downloads_text_filereported'] = 'gemeldete Dateien: ';
$txt['downloads_text_filecheckreported'] = 'prüfe gemeldete Dateien';

$txt['downloads_text_comreported'] = 'gemeldete Kommentare: ';
$txt['downloads_text_comcheckreported'] = 'prüfe gemeldete Kommentare';

$txt['downloads_write_error'] = 'WARNUNG! Der Speicherpfad ist nicht beschreibbar! ';
$txt['downloads_text_myfiles'] = '[meine Dateien]';
$txt['downloads_text_search'] = '[Suchen]';
$txt['downloads_text_myfiles2'] = 'meine Dateien';
$txt['downloads_text_search2'] = 'Suchen';
$txt['downloads_text_edit'] = '[Editieren]';
$txt['downloads_text_delete'] = '[Löschen]';
$txt['downloads_text_unapprove'] = '[Genehmigung zurücknehmen]';
$txt['downloads_text_approve'] = '[Genehmigen]';
$txt['downloads_text_up'] = '[aufwärts]';
$txt['downloads_text_down'] = '[abwärts]';
$txt['downloads_text_reportdownload'] = '[Download melden]';
$txt['downloads_text_delcomment'] = '[Kommentar löschen]';
$txt['downloads_text_edcomment'] = '[Kommentar editieren]';
$txt['downloads_text_repcomment'] = '[Kommentar melden]';

$txt['downloads_text_prev'] = 'vorheriger Download';
$txt['downloads_text_next'] = 'nächster Download';
$txt['downloads_text_filesize'] = 'Dateigröße: ';
$txt['downloads_text_by'] = 'von:';
$txt['downloads_text_date'] = 'Datum: ';
$txt['downloads_text_comments'] = 'Kommentare';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Aufrufe: ';
$txt['downloads_text_pages'] = 'Seiten: ';
$txt['downloads_text_commentwait'] = 'Dein Kommentar muss zuerst genehmigt werden, bevor er sichtbar wird.';

$txt['downloads_text_adddownload'] = 'Download hinzufügen';

$txt['downloads_text_returndownload'] = 'Zurück zur Hauptübersicht';
$txt['downloads_text_returnfile'] = 'zurück zur Datei';
//Online strings
$txt['downloads_who_viewdownload'] = ' betrachten gerade die Download Kategorie.';
$txt['downloads_who_viewfile'] = ' betrachten gerade diese Dateien.';
$txt['downloads_who_members'] = 'Mitglieder';
$txt['downloads_who_hidden'] = 'versteckt';

//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beschreibung:';
$txt['downloads_form_icon'] = 'Kategoriensymbol (URL):';
$txt['downloads_form_uploadicon'] = 'Kategoriensymbol hochladen';
$txt['downloads_write_catpatherror'] = 'Warnung! Der Speicherpfad für das Kategoriensymbol ist nicht beschreibbar! ';
$txt['downloads_form_filenameicon'] = 'Kategoriensymbol Dateiname:';

$txt['downloads_warn_category'] = 'Warnung! hiermit wird die gesamte Kategorie inkl. enthaltener Dateien, Kommentare und Bewertungen...';

$txt['downloads_form_adddownload'] = 'Download hinzufügen';
$txt['downloads_form_category'] = 'Kategorie:';
$txt['downloads_form_keywords'] = 'Schlüsselwörter:';
$txt['downloads_form_uploadfile'] = 'Datei hochladen:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';

$txt['downloads_form_additionaloptions'] = 'erweiterte Optionen:';
$txt['downloads_form_allowcomments'] = 'Erlaube Kommentare zu dieser Datei.';
$txt['downloads_form_notapproved'] = 'Deine Datei muss zuerst genehmigt werden bevor sie sichtbar wird.';
$txt['downloads_form_editdownload'] = 'Download editieren';
$txt['downloads_form_viewratings'] = 'zeige Bewertungen';
$txt['downloads_form_ratedownload'] = 'Download bewerten';
$txt['downloads_form_norating'] = 'Dieser Download wurde bis jetzt noch nicht bewertet.';
$txt['downloads_form_rating'] = 'Bewertung: ';
$txt['downloads_form_ratingby'] = ' von ';
$txt['downloads_form_ratingmembers'] = '  Mitgliedern.';
$txt['downloads_text_rating'] = 'Bewertung';

$txt['downloads_text_changeowner'] = 'Besitzer wechseln';

$txt['downloads_text_olddownload'] = 'alter Download';
$txt['downloads_text_deldownload'] = 'Download';

// View file
$txt['downloads_text_filestats'] = 'Download Statistiken:';

$txt['downloads_text_postedby'] = 'von: ';
$txt['downloads_text_addcomment'] = 'Kommentar hinzufügen';
$txt['downloads_text_editcomment'] = 'Kommentar editieren';
$txt['downloads_text_reportcomment'] = 'Kommentar melden';
$txt['downloads_text_commodifiedby'] = 'zuletzt geändert von: ';
$txt['downloads_text_home'] = 'Downloads Home';

// Delete file
$txt['downloads_warn_deletedownload'] = 'Warnung! Hiermit wird Deine Datei/Dein Download gelöscht und ist nicht wiederherstellbar.';
$txt['downloads_form_deldownload'] = 'Download löschen';
$txt['downloads_form_deldownload2'] = '[Download löschen]';

$txt['downloads_form_comment'] = 'Kommentar:';

$txt['downloads_form_reportdownload'] = 'Download melden';


$txt['downloads_form_managecats'] = 'Kategorienverwaltung';
$txt['downloads_form_approvedownloads'] = 'Downloads genehmigen';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'Kommentare genehmigen';
$txt['downloads_form_approveallcomments'] = 'Alle Kommentare genehmigen';
$txt['downloads_form_reportedcomments'] = 'gemeldete Kommentare';
// Settings page
$txt['downloads_set_description'] = 'Erlaubt das Editieren wichtiger Einstellungen der Download Sektion';
$txt['downloads_set_filesize'] = 'Max. Dateigröße';
$txt['downloads_set_path'] = 'Download Pfad: ';
$txt['downloads_set_url'] = 'Downloads URL: ';
$txt['downloads_set_whoonline'] = 'zeigt an, wer sich gerade einen Download anschaut';
$txt['downloads_set_commentschoice'] = 'Dem Benutzer erlauben umzuschalten ob Kommentare im Download angezeigt werden soll oder nicht.';
$txt['downloads_set_permissionnotice'] = 'Schlussendlich! Vergesse nicht die Berechtigung für jede Gruppe festzulegen, damit man die Downloads hinzufügen und sehen kann.';
$txt['downloads_set_editpermissions'] = 'Berechtigungen editieren';
$txt['downloads_set_files_per_page'] = 'Downloads pro Seite:';
$txt['downloads_set_commentsappr'] = 'Kommentare bedürfen der Genehmigung?';
$txt['downloads_set_commentsnewest'] = 'zeige neuesten Kommentar zuerst';
$txt['downloads_set_showratings'] = 'zeige Download Bewertungen';
$txt['downloads_set_enable_multifolder'] = 'aktiviere mehrfache Downloadverzeichnisse';
$txt['downloads_index_toprated'] = 'zeige die am besten bewertesten Downloads auf der Hauptseite';
$txt['downloads_index_recent'] = 'zeige die neuesten Downloads auf der Hauptseite';
$txt['downloads_index_mostviewed'] = 'zeige die am meisten angeschauten Downloads auf der Hauptseite';
$txt['downloads_index_mostdownloaded'] = 'zeige die am häufigsten downgeloadeten Dateien auf der Hauptseite';
$txt['downloads_index_mostcomments'] = 'zeige die am häufigsten bewerteten Downloads auf der Hauptseite';
$txt['downloads_index_showtop'] = 'Zeige das Verzeichnis ganz oben bei den Downloads';

$txt['downloads_set_count_child'] = 'Zähle Downloads auch in den Unterkategorien (benötigt mehr Abfragen)';
$txt['downloads_set_show_quickreply'] = 'zeige Schnellantwort auf der Kommentarseite';

// Category Display Settings
$txt['downloads_set_t_downloads'] = 'zeige alle Downloads';
$txt['downloads_set_t_views'] = 'zeige Gesamtanzahl der Aufrufe';
$txt['downloads_set_t_filesize'] = 'zeige Dateigröße';
$txt['downloads_set_t_date'] = 'zeige Datum';
$txt['downloads_set_t_comment'] = 'zeige alle Kommentare';
$txt['downloads_set_t_username'] = 'zeige Mitgliedsname';
$txt['downloads_set_t_rating'] = 'zeige Bewertungen';
$txt['downloads_catthumb_settings'] = 'Kategorie: Anzeige - Einstellungen';

// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max. Bildhöhe des Kategorienbildes:';
$txt['downloads_set_cat_width'] = 'Max. Breite des Kategorienbildes:';

// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads: Anzeigeeinstellungen';
$txt['downloads_set_file_prevnext'] = 'zeige "vorheriger" und "nächster" - Links';
$txt['downloads_set_file_desc'] = 'zeige Beschreibung';
$txt['downloads_set_file_title'] = 'zeige Titel';
$txt['downloads_set_file_views'] = 'zeige Aufrufe';
$txt['downloads_set_file_downloads'] = 'zeige Downloadzähler';
$txt['downloads_set_file_lastdownload'] = 'zeige letzter Download';
$txt['downloads_set_file_poster'] = 'zeige von (Mitglied)';
$txt['downloads_set_file_date'] = 'zeige Datum';
$txt['downloads_set_file_showfilesize'] = 'zeige Dateigröße';
$txt['downloads_set_file_showrating'] = 'zeige Bewertungen';
$txt['downloads_set_file_keywords'] = 'zeige Schlüsselwörter';

$txt['downloads_save_settings'] = 'Einstellungen speichern';


// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop Points Einstellung</b><br /><span class="smalltext">Nur wenn SMF Shop installiert ist</span>';
$txt['downloads_shop_fileadd']  = 'Herunterladen Points hinzufügen: ';
$txt['downloads_shop_commentadd'] = 'Kommentar Points hinzufügen: ';


// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Code Verknüpfung';
$txt['downloads_set_showcode_directlink'] = 'Zeige direkten Link Code';
$txt['downloads_set_showcode_htmllink'] = 'Zeige Html Link Code';


$txt['downloads_txt_directlink'] = 'Direkter Link';
$txt['downloads_txt_htmllink'] = 'Html Link';

// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beschreibung';
$txt['downloads_app_date'] = 'Datum';
$txt['downloads_app_membername'] = 'Mitglied';

$txt['downloads_text_withselected'] = 'ausgewählte ';
$txt['downloads_text_performaction'] = 'Ausführen';

// Report list
$txt['downloads_rep_filelink'] = 'Download Link';
$txt['downloads_rep_reportby'] = 'gemeldet durch';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'zeige Download';
$txt['downloads_rep_deletedownload'] = '[Download löschen]';
$txt['downloads_rep_delete'] = '[meldung löschen]';
$txt['downloads_rep_org_comment'] = 'Original Kommentar';
// Search Page
$txt['downloads_search_download'] = 'Suche nach Downloads';
$txt['downloads_search_for'] = 'Suche nach:';
$txt['downloads_search_title'] = 'Titel';
$txt['downloads_search_description'] = 'Beschreibung';
$txt['downloads_search_keyword'] = 'Schlüsselwörter';
$txt['downloads_search'] = 'Suchen';

$txt['downloads_search_days30']  = 'Letzten 30 Tagen';
$txt['downloads_search_days60']  = 'Letzten 60 Tagen';
$txt['downloads_search_days90']  = 'Letzten 90 Tagen';
$txt['downloads_search_days180']  = 'Letzten 180 Tagen';
$txt['downloads_search_days365']  = 'letzten 365 Tagen';
$txt['downloads_search_alltime']  = 'unbegrenzt';
$txt['downloads_search_daterange'] = 'Datum (von-bis): ';

$txt['downloads_search_membername'] = 'durch (Mitglied): ';
$txt['downloads_search_advsearch'] = 'erweiterte Suchoptionen';



$txt['downloads_searchresults'] = 'Suchergebnisse';

// MyFiles
$txt['downloads_myfiles'] = 'meine Dateien';
$txt['downloads_myfiles_app'] = 'Download wurde genehmigt';
$txt['downloads_myfiles_notapp'] = 'Download wurde nicht genehmigt';


// Index Page Strings
$txt['downloads_main_recent'] = 'neueste Downloads';
$txt['downloads_main_viewed'] = 'am meisten angeschaute Downloads';
$txt['downloads_main_toprated'] = 'Top-bewertete Downloads';
$txt['downloads_main_mostcomments'] = 'am meisten kommentierte Downloads';
$txt['downloads_main_mostdownloads'] = 'am meisten downgeloadete Downloads';

// Stats
$txt['downloads_text_stats']  = 'Statistik';
$txt['downloads_stats_last']  = 'die letzten 10 Downloads';
$txt['downloads_stats_viewed'] = 'am meisten betrachtete Downloads';
$txt['downloads_stats_toprated'] = 'Top-bewertete Downloads';
$txt['downloads_stats_mostcomments'] = 'am meisten kommentierte Downloads';
$txt['downloads_stats_title'] = 'Download Statistik';
$txt['downloads_stats_totalviews'] = 'Aufrufe (gesamt)';
$txt['downloads_stats_totalcomments'] = 'Kommentare (insgesamt)';
$txt['downloads_stats_totalfize'] = 'Dateigröße (insgesamt)';
$txt['downloads_stats_totalfiles'] = 'Gesamtanzahl Downloads';
$txt['downloads_stats_viewstats'] = 'zeige Download Statistik';

// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Unterkategorie hinzufügen';
// Board
$txt['downloads_text_postingoptions'] = 'Beitragsoptionen';
$txt['downloads_text_boardname'] = 'Board Name:';
$txt['downloads_postingoptions_info'] = 'Information: Bei Auswahl eines Boards, wird für jeden neuen (genehmigten) Download ein Beitrag erstellt.';
$txt['downloads_posting_showlinktodownload'] = 'zeige Link zur Hauptseite';
$txt['downloads_posting_locktopic'] = 'Sperre Thema';

// File Space and Quota information
$txt['downloads_filespace'] = 'Datei: Speicherplatzverwaltung';
$txt['downloads_filespace_note'] = 'Vorschaubilder werden nicht der Speicherplatzlimitierung hinzugerechnet';
$txt['downloads_filespace_filesize'] = 'benutzter Speicherplatz';
$txt['downloads_filespace_list'] = 'liste Dateien';
$txt['downloads_filespace_list_title'] = 'Dateiliste';
$txt['downloads_filespace_recount'] = 'Neuberechnung benutzter Speicherplatz';
$txt['downloads_filespace_groupquota_title'] = 'Mitgliedergruppen Speicherplatz (Limit)';
$txt['downloads_filespace_groupname'] = 'Mitgliedergruppenname';
$txt['downloads_filespace_limit'] = 'File Space Limit';
$txt['downloads_filespace_addquota'] = 'Quota Limit hinzufügen';

// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategorie-Berechtigungsliste';
$txt['downloads_text_catpermlist2'] = 'Kategorie-Berechtigungen';
$txt['downloads_text_catperm'] = 'Kategorie-Berechtigung';
$txt['downloads_text_addperm'] = 'Berechtigung hinzufügen';



//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du musst schon einen Namen für die Kategorie angeben!';
$txt['downloads_error_no_file_selected'] = 'kein Download wurde ausgewählt.';
$txt['downloads_error_file_notapproved'] = 'Dieser Download wurde noch nicht genehmigt und Du hast noch keine Berechtigung diesen aufzurufen.';
$txt['downloads_error_no_title'] = 'Du musst schon einen Download Titel angeben.';
$txt['downloads_error_no_cat'] = 'Du musst eine Kategorie auswählen.';

$txt['downloads_error_file_filesize'] = 'Dieser Download Ã¼berschreitet die zulässige max. Dateigröße. Max. Dateigröße ist ';
$txt['downloads_error_no_download'] = 'Kein hochgeladener Download gefunden.';
$txt['downloads_error_no_downloadexist'] = 'Download existiert nicht';
$txt['downloads_error_noedit_permission'] = 'Du hast nicht die Berechtigung diesen Download zu editieren.';
$txt['downloads_error_nodelete_permission'] = 'Du hast nicht die Berechtigung diesen Download zu löschen.';
$txt['downloads_error_no_comment'] = 'Du musst schon einen Kommentar schreiben!';
$txt['downloads_error_not_allowcomment'] = 'Bitte warte einen Moment...zu diesem Download sind keine Kommentare erlaubt...';
$txt['downloads_error_no_com_selected'] = 'Kein Kommentar ausgewählt.';
$txt['downloads_error_no_user_selected'] = 'kein Mitglied ausgewählt.';
$txt['downloads_error_no_report_selected'] = 'keine meldung ausgewählt.';
$txt['downloads_error_no_search'] = 'Du musst schon einen Suchbegriff eingeben...';
$txt['downloads_error_search_small'] = 'Deine Suchanfrage ist zu kurz. Dieser muss größer als 3 Zeichen sein.';
$txt['downloads_error_nocomedit_permission'] = 'Du jast nicht die Berechtigung diesen Kommentar zu editieren.';
$txt['downloads_error_no_rating_selected'] = 'Keine Bewertung ausgewählt.';
$txt['downloads_error_already_rated'] = 'Du hast bereits diesen Download bewertet.';
$txt['downloads_error_space_limit'] = 'Aufgrund der Quota Limitierung ist es nicht mehr möglich Deinen Download hier zur Verfügung zu stellen. Quota Information: ';
$txt['downloads_error_noquota'] = 'Du hast keine Quota Limit angegeben.';
$txt['downloads_error_nogroup'] = 'Keine mitgliedergruppe ausgewählt.';
$txt['downloads_error_quotaexist'] = 'Für diese mitgliedergruppe existiert bereits eine gesetzte Quota Limitierung. Bitte lösche zuerst den alten Wert.';
$txt['downloads_error_nouser_exists'] = 'Kein Mitglied vorhanden.';
$txt['downloads_error_nocat_above'] = 'Oberhalb dieser Kategorie ist keine weitere.';
$txt['downloads_error_nocat_below'] = 'Unterhalb dieser Kategorie befindet sich keine weitere.';
$txt['downloads_error_norate_own'] = 'Du kannst Deinen eigenen Download nicht bewerten.';
$txt['downloads_error_no_catexists'] = 'Du musst zuerst eine Kategorie erstellen, bevor Du anfangen kannst, Deinen Download hier bereitzustellen.';
$txt['downloads_error_invalid_picture'] = 'ungültige Bilddatei';

// Quota Limits
$txt['downloads_quotagrouplimit'] ='Quota Limit';
$txt['downloads_quotagspaceused'] ='Quota: benutzter Speicherplatz';
$txt['downloads_quotaspaceleft'] ='Quota: noch freier Speicherplatz';

// Permissions
$txt['downloads_perm_no_view'] = 'Es ist Dir nicht erlaubt die Kategorie aufzurufen.';
$txt['downloads_perm_no_add'] = 'Es ist Dir nicht erlaubt einen Download dieser Kategorie hinzuzufügen.';
$txt['downloads_perm_no_edit'] = 'Es ist Dir nicht erlaubt, diesen Download in diesr Kategorie zu editieren/verändern.';
$txt['downloads_perm_no_delete'] = 'Es ist Dir nicht erlaubt diesen Download aus dieser Kategorie zu löschen.';
$txt['downloads_perm_no_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download in dieser Kategorie zu bewerten.';
$txt['downloads_perm_no_editcomment'] = 'Es ist Dir nicht erlaubt Kommentare zu diesem Download in dieser Kategorie zu editieren/verändern.';
$txt['downloads_perm_no_addcomment'] = 'Es ist Dir nicht erlaubt Kommentare zu diesem Download in dieser Kategorie zu verfassen.';
$txt['downloads_perm_no_report'] = 'Es ist Dir nicht erlaubt Inhalte dieser Kategroie zu melden.';
// Notify comment
$txt['downloads_notify_body'] = 'Ein neuer Kommentar wurde zu Deinem Download abgegeben.' "\n\n" 'Du kannst diesen Kommentar hier aufrufen' "\n" '%s' "\n\n";
$txt['downloads_notify_subject'] = 'Neuer Kommentar: %s';
$txt['downloads_notify_title'] = 'Benachrichtige mich bei neuen Kommentaren';

$txt['downloads_perm_view'] = 'Aufrufe';
$txt['downloads_perm_add'] = 'Download hinzufügen';
$txt['downloads_perm_edit'] = 'Eigenen Download editieren';
$txt['downloads_perm_delete'] = 'Eigenen Download löschen';
$txt['downloads_perm_addcomment'] = 'Kommentar hinzufügen';

$txt['downloads_permerr_permexist'] = 'Es exisitiert bereits ein Berechtigung für diese Gruppe und Kategorie - bitte lösche diese zuerst.';

$txt['downloads_perm_allowed'] = 'erlaubt';
$txt['downloads_perm_denied'] = 'verweigert';



$txt['downloads_guest'] = 'Gast';


// Custom Fields
$txt['downloads_custom_fields'] = 'benutzerdefinierte Felder';


$txt['downloads_custom_title'] = 'Feldtitel';
$txt['downloads_custom_default_value'] = 'Standardwert';
$txt['downloads_custom_required'] = 'benötigt';
$txt['downloads_custom_addfield'] = 'Feld hinzufügen';

$txt['downloads_custom_err_title'] = 'Du musst schon einen Feldnamen/Feldtitel angeben.';
$txt['downloads_error_nocustom_above'] = 'Es ist kein benutzerdefiniertes Feld oberhalb des aktuellen.';
$txt['downloads_error_nocustom_below'] = 'Es ist kein benutzerdefiniertes Feld unterhalb des aktuellen.';
$txt['downloads_err_req_custom_field'] = 'Es fehlen notwendige Informationen in dem angeforderten benutzerdefinierten Feld namens ';


$txt['downloads_err_checkfailed'] = 'Sicherheitscheck fehlgeschlagen';

$txt['downloads_click_enlarge'] = 'Hier klicken, um zu vergrößern';
$txt['downloads_sub_cats'] = 'Unterkategorie: ';

// Sorting Options

$txt['downloads_txt_sortby'] = 'sortiert nach: ';
$txt['downloads_txt_orderby'] = 'Anordnung: ';
$txt['downloads_txt_sort_go'] = 'Go';

$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Datum';
$txt['downloads_txt_sort_mostviewed'] = 'Aufrufe';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentare';
$txt['downloads_txt_sort_mostrated'] = 'Bewertung';
$txt['downloads_txt_sort_filesize'] = 'Dateigröße';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Mitglied';

$txt['downloads_txt_sort_asc'] = 'aufsteigend';
$txt['downloads_txt_sort_desc'] = 'absteigend';


$txt['downloads_error_img_size_height'] = 'Das Bild ist größer als es die Voreinstellung erlaubt. Deine Bildbreite ist:  ';
$txt['downloads_error_img_size_width'] = 'Deine Bildhöhe ist: ';


// Category Display

$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bewertung';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Aufrufe';
$txt['downloads_cat_filesize'] = 'Dateigröße';
$txt['downloads_cat_date'] = 'Datum';
$txt['downloads_cat_comments'] = 'Kommentare';
$txt['downloads_cat_membername'] = 'Mitglied';
$txt['downloads_cat_options'] = 'Optionen';

$txt['downloads_text_lastdownload'] = 'Letzter Download: ';
$txt['downloads_text_lastdownload2'] = 'noch nie';

// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importiere Tiny Portal Downloads';
$txt['downloads_txt_import'] = 'Import';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal Downloads Import Ergebnisse';
$txt['downloads_txt_import_downloads'] = 'Importiere Downloads';

$txt['downloads_txt_import_note'] = 'Wenn du ein anderes Download-System in der Vergangenheit installiert hattest, wirst du in der Lage sein diese Downloads in das Download System zu importieren';

$txt['downloads_txt_categories_imported'] = 'importierte Kategorien: ';
$txt['downloads_txt_files_imported'] = 'importierte Dateien: ';


$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Datengrösse ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Datengrösse ';
$txt['downloads_upload_limits_notes'] = 'Die oben genannten PHP-Einstellungen steuern, wie gross eine Datei akzeptiert wird. Diese Einstellungen werden durch die php.ini oder Webhost gesteuert';

// Mini page text strings
$txt['downloads_txt_gender'] = 'Geschlecht';
$txt['downloads_txt_posts'] = 'Beiträge';
$txt['downloads_txt_view_profile'] = 'zeige Profil';
$txt['downloads_txt_www'] = 'WWW';
$txt['downloads_txt_profile_email'] = 'Email';



?>



Modifications.german_informal-utf8.php
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Konfiguration';
$txt['downloads_text_settings'] = 'Einstellungen';

$txt['downloads_form_approvedownloads'] = 'genehmige Downloads';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'genehmige Kommentare';
$txt['downloads_filespace'] = 'Speicherplatzverwaltung';
$txt['downloads_text_catpermlist2'] = 'Kategorie: Berechtigungen';
$txt['downloads_txt_import'] = 'Import';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'zeige Downloads';
$txt['permissionhelp_downloads_view'] = 'Erlaubt den Zugang zur Download-Sektion';
$txt['cannot_downloads_view'] = 'Es ist Dir nicht erlaubt die Download-Sektion zu sehen';

$txt['permissionname_downloads_add'] = 'Download hinzufvgen';
$txt['permissionhelp_downloads_add'] = 'Erlaubt das Hinzufügen eines Downloads.';
$txt['cannot_downloads_add'] = 'Es ist Dir nicht erlaubt einen Download hinzufügen.';

$txt['permissionname_downloads_edit'] = 'Eigenen Download editieren';
$txt['permissionhelp_downloads_edit'] = 'Erlaubt das Editieren des eigenen Downloads.';
$txt['cannot_downloads_edit'] = 'Es ist Dir nicht erlaubt diesen Download zu editieren.';

$txt['permissionname_downloads_delete'] = 'Eigenen Download löschen';
$txt['permissionhelp_downloads_delete'] = 'Erlaubt das Löschen des eigenen Downloads.';
$txt['cannot_downloads_delete'] = 'Es ist Dir nicht erlaubt diesen Download zu löschen.';

$txt['permissionname_downloads_ratefile'] = 'Download bewerten';
$txt['permissionhelp_downloads_ratefile'] = 'Erlaubt das Bewerten eines Downloads.';
$txt['cannot_downloads_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download zu bewerten.';

$txt['permissionname_downloads_editcomment'] = 'Eigenen Kommentar editieren';
$txt['permissionhelp_downloads_editcomment'] = 'Erlaubt das Editieren eigener Kommentare.';
$txt['cannot_downloads_editcomment'] = 'Es ist Dir nicht erlaubt diesen Kommentar zu editieren.';

$txt['permissionname_downloads_comment'] = 'Kommentar schreiben';
$txt['permissionhelp_downloads_comment'] = 'Erlaubt das Kommentieren eines Download.';
$txt['cannot_downloads_comment'] = 'Es ist Dir nicht erlaubt einen Kommentar zu hinterlassen.';

$txt['permissionname_downloads_report'] = 'Kommentar/Download melden';
$txt['permissionhelp_downloads_report'] = 'Erlaubt das Melden von Downloads und Kommentaren.';
$txt['cannot_downloads_report'] = 'Es ist Dir nicht erlaubt diesen Inhalt/Inhalte allg. zu melden.';

$txt['permissionname_downloads_autocomment'] = 'Auto-Genehmigung: Kommentare';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentare bedürfen keiner Genehmigung und sind sofort sichtbar.';

$txt['permissionname_downloads_autoapprove'] = 'Auto-Genehmigung: Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads bedürfen keiner Genehmigung und sind sofort verfügbar/sichtbar.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Erlaubt die Voll-Administration, also das Hinzufügen/Editieren/Löschen von allen Kategorien/Kommentaren/Downloads, etc.';
$txt['cannot_downloads_manage'] = 'Es ist Dir nicht erlaubt diese Download-Sektion zu administrieren.';

// END Download System Text Strings
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 09, 2014, 09:21:13 AM
Very good thanks for translation!
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: larry007 on November 13, 2014, 10:13:11 AM
one problem...

In the backend (Admin) i make a check at the field Permissions "Rate Downloads" (for Downloads) for unregistred guests.

But when I try to rate the file as guest, the forum brings me to the login? And the error log (Admin) shows this:

Quote

Apply Filter: Only show the error messages of this URL
http://localhost/bwf1/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
No download selected



Apply Filter: Only show the error messages of this URL
http://localhost/bwf1/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: S:/xampp/Lokale Test Ebene/htdocs/bwf1/Sources/Downloads2.php
Line: 3524 


Next Problem:

After I login as registred User (Permissions "Rate Downloads "check") , the same error logs when I rate a Download with out bringing me to the login.

Any Help
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 13, 2014, 10:18:14 AM
Guests can't rate files you need to login.

I will look into the errors logged though.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: larry007 on November 13, 2014, 10:26:39 AM
Quote from: vbgamer45 on November 13, 2014, 10:18:14 AM
Guests can't rate files you need to login.

I will look into the errors logged though.

Ok, please take a look, THX.....

But the field Permissions "Rate Downloads" is at the section of unregistred guests!?
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on November 13, 2014, 10:40:59 AM
Yes will look into the errors. The permissions thing is known but it will not work for guests at all just ignore it.
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: Greygal on December 03, 2014, 03:39:32 AM
Small typo on the main admin page.

This line:

The above PHP settings control how large a file will be accepeted. These are settings are controlled by the php.ini or your webhost

should read:

The above PHP settings control how large a file will be accepted. These are settings are controlled by the php.ini or your webhost
Title: Re: Download System 2.1! (With TP Downloads Import Tool) Updated for SMF 2.0!
Post by: vbgamer45 on December 03, 2014, 10:25:28 AM
Thanks Fixed for next update.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: SMFHacks.com Team on December 16, 2014, 12:18:32 AM
New release update! Now works for SMF 2.1 Beta 1

2.5
+Now supports SMF 2.1 Beta 1 using hooks for most file edits!
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on December 16, 2014, 05:55:54 PM
Is that the only change?
Or are there also benefits/changes for users using this on version 2.0.9?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on December 16, 2014, 06:26:17 PM
That is the only change for 2.0.x no reason to update.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on December 16, 2014, 06:36:26 PM
Thank you. Still great you already update it for the 2.1 users. Kuddo's for you. ;)
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Antes on December 16, 2014, 07:19:16 PM
Gz on release :) Its the first big-fella released for SMF 2.1 Beta 1 (public) I think? But unfortunately you get D from template side :P

> You don't have to use windowbg twice in both tr & td elements. Wrap the tr with windowbg/2 (alteration) or alteration/2 and use border on CSS if you want, like td {border-right: 1px solid #something;} tr:last-child{border-right: none;}
> You should avoid using old school [Text] button methods you just need to add "button" class to "a" element to turn them into lovely buttons.
> There is a closing div issue in category view.
> Instead using tables (which you are using a lot), you can wrap Pages with Pagesection > Pagelinks (classes). Also I noticed top-pages wrapping inside table.
> Beside using text links inside roundframe (for add new download etc...) move them to top left and use button class.
> Use Windowbg2 to wrap things, currently using lots of table, less table usage more responsive. Since we designed it that way :)
> You can move Stats text button to top-left as button as well.
> Avoid using inline CSS, most of the things already set by default CSS (like table width 100%)
> I suggest you to enrich your cat_bar/buttons with generic_icons.
> You don't need to use <br> escapes items (containers) now has proper clear & margin/paddings to make look more clear.
> You can use titlebg under title_bar elements.
> Instead using 50% td (inline) you can use dl/dd/dt which is pre-set for those type of things especially for Stats page.
> Try to avoid using table contain to table (in admin for example you have table > table), it mostly limits the responsive parts and gives bad look in general.
> Take a look at current Search/Stats page, you should consider migrating your pages into the new styling.

I'll take another look after you had time/and want to update the mod based on suggestions :)
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Arantor on December 16, 2014, 07:20:41 PM
It looks like it was written for SMF 1 and never made to look good on SMF 2.0 let alone 2.1 :(
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on December 16, 2014, 07:30:30 PM
Well since there is no other for SMF 2.0 I'm glad that there is one which works.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Arantor on December 16, 2014, 07:34:57 PM
Even though Aeva Media would be able to handle much the same, right?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Bob Perry of Web Presence Consulting on December 16, 2014, 07:39:33 PM
Quote from: Arantor on December 16, 2014, 07:34:57 PM
Even though Aeva Media would be able to handle much the same, right?

Although I use both, I really wish the download mod had a way of doing simultaneous multi-file uploads like aeva has...

Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on December 16, 2014, 07:58:58 PM
@Arantor: Yes. Aeva looks more like a media photo spreading thing and I don't like the layout. I use Downloads for satellite related files for our users like firmware, channel-lists etc. and well... Aeva also said  "2.0.1" as latest version when I was looking for a download mod and screenshots didn't look like it was usefull for my purposes.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Arantor on December 16, 2014, 08:08:06 PM
Other than presentation, what actually is the difference though?

vbgamer even said himself that Downloads and Gallery have a common base of code (which explains confusion of mine when looking at the database for his gallery for writing a converter since I saw a number of columns that weren't used)
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Bob Perry of Web Presence Consulting on December 16, 2014, 08:18:04 PM
Quote from: Arantor on December 16, 2014, 08:08:06 PM
Other than presentation, what actually is the difference though?

vbgamer even said himself that Downloads and Gallery have a common base of code (which explains confusion of mine when looking at the database for his gallery for writing a converter since I saw a number of columns that weren't used)

The only response I have for these queries is that in my case I got the Downloads Pro version a few years ago specifically to make it easy to monetise the Shop Credit system which is used by a few other modules as well...
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on December 16, 2014, 08:21:13 PM
To be honest, I wouldn't know what other differences and possibility's there are. As you know I'm not a coder.
So I can only base my choices on presentation/screenshots to get a feeling what a mod does. It did not give me the impression it was usable for just files like rar and zip.
And since Gallery was old (just upto 2.01) I did not try it either, because I try to only use mods which come closest to my version of SMF if possible.

Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Arantor on December 16, 2014, 08:27:16 PM
As far as I know, vbgamer's gallery handles images and videos but no other files (which the download mod does), while all of the other gallery options (Aeva, SMF Packs, Levertine) all support all sorts of files.

Though there are things like logging downloads that wouldn't necessarily be covered by the galleries.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on December 16, 2014, 08:45:55 PM
The gallery was originally going be image specific and contain features that only applied to images.

Downloads is for all types of files. Downloads lite is the newer base compared to gallery lite has some more added features.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on December 16, 2014, 08:49:35 PM
Quote from: Antes on December 16, 2014, 07:19:16 PM
Gz on release :) Its the first big-fella released for SMF 2.1 Beta 1 (public) I think? But unfortunately you get D from template side :P

> You don't have to use windowbg twice in both tr & td elements. Wrap the tr with windowbg/2 (alteration) or alteration/2 and use border on CSS if you want, like td {border-right: 1px solid #something;} tr:last-child{border-right: none;}
> You should avoid using old school [Text] button methods you just need to add "button" class to "a" element to turn them into lovely buttons.
> There is a closing div issue in category view.
> Instead using tables (which you are using a lot), you can wrap Pages with Pagesection > Pagelinks (classes). Also I noticed top-pages wrapping inside table.
> Beside using text links inside roundframe (for add new download etc...) move them to top left and use button class.
> Use Windowbg2 to wrap things, currently using lots of table, less table usage more responsive. Since we designed it that way :)
> You can move Stats text button to top-left as button as well.
> Avoid using inline CSS, most of the things already set by default CSS (like table width 100%)
> I suggest you to enrich your cat_bar/buttons with generic_icons.
> You don't need to use <br> escapes items (containers) now has proper clear & margin/paddings to make look more clear.
> You can use titlebg under title_bar elements.
> Instead using 50% td (inline) you can use dl/dd/dt which is pre-set for those type of things especially for Stats page.
> Try to avoid using table contain to table (in admin for example you have table > table), it mostly limits the responsive parts and gives bad look in general.
> Take a look at current Search/Stats page, you should consider migrating your pages into the new styling.

I'll take another look after you had time/and want to update the mod based on suggestions :)
Yeah I did SMF Gallery the other night as well.
I noticed the td thing right away thought I got rid of them all. Will double check. Main was going to get it looking nice enough
I will need to revisit those ideas. I open to any ideas/improvements.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Chen Zhen on January 11, 2015, 12:28:55 AM
vbgamer45,

  Nice mod, thank you for that.
  I found a small issue for the descript textarea input. It does not display backslashes properly and in most cases they are omitted.
One has to use 2 to allow 1 to appear and using 3 or more will always result in only 2 appearing.
I noticed this when attempting to post regex within code tags in the file description template whereas I had to double up the backslashes to make it appear properly.

Regards.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 02:44:27 PM
I install this mod but not Download links appear in menu. Where enable this link? I have custom theme.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on January 15, 2015, 03:54:21 PM
What SMF version for SMF 1.1.x you will need to modify the index.template.php file to add the link.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 04:04:32 PM
My SMF is 2.0.9
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on January 15, 2015, 04:10:17 PM
Attach your Sources/Subs.php
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 04:18:08 PM
Please here it is.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on January 15, 2015, 04:36:21 PM
I see the downloads button code in that file looks good.

Check that this exists

$txt['downloads_menu']


in your themes/yourtheme/langauges/modifications.english.php

If you are using the english language.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 04:55:14 PM
No this are not exist but nothing happened when I put this code:
$txt['downloads_menu'] = 'Downloads'

I saw something strange. When I Enable "Alternative Menu" mod then Link "Shop" are disappear and "Downloads" are show. Yes i did it. When I install Downloads mod then he install menu button in "Alternative Menu" section in Subs.php and Shop are install menu button in "Orginal Menu" section. Pleas repair this in install file.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on January 15, 2015, 05:12:57 PM
Well it sounds like an issue with ""Alternative Menu" mod not having support for the download system or you don't have an entry for it.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Kindred on January 15, 2015, 05:27:52 PM
yup... if you are using some sort of alternate menu system -- then it is going to affect ***ANY*** mod that you try to install, unless it properly checks the menu array in subs.php.

It sounds like the "alternate menu" mod does not do that correctly
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 06:10:57 PM
1. Why searching keywords not working? I create new download with added keywords. Next I go to search and paste - copied before keyword and search results are empty? What is going on? I think search for keyword is not correctly codded.

2. When I add keywords and press space bar then keyword are making all word next to space bar. Should be better when next keyword making by the ,
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on January 15, 2015, 06:33:45 PM
You haven't provided enough information for me to know.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 15, 2015, 08:43:02 PM
Search keywords does not work! When I type any keyword defined before then I see all the time blank results of Search. I say this again: Function Keyword Search is broken. Now its clever to understand?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 06:32:14 AM
Next question. I think the search engine bot are downloading files. If i upload file then is not possible to immediately has been added to google index because this action has duration about 3-4 day or more. In my server log no one download this new file. So i think when search engine bot has indexing download file then he enter to download link and generates transfer from server. Can You explain more of this issue?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Kindred on January 22, 2015, 07:15:10 AM
It is not an issue....  if you have exposed the downloads to guests and allowed them to download files -- then the search engines will trigger a download count when they hot the link....   they probably won't TAKE the actual file, but it will be triggered and thus count.

Your solution would be to make the permissions so that guests can not download files.

If you think that is is a problem, that is, really, your only option.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Illori on January 22, 2015, 07:27:06 AM
Quote from: Kindred on January 22, 2015, 07:15:10 AM
Your solution would be to make the permissions so that guests can not download files.

If you think that is is a problem, that is, really, your only option.

the free version has no permissions for who can download what. only the paid for version has that permission.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Kindred on January 22, 2015, 08:39:41 AM
well, then, that answers that...    either you make the downloads available to guests (and thus, will get the search engines triggering the link)  or you do not make the visible for guests at all...

there is no other option unless you purchase the pro version.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 10:27:25 AM
Quote from: Kindred on January 22, 2015, 07:15:10 AM
It is not an issue....  if you have exposed the downloads to guests and allowed them to download files -- then the search engines will trigger a download count when they hot the link....   they probably won't TAKE the actual file, but it will be triggered and thus count.

Your solution would be to make the permissions so that guests can not download files.

If you think that is is a problem, that is, really, your only option.
You have right. So permission for guest can't download has been bad idea. Better option would be insert captcha for this system - when You want file then enter valid code (captcha).
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on January 22, 2015, 03:03:48 PM
On every description made when adding a new file, the word "Description:" is placed in front of it.
Where exactly can I remove this? I don't like that word being added every time on my file descriptions.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 03:26:26 PM
How to separate every keyword by , (comma) like this:
QuoteSMF 2.0.9, SMF 2.0.8, SMF 2.0.6,
etc. currently If I add keyword with space like this:
QuoteSMF 2.0.9 SMF 2.0.8 SMF 2.0.6
Every word next after space is a separate keyword like:
QuoteSMF
Quote2.0.9
QuoteSMF
Quote2.0.8
etc. How to change this separations by spaces?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Kindred on January 22, 2015, 03:46:48 PM
that is because keywords are, by definition, single words...   and a space separates words...
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 03:47:37 PM
Quote from: Black Tiger on January 22, 2015, 03:03:48 PM
On every description made when adding a new file, the word "Description:" is placed in front of it.
Where exactly can I remove this? I don't like that word being added every time on my file descriptions.
Just delete this:
'<b>' . $txt['downloads_form_description'] . ' </b>' .
from Downloads2.template.php
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 03:49:28 PM
Quote from: Kindred on January 22, 2015, 03:46:48 PM
that is because keywords are, by definition, single words...   and a space separates words...
So how to change this definition? Which file should be editing? Better if comma separate words.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on January 22, 2015, 04:16:08 PM
That worked. Thank you Mesweb!
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 04:32:50 PM
 8) You are welcome.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: MESWEB on January 22, 2015, 04:58:47 PM
I have repaired: separate by , (comma) and issue: search by keywords. Now I have keywords with spaces separate with comma and when I clicked at keyword then show me files having keywords and delete max_lenght="100"
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on February 01, 2015, 10:28:39 AM
Got another couple of questions.

1.) Is it possible to "pair" the categories or to have them displayed alphabetically in the dropdown list when adding a download?
As you can see from my screenshot, there are several "Dreambox" things, but every time I add something it would be easyer if they would be together, same for the other things. Like when they are displayed alphabetically.
See screenshot 1.

2.) When I edit a download, below the edit button to save it says "Old Download", even when I just added it. Why is it displaying "Old Download"?
See screenshot 2.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on February 01, 2015, 12:12:51 PM
1. Possibly I would have to add another setting for that. Right now I believe it is doing download display category order

2. It is just letting you know what the old file was if you change the download.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on February 01, 2015, 01:54:49 PM
1.) I don't know, looks more like some random thing. Dreambox firmware and Dreambox are displayed on top, but Dreambox utilities is not, and this was made the same time under the Dreambox categorie, so I don't think it displays in category order.
Would be nice if you could fix that.

2.) You mean if I edit an old file and put a new version in it? That's nice. But will it be seen as "new" file in the recent file list if I would update files that way?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on February 01, 2015, 01:57:24 PM
For 2. Wouldn't be considered new. Just the lasts modified/updated date would be updated
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on February 01, 2015, 02:41:14 PM
Ah oke thanks, in that case I will just add a new file like I did until now.
Would be nice if the sort order in the list would be fixed or if you know if I could easily fix this by editting a file.
If not I'll wait until the next release, thanks for the quick reply.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on February 19, 2015, 01:26:02 PM
Next to my previous comment about the sort order, I have another request.

Can it be made, that if you do something, the page will be focussed again to the same section you were before?

For example. I'm in the download section category=4. I got a list of files there and need to delete some files.
From there I can only to that one by one, which is not a big problem.

However, after clicking delete, there is a confirmation screen (which is good), I click delete and then the screen puts me here:
action=downloads;sa=myfiles;u=2

It would be a lot better if I was put back were I was working before and where I choose to delete that file, so in:
action=downloads;cat=4

That way you can work further from where you were and don't have to click to get back to the section you were before every time.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Miker1029 on March 17, 2015, 12:20:16 PM
Hey Love The Download Mod, I'm new to SMF, So I just thought I'd throw in my 2 cents about whats lacking in the MOD...

1. Adding sub-Cats, After you Submit it It takes you back to the Main DL screen, Where you have to go BACK to add more...
2. Can't add file size in linked downloads, ALL my DL's are off-site... I'm on a limited data plan so I know clicking a link (especially to Google Drive) is a PITA just to find out it'd take 1gig of my 2.5 gig LTE Limit.....

Just some Ideas for Improvement...If your open to em, Like I said I love the MOD In general, Just as an ADMIN, can be a pain with the constant clicking/page loads....

Unless I'm missing something, like I said I'm New to SMF, Been using Phpbb for 8 Months... and Decided to make the change..

Mike
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on March 17, 2015, 12:40:41 PM
Thanks for the comments.
1. Might require modifying some sources. What do you want the behavior to be?

2. That should be fixed in Downloads Pro which adds some more http://www.smfhacks.com/download-system-pro.php
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on March 17, 2015, 05:43:58 PM
1.) I second that request, same goes for adding a download.
This is what the behaviour should be:
After adding, take us back to the screen in which you can add a download would be nice.
After adding a subcategory, take the screen back to the main category from where you can add another sub-category.
Shortly said, if you do an action, the behaviour should be that you would be taken back to the screen you were before (from which you started the action).
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Enzofielt on April 16, 2015, 02:21:20 PM
Hello to all, I am using this mod for 6 years now.
Really happy with it, the only problem is the size of the database.
Removing downloads has to be done one by one, is there a way to delete multiple downloads at once?

I am still using 1.4.1, would updating to 2.5 be recommended?

Thanks already
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on April 16, 2015, 02:31:46 PM
I don't believe so but you can try to upgrade I think adds some new things. Look at chnagelog for details
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Enzofielt on April 16, 2015, 02:48:48 PM
Thanks, just upgrade or uninstall the 1.4.1 and then install 2.5?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on April 16, 2015, 03:12:53 PM
Either way.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Enzofielt on April 16, 2015, 03:26:52 PM
Will do, thanks for the support.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 25, 2015, 05:34:08 PM
I just installed this mod, but there's no faq with it to explain some things. I've figured out how to set the permissions & how to allow creation of categories...but when I try to make one, the image I'm using is supposedly too big, yet it does not say what the image size limitations are for the category.

Does anyone know?

Thank you
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on May 25, 2015, 07:30:52 PM
I think there is a category image setting under the main downloads settings area.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 25, 2015, 07:36:19 PM
Wiw, I'm flipping blind! LOL sorry about that.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on May 25, 2015, 07:41:01 PM
Glad to help.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 08:12:41 PM
vbgamer45...

I'm getting an error trying to upload a 50.2MB file to the download system.

The PHP Upload Max Filesize & Post Max Filesize are set to 100M so I'm guessing that's Megabytes but that's usually shown by a MB...not an M. Either way...it just won't upload.

I checked my error log and PM'd you what it is saying...

Any ideas?

Thanks
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on May 29, 2015, 09:29:51 PM
That error code is not related to file downloads

What was the error you got on the page?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 09:33:15 PM
Huh...

The error screen told me to check the error logs in cpanel...so that's what I did! LOL

I'll try it again & see what happens.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 09:49:41 PM
Ok...it got to 100% uploaded then gave me this screen attached...
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on May 29, 2015, 09:58:40 PM
Might be a webserver/apache limit
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 10:00:01 PM
Can you point me in the direction to figure that out?

Thanks
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: vbgamer45 on May 29, 2015, 10:03:59 PM
Look at the httpd.conf file for apache and check for file upload limits.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 10:05:03 PM
I'll see if I can figure out where those are...thanks!
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 29, 2015, 11:03:15 PM
Well...I was unable to find where that is at, I may not have access to it. So while I wait for my host provider to contact me back I was toying around with Filezilla. There doesn't seem to be a way to upload the files directly in to the folder for the "downloads" folder is there? It seems to rename them to something different and doesn't actually show the PDF.

Is there a reason behind that?

Thanks
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 09:04:12 AM
Ok...talked with the host provider, my upload limit is 100MB so there should be no issue.

Any other suggestions?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 12:06:09 PM
It says that it could be incorrect .htaccess directive. Maybe a typo?
What is the exact command you put in the .htaccess?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 12:07:09 PM
I didn't put anything into it.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 12:10:36 PM
In that case, check your downloads directory and see if it's set to chmod 777. It seems your provider is running su-php or mod_ruid.
If it's set at 777 then change it to 755.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 12:12:32 PM
Ok...thank you. I will check that when my son goes down for a nap...but why would I be able to upload other files that are smaller & not the one that is 50.2mb?
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 12:26:49 PM
Quotebut why would I be able to upload other files that are smaller & not the one that is 50.2mb?
That's indeed a bit strange.

You could enter these lines in the .htaccess file, it might help:
php_value upload_max_filesize 100M
php_value post_max_size 100M

Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 12:42:59 PM
Quote from: Black Tiger on May 30, 2015, 12:10:36 PM
In that case, check your downloads directory and see if it's set to chmod 777. It seems your provider is running su-php or mod_ruid.
If it's set at 777 then change it to 755.

Just looking from my phone, I don't see where to change that setting. Could you point me in the right direction? It doesn't seem to be in the configuration settings in SMF's admin area nor in the file manager of my hosting account.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 01:06:36 PM
You said you have Cpanel. It's visible in the most right section of the file manager.
I had some test install present on a cpanel server, so I was able to make a screenshot for you, and I put an arrow where you can see the permissions.

You can also login with FTP. Every FTP client has an option to change the permissions (chmod).
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 01:12:46 PM
Ahhh...ok, I'll try that in a little while when my son goes down for his nap as trying to do things on a phone are a PITA.

Sorry for not knowing, I just switched from GoDaddy to Siteground earlier this month (before I tried this mod) and it's my first experience with cpanel. Much better in my opinion than the crap I had on GoDaddy.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 01:26:58 PM
No problem, glad to be of help. ;)
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 02:08:54 PM
Ok, it was set at 0755...I've changed it to 0777 just for the heck of it & am trying to upload the file again
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 02:23:07 PM
Yep...that didn't work. Trying to upload it now via FTP to a specific folder, then will try the "upload url" option.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 02:54:16 PM
Ok, I just successfully uploaded a file that was 47.06MB...doing a smaller file now at 15.5MB...then going to try attempting the 50.2MB one again.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 03:08:41 PM
Nope...didn't work. Going to try your .htaccess update & give it another go.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 03:11:29 PM
Ok...tried adding the code to my .htaccess file, and it broke my site so I changed it back.

Any other suggestions? I love the layout for this download system, and how it shows the downloads...but I NEED it to work for files up to 100MB
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 03:54:24 PM
Figured out the issue...any file that has simple text or numbers works fine. Any file that has special characters in it such as ( )...fails. Not sure if this is by design or not...but it works just fine with letters & numbers only.

Thanks!
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Black Tiger on May 30, 2015, 05:29:30 PM
That's good to hear, I did not now that either.
It's great you discovered exactly what the problem was. Hope the coder can fix this.
However, I would firstly set the permissions back to 755 anyway.
Title: Re: Download System 2.5 Now for SMF 2.1 Beta 1! Works for SMF 2.0.x and SMF 1.1.x!
Post by: Dragon41673 on May 30, 2015, 05:30:31 PM
Quote from: Black Tiger on May 30, 2015, 05:29:30 PM
That's good to hear, I did not now that either.
It's great you discovered exactly what the problem was. Hope the coder can fix this.
However, I would firstly set the permissions back to 755 anyway.

Yep...already did that when it didn't work.

Thanks for all the assistance! I learned a bit today! lol
Title: Re: Download System
Post by: janath1 on October 27, 2015, 12:03:01 AM
Just installed Download System mod, But I cannot see any option to add a new download. How can I add a new downloadable file?
Title: Re: Download System
Post by: vbgamer45 on October 27, 2015, 12:39:11 AM
Vist the downloads tab. Then add a category. When the category is added you can go inside the category to add a download
Title: Re: Download System
Post by: janath1 on October 27, 2015, 12:50:19 AM
That's the problem. I cannot see any option to add new download file

(http://i58.tinypic.com/sblwlf.png)
Title: Re: Download System
Post by: vbgamer45 on October 27, 2015, 12:51:33 AM
It's a theme issue it should be visible under the Pages area in the center.
Title: Re: Download System
Post by: janath1 on October 27, 2015, 12:54:15 AM
Ah got it! Changed to default theme and now it's showing. You made my day! Thanks
Title: Re: Download System
Post by: vbgamer45 on October 27, 2015, 12:57:23 AM
Glad to help
Title: Re: Download System
Post by: lntit on October 27, 2015, 01:38:38 PM
I am not sure if this has been already mentioned in this thread...
But I just noticed that Russian/Chinese/Japanese charachters and some characters of Czech/Polish/Hungarian are used to be replaced by question marks. Does this mod support no UTF-8?
Title: Re: Download System
Post by: vbgamer45 on October 27, 2015, 01:55:15 PM
It should but you have the tables utf8 though if they are not.
Title: Re: Download System
Post by: PaulKet on November 05, 2015, 09:39:12 AM
I just tried installing this modification on a fresh install of SMF 2.1 Beta 2 and I get this error...

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 25
File: /home/myforum/public_html/Packages/temp/downloadsinstall2.php
Line: 56

How can I fix this?
Title: Re: Download System
Post by: vbgamer45 on November 05, 2015, 10:07:56 AM
Change Type=
To
Engine=

In that file.

Will post an update now as well
Title: Re: Download System
Post by: PaulKet on November 05, 2015, 10:47:29 AM
Thank you for the quick reply, vbgamer45.

I uploaded 2.5a on another fresh install of SMF 2.1 Beta 2 and the first error is gone, now (and before, I wasn't sure if they were related to the first error) I am getting these errors that look like the following in my ACP...

Quote
Paul
Today at 03:38 PM
xxxxx
fd0b1585beae8f18ad40e8cd58904f65
Type of error: Undefined
8: Undefined index: downloads_txt_import
http://myforum.com/index.php?action=admin;area=logs;sa=errorlog;desc
File: /home/myforum/public_html/Sources/DownloadsHooks.php
Line: 77
   
Paul
Today at 03:38 PM
xxxxx
fd0b1585beae8f18ad40e8cd58904f65
Type of error: Undefined
8: Undefined index: downloads_text_catpermlist2
http://myforum.com/index.php?action=admin;area=logs;sa=errorlog;desc
File: /home/myforum/public_html/Sources/DownloadsHooks.php
Line: 76

There are currently 47 similar errors and they keep adding on.
Title: Re: Download System
Post by: vbgamer45 on November 05, 2015, 12:19:07 PM
Hmm. Just the same ones? Over and over again?
Title: Re: Download System
Post by: PaulKet on November 05, 2015, 01:04:19 PM
Quote from: vbgamer45 on November 05, 2015, 12:19:07 PM
Hmm. Just the same ones? Over and over again?

Yes, they all look the same. I have 101 of them now. They are on different lines, like 65, 72, 74, 107, etc. and the errors with those line numbers are repeated.
Title: Re: Download System
Post by: mildread on November 05, 2015, 02:36:48 PM
Looks good!! Thanks
Title: Re: Download System
Post by: PaulKet on November 06, 2015, 07:28:00 AM
Quote from: vbgamer45 on November 05, 2015, 12:19:07 PM
Hmm. Just the same ones? Over and over again?

I don't know if it helps with figuring out the errors but there is nothing in the menu that says "Downloads", the link is there but there isn't any text, if you place the cursor over the area it changes to a hand, the background also changes and if you click in the area you are taken to the downloads page.
Title: Re: Download System
Post by: Kindred on November 06, 2015, 07:40:52 AM
it would seem that the mod did not completely install...   
Title: Re: Download System
Post by: vbgamer45 on November 06, 2015, 12:17:42 PM
Make sure the following is in your themes/default/modifications.*.php files


// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';

$txt['downloads_form_approvedownloads'] = 'Approve Downloads';
$txt['downloads_form_reportdownloads'] = 'Reported Downloads';
$txt['downloads_form_approvecomments'] = 'Approve Comments';
$txt['downloads_filespace'] = 'File Space Manager';
$txt['downloads_text_catpermlist2'] = 'Category Permissions';
$txt['downloads_txt_import'] = 'Import';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Allows the user to view the Downloads';
$txt['cannot_downloads_view'] = 'You are not allowed to view the Downloads';

$txt['permissionname_downloads_add'] = 'Add Download';
$txt['permissionhelp_downloads_add'] = 'Allows the user to add a download.';
$txt['cannot_downloads_add'] = 'You are not allowed to add a download.';

$txt['permissionname_downloads_edit'] = 'Edit own Download';
$txt['permissionhelp_downloads_edit'] = 'Allows the user to edit their own download.';
$txt['cannot_downloads_edit'] = 'You are not allowed to edit that download';

$txt['permissionname_downloads_delete'] = 'Delete own Download';
$txt['permissionhelp_downloads_delete'] = 'Allows the user to delete their own download.';
$txt['cannot_downloads_delete'] = 'You are not allowed to delete that download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Allows the user to rate a file.';
$txt['cannot_downloads_ratefile'] = 'You are not allowed to rate that file.';

$txt['permissionname_downloads_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_downloads_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_downloads_editcomment'] = 'You are not allowed to edit that comment.';

$txt['permissionname_downloads_comment'] = 'Leave Comments';
$txt['permissionhelp_downloads_comment'] = 'Allows the user to leave comments on a download.';
$txt['cannot_downloads_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_downloads_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_downloads_report'] = 'Allows the user to report downloads and comments.';
$txt['cannot_downloads_report'] = 'You are not allowed to report content.';

$txt['permissionname_downloads_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_downloads_autocomment'] = 'Comments do not need to wait for approval.';

$txt['permissionname_downloads_autoapprove'] = 'Auto Approve Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads do not need to wait for approval.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Downloads, Approve Downloads';
$txt['cannot_downloads_manage'] = 'You are not allowed to manage the downloads.';

// END Download System Text Strings
Title: Re: Download System
Post by: PaulKet on November 06, 2015, 03:54:04 PM
Quote from: vbgamer45 on November 06, 2015, 12:17:42 PM
Make sure the following is in your themes/default/modifications.*.php files

There are no modifications.*.php files in my themes/default directory.
Title: Re: Download System
Post by: vbgamer45 on November 06, 2015, 04:20:21 PM
oops themes/default/languages folder
Title: Re: Download System
Post by: PaulKet on November 06, 2015, 04:50:00 PM
Quote from: vbgamer45 on November 06, 2015, 04:20:21 PM
oops themes/default/languages folder

In my Modifications.english.php file all I have is:


<?php
// Version: 2.1 Beta 2; Modifications

?>



Edit: I added the code just above the ?> in the Modifications.english.php file and it seems to have stopped the errors. Thank you very much.
Title: Re: Download System
Post by: vbgamer45 on November 06, 2015, 05:04:40 PM
Yes that would do it.
Title: Re: Download System
Post by: PaulKet on November 14, 2015, 05:57:25 PM
There seems to be a missing image which should appear next to the word "Downloads" in the main menu (SMF 2.1 beta 2). When I inspect the element with Firefox all I'm seeing is:


<a class="active" href="http://myforum.com/index.php?action=downloads">
<img src="http://myforum.com/Themes/default/images/" alt="">Downloads</a>


How can I fix this so an image appears?
Title: Re: Download System
Post by: vbgamer45 on November 14, 2015, 05:58:56 PM
Haven't tested it with SMF 2.1 beta 2 yet.
Is that the default theme or a custom theme?
Title: Re: Download System
Post by: PaulKet on November 14, 2015, 06:15:07 PM
Quote from: vbgamer45 on November 14, 2015, 05:58:56 PM
Is that the default theme or a custom theme?

It's the default theme.

If I type in a image file name while I'm inspecting the element (after Themes/default/images/) the image will appear in the menu next to the word "Downloads".
Title: Re: Download System
Post by: wintstar on December 27, 2015, 02:40:42 PM
Incorrect permissions from other modification "smfclassifieds_manage"

DownloadSystem Version 2.5a

Downloads.php and Downloads2.php
Code (php) Select
function Downloads_CustomDelete()
{
    global $db_prefix;

    // Check Permission
    isAllowedTo('smfclassifieds_manage');
Title: Re: Download System
Post by: vbgamer45 on December 27, 2015, 02:41:29 PM
Thanks will fix.
Title: Re: Download System
Post by: SMFHacks.com Team on December 27, 2015, 02:46:27 PM
Update
2.5.1
!Fixed wrong permission for custom field delete
Title: Re: Download System
Post by: Black Tiger on December 27, 2015, 05:26:36 PM
What is the best way to upgrade from Downloads System 2.0 to 2.5.1? Is that like uninstalling, uploading the new files and installing again?
Do I need to delete any of the old files?
Title: Re: Download System
Post by: vbgamer45 on December 27, 2015, 08:21:07 PM
If you can yes otherwise install over old version
Title: Re: Download System
Post by: Black Tiger on December 27, 2015, 08:28:08 PM
I can uninstall and then overwrite. As long as I don't loose the downloads and stats it's oke by me.:)
So it should work fine then this way. Thank you!
Title: Re: Download System
Post by: wintstar on December 28, 2015, 11:55:44 AM
I want to create a responsive theme.  @vbgamer45, could you please tell me exactly for what is this function?
$g_manage

I want to create a Theme without table tag.
Title: Re: Download System
Post by: vbgamer45 on December 28, 2015, 12:21:59 PM
Used for permission control
Title: Re: Download System
Post by: wintstar on December 28, 2015, 12:31:45 PM
Thanks, but how can I implement this as a div tag?

<td colspan="',($g_manage ? '6' : '4'), '">
Title: Re: Download System
Post by: Illori on December 28, 2015, 12:55:14 PM
if $g_manage then 6 if not 4 columns it is short hand for an if statement.
Title: Re: Download System
Post by: wintstar on December 28, 2015, 01:14:54 PM
Is that correct?

Code (php) Select
                            if (($subcats_linktree != '') && ($g_manage != '6'))
                            {
                            echo '
                                <dl>
                                    <dd>&nbsp;<span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['downloads_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span></dd>
                                </dl>';
                            }
                            elseif (($subcats_linktree != '') && ($g_manage != '4'))
                            {
                            echo '
                                <dl>
                                    <dd>&nbsp;<span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['downloads_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span></dd>
                                </dl>';
                            }
Title: Re: Download System
Post by: vbgamer45 on December 28, 2015, 02:20:15 PM
Not sure in your case the code for the display looks exatly the same so no point in use the  && ($g_manage != '4')) and && ($g_manage != '6'))
Title: Re: Download System
Post by: wintstar on December 28, 2015, 02:28:59 PM
Was my first thought was that I could leave it out for the view.  Was not sure. It's all just how many rows are displayed, depending on the permission.
Title: Re: Download System
Post by: Kindred on December 28, 2015, 02:33:59 PM
the logic in your statetement doesn't make sense, wintstar....

it's not supposed to be "if $g_manage = 4"
it is
IF $g_manage (= anything other than 0) THEN 4 columns ELSE 6 columns
Title: Re: Download System
Post by: wintstar on December 28, 2015, 02:38:57 PM
Yes, now I understand it. But this does not make sense for the div tag. Then you could leave out this function, or not?
Title: Re: Download System
Post by: Kindred on December 28, 2015, 02:41:59 PM
well, look at the columns which are added if $g_manage is populated....   those columns would have the same sort of conditional using DIVs - you just don't have to specify the colspan in the header.
Title: Re: Download System
Post by: wintstar on December 28, 2015, 02:59:53 PM
Then I leave out this function. Thank you both  :)  A happy new year, I wish nor.
Title: Re: Download System
Post by: wintstar on December 29, 2015, 02:47:13 AM
For installation to SMF 2.1 Beta* missing language into Modifikations.english*.php and Who.english*.php

open package-info.xml and find
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1">
        <redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
        <readme>ReadMe.txt</readme>


replace with
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1">
        <redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
        <readme>ReadMe.txt</readme>
        <modification type="file" reverse="true">downloadsbeta21.xml</modification>



Title: Re: Download System
Post by: SMFHacks.com Team on December 29, 2015, 10:49:41 AM
Quote from: wintstar on December 29, 2015, 02:47:13 AM
For installation to SMF 2.1 Beta* missing language into Modifikations.english*.php and Who.english*.php

open package-info.xml and find
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1">
        <redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
        <readme>ReadMe.txt</readme>


replace with
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1">
        <redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
        <readme>ReadMe.txt</readme>
        <modification type="file" reverse="true">downloadsbeta21.xml</modification>




Fixed thanks!
Title: Re: Download System
Post by: @rjen on January 02, 2016, 10:20:16 AM
Installed the mod succesfully in my 2.1 test site. I am just missing a menu icon. The file drive.png is copied into the directory defaul /images/admin but is not showing in the menu...]

Could it be in the wrong folder?
 
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 11:11:07 AM
I forget if that issue is fixed with SMF in the latest beta or not. Could be in the wrong folder.
When I first wrote for beta 1 custom icons were not supported in the menu in SMF.
Title: Re: Download System
Post by: @rjen on January 02, 2016, 11:50:50 AM
I tried to fix it by add extra  code in the index.css file. So far no luck
Title: Re: Download System
Post by: MESWEB on January 02, 2016, 01:32:49 PM
Download Template is not responsive for SMF 2.0.X. Can You fix CSS?
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 01:50:19 PM
Can't I am not good with css in that sense.
Title: Re: Download System
Post by: @rjen on January 02, 2016, 01:55:59 PM
That is too bad. In 2.1 the entire theme is responsive. Now only the downloads pages are not...
Title: Re: Download System
Post by: wintstar on January 02, 2016, 01:56:43 PM
Take a look at the differences between the original SMF Default Theme - Curve2  and this mod     Responsive Curve (http://custom.simplemachines.org/mods/index.php?mod=4040). Or check out the changes to the Theme between 2.0.11 and 2.1*.
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 02:06:38 PM
If someone can do it for me that would be great. But I have zero time for SMF mods adding new stuff other than replying and maintaining what i have at this point.
Title: Re: Download System
Post by: wintstar on January 02, 2016, 02:20:01 PM
Quote from: @rjen on January 02, 2016, 10:20:16 AM
Installed the mod succesfully in my 2.1 test site. I am just missing a menu icon. The file drive.png is copied into the directory defaul /images/admin but is not showing in the menu...]

Could it be in the wrong folder?


Change just only for SMF 2.1*

Add the icon drive.png to root/Themes/default/images/

open root/Sources/DownloadsHooks.php
find
Code (php) Select
    downloads_array_insert($menu_buttons, $button_insert,
             array(
                    'downloads' => array(
                    'title' => $txt['downloads_menu'],
                    'href' => $scripturl . '?action=downloads',
                    'show' => allowedTo('downloads_view'),
                    'icon' => '',
           
                   
                )   
            )
        ,$button_pos);
       



}

replace with
Code (php) Select
    downloads_array_insert($menu_buttons, $button_insert,
            array(
                    'downloads' => array(
                    'title' => $txt['downloads_menu'],
                    'href' => $scripturl . '?action=downloads',
                    'show' => allowedTo('downloads_view'),
                )
            )
        ,$button_pos);
}


open root root/Themes/default/css/index.css
Code (css) Select
Insert at the end
.generic_icons.downloads {
    background: url(../images/drive.png) no-repeat;
}


@vbgamer45, please wait with the new package. I still found something.
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 02:41:16 PM
there should be a way without requiring a css file change if not the bug is still in Smf
Title: Re: Download System
Post by: Illori on January 02, 2016, 02:43:32 PM
Quote from: vbgamer45 on January 02, 2016, 02:41:16 PM
there should be a way without requiring a css file change if not the bug is still in Smf

that is the way SMF adds the icons, so why is it a bug? that is the way it is coded to work.
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 02:48:35 PM
it shouldnt require file edits that is bad form if you are saying hooks are the way to go.  i mentioned it last year and they said it was a bug fixed for next beta
Title: Re: Download System
Post by: wintstar on January 02, 2016, 02:49:25 PM
   That's because generic_icons.png and

index.css
Code (css) Select
/* Some lovely generic icons.
------------------------------------------------- */
.generic_icons {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url(../images/generic_icons.png) no-repeat -5px -5px;
    vertical-align: middle;
}


Therefore, it will go not without any changes in the index.css. Or with its own download.css
Code (php) Select

       loadtemplate('Downloads2.1','downloads');
Title: Re: Download System
Post by: wintstar on January 02, 2016, 02:57:29 PM
So that it is not necessary to insert the language strings in the Modifications.english.php, it requires two changes:

open root/Sources/DownloadsHooks.php
find
Code (php) Select
function downloads_load_permissions(&$permissionGroups, &$permissionList, &$leftPermissionGroups, &$hiddenPermissions, &$relabelPermissions)
{
    global $context;

add after
Code (php) Select
    // Load the language files
    if (loadlanguage('Downloads') == false)
        loadLanguage('Downloads','english');


find
Code (php) Select
function downloads_admin_areas(&$admin_areas)
{
global $txt, $modSettings, $scripturl;

add after
Code (php) Select
    // Load the language files
    if (loadlanguage('Downloads') == false)
        loadLanguage('Downloads','english');


That would no longer be necessary:
<modification type="file">downloadsbeta21.xml</modification>[/code]

Is missing is a solution for
Code (xml) Select
<file name="$languagedir/Who.english.php">
I will find even
Title: Re: Download System
Post by: wintstar on January 02, 2016, 04:17:38 PM
That the Soloution

Upper Post is lapsed

So that it is not necessary to insert the language strings in the Modifications.english.php, it requires two changes:

open root/Sources/DownloadsHooks.php

That would no longer be necessary:
Code (php) Select
<modification type="file">downloadsbeta21.xml</modification>

Code (php) Select
// Hook Add Action
function downloads_actions(&$actionArray)
{
global $sourcedir, $modSettings, $txt;

add after
Code (php) Select
    // Load the language files
    if (loadlanguage('Downloads') == false)
        loadLanguage('Downloads','english');


open root/Themes/default/languages/Downloads.english.php
find
Code (php) Select
Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################

Downloads English Text Strings
*/

add after
Code (php) Select
global $scripturl;

add at the End of the file
Code (php) Select
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';

$txt['downloads_form_approvedownloads'] = 'Approve Downloads';
$txt['downloads_form_reportdownloads'] = 'Reported Downloads';
$txt['downloads_form_approvecomments'] = 'Approve Comments';
$txt['downloads_filespace'] = 'File Space Manager';
$txt['downloads_text_catpermlist2'] = 'Category Permissions';
$txt['downloads_txt_import'] = 'Import';

// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';

$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Allows the user to view the Downloads';
$txt['cannot_downloads_view'] = 'You are not allowed to view the Downloads';

$txt['permissionname_downloads_add'] = 'Add Download';
$txt['permissionhelp_downloads_add'] = 'Allows the user to add a download.';
$txt['cannot_downloads_add'] = 'You are not allowed to add a download.';

$txt['permissionname_downloads_edit'] = 'Edit own Download';
$txt['permissionhelp_downloads_edit'] = 'Allows the user to edit their own download.';
$txt['cannot_downloads_edit'] = 'You are not allowed to edit that download';

$txt['permissionname_downloads_delete'] = 'Delete own Download';
$txt['permissionhelp_downloads_delete'] = 'Allows the user to delete their own download.';
$txt['cannot_downloads_delete'] = 'You are not allowed to delete that download.';

$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Allows the user to rate a file.';
$txt['cannot_downloads_ratefile'] = 'You are not allowed to rate that file.';

$txt['permissionname_downloads_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_downloads_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_downloads_editcomment'] = 'You are not allowed to edit that comment.';

$txt['permissionname_downloads_comment'] = 'Leave Comments';
$txt['permissionhelp_downloads_comment'] = 'Allows the user to leave comments on a download.';
$txt['cannot_downloads_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_downloads_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_downloads_report'] = 'Allows the user to report downloads and comments.';
$txt['cannot_downloads_report'] = 'You are not allowed to report content.';

$txt['permissionname_downloads_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_downloads_autocomment'] = 'Comments do not need to wait for approval.';

$txt['permissionname_downloads_autoapprove'] = 'Auto Approve Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads do not need to wait for approval.';


$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Downloads, Approve Downloads';
$txt['cannot_downloads_manage'] = 'You are not allowed to manage the downloads.';

// Begin Download System
$txt['whoall_downloads'] = 'In the <a href="' . $scripturl . '?action=downloads">Downloads</a>';
// END Download System Strings



Bug fix for
httpxxxx:xxxxx//localhost/smf21/index.php?

File: C:/xampp/htdocs/smf21/Sources/DownloadsHooks.php
Line: 100 
Type of error: Undefined
  8: Undefined index: downloads_menu

find
Code (php) Select
    downloads_array_insert($menu_buttons, $button_insert,
            array(
                    'downloads' => array(
                    'title' => $txt['downloads_menu'],

replace with
Code (php) Select
    downloads_array_insert($menu_buttons, $button_insert,
            array(
                    'downloads' => array(
                    'title' => $txt['downloads'],


Edit 2.1.2016  22:14
Title: Re: Download System
Post by: SMFHacks.com Team on January 02, 2016, 04:49:51 PM
Update 2.6
!Fixed icon for SMF 2.1 Beta 2
!Fixed some things for SMF 2.1 Beta 2
Title: Re: Download System
Post by: vbgamer45 on January 02, 2016, 04:50:23 PM
Found the workaround for no css images.
Title: Re: Download System
Post by: wintstar on January 03, 2016, 04:11:39 AM
In the SMF 2.1* Administration Center, on the Overview page, the icon drive.png does not appear.
Title: Re: Download System
Post by: @rjen on January 03, 2016, 04:27:32 AM
Maybe so, but it does in the menu option, and that's where I need it most  ;)

Thanks for the fix...
Title: Re: Download System
Post by: Black Tiger on February 15, 2016, 08:22:28 PM
I'm just wondering. Is there a possibility to set it up that guest are allowed to view the downloads, but only registered members can really download the files?
Because now it says "view downloads" in the permission system, but that is confusing because that is not quite correct.
The "View" permission is not only the permission to view but also the permission to download.
So it would be nice if those were different permissions or it could be made that way some how.
Title: Re: Download System
Post by: vbgamer45 on February 15, 2016, 08:35:39 PM
I have that option but in this version in the pro version of the mod.
Title: Re: Download System
Post by: Black Tiger on February 15, 2016, 08:44:47 PM
Ah that's a pity, becaus it's too expensive for my little usage of it. In that case guest access will have views disabled.
They can see the top 10 in the portal so they can see what's new.

Thank you for the quick response.
Title: Re: Download System
Post by: Dragon41673 on April 25, 2016, 09:49:15 PM
Is there a way to FTP a file larger than 128mb so the download system can show it? Currently I'm limited by the PHP file limit size.
Title: Re: Download System
Post by: vbgamer45 on April 25, 2016, 10:27:08 PM
There is no option in the lite version.

You could upload a small file instead then replace that filename in the downloads directory with the large file
Title: Re: Download System
Post by: Dragon41673 on April 25, 2016, 10:53:41 PM
I think I am following what you're saying, if so...I'll give it a shot in a few days when I have time to toy with it.

Thanks!
Title: Re: Download System
Post by: Dragon41673 on May 10, 2016, 04:28:16 PM
VB...sorry, haven't had time to give this a try...my newborn twins decided to show up on the 28th rather than wait till their due date! LOL

Soon as things normalize...I'll give this a shot. Thank you!
Title: Re: Download System
Post by: coolfx35 on October 24, 2016, 06:27:10 PM
How do we enable Pretty-URL on this module?

Thanks.
Title: Re: Download System
Post by: vbgamer45 on October 24, 2016, 06:44:37 PM
Currently not an option.
Title: Re: Download System
Post by: wintstar on November 20, 2016, 03:32:40 AM
Error in package-info.xml

Beta 2""

find
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2"">
replace with
Code (xml) Select
    <install for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2">

find
Code (xml) Select
    <upgrade for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2"">
replace with
Code (xml) Select
    <upgrade for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2">
Title: Re: Download System
Post by: SMFHacks.com Team on November 20, 2016, 10:53:36 AM
Thanks fixed
Title: Re: Download System
Post by: MaryLouW on January 12, 2017, 03:17:09 AM
I installed the Download System back in 2014 and we used it quite a lot. However, over time, our board has changed considerably and we opted to remove it since no one accesses it anymore.

I attempted to do just that but I got an error message.  I didn't know what to do so I did not complete the job.  I am attaching the error messages I got to see if you think it's safe for me to proceed.
Title: Re: Download System
Post by: Bob Perry of Web Presence Consulting on January 12, 2017, 04:27:42 AM
Quote from: MaryLouW on January 12, 2017, 03:17:09 AM
I installed the Download System back in 2014 and we used it quite a lot. However, over time, our board has changed considerably and we opted to remove it since no one accesses it anymore.

I attempted to do just that but I got an error message.  I didn't know what to do so I did not complete the job.  I am attaching the error messages I got to see if you think it's safe for me to proceed.

Yes, you can proceed, but you may get some errors at first, you'll need to verify that the subs.php and managepermissions.php file contain no references to the download module, the pretest errors in red will need to be done manually, it won't hurt a thing to skip the manual edit of the language file, but to be consistent you should do that too because if you decided to re-install the mod it will write that code again and duplicate itself
Title: Re: Download System
Post by: Kindred on January 12, 2017, 07:26:35 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation

the same holds true for uninstallation
Title: Re: Download System
Post by: MaryLouW on January 12, 2017, 02:53:07 PM
Hmmmm.....   when it comes to manual editing, that though scares me.  Not sure I am that brave.  Maybe I'll just leave it installed.  Just because it's there doesn't mean we have to use it.  Thank you both for your responses.  I will think about the edits but knowing me, that's as far as it will go - the thinking stage.
Title: Re: Download System
Post by: landyvlad on January 21, 2017, 12:24:01 AM
HI I'm a new noob at all this so please forgive dumbarse questions.

This mod looks great with lots of functionality but seems overly complex for what I want - simply a button in the top header saying "downloads"or "files"which then gives a list of options which people can click on to download. I don;t need stats, tracing, lockdowns by member group, any of that.

Is there another simple modout there that meets my basic needs?

Thanks.
Title: Re: Download System
Post by: vbgamer45 on January 21, 2017, 02:08:07 AM
Not really.
You can use a forum topic I guess.

If you want to rename downloads menu option it is found themes/default/languages/modifications.english.php if you install this mod
Title: Re: Download System
Post by: landyvlad on January 21, 2017, 04:41:03 AM
Thank you. I think that the functionality I want is in TinyPortal so I'll have a play with that. Cheers.
Title: Re: Download System
Post by: landyvlad on January 23, 2017, 04:44:22 AM
OK I installed the (free) SMF Hacks Download system.
Install went OK but when I press the IMPORT TINYPORTAL DOWNLOADS

I got:

QuoteUnknown column 'authorid' in 'field list'
File: /home/gsxowner/public_html/forum/Sources/Downloads2.php
Line: 5621

Can anyone please help? I want to get this going ASAP.
Title: Re: Download System
Post by: vbgamer45 on January 23, 2017, 08:47:38 AM
Are you using the latest TinyPortal?
Title: Re: Download System
Post by: Bob Perry of Web Presence Consulting on January 23, 2017, 10:13:16 AM
Quote from: MaryLouW on January 12, 2017, 02:53:07 PM
Hmmmm.....   when it comes to manual editing, that though scares me.  Not sure I am that brave.  Maybe I'll just leave it installed.  Just because it's there doesn't mean we have to use it.  Thank you both for your responses.  I will think about the edits but knowing me, that's as far as it will go - the thinking stage.

I understand your concern, but if you are going to continue using and managing SMF and third party modules, I am pretty certain you will run into this situation more often than is comfortable for you, the whole point of the SMF© platform being Open Source is that it allows for customization by anyone who has some knowledge about how the system is structured and knowledge of PHP coding or any combination of those skills and related file structures/languages that SMF uses... some coders have more experience than others, and even for the experienced coders, the core system changes sometimes throws the module designer's structures slightly out of whack to a point where it will throw up some errors in the package manager pre-test... you might say that the SMF platform is a kind of teaching platform, its very nature takes you out of your comfort zone when glitches occur, you either take that and learn something new, correcting the problem yourself, contact the module author and have them fix it, or do without that particular functionality... not trying to change your mind, just saying that the very nature of SMF takes many site owners out of their comfort zone at times, and there are options available to the owner to keep the system running smoothly, even newbies.
Title: Re: Download System
Post by: landyvlad on January 23, 2017, 07:59:00 PM
Yep I understand that Bob.  And occassional issues as I go along I can deal with but I'm in the process of setting up a site and for various reasons its pretty urgent I get it up and running properly as soon as I can. Thus my anxiety.

vbgamer has been VERY helpful to me on a few questions I had re his mods. The biggest  issue in getting anything resolved is simply the time difference between Australia and wherever he is.   :)
Title: Re: Download System
Post by: vbgamer45 on January 23, 2017, 10:00:49 PM
Still working on it have to test that version of tinyportal then the conversion process to make sure it handles it correctly.
Title: Re: Download System
Post by: SMFHacks.com Team on January 23, 2017, 10:37:30 PM
New update!
2.6.1
!Fixed tiny portal conversion for SMF 2.0 uses author_id if found
Title: Re: Download System
Post by: landyvlad on January 24, 2017, 12:22:46 AM
Champion, thanks heaps !
Title: Re: Download System
Post by: vbgamer45 on January 24, 2017, 12:52:51 AM
Glad to help
Title: Re: Download System
Post by: landyvlad on January 24, 2017, 01:33:55 AM
Went to uninstall existing version and got errors as attached.

I have the following mods installed currently.

Responsive Curve 1.0.0
Social Login 3.5
Yet Another YouTube BBCode Tag 4.1
SMF Gallery Pro 7.2.1a
TinyPortal 1.2
and of course,
Downloads system 2.6a
Title: Re: Download System
Post by: vbgamer45 on January 24, 2017, 07:13:11 AM
Mods normally have to  be uninstalled in order they were last installed.

You can install the new download system on top of the old one.
Title: Re: Download System
Post by: landyvlad on January 24, 2017, 07:40:02 AM
I probably should have kept track then.  :D  What if someone had 20 mods (for example) and wanted to uninstall the first mod.  They'd have to rebuild the whole forum ????  :-\

I'll go try the upgrade. Cheers.
Title: Re: Download System
Post by: Illori on January 24, 2017, 07:52:17 AM
http://custom.simplemachines.org/mods/index.php?mod=2323
Title: Re: Download System
Post by: Kindred on January 24, 2017, 09:03:39 AM
or you can manually apply the uninstall actions, the same way you might have to manually apply the installation actions
Title: Re: Download System
Post by: landyvlad on January 25, 2017, 12:27:19 AM
Illori - genius.

Thanks all much appreciated.
Title: Re: Download System
Post by: SMFHacks.com Team on January 25, 2017, 11:48:57 PM
Update!

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
Title: Re: Download System
Post by: GL700Wing on February 20, 2017, 11:55:47 PM
I've installed I have a category with 6 items in it and after clicking on any item title link I get detailed information for that item - so far so good!

The screen with the detailed information also includes links for the 'Previous Download' and 'Next Download' items.  However, clicking on these links does the opposite to what I expect.  If I am viewing the 3rd item and click on 'Previous Download' it takes me to the 4th item and if I click on 'Next Download' it takes me to the 2nd item.

I've been able to get the Previous Download/Next Download links working as I expect by making the following changes in ./Sources/Downloads2.php:

Find:
    // Get previous download
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        ID_FILE
    FROM {db_prefix}down_file
    WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id  LIMIT 1");


Replace with:
    // Get previous download
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        ID_FILE
    FROM {db_prefix}down_file
    WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id
    ORDER BY ID_FILE DESC LIMIT 1");



Find:
    // Get next download
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        ID_FILE
    FROM {db_prefix}down_file
    WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id  LIMIT 1");


Replace with:
    // Get next download
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        ID_FILE
    FROM {db_prefix}down_file
    WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id
    ORDER BY ID_FILE DESC LIMIT 1");





PS:  I first started using this Downloads System mod in late 2012 and discovered this issue back then - I've fixed it in each release I've subsequently installed but never got around to reporting here until now.
Title: Re: Download System
Post by: SMFHacks.com Team on February 21, 2017, 05:08:56 PM
Went a similar route just made a minor change to the query

3.0.1
!Fixed next and previous links in the download system.
Title: Re: Download System
Post by: wtfreak on February 23, 2017, 11:11:21 AM
Please advise.  I am getting an error when I try to upload a file.  I have attached a screen shot of the error.  I can upload very small files but I need to upload larger file sizes I.E. 75 to 80 megs.  Any help would be great.
Title: Re: Download System
Post by: vbgamer45 on February 23, 2017, 11:20:27 AM
Read this topic
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: Download System
Post by: wtfreak on February 23, 2017, 12:34:32 PM
vbgamer45 thank you for your quick response and I did that and am still getting the same error about the title.  I am putting a title on the file.  I just cant figure out how to get this to work.  Could you possibly join me on my TS and help me out?


Edit:  vbgamer45 again thank you for your quick response but I have finally figured it out. 
Title: Re: Download System
Post by: vbgamer45 on February 23, 2017, 01:05:14 PM
Glad you have it figured out!
Title: Re: Download System
Post by: landyvlad on March 05, 2017, 11:41:56 PM
OK well I've had this mod running on the forum since my forum started (not long ago) but credit where it's due this is an EXCELLENT mod.  I don't use half the features it is capable of, but as a downloads management system, it is easy to use / manage from both an admin and users point of view.

I don't claim to have tried all the options out there, but in my view its better than the two 'built in' downloads setups of several portals I've tried.  That's just my opinion, nothing objective I can point to.  And perhaps it's to be expected given it's a dedicated downloads mod.

Anyway this comes highly recommended from me !!!!

Well done SMFhacks !
Title: Re: Download System
Post by: vbgamer45 on March 05, 2017, 11:46:04 PM
Thanks landyvlad I try to think of all options for the users.
Title: Re: Download System
Post by: SMFHacks.com Team on June 07, 2017, 03:34:38 PM
Update
!Bug fix for SMF 2.1 Beta 3 so it installs correctly
Title: Re: Download System
Post by: shawnb61 on June 25, 2017, 01:06:57 PM
Installed & operates perfectly on SMF 2.1 Beta 3+ (current Github)! 

Honestly guys, between SAVE & Download System, my forum is pretty much 100% in SMF2.1...  Well done!

I do have one error in my error log though.  This error showed up once immediately post installation:
    8: Undefined index: downloads_menu
    http://localhost/vgf21/index.php?action=admin;area=packages;sa=install2;package=1498409867.zip;pid=0
    File: {yada yada yada}/VGF21/Sources/DownloadsHooks.php  Line: 111

   
I haven't noticed any impact on operation, seems to work perfectly. 

All of our downloads, ratings, etc., everything from 2.0 is available.  SEAMLESS...
Title: Re: Download System
Post by: vbgamer45 on June 25, 2017, 01:34:54 PM
Does it happen all the time or just one time?
Title: Re: Download System
Post by: shawnb61 on June 25, 2017, 02:05:26 PM
Only the once.   

Looking at that URL, I think it was logged during the install process. 
Title: Re: Download System
Post by: SMFHacks.com Team on July 12, 2017, 11:42:18 PM
Update:
3.0.2
!Fixed some undefined variables in SMF 2.1 Beta 3 profile icons for im services/karma on comment view.
Title: Re: Download System
Post by: shawnb61 on July 30, 2017, 01:33:23 AM
Minor nit, but you get error log entries if a user presses the ratings button without selecting a rating. 

They get a friendly warning.  No need to log an entry in the error log as well. 

Error message details:
8: Undefined index: rating
/yada/yada/yada/smf/Sources/Downloads2.php    Line: 3536
Title: Re: Download System
Post by: landyvlad on December 18, 2017, 07:36:38 AM
What is the update process please?  Is it just upload and install the new one, or do I uninstall./delete the old one first?
(It'd be cool if this info was included in the description of the mod, for easy reference)

Thanks
Title: Re: Download System
Post by: vbgamer45 on December 18, 2017, 09:08:38 AM
Either way works. If it is a major update I state what to do.
Title: Re: Download System
Post by: landyvlad on January 16, 2018, 11:28:03 PM
Thanks - sorry for the similar questions in numerous threads :)
Title: Re: Download System
Post by: vbgamer45 on January 16, 2018, 11:58:26 PM
No problem glad you have it figured out.
Title: Re: Download System
Post by: landyvlad on January 17, 2018, 05:35:14 AM
Umm, struck some pretty major error flags in the uninstall test.
Trying to uninstall ver 3.0 to update to 3.0.2

I'm currently using SMF2.0.13

This is the result I get:

QuoteType   Action   Description
*   1.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed
   1.   Replace   ./Themes/default/languages/Modifications.english.php   Test failed
*   2.   Execute Modification   ./Themes/default/languages/Who.english.php   Test successful
*   3.   Execute Modification   ./Themes/default/languages/Modifications.english-utf8.php   Test failed
   1.   Replace   ./Themes/default/languages/Modifications.english-utf8.php   Test failed
*   4.   Execute Modification   ./index.php   Test failed
   1.   Replace   ./index.php   Test failed
*   5.   Execute Modification   ./Sources/Admin.php   Test failed
   1.   Replace   ./Sources/Admin.php   Test failed
*   6.   Execute Modification   ./Sources/Subs.php   Test failed
   1.   Replace   ./Sources/Subs.php   Test failed
   2.   Replace   ./Sources/Subs.php   Test failed
*   7.   Execute Modification   ./Sources/ManagePermissions.php   Test failed
   1.   Replace   ./Sources/ManagePermissions.php   Test failed
   2.   Replace   ./Sources/ManagePermissions.php   Test failed
8.   Delete File   ./Sources/Downloads2.php   
9.   Delete File   ./Themes/default/Downloads2.template.php   
10.   Delete File   ./Themes/default/languages/Downloads.english.php   
11.   Delete File   ./Themes/default/languages/Downloads.english-utf8.php   
12.   Execute Code   DownloadUnInstall.php

That's some pretty major 'issues' right there !  :o

Please help me !  :)

Title: Re: Download System
Post by: vbgamer45 on January 17, 2018, 11:04:34 AM
Just install the new version on top
Title: Re: Download System
Post by: landyvlad on January 17, 2018, 07:12:26 PM
Quote from: vbgamer45 on January 17, 2018, 11:04:34 AM
Just install the new version on top

So don't uninstall, install new version, and there should be no errors.
Assuming that works, do I then 'uninstall' the old one, or just 'delete' it from the package manager ?(but not files of course)  Thanks

Title: Re: Download System
Post by: vbgamer45 on January 17, 2018, 07:17:47 PM
that's it. don't delete or uninstall anything
Title: Re: Download System
Post by: locutusweb on May 16, 2018, 10:38:57 AM
Hi,

I installed the download system but when I want to  add a download it says: "You need to create a category first before you upload a download." Where do I create that category? I have this on smf 2.0.11 and 2.0.15 at different servers.

TIA
Title: Re: Download System
Post by: vbgamer45 on May 16, 2018, 11:04:52 AM
Click on downloads in the menu then there should be link on that page to add a category.
Title: Re: Download System
Post by: locutusweb on May 16, 2018, 11:10:36 AM
Hmm, I removed manually the memberlist from the menu and I added "index.php?action=downloads" in the menu. Could you provide me the link for the category?
Title: Re: Download System
Post by: vbgamer45 on May 16, 2018, 11:12:09 AM
action=downloads;sa=addcat
Title: Re: Download System
Post by: locutusweb on May 17, 2018, 10:45:23 AM
Quote from: vbgamer45 on May 16, 2018, 11:12:09 AM
action=downloads;sa=addcat
Thanks; that worked!
Title: Re: Download System
Post by: wintstar on May 18, 2018, 12:45:19 PM
Error at install of 2.1.Beta4 newest Pull Request
Version Information:
Forum Version: SMF 2.1 Beta 4
Aktuelle SMF Version: SMF 2.1 Beta 3
GD Version: bundled (2.1.0 compatible)
MySQLi System: MySQL
MySQLi Version: 5.6.39-log
PHP: 7.1.17
Server Version: Apache/2.4.33 (Unix)

.p.commenttotal' isn't in GROUP BY
Datei: /xxx/xxxx/xxx/xxx/xxxx/htdocs/xxxxx/xxxxxx/board/Sources/Downloads2.php

error log:
Type of error: Database
Database Error: '.p.commenttotal' isn't in GROUP BY
board/index.php?action=downloads
/board/Sources/Downloads2.php
(Line 5360)

My settings:
Title: Re: Download System
Post by: wintstar on May 18, 2018, 01:01:19 PM
If the setting for comments and ratings are disabled you can create a category. But after clicking on "Send category" the next error message appears.


Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /board/Sources/Downloads2.php
Line: 664
Title: Re: Download System
Post by: vbgamer45 on May 18, 2018, 01:04:07 PM
Your server probably has ONLY_FULL_GROUP_BY turned on. You can try to turn it off
http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by
Title: Re: Download System
Post by: wintstar on May 18, 2018, 01:12:24 PM
There are no error messages on the same server in the same database with SMF 2.0.15.
Title: Re: Download System
Post by: vbgamer45 on May 18, 2018, 01:16:24 PM
It's a MYSQL server configuration issue.
Title: Re: Download System
Post by: wintstar on May 18, 2018, 01:21:36 PM
Quote from: wintstar on May 18, 2018, 01:12:24 PM
There are no error messages on the same server in the same database with SMF 2.0.15.
Why do I not get an error message with SMF 2.0.15 on the same server in the same database?
Why do the bugs only come with SMF 2.1.Beta*?
Title: Re: Download System
Post by: vbgamer45 on May 18, 2018, 01:23:43 PM
No idea
Title: Re: Download System
Post by: wintstar on May 18, 2018, 04:11:08 PM
My solution. This works.
all changes in Downloads2.php

line at 659
    // Do the order
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        MAX(roworder) as cat_order
    FROM {db_prefix}down_cat
    WHERE ID_PARENT = $parent
    ORDER BY roworder DESC");
    $row = $smcFunc['db_fetch_assoc']($dbresult);

replace with    // Do the order
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        MAX(roworder) as cat_order
    FROM {db_prefix}down_cat
    WHERE ID_PARENT = $parent
    GROUP BY roworder
    ORDER BY roworder DESC");
    $row = $smcFunc['db_fetch_assoc']($dbresult);
GROUP BY roworder

line 5352
                $query = "SELECT p.ID_FILE, p.commenttotal, p.totalratings, p.rating, p.filesize, p.views, p.title, p.id_member, m.real_name, p.date, p.description,                p.totaldownloads
                    FROM {db_prefix}down_file as p
                    LEFT JOIN {db_prefix}members AS m  ON (m.id_member = p.id_member)
                    LEFT JOIN {db_prefix}down_catperm AS c ON (c.ID_GROUP IN ($groupsdata) AND c.ID_CAT = p.ID_CAT)
                    WHERE p.approved = 1 AND (c.view IS NULL || c.view =1) GROUP by p.ID_FILE ORDER BY $query_type DESC LIMIT 4";


replace with                $queryselects = 'p.commenttotal, p.totalratings, p.rating, p.filesize, p.views, p.title, p.id_member, m.real_name, p.date, p.description, p.totaldownloads';
                $query = "SELECT p.ID_FILE, $queryselects
                    FROM {db_prefix}down_file as p
                    LEFT JOIN {db_prefix}members AS m  ON (m.id_member = p.id_member)
                    LEFT JOIN {db_prefix}down_catperm AS c ON (c.ID_GROUP IN ($groupsdata) AND c.ID_CAT = p.ID_CAT)
                    WHERE p.approved = 1 AND (c.view IS NULL || c.view =1) GROUP by p.ID_FILE, $queryselects
                    ORDER BY $query_type DESC LIMIT 4";

missing SELECT columns in GROUP
Title: Re: Download System
Post by: rho_simafo on June 13, 2018, 10:08:15 AM
Hello all,

first of all, 1000 thanx for this wonderful mod.
Unfortunately I discovered a little problem: When visitors  are searching for a download, they get results of downloads which shall not be seen in the public because the set permissions shall prevent this. Finally when they click on the download link the download is prohibited, that's the good one. However, my wish is that visitors or members shall see only the download links which are dedicated o them.
Does anyone know how to prevent listing of potected download links in the search result?
Title: Re: Download System
Post by: vbgamer45 on June 13, 2018, 11:05:44 AM
What smf version are you using?
Title: Re: Download System
Post by: rho_simafo on June 14, 2018, 07:54:53 AM
Quote from: vbgamer45 on June 13, 2018, 11:05:44 AM
What smf version are you using?
SMF 2.0.15
and
DownloadSystem 3.0.2
Title: Re: Download System
Post by: SMFHacks.com Team on June 14, 2018, 08:26:52 AM
Update
3.0.3
!Fixed showing hidden categories in search results
Title: Re: Download System
Post by: rho_simafo on June 14, 2018, 11:25:07 AM
Great! Now it works fine :-*
Title: Re: Download System
Post by: vbgamer45 on June 14, 2018, 11:44:03 AM
Glad to help
Title: Re: Download System
Post by: wintstar on June 21, 2018, 03:24:24 PM
Is thats right?

Downloads2.php

    $currentVersion = '2.0';


Thanks for solution smfhacks_sqlmode

For 2.1* custum fields and user online icon in comment function not work.

Here my Download Center (https://www.stephan-frank.de/board/index.php?action=downloads). I have added License function, maintenance mode and GDPR for comment. And changed the design a little bit. Great Mod, Thanks  :)
Title: Re: Download System
Post by: vbgamer45 on June 21, 2018, 04:12:21 PM
The version is ok I am not using version checking.
Thanks for the report for 2.1 haven't spent a lot of time yet on 2.1 yet waiting for an RC release.

I like the changes made to your down center good job.
Title: Re: Download System
Post by: rho_simafo on June 29, 2018, 04:59:28 AM
After a few testings I have now some categories left which I would like to delete. Unfortunately I could not find the right process to delete a category.
Does anyone have a little hint for me?

Thank you in advance.

Update: The categories have the same names however differ in only uppercase or lowercase letters, like
Category 1
category 1
When uploading a file both are lsiting as optional target categories. However when looking into the download list, only one of both categories is listed. It seems like it is the most recently entered one.
Title: Re: Download System
Post by: vbgamer45 on June 29, 2018, 08:31:10 AM
There should be a delete text when you are viewing the download section next to the category under options
Title: Re: Download System
Post by: rho_simafo on August 09, 2018, 02:23:24 PM
Quote from: rho_simafo on June 14, 2018, 11:25:07 AM
Great! Now it works fine :-*
Sorry, not yet completely, today I found another issue:

1) When clicking the "Download"-button  as a guest user I get a list of downloads, even some of those who shall be seen by registered users only. The "Download"-button shall be visible because I plan to offer public downloads for everone, but I will offer downloads for registered users only as well.

2) At the end of the download list a link "View Download Stats" is shown. When clicking on that all available downloads are listed, including the protected ones. Well, they cannot be downloaded, but I don't want protected downloads to be listed to everyone at all.

I'm using smf 2.0.15 and theme "Dilber Multicolor".
Title: Re: Download System
Post by: vbgamer45 on August 09, 2018, 11:26:40 PM
For #1. Can you give an example url
Title: Re: Download System
Post by: rho_simafo on August 10, 2018, 10:14:20 AM
Quote from: vbgamer45 on August 09, 2018, 11:26:40 PM
For #1. Can you give an example url
I deletd the link yesterday,  will try to insert another one....
Title: Re: Download System
Post by: rho_simafo on August 10, 2018, 12:34:10 PM
Sorry, can't reproduce #1.
Looks like it was a permission issue, my fault.
The #2 however is still an issue: https://forum.sentra-sx.de/index.php?action=downloads;sa=stats
Title: Re: Download System
Post by: vbgamer45 on August 10, 2018, 12:43:08 PM
K will check
Title: Re: Download System
Post by: SMFHacks.com Team on August 10, 2018, 01:07:53 PM
Update!
3.0.4
!Fixed showing hidden files in Stats page
Title: Re: Download System
Post by: rho_simafo on August 10, 2018, 01:27:28 PM
Wow, you are incredible fast.
Simply THANKS!
Title: Re: Download System
Post by: vbgamer45 on August 10, 2018, 02:03:46 PM
Glad to help.
Title: Re: Download System
Post by: shawnb61 on August 31, 2018, 12:06:45 AM
Does Download System support php7.0 yet?
I'm getting some funky messages.
Not sure if it's php7 or that it's my beta test platform... 
Title: Re: Download System
Post by: vbgamer45 on August 31, 2018, 12:14:16 AM
Yes it should I run it on php 7.1.x sites. what messages are you getting?
Title: Re: Download System
Post by: shawnb61 on August 31, 2018, 12:32:17 AM
Strict mode stuff, like this:
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /blah/blah/public_html/yadayada/Sources/Downloads2.php
Line: 3074

Title: Re: Download System
Post by: vbgamer45 on August 31, 2018, 12:33:45 AM
Yeah that's more of MYSQL version issue.i normally disable strict mode on my end.
Title: Re: Download System
Post by: Kindred on August 31, 2018, 07:43:53 AM
Be aware... SMF 2.1 enforces strict mode
Title: Re: Download System
Post by: shawnb61 on August 31, 2018, 10:28:06 AM
Yes, that's where my problem is. 
Title: Re: Download System
Post by: wintstar on September 13, 2018, 05:25:24 AM
Quote from: shawnb61 on August 31, 2018, 12:32:17 AM
Strict mode stuff, like this:
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /blah/blah/public_html/yadayada/Sources/Downloads2.php
Line: 3074

https://www.simplemachines.org/community/index.php?topic=203471.msg3973075#msg3973075
or
look into Downloads2.php line 71 - 76 solution smfhacks_sqlmode
Title: Re: Download System
Post by: SMFHacks.com Team on January 23, 2019, 03:17:25 PM
Update
3.0.4a
!Fixed missing message id for email notification for SMF 2.0.x
Title: Re: Download System
Post by: SMFHacks.com Team on February 05, 2019, 06:25:58 PM
Added support for SMF 2.1 RC1
Title: Re: Download System
Post by: landyvlad on February 06, 2019, 02:08:52 AM
sweet :)
Title: Re: Download System
Post by: SMFHacks.com Team on February 13, 2019, 03:06:23 PM
3.0.4c
!Minor style fixes and bug fixes for SMF 2.1.x
Title: Re: Download System
Post by: avwebsites on February 15, 2019, 10:48:10 AM
Greetings,

I'm running a new install of SMF 2.0.15, and while I'm loving it, I'm still getting used to working with it.

I installed a new responsive theme (Marina) which I am very pleased with.

I'm not familiar at all with doing manual package installs.  I'm sure I could take the time to understand it, but that probably wouldn't be any time soon.  I'd like to use the download mod sooner rather than later.

Does anyone offer installation services reasonably priced?

In advance, thanks!
Title: Re: Download System
Post by: vbgamer45 on February 15, 2019, 10:56:44 AM
What manual edits is asking to do in the package manager? Or where does it fail?
Title: Re: Download System
Post by: avwebsites 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.
Title: Re: Download System
Post by: vbgamer45 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
Title: Re: Download System
Post by: Kindred on February 15, 2019, 03:49:05 PM
Why do you need to do a manual package installation?
Title: Re: Download System
Post by: avwebsites 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!
Title: Re: Download System
Post by: Arantor 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.
Title: Re: Download System
Post by: vbgamer45 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.
Title: Re: Download System
Post by: avwebsites 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. :)
Title: Re: Download System
Post by: avwebsites 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!
Title: Re: Download System
Post by: vbgamer45 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.
Title: Re: Download System
Post by: avwebsites 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. :)
Title: Re: Download System
Post by: vbgamer45 on February 17, 2019, 06:03:30 PM
Yeah. I do that so it does not allow the files excute.
Title: Re: Download System
Post by: avwebsites 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. :)

Title: Re: Download System
Post by: vbgamer45 on February 17, 2019, 07:18:47 PM
Glad you enjoy the mod!
Title: Re: Download System
Post by: Ramón Cutanda 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)
Title: Re: Download System
Post by: mikedijital 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.
Title: Re: Download System
Post by: vbgamer45 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.
Title: Re: Download System
Post by: mikedijital 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
Title: Re: Download System
Post by: vbgamer45 on July 11, 2019, 07:30:48 PM
Around line 1266 in downloads2.template.php



// 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>';
Title: Re: Download System
Post by: mikedijital 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...
Title: Re: Download System
Post by: mikedijital on July 11, 2019, 07:50:45 PM
also I guess I should have been more clear... I dont know how to write code from scratch... I can copy and paste... and I can figure out basic things, but I dont even know where to drop an h1 or bold code... I tried to google it, and I just keep crashing the page.....    can you show me the code with h1 tags in it....
Title: Re: Download System
Post by: vbgamer45 on July 11, 2019, 08:04:02 PM
updated code

// 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'], '"><h1>', ($context['downloads_file']['fileurl'] == '' ? $context['downloads_file']['orginalfilename'] : $txt['downloads_app_download']), '</h1></a>';

echo '
</td>
</tr>';
Title: Re: Download System
Post by: mikedijital on July 11, 2019, 08:39:15 PM
your the BEST, thank you so much!!!!   <3
Title: Re: Download System
Post by: vbgamer45 on July 11, 2019, 08:44:26 PM
Glad to help
Title: Re: Download System
Post by: Ranami on October 25, 2019, 04:05:23 AM
Very helpful mod, I must say. How do I remove the link from the main menu? Just want to have only a link as a board that redirects to the downloads page, which I've done already, but I don't want the link in the main menu. Is there an option to not show the menu link in the mod's settings? If there is, I can't seem to find it. I'm using SMF 2.0.15 by the way. Thanks in advance.
Title: Re: Download System
Post by: vbgamer45 on October 25, 2019, 08:08:57 AM
You would need to edit the Sources/Subs.php file to remove the entry.
Title: Re: Download System
Post by: Ranami on October 25, 2019, 02:52:39 PM
Quote from: vbgamer45 on October 25, 2019, 08:08:57 AM
You would need to edit the Sources/Subs.php file to remove the entry.
Ok, but can you please tell me the line(s) to edit and to what exactly? Thanks.
Title: Re: Download System
Post by: vbgamer45 on October 25, 2019, 03:04:00 PM
Use the package parser on the mod site should say the line.
Title: Re: Download System
Post by: Ranami on October 25, 2019, 03:42:44 PM
Quote from: vbgamer45 on October 25, 2019, 03:04:00 PM
Use the package parser on the mod site should say the line.
Ok I think may be I forgot to mention I'm a complete novice here. I don't even know what a package parser is, let alone how to find or use it. I'm a fast learner though, and a point in the right direction may just be all I need.
Title: Re: Download System
Post by: vbgamer45 on October 25, 2019, 03:58:32 PM
on the mod site for the page of the mod. Tells you which files were edited and where.
Title: Re: Download System
Post by: Ranami on October 25, 2019, 04:30:29 PM
Quote from: vbgamer45 on October 25, 2019, 03:58:32 PM
on the mod site for the page of the mod. Tells you which files were edited and where.
Found it, done it and it worked like a charm. Thanks a lot.
Title: Re: Download System
Post by: pirc-bw on January 29, 2020, 06:04:41 PM
Hi, I have used this Mod for a few years now.  But recently I started having a problem adding files to the Downloads.  The files I want to add are zipped and under 8kb.  But they fail to upload.  I have checked with my hosting, there's no issue that should cause a file of that size not to work.

QuoteService Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

There is no maintenance going on and no capacity problems.
Title: Re: Download System
Post by: vbgamer45 on January 29, 2020, 06:06:53 PM
Could be php settings https://www.smfhacks.com/index.php/topic,3498.0.html
Also check your forum's error log.
Title: Re: Download System
Post by: pirc-bw on January 30, 2020, 10:18:18 AM
Thanks for the suggestions, but we have decided to use direct upload links for the large files and they seem to be working just fine.
Title: Re: Download System
Post by: vbgamer45 on January 30, 2020, 10:34:12 AM
Yeah if you are going over couple hundred megs that is always recommened.
Title: Re: Download System
Post by: sbnisar755 on February 07, 2020, 04:07:36 AM
hi thanks for this great mod, i have just installed this mod in my smf forum, I have few questions,
1. can i set permissions on downloading attachement, for example if i post a download, can i set some rules for downloading, like "members who has above 15 posts can download"
2. how to create download section category
3.can members can create there own category
thank you very  much
Title: Re: Download System
Post by: sbnisar755 on February 07, 2020, 12:57:35 PM
Quote from: sbnisar755 on February 07, 2020, 04:07:36 AM
hi thanks for this great mod, i have just installed this mod in my smf forum, I have few questions,
1. can i set permissions on downloading attachement, for example if i post a download, can i set some rules for downloading, like "members who has above 15 posts can download"
2. how to create download section category
3.can members can create there own category
thank you very  much
i am still waiting
Title: Re: Download System
Post by: vbgamer45 on February 07, 2020, 01:12:04 PM
1. Does not affect the attachments in your forum at all. It is a separate section in your forum.

2. Downloads -> Add category
3. No only download admins
Title: Re: Download System
Post by: sbnisar755 on February 07, 2020, 01:53:42 PM
Quote from: vbgamer45 on February 07, 2020, 01:12:04 PM
1. Does not affect the attachments in your forum at all. It is a separate section in your forum.

thank you very much for reply, can you tell me where i can set these rules as you said its seperate section in froum.
Title: Re: Download System
Post by: vbgamer45 on February 07, 2020, 02:56:25 PM
That would be best asked in the SMF general support boards.
Title: Re: Download System
Post by: wintstar on February 27, 2020, 09:47:33 AM
SMF 2.1 RC2
PHP: 7.3.14
MySQL Version: 5.7.28-log

Type of error: Undefined
8: Undefined index: spam_WaitTime_broken
xxx://localhost/xxx/xxx/index.php?action=downloads;sa=comment&amp;id=1
/var/www/html/xxx/xxx/Sources/Errors.php (Line 228)

Backtrace information
#2: spamProtection()
Called from /var/www/html/sfwd/board/Sources/Downloads2.php on line 2320

Solution
look in Sources/Errors.php. $sprintf spamProtection('spam') => spam is the first part of the language string = spam_. => WaitTime_broken is the second part of the language string
Combined, this results in => spam_WaitTime_broken


open Sources/Downloads2.php
To assign the language string to the downloads language file it would be better to use downloads instead of spam.

find
spamProtection('spam');
replace with
spamProtection('downloads');

open languages/Downloads.english.php
find
$txt['downloads_error_invalid_picture'] = 'Invalid Picture file';
add after
$txt['downloads_WaitTime_broken'] = 'The last commenting from your IP was less than %1$d seconds ago. Please try again later.';
Title: Re: Download System
Post by: vbgamer45 on February 27, 2020, 09:58:13 AM
Thanks will add the fix!
Title: Re: Download System
Post by: wintstar on February 27, 2020, 10:03:07 AM
Please wait a moment with a new version. I still have a few suggestions for improvement regarding breadcrumbs (linktree). I'll post it today.
Title: Re: Download System
Post by: vbgamer45 on February 27, 2020, 10:07:06 AM
Ok thanks!
Title: Re: Download System
Post by: wintstar on February 27, 2020, 10:29:48 AM
Suggestion for linktree

open Sources/Downloads2.php
find line 1079
Downloads_GetParentLink($row['ID_PARENT']);

// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $row['ID_CAT'],
'name' => $row['CAT_TITLE']
);

// Show Custom Fields

replace with
Downloads_GetParentLink($row['ID_PARENT']);

// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $row['ID_CAT'],
'name' => $row['CAT_TITLE']
);
// Link Tree
$context['linktree'][] = array(
'name' => $context['downloads_file']['title']
);

// Show Custom Fields


find
function Downloads_AddComment()
{
global $context, $mbname, $txt, $modSettings, $user_info, $sourcedir, $smcFunc;

replace with
function Downloads_AddComment()
{
global $context, $mbname, $txt, $modSettings, $user_info, $sourcedir, $scripturl, $smcFunc;


find
// Comments allowed check
$dbresult = $smcFunc['db_query']('', "
SELECT p.allowcomments, p.ID_CAT
FROM {db_prefix}down_file as p
WHERE ID_FILE = $id LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
$smcFunc['db_free_result']($dbresult);
// Checked if comments are allowed
if ($row['allowcomments'] == 0)
{
fatal_error($txt['downloads_error_not_allowcomment']);
}
Downloads_GetCatPermission($ID_CAT,'addcomment');

replace with
// Comments allowed check
$dbresult = $smcFunc['db_query']('', "
SELECT p.allowcomments, p.id_cat, p.title, c.id_cat, c.title AS catname
FROM {db_prefix}down_file as p
LEFT JOIN {db_prefix}down_cat AS c ON (c.id_cat = p.id_cat)
WHERE ID_FILE = $id LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);
$context['downloads_cat_name'] = $row['catname'];
$context['downloads_cat_id'] = $row['id_cat'];
$context['downloads_file_name'] = $row['title'];
$ID_CAT = $row['id_cat'];
$smcFunc['db_free_result']($dbresult);
// Checked if comments are allowed
if ($row['allowcomments'] == 0)
{
fatal_error($txt['downloads_error_not_allowcomment']);
}
Downloads_GetCatPermission($ID_CAT,'addcomment');

// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $context['downloads_cat_id'],
'name' => $context['downloads_cat_name']
);
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;sa=view;down=' . $id,
'name' => $context['downloads_file_name']
);
$context['linktree'][] = array(
'name' => $txt['downloads_text_addcomment']
);


Look here the breadcrumb (it's in german)
Download file => https://www.stephan-frank.de/board/index.php?action=downloads;sa=view;down=1
Add comment = > https://www.stephan-frank.de/board/index.php?action=downloads;sa=comment&id=1
Title: Re: Download System
Post by: SMFHacks.com Team on February 27, 2020, 12:16:36 PM
Update
3.0.5
!Fixed missing language string bug for spam protection thanks to wintstar
+Better linktrees on view download/add comment page thanks to wintstar
Title: Re: Download System
Post by: wintstar on February 27, 2020, 01:26:33 PM
Database Error: Data too long for column 'log_type'  is a Bug in SMF RC2  => https://github.com/SimpleMachines/SMF2.1/issues/6031
Title: Re: Download System
Post by: vbgamer45 on February 27, 2020, 02:47:06 PM
ok...Should i change it to a shorter prefix which i will do now...
Title: Re: Download System
Post by: SMFHacks.com Team on October 17, 2020, 06:42:21 PM
Added install support for RC3
Title: Re: Download System
Post by: vbgamer45 on November 25, 2020, 11:08:47 PM
Update!

3.0.6
!Fixes for PHP 7.4
Title: Re: Download System
Post by: billtidy on December 28, 2020, 05:23:50 AM
Quote from: vbgamer45 on November 25, 2020, 11:08:47 PM
Update!

3.0.6
!Fixes for PHP 7.4

Thanks
Title: Re: Download System
Post by: Fredisland on December 29, 2020, 06:46:23 AM
Quote from: BartB on March 26, 2011, 02:16:53 PM
When I add a download to a category using the URL function (because the file is already on the system but in another directory) it adds the file correctly, but with a reported size of 0B. Any way to fix that?

Quote from: vbgamer45 on March 26, 2011, 02:21:13 PM
Possible but I would have to do another request to get the filesize.

Hello,

Did you make some modifications to your Download System masterpiece, in order to add the filesize for a distant file ? Because I have the same problem and it's reallyannoying. Or maybe ther is a way to manuallt edit the filesize.

Note : I use Download System 3.0.6 on SMF 2.0.17

Thank you
Title: Re: Download System
Post by: vbgamer45 on December 29, 2020, 07:47:38 AM
I don't think I added it but found code

nction getRemoteFilesize($file_url, $formatSize = true)
{
    $head = array_change_key_case(get_headers($file_url, 1));
    // content-length of download (in bytes), read from Content-Length: field
    $clen = isset($head['content-length']) ? $head['content-length'] : 0;
    // cannot retrieve file size, return "-1"
    if (!$clen) {
        return –1;
    }
    if (!$formatSize) {
        return $clen;
// return size in bytes
    }

https://www.airtistic.info/?p=1081
Title: Re: Download System
Post by: Fredisland on December 29, 2020, 07:48:57 AM
Quote from: vbgamer45 on December 29, 2020, 07:47:38 AM
I don't think I added it but found code

Thank you, I will try to add it to your MOD.
Title: Re: Download System
Post by: vbgamer45 on December 29, 2020, 10:58:38 AM
Update!
3.0.7
+Added filesize support for remote links
Title: Re: Download System
Post by: Fredisland on December 29, 2020, 02:28:50 PM
Quote from: vbgamer45 on December 29, 2020, 10:58:38 AM
Update!
3.0.7
+Added filesize support for remote links

OMG --- AND IT WORKS VERY WELL !!!!!
THANK YOU THANK YOU THANK YOU
PLEASE BE MY FRIEND FOR THE LIFE !!

I will just translate the Kb, Mb, Gb... in Ko, Mo, Go, because I'm french....

Fred
Title: Re: Download System
Post by: vbgamer45 on December 29, 2020, 02:45:07 PM
No problem! add it to the language strings! Maybe will do in next update i didn't realize those were different in latin based languages.
Title: Re: Download System
Post by: Fredisland on December 29, 2020, 02:47:24 PM
Quote from: vbgamer45 on December 29, 2020, 02:45:07 PM
No problem! add it to the language strings! Maybe will do in next update i didn't realize those were different in latin based languages.

Done ! I have thanked you with Paypal (fred****@gmail.com).
Title: Re: Download System
Post by: vbgamer45 on December 29, 2020, 03:11:21 PM
Thank you for support! Fred!
Title: Re: Download System
Post by: vbgamer45 on January 02, 2021, 11:03:42 AM
3.0.7a
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set
Title: Re: Download System
Post by: Fredisland on January 02, 2021, 11:08:54 AM
Quote from: vbgamer45 on January 02, 2021, 11:03:42 AM
3.0.7a
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set

Some changes have been made to my templates.
So, is there somewhere a full changelog file by file to modify files from 3.0.7 to 3.0.7a ?
Thank you
Title: Re: Download System
Post by: vbgamer45 on January 02, 2021, 11:36:34 AM
I just replaced in downloads.2php the function at the bottom for file filesize with this code

function Downloads_getRemoteFilesize($file_url)
{
$file_url = trim($file_url);

if (empty($file_url))
return 0;

if (ini_get('allow_url_fopen') == 1)
{

$head = array();
$head['content-length'] = 0;


try
{
$head = array_change_key_case(get_headers($file_url, 1));
}
catch (Exception $e)
{

}

$result = isset($head['content-length']) ? $head['content-length'] : 0;

if (is_array($result))
return 0;

return $result;
}
else
{
return 0;

}
}
Title: Re: Download System
Post by: Fredisland on January 02, 2021, 11:55:35 AM
Quote from: vbgamer45 on January 02, 2021, 11:36:34 AM
I just replaced in downloads.2php the function at the bottom for file filesize with this code

Thank you so much for you very very very quick support  :) !
Title: Re: Download System
Post by: vbgamer45 on January 02, 2021, 11:58:41 AM
Glad to help. One tip I do is use a software called Beyond Compare to find changes between files/folders makes it way easier.
Title: Re: Download System
Post by: icehawke on January 06, 2021, 06:13:23 PM
SMF 2.0.17
mod version 3.07a
site - aurora2.pentarch.org

Users can make uploads, but they all show as 0kb. When I (as admin) create an upload, or modify a user's upload the file shows the right size. This seems to me to be a permissions issue, but I've scoured the perms and cannot find where it might be.

Any help in pointers as to where to look?
Title: Re: Download System
Post by: vbgamer45 on January 06, 2021, 06:31:25 PM
What type of  upload is it? Is it a file or url?  A url requires fopen for urls in php settings to be enabled
Title: Re: Download System
Post by: icehawke on January 06, 2021, 06:39:08 PM
It is a file upload.
Title: Re: Download System
Post by: vbgamer45 on January 06, 2021, 06:40:04 PM
Hmm shouldn't do that. Not a permissions issue.
Title: Re: Download System
Post by: icehawke on January 06, 2021, 06:52:41 PM
Okay. If you need it, I can create a user for you and PM you the details.
Title: Re: Download System
Post by: vbgamer45 on January 06, 2021, 07:30:18 PM
The only way I been able to recreate that issue is if someone put something random in the upload file url field.
Title: Re: Download System
Post by: icehawke on January 06, 2021, 07:44:08 PM
I will double-check that is not going on.
Title: Re: Download System
Post by: vbgamer45 on January 06, 2021, 07:46:33 PM
Update
3.0.8
+Added check for upload url to be sure it is http:// or https://
!Minor code cleanup/fixes
Title: Re: Download System
Post by: icehawke on January 07, 2021, 05:45:35 PM
According to the user that has been helping me, he only used the file field. Did not touch the URL field.

I tried an upload from a test account and it worked. So it might be something on his side.
Title: Re: Download System
Post by: vbgamer45 on January 07, 2021, 06:04:24 PM
Yeah, Maybe file too big.
Title: Re: Download System
Post by: icehawke on January 07, 2021, 06:23:51 PM
I'd agree with that, except I can take the same file and upload it myself. And get a filesize and have everything working properly. Which is why I was thinking it was some permissions based issue.
Title: Re: Download System
Post by: @rjen on January 10, 2021, 12:30:11 PM
I am testing with PHP version 7.4 and I am seeing some errors from this MOD.
They occur is someone tries to download a non-existing link as far as I can see.

SMF version 2.0.18 (beta testing)
Mod version: 3.0.7
PHP version: 7.4.11

Example URL:
https://www.my-forum.com/index.php?action=downloads;sa=downfile&id=447

These errors are logged when the forum is on PHP version 7.4:

https://www.fjr-club.nl/index.php?action=downloads;sa=downfile&amp;id=447
8: md5_file(): read of 8192 bytes failed with errno=21 Is a directory
File: /home/xxx/domains/my-forum.com/public_html/Sources/Downloads2.php
Regel: 5136

https://www.fjr-club.nl/index.php?action=downloads;sa=downfile&amp;id=447
8: Trying to access array offset on value of type null
File: /home/xxx/domains/my-forum.com/public_html/Sources/Downloads2.php
Regel: 5107

The download system then tries to download a file called index.php. This downloads to an empty file...
On PHP 7.3 the same happens, but it does not log any errors.

Any chance to fix this?
Title: Re: Download System
Post by: vbgamer45 on January 10, 2021, 01:26:18 PM
Does it happen to all downloads or just that one? Check that the downloads folder is wrirtable and files are there.
The first line for Regel: 5107
$filename = $modSettings['down_path'] . $row['filename'];

Shouldn't cause an error unless $modSettings['down_path'] is empty or $row['filename'] is empty

Check the database entry for file id 447
select * from smf_down_file where ID_FILE = 447

Also this download is a standard download not a remote linked? Remote linked code is processed before.
Title: Re: Download System
Post by: @rjen on January 10, 2021, 01:49:50 PM
There is not file in the downloads with ID447 (not anymore).

It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...
Title: Re: Download System
Post by: vbgamer45 on January 10, 2021, 03:05:35 PM
ah gotcha will add a check
Title: Re: Download System
Post by: vbgamer45 on January 10, 2021, 08:52:10 PM
Quote from: @rjen on January 10, 2021, 01:49:50 PM
There is not file in the downloads with ID447 (not anymore).

It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...

Posted an update 3.0.8a  which should help try it out!
Title: Re: Download System
Post by: @rjen on January 11, 2021, 02:44:39 AM
Quote from: vbgamer45 on January 10, 2021, 08:52:10 PM
Quote from: @rjen on January 10, 2021, 01:49:50 PM
There is not file in the downloads with ID447 (not anymore).

It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...

Posted an update 3.0.8a  which should help try it out!

Thanks, that has fixed the errors.
Title: Re: Download System
Post by: vbgamer45 on January 12, 2021, 12:48:06 PM
Glad that helped fix the issue!
Title: Re: Download System
Post by: @rjen on January 12, 2021, 02:46:47 PM
Here is the next error: when acessing a non-existing category the same thing happens...

https://www.my-forum.com/index.php?action=downloads;cat=31
8: Trying to access array offset on value of type null
File: /home/deb77453/domains/my-forum.com/public_html/Sources/Downloads2.php
Line: 5020


5011: $dbresult = $smcFunc['db_query']('', "
5012: SELECT
5013: total
5014: FROM {db_prefix}down_cat
5015: WHERE ID_CAT = $ID_CAT");
5016: $row = $smcFunc['db_fetch_assoc']($dbresult);
5017: $smcFunc['db_free_result']($dbresult);
5018:
5019: if ($row['total'] != -1)
==>5020: return $row['total'];
5021: else
Title: Re: Download System
Post by: vbgamer45 on January 12, 2021, 04:04:09 PM
@rjen - did another update which added a check for categories that don't' exist.
Title: Re: Download System
Post by: @rjen on January 12, 2021, 05:41:57 PM
That's fixed.

The error is not 100% accurate: "You need to select a category", maybe "Category does not exist" would be nicer, but this will do preventing the errors... thanks again...
Title: Re: Download System
Post by: vbgamer45 on January 12, 2021, 05:43:00 PM
Yeah, just a quick fix you shouldn't ever see that unless. You delete a category and it was indexed by a search engine.
Title: Re: Download System
Post by: vbgamer45 on January 29, 2021, 10:30:30 PM
Update!
3.0.9
!Remove create_function for PHP 7.4+ support
Title: Re: Download System
Post by: gevv on February 02, 2021, 11:36:29 AM
Hi,

error message appears when adding new files and comments

New download:  Notice: Undefined index: show_bbc in /Themes/default/Downloads2.1.template.php on line 907

Comments:  Notice: Undefined index: show_bbc in /Themes/default/Downloads2.1.template.php on line 1738

smf 2.1 rc3  php 5.6
Title: Re: Download System
Post by: vbgamer45 on February 02, 2021, 11:39:45 AM
On latest version?
Title: Re: Download System
Post by: gevv on February 02, 2021, 11:46:11 AM
yes i said the latest version  (3.0.9) line number wrong

New download:  line 901
if ($context['show_bbc'])

Comments:   line 1732
if ($context['show_bbc'])
Title: Re: Download System
Post by: gevv on February 02, 2021, 11:50:09 AM
Also the category permissions section appears blank .  There are 5 categories. there are 2 files in one category
Title: Re: Download System
Post by: vbgamer45 on February 02, 2021, 12:24:05 PM
3.0.9a
!Fixed $context['show_bbc'] error log for SMF 2.1.x



Also, did you setup custom category level permissions? If not it would be blank. You do that by clicking permissions link next to category
Title: Re: Download System
Post by: gevv on February 02, 2021, 01:24:39 PM
Thanks @vbgamer45 
Title: Re: Download System
Post by: gevv on February 06, 2021, 02:24:06 AM
Hello,

There is a problem with keywords. Link is added when leaving a blank space

(https://i.ibb.co/khzWGhR/Untitled-2.png) (https://imgbb.com/)

(https://i.ibb.co/HVbQqdh/Untitled.gif) (https://ibb.co/0c63rts)

Title: Re: Download System
Post by: @rjen on April 26, 2021, 04:03:58 PM
Just installed the Mod version 3.0.9a on 2.1 RC4 and I got some SQL errors.

As it turns out there are a number of queries in the Downloads2.php file where this statement is used:

c.view IS NULL || c.view =1

This is giving the errors below:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '|| c.view =1)) AND p.views > 0 GROUP by p.ID_FILE
ORDER BY p.views DESC LIM...' at line 5

To fix, update all statements to:
c.view IS NULL OR c.view =1
Title: Re: Download System
Post by: vbgamer45 on April 26, 2021, 04:22:09 PM
Ah, might be a MariaDB should change || to OR get confused between php/mysql sometimes it seems!!
Title: Re: Download System
Post by: shawnb61 on April 26, 2021, 04:37:14 PM
I'd be curious if you have PIPES_AS_CONCAT set in your sql_mode for MariaDB...  If so, || is a string operator, not a logical OR...

If this is the case, this isn't unique to MariaDB, as any MySQL engine can have that flag set...
Title: Re: Download System
Post by: vbgamer45 on April 26, 2021, 04:40:15 PM
Update!

3.0.10
!Removed || changed to OR in SQL statements for MariaDB
Title: Re: Download System
Post by: @rjen on July 21, 2021, 05:42:38 PM
When previous and next links are visited and the Id does not exist anymore I am getting some nasty errors in the logs...

Getting these errors:

https://xxx.xx/index.php?action=downloads;sa=next&amp;id=3270
8: Trying to access array offset on value of type null
File: /home/deb77453/domains/xxx.xx/public_html/test/Sources/Downloads2.php
Line: 4574

https://xx.xx/index.php?action=downloads;sa=next&amp;id=3270
Databasefout: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 3270
ORDER BY ID_FILE ASC LIMIT 1' at line 4
File: /home/deb77453/domains/xx.xx/public_html/test/Sources/Downloads2.php
Line: 4583

Cause seems to be that a non-existing id is called (most likely by a search engine revisiting an old link)
The functions PrevDownload and NextDownload do not like this...

I fixed it by inserting below fix in both functions in Downloads2.php file..


function Downloads_NextDownload()
{
global $txt, $smcFunc;

$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);

// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id  LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);

// Fix AW
if (empty($row['ID_CAT']))
fatal_error($txt['downloads_error_no_file_selected'], false);

$ID_CAT = $row['ID_CAT'];

$smcFunc['db_free_result']($dbresult);

// Get next download


Any chance to fix this in the core package?
Title: Re: Download System
Post by: vbgamer45 on July 21, 2021, 08:29:11 PM
Fixed posted update

3.0.11
!Fixed bug previous/next links logging errors for downloads that were removed.
Title: Re: Download System
Post by: @rjen on July 22, 2021, 02:52:48 AM
That's not quite it I am afraid: still getting these now...

https://xxx.XX.nl/index.php?action=downloads;sa=prev&amp;amp;id=3270
8: Trying to access array offset on value of type null
Bestand: /home/deb77453/domains/xxx.xx.nl/public_html/Sources/Downloads2.php
Regel: 4536
Title: Re: Download System
Post by: @rjen on July 22, 2021, 03:16:05 AM
I think this is what is needed...


function Downloads_PreviousDownload()
{
global $txt, $smcFunc;

$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);

// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id  LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);

$smcFunc['db_free_result']($dbresult);


// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id ORDER BY ID_FILE DESC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;

$smcFunc['db_free_result']($dbresult);

redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}

function Downloads_NextDownload()
{
global $txt, $smcFunc;

$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);

// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id  LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);

$smcFunc['db_free_result']($dbresult);

// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id
ORDER BY ID_FILE ASC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);

redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}
Title: Re: Download System
Post by: vbgamer45 on July 22, 2021, 08:36:04 AM
I think i i needed to move the statement up one spot attached
Title: Re: Download System
Post by: @rjen on July 22, 2021, 09:55:59 AM
Yeah, that's what I proposed originally. To be honest, the code I posted after that is more elegant: that works flawless, so I would suggest the second code snippet above the first...
Title: Re: Download System
Post by: @rjen on July 24, 2021, 11:26:37 AM
Quote from: @rjen on July 22, 2021, 03:16:05 AM


function Downloads_PreviousDownload()
{
global $txt, $smcFunc;

$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);

// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id  LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);

$smcFunc['db_free_result']($dbresult);


// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id ORDER BY ID_FILE DESC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;

$smcFunc['db_free_result']($dbresult);

redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}

function Downloads_NextDownload()
{
global $txt, $smcFunc;

$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);

// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id  LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);

$smcFunc['db_free_result']($dbresult);

// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id
ORDER BY ID_FILE ASC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);

redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}


Will you include this fix in the mod?
Title: Re: Download System
Post by: vbgamer45 on July 24, 2021, 11:29:31 AM
I just included the fix where it moved it up.
Title: Re: Download System
Post by: @rjen on July 24, 2021, 11:54:05 AM
That will do as well.
So it is already in the latest package?
Title: Re: Download System
Post by: vbgamer45 on July 24, 2021, 12:30:54 PM
Yes it is.
Title: Re: Download System
Post by: Mick. on August 07, 2021, 06:56:30 PM
Hey.... This bit needs a closing tag; in Downloads2.1.template.php line 232 or so.
            // Show return to downloads link and Show add download if they can
            echo '
                    <div class="tborder">
            <div class="roundframe centertext">';
   
if ($g_manage)
echo '<a href="', $scripturl, '?action=downloads;sa=addcat;cat=', $cat, '">', $txt['downloads_text_addsubcat'], '</a>&nbsp;&nbsp;';

if ($g_add)
echo '<a href="', $scripturl, '?action=downloads;sa=add;cat=', $cat, '">', $txt['downloads_text_adddownload'], '</a> ';


echo '
<a href="', $scripturl, '?action=downloads">', $txt['downloads_text_returndownload'], '</a
            </div>


This:
<a href="', $scripturl, '?action=downloads">', $txt['downloads_text_returndownload'], '</a

It broke the layout in my template. I thought something i had done;possibly but I checked the current download and yes, it's missing the closing tag.
Title: Re: Download System
Post by: vbgamer45 on August 08, 2021, 01:37:21 AM
Thanks for the report fixed


3.0.12
!Fixed some unclosed html tags
Title: Re: Download System
Post by: shawnb61 on September 19, 2021, 10:46:31 PM
I am about to merge two forums.  Both use this mod, and both have hundreds of downloads.

Is there any way to merge the two sets of downloads?

Title: Re: Download System
Post by: vbgamer45 on September 19, 2021, 11:24:23 PM
The filenames should be unique enough in 99% of the time so those should be safe to copy from the source to the target forum. This is for the lite version.

I would check the max id_file on the target forum. Lets says it is 200.  For the source I would increment ID_FILE, ID_CAT, id_comment,_id_parent  in the tables by 1000 as well. check the max id's on each
I choose 1000 since you can easily see old/new data.

Backup first.
Then here is a quick example that may work Run on source site. Make sure it works.
UPDATE smf_down_file SET id_file = id_file + 1000, id_cat = id_cat + 1000;
UPDATE smf_comment SET ID_comment = id_comment + 1000, id_file = id_file + 1000;
UPDATE smf_down_cat SET id_cat = id_cat + 1000, id_parent = id_parent + 1000;


Then you should be able to export those inserts for those tables and copy them to the new main site. If on same server INSERT INTO databasemain.smf_down_file SELECT * FROM databasesource.smf_down_file;

Those are the main tables if you copying rating, custom fields I would do something similar.  Ratings, I would increase id_file by 1000 and then insert id_file,id_member_comment,date into the main target database so a new rating id will be created.

Only issue remaining would be memberids if they change from going one forum to another.


Hopefully that helps. I was actually doing some downloads pro coding this weekend have it setup with amazon s3 for 2.0,2.1 and was not that hard, will be doing that to some of my other mods.
Title: Re: Download System
Post by: shawnb61 on September 19, 2021, 11:41:07 PM
We have an engine that does exactly that in mergeSMF.php...  Hmmm...
Title: Re: Download System
Post by: vbgamer45 on September 19, 2021, 11:45:01 PM
Yeah i was sort of thinking something similar for my  mods. Have a way to autoincrement fields if known they are keys I guess maybe indexed integers too? (but could be false positives) maybe have to hard a code a list not ideal.
Title: Re: Download System
Post by: shawnb61 on September 20, 2021, 02:13:18 AM
Which files/folders get copied over?

I have download files in multiple folders, as well as a # of oddly named folders...
Title: Re: Download System
Post by: vbgamer45 on September 20, 2021, 09:34:05 AM
I would just copy the entire downloads folder. Backup first but that should be ok
Title: Re: Download System
Post by: shawnb61 on September 21, 2021, 12:40:44 AM
Holy smokes that worked!

Just a few tweaks to mergeSMF.php to add the downloads tables, then copied the actual files over.   8)

I just focused on down_cat, down_comment, down_file & down_rating. 
Title: Re: Download System
Post by: vbgamer45 on September 21, 2021, 12:47:26 AM
Love that! Glad that worked! Got to keep that in mind for any future requests.
Title: Re: Download System
Post by: landyvlad on September 30, 2021, 11:56:30 PM
I just downloaded the file DownloadSystem3.0.12.zip
Uploaded to package manager and there it shows as Download System 3.0.11a

What gives?
Title: Re: Download System
Post by: vbgamer45 on October 01, 2021, 12:00:40 AM
Wrong package manager display issue will fix for next update. Does not impact the download system.
Title: Re: Download System
Post by: Mick. on December 26, 2021, 09:41:26 AM
vb,
I see one can see the total downloads for each item. But how can I show the total downloads overall?

You see, I would like to display the total downloads of all my themes outside the downloads page on a custom page.. Something like "18m downloads"
Title: Re: Download System
Post by: vbgamer45 on December 26, 2021, 12:56:31 PM
Requires SQL query to get the data such as
// Get total downloads
$result = $smcFunc['db_query']('', "
SELECT
SUM(totaldownloads) AS totaldownloads
FROM {db_prefix}down_file");
$row = $smcFunc['db_fetch_assoc']($result);
$smcFunc['db_free_result']($result);


echo $row['totaldownloads'];

Title: Re: Download System
Post by: Mick. on December 26, 2021, 01:39:04 PM
Yup. I figured that. When it comes down to SQL, I lack that knowledge lol. Ty.  ;)
Title: Re: Download System
Post by: landyvlad on February 09, 2022, 07:20:43 PM
I have this mod installed on 2.0.19.

I see its noted as compatible with 2.1RC4

With the release now of 2.1.0 is it compatible for use with no further changes necessary?
Title: Re: Download System
Post by: vbgamer45 on February 10, 2022, 11:43:50 AM
Yes it works for 2.1
Title: Re: Download System
Post by: @rjen on February 10, 2022, 12:00:14 PM
You are aware that the version that is in the download page as version 3.0.12 is actually in the package manager showing as 3.0.11a?
Title: Re: Download System
Post by: vbgamer45 on February 10, 2022, 12:12:46 PM
Was not. Has been fixed thanks!
Title: Re: Download System
Post by: vbgamer45 on June 03, 2022, 12:25:28 AM
Update
3.0.13
!Fixed group by not having all the columns in some cases
Title: Re: Download System
Post by: vbgamer45 on September 22, 2023, 09:26:49 AM
Update

3.0.14
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck
Title: Re: Download System
Post by: Speed King on September 24, 2023, 03:37:03 PM
Sorting items in category by filesize doesn't work. Sorting in other columns is OK.