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)
CompatibilityWorks with SMF 2.1.x, SMF 2.0.x and SMF 1.1.x
DescriptionA 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 LinksSMF 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)
I'm gonna try this asap.
Thanks VbGamer. I'm sure it will be another fantastic mod.
Fantastic! Thank you!
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.).
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.
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.
I did not understand how / for what use that:
Custom Fields
Field Title Default Value Required
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
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...
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.
how funtion this mod? same bottom where is admin - search - profile? thanks
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.
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
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)
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.
upload a file of 2 mb and perfect but 20mb o more. show "need a name title" :(
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?
is any version for SMF 1.1.3?
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.
how modific more upload??
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.
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?
I don't see a total downloads section on the Download Stats page
Total Files
Total Views
Total Comments
Total Downloads Filesize
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.
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
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
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.
please send me a code sample for bottom "downloads" in my theme
[email protected] thanks
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
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
@ 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.
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.
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
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
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?
An Error Has Occurred!
Unable to load the 'main' template.
This is the error message I get Please help mate
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?
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.
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
It uses all the default styles of SMF all controlled by style.css.
Uses titlbg windowbg windowbg2 and catbg classes.
G/J vB!
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.
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 ;)
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
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.
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.
Install the mod manually
http://www.smfhacks.com/smf-package-parser.html
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 ';'
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.
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.
@ 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)
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.
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.
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
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.
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
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....
Ok i uninstalled my other two mods, installed this mod, then re-installed the other two... all seems fine
@ 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.
same error Execute Modification ./Themes/default/languages/Modifications.english.php
This mod is very baby! :(
END mod uinstall finish
@ 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.
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 :(
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.
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.
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.
@ 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.
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
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.
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.
Awesome! I love it!
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.
@ 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.
Greetings all,
is there a way to use the mod under UTF encoding?
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
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)
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
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
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!
great mod thanks
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?
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!
@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?
@ 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.
@ TS
Hi.
I tried the cleanup routine and now I have no access to my forum :(
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.
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
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
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.
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
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.
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!
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.
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?
What were the circumstances when this error occured...had you installed the mod using the SMF Package Manager?
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
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.
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)
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.
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 :)
You can have files stored on remote servers.
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?
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!
Just curious, what files are your members uploading?
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)
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)
Are the files in your downloads folder?? Check your downloads path and url settings.
does no one know if the 0kb bug has been fixed?? (when u use a DL URL instead of uploading a file)
That can not be fixed since we can not find out the size of the remote url.
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???
1.0.3
!Fixed showing filesize on download page if file is a remote url.
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?
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.
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 :(
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...
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?
One of the two functions needs to be renamed.
Doh I should have thought of that. Thanks :)
vbgamer45, does mod have possibility to set permissions for members groups based on posts count?
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.
Quote from: vbgamer45 on December 07, 2007, 10:10:57 PMQuote 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?
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?
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.
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 ???
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.
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?
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 :(
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:)
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:

If anyone wants it, get in touch :)
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!
It works with any theme as long as you create a button/link for any custom theme
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...
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
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
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
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:

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 :)
is there anyone that can help me?
I can get all this to work...however ,when i go in as user there is no Download file link /icon any ideas?
@ 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
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?
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
Thanks for the translation!
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
If the mod works with smaller files then it's probably a limit imposed by your hosting.
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
vbgamer45, did you have any luck identifying why the keywords dont work for the search?
Ok, seeing as I'm getting nowhere with the search keywords, would anyone like to be EMPLOYED to fix this for me!?
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 :)
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
Can you give me your Website-Adress pls? :)
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....
No problem, I'm glad it helped :D
Sorry, I've no MSN-Account, maybe you could send me a PM or a Mail? :)
No Yahoo / ICQ either? PM/mail is fine.. just not as easy to explain!
No, I've no messenger running ;)
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...
What has recruiting staff to do with this topic?
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?
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 :(
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
When logged in as Admin, go to:
/forum/index.php?action=downloads;sa=addcat
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!
You need to be more specific with what you want.....
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.
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....
google (http://"http://www.google.com)
Well how do I make a link like that then?
ok so in that instance, you would need:
[url=http://www.google.com]Google[/url]
Has anyone modified this mod to work with allowing the upload of a photo with the file to be shown on the download page?
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]
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.
mate, how do i change the download path from my site to a file host?
my site.
http://www.allsomaliforum.com
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)
@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! :(
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) ???
Yup that is how the mod is it has the same feature as the gallery
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?
shouldnt it look like this????
anybody????
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
myaicons You are a very good spammer. ;)
Nobody will help you if you spam. ;)
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
:(
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.
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?
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
@ 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)
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 ;)
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
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
@ 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.
This is not the Simplemachines Bridge. ;)
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
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
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?
It doesn't work well for me.
I'm trying to upload a 7zip file (10MB).
I get the following message:
No download selected.
7zip is not one of the filetypes this mod supports.
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?
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.
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.
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
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.

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!
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
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.
Are there any kind of restrictions for file names, for example Caps or any kind of symbol?
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.
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.
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.
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
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
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
Quote from: vbgamer45 on November 29, 2007, 10:13:02 PM
You can have files stored on remote servers.
How do i do this?
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
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.
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...
Download System + ftp !!!??
Download System && hide link ...
use foreva!!! >:( ;D :D
@ rtyug
awsome forum!
did not I understand
more concrete ?
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
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 ;)
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.
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.
does anybody know how to add a link on the users profile to show their uploaded downloads?
it only wanted to allow the sending of certain files, for example by extension (.rar .zip), somebody knows as to make?
"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
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
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...
$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();
...........................
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?
on my yes...
you will look as it works!
how to look who how many did GET information in what amount?
and that under a signature
Doesn´t work, i can send any kind of files...
huh ???
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
php.ini
register_globals = On
http://www.php.net/manual/en/features.file-upload.php
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
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!!!
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"?
$valid_types = array("rar","zip");
if (in_array($filename, $valid_types))
fatal_error($txt['downloads_error_no_download'],false);
this doesent work :(
Thanks. ;)
Is there a way to hide the file address, and instead of it show a php address?
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.
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
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
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?
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.
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.
How do you edit the title of a category?
when i upload an archive , and i try to download , the download system say:
error 404
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
Go ahead /Modifications.english-utf8.php Test failed can fail
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
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..?
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
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
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
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
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
~~~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.
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
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?
is there a way to set it to auto approve downloads+comments?
Admin -> Permisssions -> modify a group ->
Auto Approve Comments
Auto Approve Downloads
ah, thanks a lot
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
Hi @vbgamer45
I'm gonna try this.. Is there any Turkish language?
If there isn't. I can translate in to Turkish..
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.
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.
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?
Yes same is true with this mod.
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.
How do I remove the Upload File: box with the Browse button?
I just want to have the option to upload url:
You would need to edit Downloads.template.php for editing and adding a download
Are you planning updating the mod to SMF 2.0.3 PUBLIC BETA? Thanks! just wanted to know... because this mod is awesome!
Not till SMF releases 2.0 Final
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,
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
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
Cool,
Thanks...
Is this MOD works for SMF 2.0.........??
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!
That is by design have not added support to search custom fields.
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.
It is something planned no time frame for adding that though.
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.
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
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?
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.
Do you plan to upgrade it for 2.0.3 usage?
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)
Can't see it not open for guests.
Might be caused by mod_security
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
#2 You would need to convert the database tables for the download system to support unicode.
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?
Would require changes in the Sources/Downloads.php in the AddDownload2 funciton.
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?
What needs to be done with the mod security?
I get an error on install...
./Themes/default/languages/Modifications.english-utf8.php - TEST FAILED
Can I manually install the mod or something?
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.
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
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?
Not sure might be mod_security or a bad path/url in the settings
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?
I will upgrade my mods once SMF 2.0 final is released.
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... :)
then when a release will go out let on smf 3.0 beta 1
Hmm,
Is there any idea of when the Download System Pro will be released?
I'm waiting for that :)
A little while away have some other projects I want to catch up first on.
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 :)
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.
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 :)
3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
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
Helps me out. Thank you.
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 #" ?
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.
Yeah, that would be awesome!
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
What does the mod security do anyway?
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
No easy way you would need manually install the latest version.
Hmm,
Already news for the Download System Pro, or any idea when this mod gets 'updated' in a way? :)
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.
Okay thanks for the information :)
Keep me up-to-date if ya want :)!

How can I add this button for all download links?
Thanks...
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
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..
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
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
In your smf folder there is another folder named 'downloads'.
You may find them in there :)
Thanks Dude....my cache hadn't updated but it has now and I can see the files....
How silly do I look now.....
Nobody is silly,
everyone has to start somewhere.
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.
Does not currently support remote server for file uploads.
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
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?
That is an issue with your host please contact your hosting company that is an issue with the database.
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.
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?
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?
How do i add a catorgory?!!?!?!?!
Go to the main downloads section under Admin panel there is an option to add a category.
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
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.
Currently it does not store anything it is for future use.
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?
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?
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
Its kinda a must. I don't know why you did not have this in before...
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.
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?
When can you make an smf 2.0 beta 3.1 version?
Probably will not make a version for the beta but will make a version for SMF 2.0 final.
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.
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
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.
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
Haven't decided yet it is in the works.
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.
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.
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.
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.
I'm starting fresh on my site and wondered if there is a way to back my downloads system downloads and Categorys?
Thanks
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?
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
you can access via index.php?action=downloads
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
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!!
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 :)
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
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
I have a request to the way the categories are organized.
basically this picture shows it:

I will pay if needed :)
Thanks :)
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.......
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)
vbgamer45,
is there ANY progress on this mod for the 'pro' version, or a new version?
Please respond with a decent answer,
Thank you.
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.
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.
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?
You need to upload the install program to the root directory of your forum then run it.
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.
??
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).
??
Strange you probably will need to install the tables manually by going though the sql files found in that file.
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)?
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??
Admin -> Perrmissions set them up for each group.
They are set up to view, not add...thanks for the try tho
When does that error occur? Check that all the language files are in place in your themes/modifications.english.php
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.
Hi,
How do i have to install this mod? which files go where?
Thanks
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?
Url currently can't find file size. Currently no option for ftp.
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.
How do I create a custom field ?
To create custom fields edit the category
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.
yup you can't do that. Maybe i add in the paid version.
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.
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çã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 membro 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>
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.
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.
You need to copy Downloads.template.php to your themes/default folder
vbgamer45, may I try to edit the mod so images are uploadable and shown at the downloads?
You can do anything you want for your personal site.
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.
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?
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.
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 ;)
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 :)
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
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?
I can't add Categories. Did I miss it somewheres?
EDIT: Never mind I found it!
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.
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?
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.
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
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??
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
Check out the code in index.template.php make the code similar to the other buttons
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 . '"> </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 . '"> </td>' : '';
any suggestions....
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 . '"> </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 . '"> </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>';
worked like a charm.... except i changed the edit profile part to downloads
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.
I really think that you should update this so that members can upload a image to the file.
Modified
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 ?
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.
I think it might have to do with the session autostart and the scripting .. but .. i am sort of lost after that :)
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)
How can I reorder the downloads by the Title in order from A to Z. Thanks.
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()
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.
Will compatiblitiy with SMF V2.0 Beta 4 been added in the near future?
Yes couple weeks
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?
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
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
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.
;D Thanks so much for your help! It worked, and so easy! Thank you.
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
Maybe you can add upload with FTP
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!
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
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.
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]
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
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?
Correct does not yet show thumbnails of the image sets every file as a download.
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?
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
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.
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.
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.
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
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.
How do I upgrade? Do all my downloads disappear if I uninstall the old mod?
YO. i was using wrong file, i was on 1.1 now on 1.1.1.
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.
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 :)
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.
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
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.
1.1.2
!Fixed a bug with downloading files for some users.
!Fixed interface for themes that don't support tabs
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çã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ê não tem permissã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ê não tem permissão adicionar download.';
$txt['permissionname_downloads_edit'] = 'Editar Próprias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao membro 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 membro apagar os seus 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 Comentário';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro 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 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 imagem/Comentários';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro relatório downloads e comentários.';
$txt['cannot_downloads_report'] = 'Você não está autorizado a apresentar um relatório comentário.';
$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 membro 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-utf8.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 membro 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 membro 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 membro 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 membro apagar os seus 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 Comentário';
$txt['permissionhelp_downloads_editcomment'] = 'Permite ao membro 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 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 imagem/Comentários';
$txt['permissionhelp_downloads_report'] = 'Permite ao membro relatório downloads e comentários.';
$txt['cannot_downloads_report'] = 'Você não está autorizado a apresentar um relatório comentário.';
$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 membro 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.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>
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?
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?
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.
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?
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
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.
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.
That did it, after a new upload of the file, The old one still gave the error.
Thank you!
how do you update from 1.0.4 to 1.1.2 do I have to uninstall it first ?
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.
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.
This modification does not work for SMF 2.0 yet in the coming weeks it will
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. :)
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
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
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. :)
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?
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:



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! )
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?
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.
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.
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>';
}
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?
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.
Hey vbgamer,
Hows the Download System Pro Coming along?
Little bit delayed at the moment. Have one large new free mod for SMF coming then updating my store mod.
Can we have a hint about your new mod? :)
A portal system.
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
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.
Yes you do but i have not yet updated this mod to SMF 2.0
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.
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.
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!
@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?
Yes it is you would need to modify the Downloads.template.php and replace the download text to an image link instead.
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
Can you give an example of what you searching for and selecting
Hi vbgamer45
Thank you very much for the update!
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...
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.
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.
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.
Released a new update to fix the searching issue.
1.1.3
!Fixed searching for downloads
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.
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 ?
Not really hard at all if you know php and mysql
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
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? ???
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
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
what about SMF 2.0 ? when will you upgrade this mode to SMF 2.0 ?
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! :)
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.
Yes if you uninstalling is safe all data and downloads are saved. Then install the new version.
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.
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?
Umm not much changed. You can just upload the new Downloads.php to Sources/Downloads.php
and it should fix the issue.
You, my friend, are a star.
Working perfectly.
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

Something I have planned for downloads pro along with a lot more.
Is this expected for 2.0 Beta4 soon?
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 ;)
Quote from: ReVoKe on November 01, 2008, 11:36:58 PM
Is this expected for 2.0 Beta4 soon?
In the coming weeks.
SMF 2.0 Beta 4 Support Added!
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.
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 .
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.
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.
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.
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.....
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.
vbgamer you can create a TP Download Manager converter??
LIke the TP Articles to SMF Articles converter
Remind me and I will put it on my list.
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.
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.
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.
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!
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.
How does the link look in the thread?
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
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 !
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
how can i top 10 download items show boardindex? (i used smf 2.0b4 & Download system 1.1.4.1)
Would require custom code to do so currently do not have any premade code to do that.
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. :)
Gallery.php in the last update
Thanks esé !!!
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
;)
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);
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?
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.
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
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
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.
I have problem..Because my upload limit is only 2mb..I want unlimit .
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?
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
any news about the tinyportal downloads converter???
Thanks
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. :)
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.
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
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
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 !
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.
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 ??
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.
again ah crap...
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?
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 ?
No. You would need to edit your php.ini to increase the max post size and upload file size
vbgamer45,
Just noticed possible bug in the Report Download.
Guests still can report, even when permissions are set to no.
Thank you for the quick reply. Good luck wiht the bug.
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'],
:)
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? :)
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.
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.
yh it works now TY
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. :)
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
Any premium version available already?
I really like to see (and buy) a version that allows to upload, edit, and delete images.
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?
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.
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. :)
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?
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.
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.
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?
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.
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
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
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.
Might be added later. But those logs can get really huge if you allow guests to download.
Nice update,can you upload screenshots yet or ? :P
any news about the TP Download Manager to SMF Downloads converter?
No news yet very backed up at the moment on projects.
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?
I would check what is going on line 743 of Subs.php and see what code is there
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
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
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
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.
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.
And increase post_max_size as well.
;D Works fine now vbgamer45,
Thanks for all your help.
Cheers.
Lyonsy.
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?
No it would not be.
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
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!
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

Tried everything to fix it with no luck ::)
Appreciate the help and thanks once again :D
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.
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.
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
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....
Anyone!?
http://www.simplemachines.org/community/index.php?topic=203471.msg1856813#msg1856813
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
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?
Hi vbgamer
What do you think in add new rss to the downloads???
Would be great to be informated about the recent downloads
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
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.
VB were do u want us to put our feature requests?
For feature requests and bug reports post here
http://www.smfhacks.com/index.php?action=modtracker
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
What was the theme problem??
IE is on the left and FF is on the right, look the menu in FireFox is wonky lol

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.
If you post your index.template.php I can fix it.
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
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>';
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"
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
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
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
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.
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
Hmm, already news about the ability to include 'screenshots/images' ?
No news yet on that.
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
You need increase you upload_file_size in the php.ini and post_data_size
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.
[/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
The only thing I know about that is those two php settings that would cause that issue.
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.
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 :)
Thanks! Keep the feature requests coming the more I get the better the mod will be.
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?
Known issue and a stupid rule you can disable mod_security in order to let the download system work.
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.
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
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
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
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.
Working fine now.
But I have to disable mod_security (apache2). Very bad. Security lost.
The line is.....
if ($g_manage || $g_delete_own && $$file['ID_MEMBER'] == $ID_MEMBER)
Any one else got any info on this?
Yeah it should be
if ($g_manage || $g_delete_own && $file['ID_MEMBER'] == $ID_MEMBER)
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
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?
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.
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.
I raised and all is fixed now. Thank you!
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!
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
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.
You need to edit the index.template.php and add a link to the downloads section.
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)
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.
Ok. No Problem. Thanks. :) (I tried yall)
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
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)
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
ok i missed
FROM
still dont out put nothing tho
This is the Best! Such nicely Done. Many Thanks for this Great Mod.
Is it possible to restrict people to only upload to one folder/section?
great mod :D
but i hope the latest download can be like http://mangahelpers.com/downloads/
Some1 knows how i can delete more then one Download at once? ( without deleting the whole category )
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.
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
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 )
No current way to do that
Could you maybe do "Checkboxes" there so i can delete more then 1? :/ :/
Regards...
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
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 :)
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.
Should work fine with RC1
I think what will be great to add is a upload percentage, or just a bar showing the process for the upload??
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
You can just do with smf's permissions.
Category level permissions are optional
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
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
vbgamer45, do you think add prettyurls support ?
etc:
downloads/item/5/
downloads/section/5/
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
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
!Fixed minor bug in SMF 2.0 not showing the title of permissions under simple permissions in SMF.
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?
Should work fine for RC1. Just be sure to set the permissions and should work ok
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!
Can't do it since I can't tell the size of file that is being uploaded. Unless it is completely uploaded.
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??
Just that? What version of SMF? anything in the error log that might be releated
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?
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
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)
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
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?
It only gives a link to the remote file.
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
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> </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> </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> </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> </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> </td>
<td><input type="file" size="48" name="download" />
</td>
</tr>
<tr class="windowbg2">
<td align="right"><b>', $txt['downloads_form_uploadurl'], '</b> </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> </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"> </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'],' </td>
<td>',format_size($context['quotalimit'], 2),'</td>
</tr>
<tr class="windowbg2">
<td align="right">',$txt['downloads_quotagspaceused'],' </td>
<td>',format_size($context['userspace'], 2),'</td>
</tr>
<tr class="windowbg2">
<td align="right">',$txt['downloads_quotaspaceleft'],' </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!
Hello, is there anybody out there??
I am not been able to use it on a different template other than the default.
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)
I like your add on. Pls do it for 1.1.8.
Hoping.
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.
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.
Check your php settings default limit is 2mb
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.
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.
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 ?
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.
Hello SoLoGhost
I only want to know how to edit like Attach file
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
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 :)
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!
To vbgamer45: Will you please include this Add-On in the Next update, or better yet, this version of Download System??
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.
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.
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
Hard to find a way for subcategories per row or by screen width
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.
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.
hi.. vbgamer45
can u integrate upoad progress meter .
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.

http://img19.imageshack.us/img19/3741/20090331235818.jpg
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
To do this would require edits to the Downloads.template.php file
QuoteTo do this would require edits to the Downloads.template.php file
I know, but how? This is my file..thanks..
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.
Contact your host might be diskspace used up
Quote from: <<Anadolu>> on March 31, 2009, 05:01:54 PM

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> </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> </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> </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> </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!
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.
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?
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)
SoLoGHoST (http://index.php?action=profile;u=198712) thank you.
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.
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)
Thanks a lot heinander, that was exactly what I was looking for!
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?
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.
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.
How can I make the download system to have Parse function, anyone have any ideas ? :(
What do you mean parse function
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
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 ?
Not part of the default install of the download system.
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);
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.
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.
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 :)
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
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.
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...

Individually Setting the Layout for each Category by clicking on [Edit] link

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...

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...

Added a new layout called, Small Tables, and looks like this:

You can set how many rows per page for the Small Tables Layout in Downloads Config...

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

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:

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.

And Many Many More Features...
ENJOY!!! :)
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)
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 :(
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!
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.
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
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...
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 :)
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 ?
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?
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.
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.
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)
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.
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
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
oh i see thanks wonderd why it dont happen all the time just now and again thanks
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.
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.
Thanks Marcus J for your feedback. Glad you like this AddOn. Waiting for a response from vbgamer45...
How can I add quick file upload in Simple Portal block?
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.
Sent response via PM.
Ok, sorry but I got no response from you via PM.
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
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 :(
Thank for the answer but :'(
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
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
oh yeah Not sure if it would work then
Yes, no luck
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.
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.
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 :)
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.
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
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)
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
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.
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.
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. :)
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
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.
Read your PM's.
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.
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.
Thank you a thousand times SoLoGHoST. My English is too poor to tell you how what you did is great. :D
Sure, your welcome :)
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?
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.
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.
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
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!
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.
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:

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. :)
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.
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.
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.
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.
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
Many thanks for the update,
can it just be overinstalled onto the old 1.2.1 version ?
Many thanks.
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.
Okay, I will try it now and report back in a few minutes.
Stay tuned..
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 ?
Yes those two tests can fail proceed with uninstall
Okay, have deinstalled it now.
Will now install the new version and report back.
Stay tuned.
Okay, great ,seems to have worked now !
Many thanks VBGamer, you are my hero now ! ;)
Many thanks again.
Regards, Stefan.
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.
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?
Is here any ony who has the german language of this Mod? :-[
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;
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?
I would let it go as long as the page does not time out. How many files are you importing?
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?
It duplicates the files. So you can check both of them to compare and free do with you want.
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
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?
Most of these files exceed 100Mb. I've already set my download system mod to accept files over 200Mb
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.
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.
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...
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.
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...
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.
1.2.3
+Added most downloaded download index page block
+Added total download line in the main page blocks
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
1. Yes it should be if possible.
2. Does not fix that issue, it is an smf bug.
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.
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.
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.
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?
What parts would you like to see integrated?
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
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.
Not built in but possible to do
is it possible to give the code? I can add myself easily...
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.
ok many thanks for your advice, I will try this week and feedback!
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
it is nice for a share option, like upload 3 files and download 9 with the credit system
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.
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.
ehm .. its possible admin to add links but input any user of my forum as uploader?
You can change who owns the download by editing the download
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,
Yes it is ok just to copy them over.
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
Can you change the text like "up" "down" "delete"..... to an icon?
Great Mod
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&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.
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
I have added those two features in downloads pro
http://www.smfhacks.com/download-system-pro.php
I installed this mod but it do not showing downloads. Help needed.
And what does it show?
Any error?
SMF Version?
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.
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.
awesome mod!!
can you add a progress bar to it?
Maybe but depends on your server setup
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?
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.
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)
Will think about it not sure maybe an option.
thank you very much
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
estimated time left could be tricky. Progress bar I can do something using Yahoo upload component.
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...
Will check that one out too. Seems less complex but easier to setup that yahoo's
you're the expert here, cheers
i know nothing about this stuff to be honest :D
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() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: 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
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
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() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: 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.
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
post_max_size important too
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?
MIGHT be permissions issue then not having permissions to move file one place to the other
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?
That would be the php upload directory set in your php settings.
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
vbgamer
how about Upload Progress Bar?
Maybe a little tricky to add though.
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?
You have to modify download.template.php. Read up on php coding at w3schools
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.
Not currently do not have a downloads view permission for the lite version.
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!
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
For custom themes you just need to edit the index.template.php and add a link to the downloads system.
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.
:)
Check out my post here
http://www.smfhacks.com/index.php/topic,3498.0.html
Thanks I will look into that now.
Thanks vbgamer, I had neglected to edit post_max_size first time round.
I realise this was talked about on page 44
O:)
Glad you got it working
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.
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
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?
Attach your index.template.php of the template and we can add download systems support.
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.
I do believe I may have fixed this myself.
Glad you got it working.
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
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...
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
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
WORKS PERFECT!!!
THE BEST MOD FOR SMF!
But are there any Danish language pack for this?
Im using 1.2.5
Cheers
Brian
Denmark
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
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?
I can tell you the file Downloads.template.php but there are many many lines that would need to be adjusted.
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.
Not easily no
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.
I can't see that page not visible to guests
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
No post based support at this time it is a little tricky to add.
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
For guests with downloads system there is no seperate download permission. If they can view the downloads they can download the file
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
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?
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.
Quick fix release
1.2.6
!Fixed bbc editor in SMF 2.0 not working in IE6/IE7
Should the old v be uninstalled first?
Thx
If possible or you can use the upgrade option
Didn't see an upgrade option.
Then I would uninstall then reinstall
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.
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
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!
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
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.
What do you have for your downloads path under settings?
Also check your forum's error log of anything that might be important.
Settings,

And nothing related to downloads section in error logs.
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 :)
How large are the files being uploaded?
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
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.
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.
Read this topic on increasing your php limits
http://www.smfhacks.com/index.php/topic,3498.0.html
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 :)
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.
Correct haven't built that in yet.
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
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.
Opção de enviar mensagem é só para versão paga?
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.
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
How large of the files. Does it start to download the file at all? Also what browser are they using
sorry, updated that just as you were replying. I'll need to wait and see if they reply to me with that info.
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.
Hmm I might have to add a new setting number of subcategories per line to fix that.
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
how do I make an html block for shows in the latest downloads on
forum?
It would need to be a php block this is built into ezportal
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
No?
Not sure what the question is?
I wish the new files appeared for download on the sidebar that I have the Ad Management
Translated by Google from Portuguese to English
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.
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.
I wish the new files appeared for download on the sidebar that I have the Ad Management
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
Any help on this people :)
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
Does this have a uploading progress bar yet ?
No it does not. That would mostly likely require a server extension or a flash module in order to get that to work.
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!!!
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.
That is correct just to note the files are found in themes/default/languages/
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.
You can upload files from your pc and place them in a download category. Users can then download the files.
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?
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
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?
Check out this post
http://www.smfhacks.com/index.php/topic,3498.0.html
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!!
That's strange the host should have full control
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 :)
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
No you do not need anonymous ftp all files are uploaded via web form
But once I ask, is there any way to put a block with the downloads via HTML or PHP
I have a block built into ezportal at http://www.ezportal.com
It needs to be php
Only then can I use the blocks? Would not have otherwise?
Only in that case do not have blocks for other portals yet but am looking to do that in the future.
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/
Not at this time.
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 :)
Is it possible to replace the Download System with Download System Pro once bought (flawless action)?
Yes it is. Very easy to upgrade from lite to pro.
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
How large do files get on your site?
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
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?
The mod does not work for RC 2 charter or public yet waiting for the public version to be released.
2.0 RC2 sürüm için güncellenecek mi acaba?
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.
I plan to have something out tonight hopefully for the downloads system.
Please update for rc2, thanks.
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.
Updated for SMF 2.0 RC2!
Thank you very much !
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
That page looks ok just little style issue. You do not add categories on that page. You add them on the main downloads index.
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
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.
No problem, I was just trying to point out a possible bug for you.
Kratos
I have a problem:
I have the same Problem ; it seems that <div class="navigate_section">
is twice in code somewhere ?!
Remove this in Downloads2.tempplate.php around line 20:
echo '
<div style="padding: 3px;">', theme_linktree(), '</div>';
Thanks! will fix that for next update
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...
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:

EDIT: Its a mod, this might not be the rite place to place it
Fix posted above. Will be fixed for next update.
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:

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
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
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:

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 ??? :-[
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
Update
1.2.7
!Fixed extra link tree in SMF 2.0
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.
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. ;)
Yup. Little things like that drive me nuts. Even more so when you have to figure them out yourself
or maybe a few pointers on how to add a new permission? thx
I added a download permission in addition to view permission in the pro edition of the downloads system.
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&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.
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

How large is the file? Might be exceeding the download limits read this post
http://www.smfhacks.com/index.php/topic,3498.0.html
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
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.
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
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
Great thanks
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 :-[
Hello !
Is it possible to avoid the "SUB Categories" to be shown on all pages even when "Counts child categories" is on ?
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?
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
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)
Check out this guide
http://www.workingwith.me.uk/articles/scripting/mod_rewrite
Well obviouslly .htaccess is not my thing, but already fixed using php, quickly and easy as always :)
Thanks Anyway
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.
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.
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
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.
FTP may work. Yes ezPortal does have a built in downloads block support to pull from the downloads system.
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 !
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.
Are you using a custom theme?
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 !
Please attach your index.template.php file
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.
I would need more information like what browser they are using etc. I haven't encountered the logging out issue on my test forums
Hey VBGAMER - why is Pro Support so slow and free support so fast ?
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.
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
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
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
I would need an admin account to check the logs
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
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
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
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.
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.
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
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
Pls find attached.
Quote from: vbgamer45 on December 13, 2009, 12:19:29 AM
Please attach your index.template.php file
can I put download links from other sites or it must be links from my site?
I think only files that are uploaded if I remember correctly
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.
You can use links from any site. Though the size of it will always say 0 kB. Hope this answers your question.
I notice the mod installs tables called smf_down_custom_field and smf_down_custom_field_data
What are these for?
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.
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(
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
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. :)
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!
In this file Themes/default/languages/Download.english.php
Thank you so very much...
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
Please reattach the file
How do I sticky a download where it always show that download first in a category
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
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
You would edit the following file themes/default/languages/downloads.english.php
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
Sorry wrong file meant themes/default/languages/modifications.english.php
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
Glad you got it working
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
Maybe that would be pretty custom though to do not sure how many people would use it.
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?
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
I understand. Thank you much.
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.)
It creates a new folder for every thousand files so that directories do not get too large
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.
What version of internet explorer?
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.
1.2.8
+Optimized the table view for SMF 2.0 RC2
How do I upload my 1st file to the download system 1.2.7. I do not see an upload link
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
which link do i goto?
http://www.yourforum.com/index.php?action=downloads
Replace with your forum url
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
Thanks for the comments and support!
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. :)
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.
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.
Yeah I have that for Downloads Pro haven't updated lite yet with it.
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
Do you have the exact file and line number along with that error?
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
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.
Not yet but I have the code done for downloads pro just need to port it here.
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
Very nice mod, vb! I just added this mod to our forums this morning and so far the members are liking it alot. ;D
Thanks for your comments
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?
Not yet but would be a good request currently you would have to deny for each membergroup
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)
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.
Just upgrade and install the current pro version 1.0.15 - works perfect on RC3
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.
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
Whats the exact error message?
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.
No problem glad you got it updated
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?
On all pages that have that menubar? And what version of internet explorer?
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.
I haven't seen or heard anything with issues with IE.
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....
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
Is it possible to have a SEARCH of title, description for the Downloads System?
TIA.
Dave Nuttall
San Antonio, TX
I believe that should be built into the system there should be a search tab if not its in downloads pro.
How do you download the actual "download link" on the download page.
I mean the link people click to download files from my site
You would right click the link to get the link of the item for a direct link
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..
You would edit the downloads.template.php then use the <b> <u> tags to style the link
thanks vb..
there are like a thousand "download" there.
which one ties to the download link ?
Look for the view_download template function.
ok, found it.. great work. thanks
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.
Don't give them the Admin Downloads/Manage Downloads permission. Under Admin -> Permissions for each membergroup
Thanks man.
Is there a way to disable "Download Stats" and remove the link to "View Downloads Stats?"
You would currently need to remove it from the template itself.
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:

.
Please help me resolve this first issue
That is just a style issue can be ignored that is the admin area doesn't affect what the user sees.
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?
Category permission are permissions if you want to set on a category.
Normal permissions are found under Admin -> Permissions
Update!
1.3.1
+Added better curve style support for SMF 2.0 RC3
Wow, lucky me!! Works perfect now, thanks and great work on this. You are a gift to computers everywhere. ;D
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?
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.
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?
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.
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ó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/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>
Thanks so much for translation!
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!
I don't know if this version as the batch add in the admin area or it might be part of downloads pro only.
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.
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.
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?
Not sure really that is unusal. All files or a certain file?
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.
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!
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!
Photos/screenshots I currently have built into the Downloads Pro version of this mod.
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
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?
Not really a bug but that was how it was designed. Sub Sub totals arent' counted.
Same as SMF itself.
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?
Maybe will see I would need to write it.
Thanks!, If you cannot though for any reason, just please contact me.
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.
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.
You can see your limits under Downloads Configuration
Contact your host to increase them
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
You need to add category's first then you can upload files to a category
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
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,
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.
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. :(
I would really contact your host. They are the ones that control it.
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
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
Np, thx :)
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.
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.
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?
Check if there is a batch add in the admin area if not I think u have to do it one by one.
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!!!
You need to convert tables to utf8 and create your own modifications.yourlanguage file for the downloads
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/
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
Start from http://docs.simplemachines.org/index.php?topic=95
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
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.
Bingo. Thank you for your patience.
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?
Are you an admin?
Check under permissions -> modify group and give manage downloads permission
ooo yes , perfect ;D ;D
thank you very much
Glad you got it!
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?
File big? Do you have seo urls eneabled?
file is 2 mb. seo urls eneabled?
look at the screen
404 error means bad url like do you have any url mods
sorry but i dont understand what you mean ..url mods
What mods do you have?
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
Does it say anything else instead of 404? It could be a permission issue.
the permissions are ok, i dont understand what happend with this mod.
thank you all, i delete this mod and i am ok :-X
Still it was very unusal to get a 404 error unless it was permission or another mod releated.
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.
Issue with mod_security contact host to disable it.
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.
Glad you got it working!
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)
Yes that is how it currently works only the first sub level is counted like how SMF does for the forums.
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?
Well it would do a query for each sublevel. Fixed it in downloads pro just never updated downloads lite yet with it.
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 :)
Minor update!
1.3.3
!Fixed incorrect html linking code had an extra /
Another update thanks to a donation!
1.3.4
+Added unlimited level deep counting for file totals
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.epubinstead of
Lorenzo De' Medici - Canzoniere.epub
That just fixes an sql error on upload for the filename if it contained quotes.
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!!!!
Hmm check under settings that Downloads Per Page is set.
thanx! it's work!!!!
Glad you got it working!
Hi, is there any way to show download only for people Who has x posts?
Not currently doesn't use post count groups.
Wow this mod looks sweet going to try it out when I make my new site
Hi vbgamer
Are u planning to do so? Tnx anyway for this great mod
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.
Not at this time. With pro edition you can add screenshots but you can't play media.
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
Not planning to do so I don't like post count based permissions it gets really odd
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
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
:-\ :-\ :-\ :-\ :-\ :-\
Yes you need to edit download.template.php
where exactly. :-\ for
Quote1) below the link for downloading a file
2) in between categories
3) in between files in a category
Don't know u would have to search the file i don't remember.
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 ?
Awesome mod mate, ur the best
Glad you enjoy it!
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.
Is there a way to display the latest downloads in another page with a code? Including to show images?
Thanks!
This mod is very useful.
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
@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
Thanks for the translation!
with pleasure, it's the least I could do to thank you for letting us use your great mod :)
Glad you enjoy it
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
Found under Admin -> Permsissions
of course, it was the only part where I didn't look ;D
thanks a lot
Glad you found it!
Minor Bugfix
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
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
You would need to be modify the downloads.template.php and include the code.
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) :-\ :-\ :-\
vb,
Is there an SSI available for this mod?
Not at the moment
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?
Yes it would be possible but you would need php/mysql knowledge to do.
Well, I have some, but I don't think enough lol.
Could it be implemented in a future version maybe?
Probably not.
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?
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.
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?
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.
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.
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.
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.
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.
Check in permissions if there is something for AutoApprove for the membergroup if not it is a feature in downloads pro.
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?
Nvm yeah currently does not support skipping approval if already approved and your just editing the file again.
That's unfortunate, thanks for the prompt replies as usual, much appreciated.
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
themes/default/languages/modifications.english.php
and
themes/default/languages/downloads.english.php
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 ;)
No problem glad to help
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 ?
If SMF 2.0 clear cache under forum maintenance.
Check your other themes langauges folder too
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.
Glad you got it working!
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
No you can't currently.
Would this be easy to implement?
Would require some major work to add would need another database table to store files/links
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.
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 ?
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
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
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.
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
You could do giant if/else in the main template_above beleow if $_REQUEST['action'] == 'downloads' do this if not do that.
so your saying do a request like if anypage but downloads else nothing lol
i will give it a go hope its works lol
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
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.
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?
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.
Checking.
Thanks a million!
Always a prompt and useful response! :D
Glad you were able to modify it!

:D
Nice looks awesome!
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?
Yeah there is check just check in the Downloads.php for rating
Thanks VbGamer i will look now maybe i missed it lol
*EDIT*
Yea i did miss it lol
Thanks Again
Thanks again! :D
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:

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)
There should be a GetStarsByPercent function in downloads or downloads.tmplate.php
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! :)
So how do I create a Category?
Visit the main downloads page action=downloads and click on the add category link
Would it be a real pain to add a progress bar for uploading files?
Could you add one?
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.
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.
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
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.
Permissions just to edit/delete/approve?
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.
Check your php settings the file maybe larger than your allowed upload limit.
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??
Or the webserver itself you also have to check max_post_size as well.
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
Check out this topic
http://www.smfhacks.com/index.php/topic,3498.0.html
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!
If your forum has files or members share files this would be a place to store and organize them.
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.
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
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
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
And there is a max_post_size as well that needs to be changed
; 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.
That should be it you might need todo a webserver reset for it take affect.
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.
Check your max file size settings in downloads settings it should be in bytes
"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.
That should be more than enough that means your limit is set to 2048 mb for file uploads
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
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.
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)
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.
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
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. :)
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 :)
:) 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.
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.
Minor update bug fix for SMF 2.0
1.3.4.4
!Fixed missing image for stats bar in SMF 2.0
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!
I just posted in your other support topic check it out.
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.
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.
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
When I try to go to the /downloads page I get a 500 error. Any ideas what could be causing it?
You do not visit that page to access the mod. You visit http://www.yourforum.com/index.php?action=downloads
That was the problem, Thanks! ;D
Glad you got it working!
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