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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.gamersfiles.net%2Fdlbutton.jpg&hash=a957b7b0185a328cb37e8158fa5fe64ed9e27490)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.gamersfiles.net%2Fdlbutton.jpg&hash=a957b7b0185a328cb37e8158fa5fe64ed9e27490)
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.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv394%2Fastrodaddy%2FImage1.jpg&hash=a171674a606e63916b8bbb71f7cb23aa07ad69d9)
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 :)!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg365.imageshack.us%2Fimg365%2F1633%2Feefe9.png&hash=7ac1aaed2f8f060aada8c2be219f837e7426b65a)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ferror33.net%2Fdownloads.png&hash=715c7b830ced659f0dd39b206089aae01ed4ebae)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Farcadeworld.nl%2Fimages%2Fscreens%2Fdownload_main.gif&hash=e8ebef7e19c5ac6daec65f94b269909a833cd8d2)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Farcadeworld.nl%2Fimages%2Fscreens%2Fdownload_forum.gif&hash=265db26e0e83d7384e923870a541f5b442f0e6ae)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Farcadeworld.nl%2Fimages%2Fscreens%2Fdownload_file.gif&hash=adb9839d5bfa8d21088e65cc9503510b9e6fb0b2)
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?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi50.photobucket.com%2Falbums%2Ff337%2Fvortodox%2FExample.jpg&hash=d6259924559b99372ea8931b8cb3dc65fb0688b2)
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 ?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg154.imageshack.us%2Fimg154%2F3239%2Fnopebc3.png&hash=5decc4379a3ec7b1c6321f2c812bf25ff77d89f0)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg154.imageshack.us%2Fimg154%2F3239%2Fnopebc3.png&hash=5decc4379a3ec7b1c6321f2c812bf25ff77d89f0)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi299.photobucket.com%2Falbums%2Fmm311%2FThe_Wii_Nes_Boy%2FFFproblems-1.jpg&hash=7020ae5b6e6aa26b4942297acf1c8298474906fc)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi299.photobucket.com%2Falbums%2Fmm311%2FThe_Wii_Nes_Boy%2FFFproblems-1.jpg&hash=7020ae5b6e6aa26b4942297acf1c8298474906fc)
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.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F3741%2F20090331235818.jpg&hash=9248eea0b0f0c4bd3f3b757c4e88d97c1cf2d028)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F3741%2F20090331235818.jpg&hash=9248eea0b0f0c4bd3f3b757c4e88d97c1cf2d028)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F3741%2F20090331235818.jpg&hash=9248eea0b0f0c4bd3f3b757c4e88d97c1cf2d028)
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...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Flayout_edit_category.png&hash=f08968af3dc8b492199728765b98859cb41ac1d8)
Individually Setting the Layout for each Category by clicking on [Edit] link
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Flayout_category.png&hash=2fca045f4af2a895e862cf03ab59cea04c87a672)
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...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Fdefault_admin_layout.png&hash=52f59d8df65df19d44e9e3c9a0a56d0d04bd080c)
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...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2FCLupdateAdmin.png&hash=ed3c363e8230eccfe1de727f1c409a27d1c3c77c)
Added a new layout called, Small Tables, and looks like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2FSmallTablesLayout.png&hash=2f782376cab9cfbc41707a2ae3007b57baa87b81)
You can set how many rows per page for the Small Tables Layout in Downloads Config...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Fadmin_rows_per_page.png&hash=fba131509644708e73e867d46b3197756e60e7e7)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Fadmin_max_screenshot.png&hash=85e04e7eacfd3d83bf77391d45652d8e99249fe3)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2Fadd_edit_download.png&hash=fc80941239003ed4682abc093269c4a46bcf52c7)
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.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Feds%2FthumbnailsPageIndex.png&hash=b7583d1d727315ac759e4ce1d1461fb76adc5757)
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?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg4.imageshack.us%2Fimg4%2F5451%2F20090424143141.jpg&hash=64ce2c2cbd69bbd8172fcaf787e13b5c3816b04b)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Facs.graphicsmayhem.com%2Fimages%2FAddCategory.png&hash=781317610ed526d7a66a3dbc3ec614382a5cad70)
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,
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi221.photobucket.com%2Falbums%2Fdd121%2Fmorris91_2007%2Fforum.jpg&hash=56e0262c99201e8eb2ec30b989e5a893f0de0604)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg44.imageshack.us%2Fimg44%2F1900%2F20091110131612.jpg&hash=1b559b79a754eab4d8f8d125f1efd6912999e032)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2eksv8m.png&hash=6896f91650fa71d5be5a6300312d650c1e208695)
EDIT: Its a mod, this might not be the rite place to place it
2. problem:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg692.imageshack.us%2Fimg692%2F5066%2F20091111222945.jpg&hash=aa0dab49563c1f1bf225b633e553b2895ace04b0)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2eksv8m.png&hash=6896f91650fa71d5be5a6300312d650c1e208695)
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2eksv8m.png&hash=6896f91650fa71d5be5a6300312d650c1e208695)
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg525.imageshack.us%2Fimg525%2F7759%2Fscreenshot20091115at432.png&hash=ba7cc18b8ca98ae72a5ae44e2182e89aada11efa)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg301.imageshack.us%2Fimg301%2F7759%2Fscreenshot20091115at432.png&hash=f7fa5032dd0da9f417c2a76104ebf41451d8ddd4)
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: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi449.photobucket.com%2Falbums%2Fqq214%2FPowerKrewServers%2Fdownloadsystem.png&hash=d22a020e829d2b8fd8cc083fe48fc20e4af8222f).
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!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi52.tinypic.com%2F35lvkex.jpg&hash=5174a24771628ee73f38ed8d37625cb2ad020407)
: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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi51.tinypic.com%2F2ahbl91.jpg&hash=f010cd4ba395afdfad8e8cbf29c89a67df0cf5d3)
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.
I search for the error but found nothing on it.
I tried reinstalling the mod as well but still the same
did/do you use tinyportal for downloads? if not then dont worry about that message
OK well here is the thing then.
i want to import my large files to the downloads board
I have already uploaded my files to /downloads/ftp
so now i need the import part to work.
should i install tinyportal for this to work?
I am using Ezportal & don't want any headacks
when you go to make a download there is a spot you can add a link, you can do it that way so large files are still hosted on your site. I have used this method on my site with no issues.
thanks I did see that but was hoping there was a right way rather then a work around way.
I will do that for now, but if there is something better i can do could anyone please post it.
cheers for you help buddy. was good of you to reply so fast
http://www.asekonomija.com/index.php?action=portal;sa=shoutbox;shoutbox_id=2;time=1290154012;xml
Undefined index: downloads_menu
Datoteka: /home8/asekonom/public_html/Sources/Subs.php
Linija: 4314
Hello! I am getting this error all the time.
I am using SMF 2 rc3 outline theme.
Can anybody help me? Thanks!
You need to copy the downloads language text from themes/default/modifications.english.php to themes/default/modifications.yourlanguage.php
And Or themes/yourcustomtheme/modifications.english.php
To fix that issue.
Quote from: Illori on November 12, 2010, 10:40:44 AM
when you go to make a download there is a spot you can add a link, you can do it that way so large files are still hosted on your site. I have used this method on my site with no issues.
Getting back to this. was OK as a work around but I had to make my folder containing the downloads public
& the out come of that is that any one not registered with the forum is able to access the files.
I really need the FTP option to be able to import the files so only members with correct permissions
can access them to download...
like the Aeva Media MOD FTP,,, I need that option in the downloads
I am not sure if I have it there for Downloads System Lite Batch FTP tab if not it is in downloads Pro.
Quote from: vbgamer45 on November 19, 2010, 09:53:58 AM
You need to copy the downloads language text from themes/default/modifications.english.php to themes/default/modifications.yourlanguage.php
And Or themes/yourcustomtheme/modifications.english.php
To fix that issue.
Thanks!
It is OK now :).
Glad you got it working!
Quote from: vbgamer45 on November 19, 2010, 10:18:40 AM
I am not sure if I have it there for Downloads System Lite Batch FTP tab if not it is in downloads Pro.
would it be possible to get the coding for the FTP option from the download pro MOD then please
so I can add this option my self?.
I am happy to donate $10 but I don't have $65 to buy downloads pro.
Thanks for this great mod...
Here is the danish translation...
Best regards
Henrik Poulsen
Downloads.danish.php
<?php
/*
Download System
Version 1.3
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2010 SMFHacks.com
############################################
License Information:
Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################
Downloads Danish Text Strings
*/
// Downloads.template.php Downloads
// Title string
$txt['downloads_text_title'] = 'Downloads';
// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategori';
$txt['downloads_text_categorydescription'] = 'Kategori beskrivelse';
$txt['downloads_text_totalfiles'] = 'Downloads';
$txt['downloads_text_reorder'] = 'Flyt';
$txt['downloads_text_options'] = 'Valgmuligheder';
$txt['downloads_text_category'] = 'Kategori';
$txt['downloads_text_parentcategory'] = 'Ovenstående Category';
$txt['downloads_text_catnone'] = '(Ingen)';
$txt['downloads_text_adminpanel'] = 'Downloads Admin Panel';
$txt['downloads_text_addcategory'] = 'Tilføj kategori';
$txt['downloads_text_cat_disableratings'] = 'Deaktiver download bedømmelse';
$txt['downloads_text_bbcsupport'] = '(BBC koder supporteres)';
$txt['downloads_text_editcategory'] = 'Rediger kategori';
$txt['downloads_text_delcategory'] = 'Slet kategori';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_text_permissions'] = 'Rettigheder';
$txt['downloads_rep_deletefile'] = '[Slet billede]';
$txt['downloads_text_fileswaitapproval'] = 'Filer afventer godkendelse: ';
$txt['downloads_text_filecheckapproval'] = 'Kontroller fil godkendelsesliste';
$txt['downloads_text_comwaitapproval'] = 'Kommentar afventer godkendelse: ';
$txt['downloads_text_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';
$txt['downloads_text_filereported'] = 'Rapporterede filer: ';
$txt['downloads_text_filecheckreported'] = 'Kontroller rapporterede filer';
$txt['downloads_text_comreported'] = 'Rapporterede kommentarer: ';
$txt['downloads_text_comcheckreported'] = 'Kontroller rapporterede kommentarer';
$txt['downloads_write_error'] = 'Advarsel - Download sti er ikke skrivbar! ';
$txt['downloads_text_myfiles'] = '[Mine filer]';
$txt['downloads_text_search'] = '[Søg]';
$txt['downloads_text_myfiles2'] = 'Mine filer';
$txt['downloads_text_search2'] = 'Søg';
$txt['downloads_text_edit'] = '[Rediger]';
$txt['downloads_text_delete'] = '[Slet]';
$txt['downloads_text_unapprove'] = '[Afvis]';
$txt['downloads_text_approve'] = '[Godkend]';
$txt['downloads_text_up'] = '[Op]';
$txt['downloads_text_down'] = '[Ned]';
$txt['downloads_text_reportdownload'] = '[Rapporter download]';
$txt['downloads_text_delcomment'] = '[Slet kommentar]';
$txt['downloads_text_edcomment'] = '[Rediger kommentar]';
$txt['downloads_text_repcomment'] = '[Rapporter kommentar]';
$txt['downloads_text_prev'] = 'Forrige download';
$txt['downloads_text_next'] = 'Næste download';
$txt['downloads_text_filesize'] = 'Filstørrelse: ';
$txt['downloads_text_by'] = 'Af:';
$txt['downloads_text_date'] = 'Dato: ';
$txt['downloads_text_comments'] = 'Kommentar';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Visninger: ';
$txt['downloads_text_pages'] = 'Sider: ';
$txt['downloads_text_commentwait'] = 'Din kommentar vil ikke blive vist før den er blevet godkendt.';
$txt['downloads_text_adddownload'] = 'Tilføj en download';
$txt['downloads_text_returndownload'] = 'Retur til download indeks';
$txt['downloads_text_returnfile'] = 'Retur til fil';
//Online strings
$txt['downloads_who_viewdownload'] = ' gennemser denne download kategori.';
$txt['downloads_who_viewfile'] = ' gennemser disse filer.';
$txt['downloads_who_members'] = 'Medlemmer';
$txt['downloads_who_hidden'] = 'Skjult';
//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beskrivelse:';
$txt['downloads_form_icon'] = 'Kategori icon URL:';
$txt['downloads_form_uploadicon'] = 'Upload kategori icon';
$txt['downloads_write_catpatherror'] = 'Advarsel - Kategori icon sti er ikke skrivbar! ';
$txt['downloads_form_filenameicon'] = 'Kategori icon filnavn:';
$txt['downloads_warn_category'] = 'Advarsel - Dette vil SLETTE denne kategori og alle downloads, kommentarer og bedømmelser i denne kategori...';
$txt['downloads_form_adddownload'] = 'Tilføj Download';
$txt['downloads_form_category'] = 'Kategori:';
$txt['downloads_form_keywords'] = 'Keywords:';
$txt['downloads_form_uploadfile'] = 'Upload fil:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';
$txt['downloads_form_additionaloptions'] = 'Flere valgmuligheder:';
$txt['downloads_form_allowcomments'] = 'Tillad kommentarer for denne download.';
$txt['downloads_form_notapproved'] = 'Din fil vil ikke blive vist i downloads for andre brugere før den er blevet godkendt.';
$txt['downloads_form_editdownload'] = 'Rediger download';
$txt['downloads_form_viewratings'] = 'Vis bedømmelser';
$txt['downloads_form_ratedownload'] = 'Bedøm download';
$txt['downloads_form_norating'] = 'Denne download er ikke blevet bedømt endnu.';
$txt['downloads_form_rating'] = 'Bedømmelse: ';
$txt['downloads_form_ratingby'] = ' af ';
$txt['downloads_form_ratingmembers'] = ' medlemmer.';
$txt['downloads_text_rating'] = 'Bedømmelse';
$txt['downloads_text_changeowner'] = 'Skift ejer';
$txt['downloads_text_olddownload'] = 'Gammel download';
$txt['downloads_text_deldownload'] = 'Download';
// View file
$txt['downloads_text_filestats'] = 'Download statistik:';
$txt['downloads_text_postedby'] = 'Indsendt af: ';
$txt['downloads_text_addcomment'] = 'Tilføj kommentar';
$txt['downloads_text_editcomment'] = 'Rediger kommentar';
$txt['downloads_text_reportcomment'] = 'Rapporter kommentar';
$txt['downloads_text_commodifiedby'] = 'Sidst ændret af: ';
$txt['downloads_text_home'] = 'Downloads forside';
// Delete file
$txt['downloads_warn_deletedownload'] = 'Advarsel - Dette vil slette din download og du kan ikke genskabe den.';
$txt['downloads_form_deldownload'] = 'Slet download';
$txt['downloads_form_deldownload2'] = '[Slet download]';
$txt['downloads_form_comment'] = 'Kommentar:';
$txt['downloads_form_reportdownload'] = 'Rapporter download';
$txt['downloads_form_managecats'] = 'Administrer kategorier';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporter downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_form_approveallcomments'] = 'Godkend alle kommentarer';
$txt['downloads_form_reportedcomments'] = 'Rapporterede kommentarer';
// Settings page
$txt['downloads_set_description'] = 'Tillader dig at redigere vigtige indstillinger for din download sektion.';
$txt['downloads_set_filesize'] = 'Maksimal download filstørrelse: ';
$txt['downloads_set_path'] = 'Download sti: ';
$txt['downloads_set_url'] = 'Download URL: ';
$txt['downloads_set_whoonline'] = ' Vis hvem der gennemser download';
$txt['downloads_set_commentschoice'] = ' Tillader brugeren at bestemme om kommentarer vises for en download eller ej.';
$txt['downloads_set_permissionnotice'] = ' Endelig! Glem ikke at sikre dig at rettighederne er sat korrekt for hver gruppe, så de har mulighed for at vise eller tilføje filer i downloads.';
$txt['downloads_set_editpermissions'] = ' Rediger rettigheder';
$txt['downloads_set_files_per_page'] = ' Downloads pr. side:';
$txt['downloads_set_commentsappr'] = ' Kommentar kræver godkendelse?';
$txt['downloads_set_commentsnewest'] = ' Vis nyeste kommentarer første.';
$txt['downloads_set_showratings'] = ' Vis download bedømmelser';
$txt['downloads_set_enable_multifolder'] = ' Aktiver flere kataloger til download lagerpladse';
$txt['downloads_index_toprated'] = ' Vis højest bedømte downloads på index side';
$txt['downloads_index_recent'] = ' Vis seneste downloads på index side';
$txt['downloads_index_mostviewed'] = ' Vis mest viste download på index side';
$txt['downloads_index_mostdownloaded'] = ' Vis den mest hentede downloads på index side';
$txt['downloads_index_mostcomments'] = ' Vis den mest kommenterede downloads på index side';
$txt['downloads_index_showtop'] = ' Vis indeks blok i toppen på indeks siden';
$txt['downloads_set_count_child'] = ' Medtæl Sub kategorier i antal downloads. <br />(Udfører flere forespørgsler til databasen)';
$txt['downloads_set_show_quickreply'] = ' Vis hurtig svar på kommentar visning';
// Category Display Settings
$txt['downloads_set_t_downloads'] = ' Vis samlede downloads';
$txt['downloads_set_t_views'] = ' Vis samlede visninger';
$txt['downloads_set_t_filesize'] = ' Vis filstørrelse';
$txt['downloads_set_t_date'] = ' Vis dato';
$txt['downloads_set_t_comment'] = ' Vis samlede kommentarer';
$txt['downloads_set_t_username'] = ' Vis brugernavn';
$txt['downloads_set_t_rating'] = ' Vis bedømmelse';
$txt['downloads_catthumb_settings'] = 'Kategori skærm indstillinger';
// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max kategori billede højde:';
$txt['downloads_set_cat_width'] = 'Max kategori billede bredde:';
// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads skærm indstillinger';
$txt['downloads_set_file_prevnext'] = ' Vis forrige og næste links';
$txt['downloads_set_file_desc'] = ' Vis beskrivelse';
$txt['downloads_set_file_title'] = ' Vis titel';
$txt['downloads_set_file_views'] = ' Vis antal visninger';
$txt['downloads_set_file_downloads'] = ' Vis download antal';
$txt['downloads_set_file_lastdownload'] = ' Vis sidste download';
$txt['downloads_set_file_poster'] = ' Vis indsendt af';
$txt['downloads_set_file_date'] = ' Vis dato';
$txt['downloads_set_file_showfilesize'] = ' Vis filstørrelse';
$txt['downloads_set_file_showrating'] = ' Vis bedømmelse';
$txt['downloads_set_file_keywords'] = ' Vis nøgleord';
$txt['downloads_save_settings'] = 'Gem indstillinger';
// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop point indstillinger</b><br /><span class="smalltext">Bruges kun hvis SMF Shop er indstalleret</span>';
$txt['downloads_shop_fileadd'] = 'Download point: ';
$txt['downloads_shop_commentadd'] = 'Kommentar point: ';
// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Link koder';
$txt['downloads_set_showcode_directlink'] = ' Vis direkte link koder';
$txt['downloads_set_showcode_htmllink'] = ' Vis HTML link koder';
$txt['downloads_txt_directlink'] = 'Direkte link';
$txt['downloads_txt_htmllink'] = 'HTML link';
// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beskrivelse';
$txt['downloads_app_date'] = 'Dato';
$txt['downloads_app_membername'] = 'Medlemsnavn';
$txt['downloads_text_withselected'] = 'Med udvalgte';
$txt['downloads_text_performaction'] = 'Udfør handling';
// Report list
$txt['downloads_rep_filelink'] = 'Download link';
$txt['downloads_rep_reportby'] = 'Rapporteret af';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'vis download';
$txt['downloads_rep_deletedownload'] = '[slet download]';
$txt['downloads_rep_delete'] = '[Slet rapporterede]';
$txt['downloads_rep_org_comment'] = 'Original kommentar';
// Search Page
$txt['downloads_search_download'] = 'Søg i downloads';
$txt['downloads_search_for'] = 'Søg efter:';
$txt['downloads_search_title'] = 'Søg download titel';
$txt['downloads_search_description'] = 'Søg download beskrivelse';
$txt['downloads_search_keyword'] = 'Søg nøgleord';
$txt['downloads_search'] = 'Søg';
$txt['downloads_search_days30'] = 'Sidste 30 dage';
$txt['downloads_search_days60'] = 'Sidste 60 dage';
$txt['downloads_search_days90'] = 'Sidste 90 dage';
$txt['downloads_search_days180'] = 'Sidste 180 dage';
$txt['downloads_search_days365'] = 'Sidste 365 dage';
$txt['downloads_search_alltime'] = 'Alle dage';
$txt['downloads_search_daterange'] = 'Dato område: ';
$txt['downloads_search_membername'] = 'Indsendt af (medlems navn): ';
$txt['downloads_search_advsearch'] = 'Avancerede søgemuligheder';
$txt['downloads_searchresults'] = 'Søge resultat';
// MyFiles
$txt['downloads_myfiles'] = 'Mine filer';
$txt['downloads_myfiles_app'] = 'Download godkendt';
$txt['downloads_myfiles_notapp'] = 'Download afvist';
// Index Page Strings
$txt['downloads_main_recent'] = 'Seneste downloads';
$txt['downloads_main_viewed'] = 'Mest viste';
$txt['downloads_main_toprated'] = 'Bedst bedømte';
$txt['downloads_main_mostcomments'] = 'Mest kommenterede';
$txt['downloads_main_mostdownloads'] = 'Mest hentede';
// Stats
$txt['downloads_text_stats'] = 'Stastistik';
$txt['downloads_stats_last'] = 'Sidste 10 indsendte downloads';
$txt['downloads_stats_viewed'] = 'Mest viste downloads';
$txt['downloads_stats_toprated'] = 'Bedst bedømte downloads';
$txt['downloads_stats_mostcomments'] = 'Mest kommenterede';
$txt['downloads_stats_title'] = 'Download statistik';
$txt['downloads_stats_totalviews'] = 'Antal visninger';
$txt['downloads_stats_totalcomments'] = 'Antal kommentarer';
$txt['downloads_stats_totalfize'] = 'Samlede downloads filstørrelse';
$txt['downloads_stats_totalfiles'] = 'Downloads';
$txt['downloads_stats_viewstats'] = 'Vis downloads statistik';
// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Tilføj Sub kategori';
// Board
$txt['downloads_text_postingoptions'] = 'Indsend valgmuligheder';
$txt['downloads_text_boardname'] = 'Board navn:';
$txt['downloads_postingoptions_info'] = 'Information: Hvis du vælger et board vil der blive oprette en bested i dette board når en download godkendes.';
$txt['downloads_posting_showlinktodownload'] = 'Vis link til download forside';
$txt['downloads_posting_locktopic'] = 'Lås Emne';
// File Space and Quota information
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_filespace_note'] = 'Miniature billeder tælles ikke med i en brugers pladsbegrænsning';
$txt['downloads_filespace_filesize'] = 'Plads brugt';
$txt['downloads_filespace_list'] = 'List filer';
$txt['downloads_filespace_list_title'] = 'Filliste';
$txt['downloads_filespace_recount'] = 'Kontroller brugt lagerplads';
$txt['downloads_filespace_groupquota_title'] = 'Medlemsgruppe kvote begrænsning';
$txt['downloads_filespace_groupname'] = 'Medlemsgruppe navn';
$txt['downloads_filespace_limit'] = 'Fil kvote begrænsning';
$txt['downloads_filespace_addquota'] = 'Tilføj kvote begrænsning';
// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategori rettighedsliste';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_text_catperm'] = 'Kategori rettigheder';
$txt['downloads_text_addperm'] = 'Tilføj rettigheder';
//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du skal indtaste kategori titel!';
$txt['downloads_error_no_file_selected'] = 'Ingen download valgt.';
$txt['downloads_error_file_notapproved'] = 'Denne download er endnu ikke godkendt og du har ikke rettigheder til at se det.';
$txt['downloads_error_no_title'] = 'Du skal indtaste download titel.';
$txt['downloads_error_no_cat'] = 'Du skal vælge en kategori.';
$txt['downloads_error_file_filesize'] = 'Download overstiger max filstørrelse. Max filstørrelse er ';
$txt['downloads_error_no_download'] = 'No uploaded download found.';
$txt['downloads_error_no_downloadexist'] = 'Ingen download eksisterer';
$txt['downloads_error_noedit_permission'] = 'Du har ikke rettigheder til at redigere denne download.';
$txt['downloads_error_nodelete_permission'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['downloads_error_no_comment'] = 'Du indtastede ikke en kommentar!';
$txt['downloads_error_not_allowcomment'] = 'Vent et øjeblik... Denne download tillader ikke kommentarer...';
$txt['downloads_error_no_com_selected'] = 'Ingen kommentar valgt.';
$txt['downloads_error_no_user_selected'] = 'Ingen bruger valgt.';
$txt['downloads_error_no_report_selected'] = 'Ingen raport valgt.';
$txt['downloads_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';
$txt['downloads_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';
$txt['downloads_error_nocomedit_permission'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['downloads_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';
$txt['downloads_error_already_rated'] = 'Du har allerede bedømt denne download.';
$txt['downloads_error_space_limit'] = 'Det er ikke muligt at sende filen da den overstiger din kvote begrænsning. Kvote information: ';
$txt['downloads_error_noquota'] = 'Du indtastede ikke en kvote begrænsning.';
$txt['downloads_error_nogroup'] = 'Ingen medlemsgruppe valgt.';
$txt['downloads_error_quotaexist'] = 'Der eksisterer allerede en kvote for denne gruppe. Slet gammel kvote først.';
$txt['downloads_error_nouser_exists'] = 'Ingen bruger eksisterer.';
$txt['downloads_error_nocat_above'] = 'Der er ingen kategori over den nuværende.';
$txt['downloads_error_nocat_below'] = 'Der er ingen kategori under den nuværende.';
$txt['downloads_error_norate_own'] = 'Du kan ikke bedømme din egen download.';
$txt['downloads_error_no_catexists'] = 'Du skal oprette en kategori før du kan indsende en download.';
$txt['downloads_error_invalid_picture'] = 'Invalid billede fil';
// Quota Limits
$txt['downloads_quotagrouplimit'] ='Kvote begrænsning';
$txt['downloads_quotagspaceused'] ='Kvote plads brugt';
$txt['downloads_quotaspaceleft'] ='Kvote plads tilbage';
// Permissions
$txt['downloads_perm_no_view'] = 'Du har ikke rettighed til at vise denne kategori.';
$txt['downloads_perm_no_add'] = 'Du har ikke rettighed til at tilføje download til denne kategori.';
$txt['downloads_perm_no_edit'] = 'Du har ikke rettighed til at redigere denne download i denne kategori.';
$txt['downloads_perm_no_delete'] = 'Du har ikke rettighed til at slette denne download i denne kategori.';
$txt['downloads_perm_no_ratefile'] = 'Du har ikke rettighed til at bedømme denne download i denne kategori.';
$txt['downloads_perm_no_editcomment'] = 'Du har ikke rettighed til at redigere denne kommentar i denne kategori.';
$txt['downloads_perm_no_addcomment'] = 'Du har ikke rettighed til at tilføje kommentarer i denne kategori.';
$txt['downloads_perm_no_report'] = 'Du har ikke rettighed til at bedømme indhold i denne kategori.';
// Notify comment
$txt['downloads_notify_body'] = 'Der er blevet skrevet en kommentar til din indsendte download.' . "\n\n" . 'Du kan se den på' . "\n" . '%s' . "\n\n";
$txt['downloads_notify_subject'] = 'Ny kommentar: %s';
$txt['downloads_notify_title'] = 'Underret mig om kommentarer';
$txt['downloads_perm_view'] = 'Vis';
$txt['downloads_perm_add'] = 'Tilføj download';
$txt['downloads_perm_edit'] = 'Rediger egen download';
$txt['downloads_perm_delete'] = 'Slet egen download';
$txt['downloads_perm_addcomment'] = 'Tilføj kommentar';
$txt['downloads_permerr_permexist'] = 'Der eksisterer allerede rettigheder for denne gruppe og kategori. Slet venligst disse rettigheder første.';
$txt['downloads_perm_allowed'] = 'Tilladt';
$txt['downloads_perm_denied'] = 'Afvist';
$txt['downloads_guest'] = 'Gæst';
// Custom Fields
$txt['downloads_custom_fields'] = 'Brugerdefineret felt';
$txt['downloads_custom_title'] = 'Felt titel';
$txt['downloads_custom_default_value'] = 'Standard værdi';
$txt['downloads_custom_required'] = 'Påkrævet';
$txt['downloads_custom_addfield'] = 'Tilføj felt';
$txt['downloads_custom_err_title'] = 'Brugerdefineret feltnavn er krævet.';
$txt['downloads_error_nocustom_above'] = 'Der er ingen brugerdefinerede felter over det nuværende.';
$txt['downloads_error_nocustom_below'] = 'Der er ingen brugerdefinerede felter under det nuværende.';
$txt['downloads_err_req_custom_field'] = 'Du har et påkrævet felt der mangler information kaldet ';
$txt['downloads_err_checkfailed'] = 'Sikkerhedstjek fejlede';
$txt['downloads_click_enlarge'] = 'Klik for forstørrelse';
$txt['downloads_sub_cats'] = 'Sub kategorier: ';
// Sorting Options
$txt['downloads_txt_sortby'] = 'Sorter efter: ';
$txt['downloads_txt_orderby'] = 'Rækkefølge: ';
$txt['downloads_txt_sort_go'] = 'Udfør';
$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Dato';
$txt['downloads_txt_sort_mostviewed'] = 'Visninger';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentarer';
$txt['downloads_txt_sort_mostrated'] = 'Bedømmelse';
$txt['downloads_txt_sort_filesize'] = 'Filestørrelse';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Medlemsnavn';
$txt['downloads_txt_sort_asc'] = 'Stigende';
$txt['downloads_txt_sort_desc'] = 'Faldende';
$txt['downloads_error_img_size_height'] = 'Billede overskrider krav til størrelse. Billedets højde: ';
$txt['downloads_error_img_size_width'] = ' Billedets bredde: ';
// Category Display
$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bedømmelse';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Visninger';
$txt['downloads_cat_filesize'] = 'Filstørrelse';
$txt['downloads_cat_date'] = 'Dato';
$txt['downloads_cat_comments'] = 'Kommentarer';
$txt['downloads_cat_membername'] = 'Medlemsnavn';
$txt['downloads_cat_options'] = 'Valgmuligheder';
$txt['downloads_text_lastdownload'] = 'Sidste download: ';
$txt['downloads_text_lastdownload2'] = 'Aldrig';
// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importer Tiny Portal downloads';
$txt['downloads_txt_import'] = 'Importer';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal downloads import resulter';
$txt['downloads_txt_import_downloads'] = 'Importer downloads';
$txt['downloads_txt_import_note'] = 'Hvis du har indstalleret et andet download system tidligere, vil du have mulighed for at importere disse filer i Download System';
$txt['downloads_txt_categories_imported'] = 'Importerede kategorier: ';
$txt['downloads_txt_files_imported'] = 'Importerede filer: ';
$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Filesize ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Filesize ';
$txt['downloads_upload_limits_notes'] = 'Ovenstående PHP indstillinger kontrollere hvor stor en fil der accepteres. Disse indstillinger kontrolleres af php.ini eller din webhost';
?>
Downloads.danish-utf8.php
<?php
/*
Download System
Version 1.3
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2010 SMFHacks.com
############################################
License Information:
Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################
Downloads Danish Text Strings
*/
// Downloads.template.php Downloads
// Title string
$txt['downloads_text_title'] = 'Downloads';
// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategori';
$txt['downloads_text_categorydescription'] = 'Kategori beskrivelse';
$txt['downloads_text_totalfiles'] = 'Downloads';
$txt['downloads_text_reorder'] = 'Flyt';
$txt['downloads_text_options'] = 'Valgmuligheder';
$txt['downloads_text_category'] = 'Kategori';
$txt['downloads_text_parentcategory'] = 'Ovenstående Category';
$txt['downloads_text_catnone'] = '(Ingen)';
$txt['downloads_text_adminpanel'] = 'Downloads Admin Panel';
$txt['downloads_text_addcategory'] = 'Tilføj kategori';
$txt['downloads_text_cat_disableratings'] = 'Deaktiver download bedømmelse';
$txt['downloads_text_bbcsupport'] = '(BBC koder supporteres)';
$txt['downloads_text_editcategory'] = 'Rediger kategori';
$txt['downloads_text_delcategory'] = 'Slet kategori';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_text_permissions'] = 'Rettigheder';
$txt['downloads_rep_deletefile'] = '[Slet billede]';
$txt['downloads_text_fileswaitapproval'] = 'Filer afventer godkendelse: ';
$txt['downloads_text_filecheckapproval'] = 'Kontroller fil godkendelsesliste';
$txt['downloads_text_comwaitapproval'] = 'Kommentar afventer godkendelse: ';
$txt['downloads_text_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';
$txt['downloads_text_filereported'] = 'Rapporterede filer: ';
$txt['downloads_text_filecheckreported'] = 'Kontroller rapporterede filer';
$txt['downloads_text_comreported'] = 'Rapporterede kommentarer: ';
$txt['downloads_text_comcheckreported'] = 'Kontroller rapporterede kommentarer';
$txt['downloads_write_error'] = 'Advarsel - Download sti er ikke skrivbar! ';
$txt['downloads_text_myfiles'] = '[Mine filer]';
$txt['downloads_text_search'] = '[Søg]';
$txt['downloads_text_myfiles2'] = 'Mine filer';
$txt['downloads_text_search2'] = 'Søg';
$txt['downloads_text_edit'] = '[Rediger]';
$txt['downloads_text_delete'] = '[Slet]';
$txt['downloads_text_unapprove'] = '[Afvis]';
$txt['downloads_text_approve'] = '[Godkend]';
$txt['downloads_text_up'] = '[Op]';
$txt['downloads_text_down'] = '[Ned]';
$txt['downloads_text_reportdownload'] = '[Rapporter download]';
$txt['downloads_text_delcomment'] = '[Slet kommentar]';
$txt['downloads_text_edcomment'] = '[Rediger kommentar]';
$txt['downloads_text_repcomment'] = '[Rapporter kommentar]';
$txt['downloads_text_prev'] = 'Forrige download';
$txt['downloads_text_next'] = 'Næste download';
$txt['downloads_text_filesize'] = 'Filstørrelse: ';
$txt['downloads_text_by'] = 'Af:';
$txt['downloads_text_date'] = 'Dato: ';
$txt['downloads_text_comments'] = 'Kommentar';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Visninger: ';
$txt['downloads_text_pages'] = 'Sider: ';
$txt['downloads_text_commentwait'] = 'Din kommentar vil ikke blive vist før den er blevet godkendt.';
$txt['downloads_text_adddownload'] = 'Tilføj en download';
$txt['downloads_text_returndownload'] = 'Retur til download indeks';
$txt['downloads_text_returnfile'] = 'Retur til fil';
//Online strings
$txt['downloads_who_viewdownload'] = ' gennemser denne download kategori.';
$txt['downloads_who_viewfile'] = ' gennemser disse filer.';
$txt['downloads_who_members'] = 'Medlemmer';
$txt['downloads_who_hidden'] = 'Skjult';
//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beskrivelse:';
$txt['downloads_form_icon'] = 'Kategori icon URL:';
$txt['downloads_form_uploadicon'] = 'Upload kategori icon';
$txt['downloads_write_catpatherror'] = 'Advarsel - Kategori icon sti er ikke skrivbar! ';
$txt['downloads_form_filenameicon'] = 'Kategori icon filnavn:';
$txt['downloads_warn_category'] = 'Advarsel - Dette vil SLETTE denne kategori og alle downloads, kommentarer og bedømmelser i denne kategori...';
$txt['downloads_form_adddownload'] = 'Tilføj Download';
$txt['downloads_form_category'] = 'Kategori:';
$txt['downloads_form_keywords'] = 'Keywords:';
$txt['downloads_form_uploadfile'] = 'Upload fil:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';
$txt['downloads_form_additionaloptions'] = 'Flere valgmuligheder:';
$txt['downloads_form_allowcomments'] = 'Tillad kommentarer for denne download.';
$txt['downloads_form_notapproved'] = 'Din fil vil ikke blive vist i downloads for andre brugere før den er blevet godkendt.';
$txt['downloads_form_editdownload'] = 'Rediger download';
$txt['downloads_form_viewratings'] = 'Vis bedømmelser';
$txt['downloads_form_ratedownload'] = 'Bedøm download';
$txt['downloads_form_norating'] = 'Denne download er ikke blevet bedømt endnu.';
$txt['downloads_form_rating'] = 'Bedømmelse: ';
$txt['downloads_form_ratingby'] = ' af ';
$txt['downloads_form_ratingmembers'] = ' medlemmer.';
$txt['downloads_text_rating'] = 'Bedømmelse';
$txt['downloads_text_changeowner'] = 'Skift ejer';
$txt['downloads_text_olddownload'] = 'Gammel download';
$txt['downloads_text_deldownload'] = 'Download';
// View file
$txt['downloads_text_filestats'] = 'Download statistik:';
$txt['downloads_text_postedby'] = 'Indsendt af: ';
$txt['downloads_text_addcomment'] = 'Tilføj kommentar';
$txt['downloads_text_editcomment'] = 'Rediger kommentar';
$txt['downloads_text_reportcomment'] = 'Rapporter kommentar';
$txt['downloads_text_commodifiedby'] = 'Sidst ændret af: ';
$txt['downloads_text_home'] = 'Downloads forside';
// Delete file
$txt['downloads_warn_deletedownload'] = 'Advarsel - Dette vil slette din download og du kan ikke genskabe den.';
$txt['downloads_form_deldownload'] = 'Slet download';
$txt['downloads_form_deldownload2'] = '[Slet download]';
$txt['downloads_form_comment'] = 'Kommentar:';
$txt['downloads_form_reportdownload'] = 'Rapporter download';
$txt['downloads_form_managecats'] = 'Administrer kategorier';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporter downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_form_approveallcomments'] = 'Godkend alle kommentarer';
$txt['downloads_form_reportedcomments'] = 'Rapporterede kommentarer';
// Settings page
$txt['downloads_set_description'] = 'Tillader dig at redigere vigtige indstillinger for din download sektion.';
$txt['downloads_set_filesize'] = 'Maksimal download filstørrelse: ';
$txt['downloads_set_path'] = 'Download sti: ';
$txt['downloads_set_url'] = 'Download URL: ';
$txt['downloads_set_whoonline'] = ' Vis hvem der gennemser download';
$txt['downloads_set_commentschoice'] = ' Tillader brugeren at bestemme om kommentarer vises for en download eller ej.';
$txt['downloads_set_permissionnotice'] = ' Endelig! Glem ikke at sikre dig at rettighederne er sat korrekt for hver gruppe, så de har mulighed for at vise eller tilføje filer i downloads.';
$txt['downloads_set_editpermissions'] = ' Rediger rettigheder';
$txt['downloads_set_files_per_page'] = ' Downloads pr. side:';
$txt['downloads_set_commentsappr'] = ' Kommentar kræver godkendelse?';
$txt['downloads_set_commentsnewest'] = ' Vis nyeste kommentarer første.';
$txt['downloads_set_showratings'] = ' Vis download bedømmelser';
$txt['downloads_set_enable_multifolder'] = ' Aktiver flere kataloger til download lagerpladse';
$txt['downloads_index_toprated'] = ' Vis højest bedømte downloads på index side';
$txt['downloads_index_recent'] = ' Vis seneste downloads på index side';
$txt['downloads_index_mostviewed'] = ' Vis mest viste download på index side';
$txt['downloads_index_mostdownloaded'] = ' Vis den mest hentede downloads på index side';
$txt['downloads_index_mostcomments'] = ' Vis den mest kommenterede downloads på index side';
$txt['downloads_index_showtop'] = ' Vis indeks blok i toppen på indeks siden';
$txt['downloads_set_count_child'] = ' Medtæl Sub kategorier i antal downloads. <br />(Udfører flere forespørgsler til databasen)';
$txt['downloads_set_show_quickreply'] = ' Vis hurtig svar på kommentar visning';
// Category Display Settings
$txt['downloads_set_t_downloads'] = ' Vis samlede downloads';
$txt['downloads_set_t_views'] = ' Vis samlede visninger';
$txt['downloads_set_t_filesize'] = ' Vis filstørrelse';
$txt['downloads_set_t_date'] = ' Vis dato';
$txt['downloads_set_t_comment'] = ' Vis samlede kommentarer';
$txt['downloads_set_t_username'] = ' Vis brugernavn';
$txt['downloads_set_t_rating'] = ' Vis bedømmelse';
$txt['downloads_catthumb_settings'] = 'Kategori skærm indstillinger';
// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max kategori billede højde:';
$txt['downloads_set_cat_width'] = 'Max kategori billede bredde:';
// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads skærm indstillinger';
$txt['downloads_set_file_prevnext'] = ' Vis forrige og næste links';
$txt['downloads_set_file_desc'] = ' Vis beskrivelse';
$txt['downloads_set_file_title'] = ' Vis titel';
$txt['downloads_set_file_views'] = ' Vis antal visninger';
$txt['downloads_set_file_downloads'] = ' Vis download antal';
$txt['downloads_set_file_lastdownload'] = ' Vis sidste download';
$txt['downloads_set_file_poster'] = ' Vis indsendt af';
$txt['downloads_set_file_date'] = ' Vis dato';
$txt['downloads_set_file_showfilesize'] = ' Vis filstørrelse';
$txt['downloads_set_file_showrating'] = ' Vis bedømmelse';
$txt['downloads_set_file_keywords'] = ' Vis nøgleord';
$txt['downloads_save_settings'] = 'Gem indstillinger';
// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop point indstillinger</b><br /><span class="smalltext">Bruges kun hvis SMF Shop er indstalleret</span>';
$txt['downloads_shop_fileadd'] = 'Download point: ';
$txt['downloads_shop_commentadd'] = 'Kommentar point: ';
// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Link koder';
$txt['downloads_set_showcode_directlink'] = ' Vis direkte link koder';
$txt['downloads_set_showcode_htmllink'] = ' Vis HTML link koder';
$txt['downloads_txt_directlink'] = 'Direkte link';
$txt['downloads_txt_htmllink'] = 'HTML link';
// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beskrivelse';
$txt['downloads_app_date'] = 'Dato';
$txt['downloads_app_membername'] = 'Medlemsnavn';
$txt['downloads_text_withselected'] = 'Med udvalgte';
$txt['downloads_text_performaction'] = 'Udfør handling';
// Report list
$txt['downloads_rep_filelink'] = 'Download link';
$txt['downloads_rep_reportby'] = 'Rapporteret af';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'vis download';
$txt['downloads_rep_deletedownload'] = '[slet download]';
$txt['downloads_rep_delete'] = '[Slet rapporterede]';
$txt['downloads_rep_org_comment'] = 'Original kommentar';
// Search Page
$txt['downloads_search_download'] = 'Søg i downloads';
$txt['downloads_search_for'] = 'Søg efter:';
$txt['downloads_search_title'] = 'Søg download titel';
$txt['downloads_search_description'] = 'Søg download beskrivelse';
$txt['downloads_search_keyword'] = 'Søg nøgleord';
$txt['downloads_search'] = 'Søg';
$txt['downloads_search_days30'] = 'Sidste 30 dage';
$txt['downloads_search_days60'] = 'Sidste 60 dage';
$txt['downloads_search_days90'] = 'Sidste 90 dage';
$txt['downloads_search_days180'] = 'Sidste 180 dage';
$txt['downloads_search_days365'] = 'Sidste 365 dage';
$txt['downloads_search_alltime'] = 'Alle dage';
$txt['downloads_search_daterange'] = 'Dato område: ';
$txt['downloads_search_membername'] = 'Indsendt af (medlems navn): ';
$txt['downloads_search_advsearch'] = 'Avancerede søgemuligheder';
$txt['downloads_searchresults'] = 'Søge resultat';
// MyFiles
$txt['downloads_myfiles'] = 'Mine filer';
$txt['downloads_myfiles_app'] = 'Download godkendt';
$txt['downloads_myfiles_notapp'] = 'Download afvist';
// Index Page Strings
$txt['downloads_main_recent'] = 'Seneste downloads';
$txt['downloads_main_viewed'] = 'Mest viste';
$txt['downloads_main_toprated'] = 'Bedst bedømte';
$txt['downloads_main_mostcomments'] = 'Mest kommenterede';
$txt['downloads_main_mostdownloads'] = 'Mest hentede';
// Stats
$txt['downloads_text_stats'] = 'Stastistik';
$txt['downloads_stats_last'] = 'Sidste 10 indsendte downloads';
$txt['downloads_stats_viewed'] = 'Mest viste downloads';
$txt['downloads_stats_toprated'] = 'Bedst bedømte downloads';
$txt['downloads_stats_mostcomments'] = 'Mest kommenterede';
$txt['downloads_stats_title'] = 'Download statistik';
$txt['downloads_stats_totalviews'] = 'Antal visninger';
$txt['downloads_stats_totalcomments'] = 'Antal kommentarer';
$txt['downloads_stats_totalfize'] = 'Samlede downloads filstørrelse';
$txt['downloads_stats_totalfiles'] = 'Downloads';
$txt['downloads_stats_viewstats'] = 'Vis downloads statistik';
// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Tilføj Sub kategori';
// Board
$txt['downloads_text_postingoptions'] = 'Indsend valgmuligheder';
$txt['downloads_text_boardname'] = 'Board navn:';
$txt['downloads_postingoptions_info'] = 'Information: Hvis du vælger et board vil der blive oprette en bested i dette board når en download godkendes.';
$txt['downloads_posting_showlinktodownload'] = 'Vis link til download forside';
$txt['downloads_posting_locktopic'] = 'LÃ¥s Emne';
// File Space and Quota information
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_filespace_note'] = 'Miniature billeder tælles ikke med i en brugers pladsbegrænsning';
$txt['downloads_filespace_filesize'] = 'Plads brugt';
$txt['downloads_filespace_list'] = 'List filer';
$txt['downloads_filespace_list_title'] = 'Filliste';
$txt['downloads_filespace_recount'] = 'Kontroller brugt lagerplads';
$txt['downloads_filespace_groupquota_title'] = 'Medlemsgruppe kvote begrænsning';
$txt['downloads_filespace_groupname'] = 'Medlemsgruppe navn';
$txt['downloads_filespace_limit'] = 'Fil kvote begrænsning';
$txt['downloads_filespace_addquota'] = 'Tilføj kvote begrænsning';
// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategori rettighedsliste';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_text_catperm'] = 'Kategori rettigheder';
$txt['downloads_text_addperm'] = 'Tilføj rettigheder';
//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du skal indtaste kategori titel!';
$txt['downloads_error_no_file_selected'] = 'Ingen download valgt.';
$txt['downloads_error_file_notapproved'] = 'Denne download er endnu ikke godkendt og du har ikke rettigheder til at se det.';
$txt['downloads_error_no_title'] = 'Du skal indtaste download titel.';
$txt['downloads_error_no_cat'] = 'Du skal vælge en kategori.';
$txt['downloads_error_file_filesize'] = 'Download overstiger max filstørrelse. Max filstørrelse er ';
$txt['downloads_error_no_download'] = 'No uploaded download found.';
$txt['downloads_error_no_downloadexist'] = 'Ingen download eksisterer';
$txt['downloads_error_noedit_permission'] = 'Du har ikke rettigheder til at redigere denne download.';
$txt['downloads_error_nodelete_permission'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['downloads_error_no_comment'] = 'Du indtastede ikke en kommentar!';
$txt['downloads_error_not_allowcomment'] = 'Vent et øjeblik... Denne download tillader ikke kommentarer...';
$txt['downloads_error_no_com_selected'] = 'Ingen kommentar valgt.';
$txt['downloads_error_no_user_selected'] = 'Ingen bruger valgt.';
$txt['downloads_error_no_report_selected'] = 'Ingen raport valgt.';
$txt['downloads_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';
$txt['downloads_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';
$txt['downloads_error_nocomedit_permission'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['downloads_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';
$txt['downloads_error_already_rated'] = 'Du har allerede bedømt denne download.';
$txt['downloads_error_space_limit'] = 'Det er ikke muligt at sende filen da den overstiger din kvote begrænsning. Kvote information: ';
$txt['downloads_error_noquota'] = 'Du indtastede ikke en kvote begrænsning.';
$txt['downloads_error_nogroup'] = 'Ingen medlemsgruppe valgt.';
$txt['downloads_error_quotaexist'] = 'Der eksisterer allerede en kvote for denne gruppe. Slet gammel kvote først.';
$txt['downloads_error_nouser_exists'] = 'Ingen bruger eksisterer.';
$txt['downloads_error_nocat_above'] = 'Der er ingen kategori over den nuværende.';
$txt['downloads_error_nocat_below'] = 'Der er ingen kategori under den nuværende.';
$txt['downloads_error_norate_own'] = 'Du kan ikke bedømme din egen download.';
$txt['downloads_error_no_catexists'] = 'Du skal oprette en kategori før du kan indsende en download.';
$txt['downloads_error_invalid_picture'] = 'Invalid billede fil';
// Quota Limits
$txt['downloads_quotagrouplimit'] ='Kvote begrænsning';
$txt['downloads_quotagspaceused'] ='Kvote plads brugt';
$txt['downloads_quotaspaceleft'] ='Kvote plads tilbage';
// Permissions
$txt['downloads_perm_no_view'] = 'Du har ikke rettighed til at vise denne kategori.';
$txt['downloads_perm_no_add'] = 'Du har ikke rettighed til at tilføje download til denne kategori.';
$txt['downloads_perm_no_edit'] = 'Du har ikke rettighed til at redigere denne download i denne kategori.';
$txt['downloads_perm_no_delete'] = 'Du har ikke rettighed til at slette denne download i denne kategori.';
$txt['downloads_perm_no_ratefile'] = 'Du har ikke rettighed til at bedømme denne download i denne kategori.';
$txt['downloads_perm_no_editcomment'] = 'Du har ikke rettighed til at redigere denne kommentar i denne kategori.';
$txt['downloads_perm_no_addcomment'] = 'Du har ikke rettighed til at tilføje kommentarer i denne kategori.';
$txt['downloads_perm_no_report'] = 'Du har ikke rettighed til at bedømme indhold i denne kategori.';
// Notify comment
$txt['downloads_notify_body'] = 'Der er blevet skrevet en kommentar til din indsendte download.' . "\n\n" . 'Du kan se den på' . "\n" . '%s' . "\n\n";
$txt['downloads_notify_subject'] = 'Ny kommentar: %s';
$txt['downloads_notify_title'] = 'Underret mig om kommentarer';
$txt['downloads_perm_view'] = 'Vis';
$txt['downloads_perm_add'] = 'Tilføj download';
$txt['downloads_perm_edit'] = 'Rediger egen download';
$txt['downloads_perm_delete'] = 'Slet egen download';
$txt['downloads_perm_addcomment'] = 'Tilføj kommentar';
$txt['downloads_permerr_permexist'] = 'Der eksisterer allerede rettigheder for denne gruppe og kategori. Slet venligst disse rettigheder første.';
$txt['downloads_perm_allowed'] = 'Tilladt';
$txt['downloads_perm_denied'] = 'Afvist';
$txt['downloads_guest'] = 'Gæst';
// Custom Fields
$txt['downloads_custom_fields'] = 'Brugerdefineret felt';
$txt['downloads_custom_title'] = 'Felt titel';
$txt['downloads_custom_default_value'] = 'Standard værdi';
$txt['downloads_custom_required'] = 'Påkrævet';
$txt['downloads_custom_addfield'] = 'Tilføj felt';
$txt['downloads_custom_err_title'] = 'Brugerdefineret feltnavn er krævet.';
$txt['downloads_error_nocustom_above'] = 'Der er ingen brugerdefinerede felter over det nuværende.';
$txt['downloads_error_nocustom_below'] = 'Der er ingen brugerdefinerede felter under det nuværende.';
$txt['downloads_err_req_custom_field'] = 'Du har et påkrævet felt der mangler information kaldet ';
$txt['downloads_err_checkfailed'] = 'Sikkerhedstjek fejlede';
$txt['downloads_click_enlarge'] = 'Klik for forstørrelse';
$txt['downloads_sub_cats'] = 'Sub kategorier: ';
// Sorting Options
$txt['downloads_txt_sortby'] = 'Sorter efter: ';
$txt['downloads_txt_orderby'] = 'Rækkefølge: ';
$txt['downloads_txt_sort_go'] = 'Udfør';
$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Dato';
$txt['downloads_txt_sort_mostviewed'] = 'Visninger';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentarer';
$txt['downloads_txt_sort_mostrated'] = 'Bedømmelse';
$txt['downloads_txt_sort_filesize'] = 'Filestørrelse';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Medlemsnavn';
$txt['downloads_txt_sort_asc'] = 'Stigende';
$txt['downloads_txt_sort_desc'] = 'Faldende';
$txt['downloads_error_img_size_height'] = 'Billede overskrider krav til størrelse. Billedets højde: ';
$txt['downloads_error_img_size_width'] = ' Billedets bredde: ';
// Category Display
$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bedømmelse';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Visninger';
$txt['downloads_cat_filesize'] = 'Filstørrelse';
$txt['downloads_cat_date'] = 'Dato';
$txt['downloads_cat_comments'] = 'Kommentarer';
$txt['downloads_cat_membername'] = 'Medlemsnavn';
$txt['downloads_cat_options'] = 'Valgmuligheder';
$txt['downloads_text_lastdownload'] = 'Sidste download: ';
$txt['downloads_text_lastdownload2'] = 'Aldrig';
// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importer Tiny Portal downloads';
$txt['downloads_txt_import'] = 'Importer';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal downloads import resulter';
$txt['downloads_txt_import_downloads'] = 'Importer downloads';
$txt['downloads_txt_import_note'] = 'Hvis du har indstalleret et andet download system tidligere, vil du have mulighed for at importere disse filer i Download System';
$txt['downloads_txt_categories_imported'] = 'Importerede kategorier: ';
$txt['downloads_txt_files_imported'] = 'Importerede filer: ';
$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Filesize ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Filesize ';
$txt['downloads_upload_limits_notes'] = 'Ovenstående PHP indstillinger kontrollere hvor stor en fil der accepteres. Disse indstillinger kontrolleres af php.ini eller din webhost';
?>
Danish translation continued:
downloads2.xml and downloads.xml
<file name="$languagedir/Modifications.danish.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads konfiguration';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporterede downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_txt_import'] = 'Importer';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'Vis downloads';
$txt['permissionhelp_downloads_view'] = 'Tillader brugeren at se en download';
$txt['cannot_downloads_view'] = 'Du har ikke rettigheder til at se denne download';
$txt['permissionname_downloads_add'] = 'Tilføj download';
$txt['permissionhelp_downloads_add'] = 'Tillader brugeren at tilføje en download.';
$txt['cannot_downloads_add'] = 'Du har ikke rettigheder til at tilføje en download.';
$txt['permissionname_downloads_edit'] = 'Rediger egne download';
$txt['permissionhelp_downloads_edit'] = 'Tillader brugeren at redigere egne downloads download.';
$txt['cannot_downloads_edit'] = 'Du har ikke rettigheder til at redigere denne download';
$txt['permissionname_downloads_delete'] = 'Slet egne download';
$txt['permissionhelp_downloads_delete'] = 'Tillader brugeren at slette egne downloads.';
$txt['cannot_downloads_delete'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['permissionname_downloads_ratefile'] = 'Bedøm downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Tillader brugeren at bedømme en download.';
$txt['cannot_downloads_ratefile'] = 'Du har ikke rettigheder til at bedømme denne downlaod.';
$txt['permissionname_downloads_editcomment'] = 'Rediger egne kommentar';
$txt['permissionhelp_downloads_editcomment'] = 'Tillader brugeren at redigere egne kommentarer.';
$txt['cannot_downloads_editcomment'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['permissionname_downloads_comment'] = 'Tilføj kommentarer';
$txt['permissionhelp_downloads_comment'] = 'Tillader brugeren at tilføje kommentar til en download.';
$txt['cannot_downloads_comment'] = 'Du har ikke rettigheder til at tilføje kommentarer.';
$txt['permissionname_downloads_report'] = 'Rapporter downloads/kommentar';
$txt['permissionhelp_downloads_report'] = 'Tillader brugeren at rapportere downloads og kommentarere.';
$txt['cannot_downloads_report'] = 'Du har ikke rettigheder til at rapportere indhold.';
$txt['permissionname_downloads_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentar skal ikke afvente godkendelse.';
$txt['permissionname_downloads_autoapprove'] = 'Automatisk godkendelse af downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads skal ikke afvente godkendelse.';
$txt['permissionname_downloads_manage'] = 'Administrer Download System';
$txt['permissionhelp_downloads_manage'] = 'Tillader brugeren at tilføje/slette/redigere alle kategorier. Slette kommentarer, slette downloads, Godkende downloads';
$txt['cannot_downloads_manage'] = 'Du har ikke rettigheder til at administrere downloads.';
// END Download System Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.danish-utf8.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads konfiguration';
$txt['downloads_text_settings'] = 'Indstillinger';
$txt['downloads_form_approvedownloads'] = 'Godkend downloads';
$txt['downloads_form_reportdownloads'] = 'Rapporterede downloads';
$txt['downloads_form_approvecomments'] = 'Godkend kommentarer';
$txt['downloads_filespace'] = 'Lagerplads håndtering';
$txt['downloads_text_catpermlist2'] = 'Kategori rettigheder';
$txt['downloads_txt_import'] = 'Importer';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'Vis downloads';
$txt['permissionhelp_downloads_view'] = 'Tillader brugeren at se en download';
$txt['cannot_downloads_view'] = 'Du har ikke rettigheder til at se denne download';
$txt['permissionname_downloads_add'] = 'Tilføj download';
$txt['permissionhelp_downloads_add'] = 'Tillader brugeren at tilføje en download.';
$txt['cannot_downloads_add'] = 'Du har ikke rettigheder til at tilføje en download.';
$txt['permissionname_downloads_edit'] = 'Rediger egne download';
$txt['permissionhelp_downloads_edit'] = 'Tillader brugeren at redigere egne downloads download.';
$txt['cannot_downloads_edit'] = 'Du har ikke rettigheder til at redigere denne download';
$txt['permissionname_downloads_delete'] = 'Slet egne download';
$txt['permissionhelp_downloads_delete'] = 'Tillader brugeren at slette egne downloads.';
$txt['cannot_downloads_delete'] = 'Du har ikke rettigheder til at slette denne download.';
$txt['permissionname_downloads_ratefile'] = 'Bedøm downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Tillader brugeren at bedømme en download.';
$txt['cannot_downloads_ratefile'] = 'Du har ikke rettigheder til at bedømme denne downlaod.';
$txt['permissionname_downloads_editcomment'] = 'Rediger egne kommentar';
$txt['permissionhelp_downloads_editcomment'] = 'Tillader brugeren at redigere egne kommentarer.';
$txt['cannot_downloads_editcomment'] = 'Du har ikke rettigheder til at redigere denne kommentar.';
$txt['permissionname_downloads_comment'] = 'Tilføj kommentarer';
$txt['permissionhelp_downloads_comment'] = 'Tillader brugeren at tilføje kommentar til en download.';
$txt['cannot_downloads_comment'] = 'Du har ikke rettigheder til at tilføje kommentarer.';
$txt['permissionname_downloads_report'] = 'Rapporter downloads/kommentar';
$txt['permissionhelp_downloads_report'] = 'Tillader brugeren at rapportere downloads og kommentarere.';
$txt['cannot_downloads_report'] = 'Du har ikke rettigheder til at rapportere indhold.';
$txt['permissionname_downloads_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentar skal ikke afvente godkendelse.';
$txt['permissionname_downloads_autoapprove'] = 'Automatisk godkendelse af downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads skal ikke afvente godkendelse.';
$txt['permissionname_downloads_manage'] = 'Administrer Download System';
$txt['permissionhelp_downloads_manage'] = 'Tillader brugeren at tilføje/slette/redigere alle kategorier. Slette kommentarer, slette downloads, Godkende downloads';
$txt['cannot_downloads_manage'] = 'Du har ikke rettigheder til at administrere downloads.';
// END Download System Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Who.danish.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'Gennemser <a href="' . $scripturl . '?action=downloads">downloads</a>';
// END Download System Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Who.danish-utf8.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System
$txt['whoall_downloads'] = 'Gennemser <a href="' . $scripturl . '?action=downloads">downloads</a>';
// END Download System Strings
]]></add>
</operation>
</file>
package-info.xml
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>vbgamer45:downloadsystem</id>
<name>Downloads System</name>
<type>modification</type>
<version>1.3.4.4</version>
<install for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<redirect url="?action=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">downloads.xml</modification>
<require-file name="Downloads.php" destination="$sourcedir" />
<require-file name="Downloads.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall.php</code>
</install>
<upgrade for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<redirect url="?action=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Downloads.php" destination="$sourcedir" />
<require-file name="Downloads.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall.php</code>
</upgrade>
<uninstall for="1.1 - 1.1.99, 1.1 RC3, 1.1 RC2">
<modification type="file" reverse="true">downloads.xml</modification>
<remove-file name="$sourcedir/Downloads.php" />
<remove-file name="$themedir/Downloads.template.php" />
<remove-file name="$themedir/languages/Downloads.english.php" />
<remove-file name="$themedir/languages/Downloads.english-utf8.php" />
<remove-file name="$themedir/languages/Downloads.danish.php" />
<remove-file name="$themedir/languages/Downloads.danish-utf8.php" />
<code>DownloadUnInstall.php</code>
</uninstall>
<install for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">downloads2.xml</modification>
<require-file name="Downloads2.php" destination="$sourcedir" />
<require-file name="Downloads2.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall2.php</code>
</install>
<upgrade for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Downloads2.php" destination="$sourcedir" />
<require-file name="Downloads2.template.php" destination="$themedir" />
<require-dir name="downloads" destination="$boarddir" />
<require-file name="Downloads.english.php" destination="$themedir/languages" />
<require-file name="Downloads.english-utf8.php" destination="$themedir/languages" />
<require-file name="Downloads.danish.php" destination="$themedir/languages" />
<require-file name="Downloads.danish-utf8.php" destination="$themedir/languages" />
<code>downloadsinstall2.php</code>
</upgrade>
<uninstall for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4">
<modification type="file" reverse="true">downloads2.xml</modification>
<remove-file name="$sourcedir/Downloads2.php" />
<remove-file name="$themedir/Downloads2.template.php" />
<remove-file name="$themedir/languages/Downloads.english.php" />
<remove-file name="$themedir/languages/Downloads.english-utf8.php" />
<remove-file name="$themedir/languages/Downloads.danish.php" />
<remove-file name="$themedir/languages/Downloads.danish-utf8.php" />
<code>DownloadUnInstall.php</code>
</uninstall>
</package-info>
Hi
Is it possible to make a modification to the section Who so you can se what catagory is being watched.
Best regards
Henrik Poulsen
Possible yes but not not high on list to work at the moment.
Good day, i'd like to add adsense to the top of every article but below the summary. That is the ads will be between the summary and the main article. I don't know much about coding. Please, where do i edit in the article template? Thank you
Think you have the wrong mod sounds like you are looking for the articles mod.
Whenever I create a Download I get the Error Message "You need to enter a download title." although I gave a title.
I don't understand this. I have SMF 2.0 RC4.
Any idea what that means and what I need to do?
Your download is probably exceeding your php upload limits
Check out http://www.smfhacks.com/index.php/topic,3498.0.html
Two Questions:
- How can I fix it so that when a person uploads a new file it takes them to the main forum index.php instead of to the upload listing that they created?
- Where is the code that would make "Notify me of comments" false instead of the default true?
1. You would need to modify Sources/Downloads.php
2. That would be in themes/default/downloads.template.php and you would modify the template to make it not checked
Thank you vbgamer for those answers and for this mod. I made the edits that were needed in order to tailor to my needs. I have one last step I believe.
I would assume that I would get rid of the smileys in the Downloads2.template.php but I am not having much luck. Are there multiple areas within this template that I would need to edit to remove all smileys for the post form? In other words I do not want smileys showing on the add download form at all.
Also a suggestion, and not a bug I don't think but who knows. When you have multiple categories and unique fields for each of those categories. When you choose to upload using one category and then switch categories, using the drop down menu choice for categories, it does not update the unique fields for that alternate category which essentially renders that drop down menu useless.
Sorry if this already was answered among the 70 pages of the thread, but i searched and couldn't find the answer.
Is it possible to import my attachments to the download system?
Quote from: FragaCampos on December 22, 2010, 08:16:14 AM
Sorry if this already was answered among the 70 pages of the thread, but i searched and couldn't find the answer.
Is it possible to import my attachments to the download system?
Not currently
Minor bug fix update
1.3.5
!Allowed quotas to be set above 2GB
its cool though, i like it. It's very good...
Quote from: vbgamer45 on December 21, 2010, 10:30:55 AM
Your download is probably exceeding your php upload limits
Check out http://www.smfhacks.com/index.php/topic,3498.0.html
Aye, seems to be very likely but unfortunately I can't change this.
I will try a smaller file and see if it gives the same error. (probably not if you were right) :(
I have an old version of this mod and want to upgrade it. I try to uninstall the old mod but get this message:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Who.english.php Test successful
3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
4. Execute Modification ./index.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed
6. Execute Modification ./Sources/Subs.php Test failed
7. Execute Modification ./Sources/ManagePermissions.php Test successful
Should I proceed anyway?
I would leave it installed and just install the new version on top of it. The system should auto upgrade to latest version that way.
Thanks for this valuable mod :)
i want to make some changes.. please help me..
1. When a user clicks on "download" click the link should open in a new window..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld.jpg&hash=ca366bd176a0e57858de1edd8ca407ddc53638a3)
2. This notification to user should be highlighted.. changing its look...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld1.jpg&hash=e7b3b9003b9d7b060aa26447c5eacbeca9df7739)
3. I want to remove uploader.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld2.jpg&hash=294ca67d08360ad53d2a322760188ee8d1080fbc)
Thank you :)
An interesting add-on, test it at home - thank you
Quote from: vbgamer45 on May 10, 2009, 07:11:58 PM
Yeah search Downloads.php find shop code there are spots where it adds points
Just copy that to the download_downfile function and change it to subtract points and you are set.
plus .. please integrate shop with download system so that credits are deducted on each download..
Many Thanks :)
seems there is an issue:
Downloads System 1.3.4.4
all the following from the log file.
Undefined index: admin_menu_nameFile: /Downloads2.php
Line: 5359
Undefined index: description
Downloads2.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 294
8: Undefined index:
/Downloads2.php
Line: 1401
still waiting for reply :(
Just do what I said in 2009 that would work
i cant understand what you said in that post.. please explain it a little..
and please reply to my this post as well...
Thanks for this valuable mod :)
i want to make some changes.. please help me..
1. When a user clicks on "download" click the link should open in a new window..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld.jpg&hash=ca366bd176a0e57858de1edd8ca407ddc53638a3)
2. This notification to user should be highlighted.. changing its look...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld1.jpg&hash=e7b3b9003b9d7b060aa26447c5eacbeca9df7739)
3. I want to remove uploader.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi246.photobucket.com%2Falbums%2Fgg88%2Firfanfani%2Fdnld2.jpg&hash=294ca67d08360ad53d2a322760188ee8d1080fbc)
Thank you :)
That would be custom code you would have to write that
hmmm.. looks like u r not interested in free support... i can pay u for this if u integrate it with SA Shop.. which is updated and way better than SMF Shop..
Thanks for reply though :)
Just don't have time to do custom work at this time.
Ohkay i can wait.
Btw, do u have any plan for integrating it with SA Shop?
it is better than SMF Shop.
No plans in the near future.
Minor updates to searching
1.3.6
!Improved how search results are handled for multiple pages
Hi vbgamer 45
I have submitted the danish translation for this mod in this toppic. Are you going to implement this into the package?
It would be much easyer for me to update... ;) and may be helpfull for other danish users.
Best regards
Henrik Poulsen
Which post did you attach it to? I don't see it as an attachment in post above
Hi ...
It was post 1183, but anyway here it is.
Let me know if anything is missing
Quote from: vbgamer45 on January 16, 2011, 04:01:00 PM
Minor updates to searching
1.3.6
!Improved how search results are handled for multiple pages
Hi vbgamer45,
is there any change in the database?
Or can I replace only files?
Thank you
No database changes
How do you install it on other themes ?
Depends on SMF version with 2.0 no theme edits needed. SMF 1.1.x just modify index.template.php to include a button.
I use SMF 2.0 RC4 with mods installed: SimplePortal 2.3.3, SMF Gallery, AEVA lite, Download System
I want guests to be able to use download system so I gave all same permissions that registered member have.
So guests can upload, download and comment.
But they cant delete their own uploads and cant rate the uploads (I have give these permissions to guests) and receive a message that the action is able only to registered users.
You can check here http://battleforge.gr/index.php?action=downloads
Any idea how to fix it?
Not possible for guests to delete their own download or rate.
How would it know that the file is owned by that guest and not someone else same for rating.
thanks for quick replay , yeah you are right
I just see this in permissions so I said "why not?" O:)
one more question:
I use greek-utf8 language in forum
In download system I can just type Latin characters. When I use Greek in comments or description I get this ??????????
How to fix it?
You need to convert the downloads tables to uf8 as table type using phpmyadmin
I turned everything to UTF-8 Unicode but no result.
Strange is that my gallery (similar way of description, comments etc) works fine.
Any idea?
So any idea what cause the problem and how to fix?
Check all downloads tables and columns inside tables to make sure they are utf8
for some reason it didnt work but its an awesome modification anyway
One more question:
What file I need to make changes so Custom Fields will be shown in Category Display Listing?
To make it specific:
I want the fields Player, Deck, Opponent, Opp.Deck, Map, Duration that are visible here http://battleforge.gr/index.php?action=downloads;sa=view;down=16 to make it be visible here http://battleforge.gr/index.php?action=downloads;cat=2
That would be two files Downloads.php and Downloads.template.php there is a main function I think or category display that controls that. You would have to join the custom fields table with the category id.
Quote from: vbgamer45 on February 03, 2011, 09:22:49 AM
That would be two files Downloads.php and Downloads.template.php there is a main function I think or category display that controls that. You would have to join the custom fields table with the category id.
Just tried but I have no chance to make it work :(
Can you make it for me?
;D joking
I know you have no time to make custom changes for everyone who asks, I hope you will add this option in DownloadSystem 1.3.7 so Custom Fields will be shown in Category Display Listing
Might add it or in downloads pro but would be a while currently busy with many projects.
I am looking at the script in the download.php,
How can I change the file size from 10 to 15mg. I know it not the server cause I have another website that can upload 20meg after setting the parameters in my site program.
Check your maxfilesize limit setting in downloads pro
And read this
http://www.smfhacks.com/index.php/topic,3498.0.html
Yeah.. I saw that AFTER I post. I thought from counting it was 50meg but it was actually 5 meg.. it helps if I put my glasses on. So I changed it however, When I went back to try to post a 14meg file, i keep getting a error
An Error Has Occurred!
You need to enter a download title.
I did enter a download title. I already uploaded 7 files but all was under 5meg. The PHP information says 10m. It says I can change the value in the PHP.INI or the webserver.
There is also post_data_size needs to be increased.
I can't increase it. It's just show 10M
See Image Attached.
Read
http://www.smfhacks.com/index.php/topic,3498.0.html
That says what you need to change.
Ok.. I made the change in the PHP.INI file. I should have looked in the Public_html folder.
Since this site is host with another company and not my server. How long does it take to reflect the change?
Sorry for asking these questions, and you may not know. I am new but learning fast.
_______________
Never mind.. you got me this far and THANKS! to you for your help. I am going to ask my webhost about this.
Instant or webserver may need a restart if not contact hosting company about php limit
how can I make all member info to be visible in comments
I mean signature, genre, age etc same like forum posts
I would have to add that.
Great mod. Any way to only allow users with more than a certain number of posts to access the downloads? People register, don't participate, download and are never seen again.
Right now, it allows regular users, which is anyone who is not a guest under the standard membergroups and definitions.
Thanks.
Nelson
u can make a membergroup having similar permissions and attributes like regular members but dont allow them to visit downloads.. i have done this for several mods..
when i add a download a new topic is created and i will get Add download points (say 20) and New Topic (say 10) points.. total 30
When my download is deleted only Add Download points (20) will be subtracted.. I will get 10 points even that topic is deleted..
I have increased my file limits on uploads and posts in my PHP file to 10M and 10M, which are the limits of my web host. (Yes, I know this is annoyingly small, but they say they cannot increase it).
When people try to upload a file larger than 4.8M they get an error message in the downloads system "4.7".
Why does this happen even though the PHP settings are set to 10M and how can I fix this.
Thanks.
Nelson
What is the exact error message that you are getting?
I have attached the error message.
Thanks,
Nelson
Quote from: allthumbz on February 16, 2011, 09:07:01 AM
I have attached the error message.
Thanks,
Nelson
I see the issue under download configuration your Downloads Max Filesize is too low raise your limited currently 4.77MB
Quote from: vbgamer45 on February 16, 2011, 09:17:05 AM
Quote from: allthumbz on February 16, 2011, 09:07:01 AM
I have attached the error message.
Thanks,
Nelson
I see the issue under download configuration your Downloads Max Filesize is too low raise your limited currently 4.77MB
Where do I raise it? I already raised the maximum in the PHP file for the system to 10M.
Thanks,
Nelson
Under Downloads Configuration -> Settings
It is already at 10M there. I am attaching the screen.
Nelson
post_max_size needs to be bigger, typically 2-3x the max upload size. The content gets encoded to be sent, and it's hitting the max post size limit.
My stupid web hosting service has a 10M limit, which they "say" they cannot change. They say it is a "platform" issue (I am not knowledgeable enough to know what they mean). It sure is an annoyance to me because I run a machinist forum and we have manuals that I want to upload for various machines to offer to my members, and this limit really is a PITA.
I guess I am stuck then at 4.77M?
Nelson
No you have the raise the very first field on that page it says Max File Size 5000000
You can change the 5 to a 10
Quote from: vbgamer45 on February 16, 2011, 09:40:30 AM
No you have the raise the very first field on that page it says Max File Size 5000000
You can change the 5 to a 10
That worked awesome!
Thanks very much vbgamer45!
Nelson
Minor update
1.3.7
!Fixed missing text string for max filesize too large when uploaded file exceeds the max filesize setting
I have installed this but it did not put anything in no download button and nothing in the admin section but it shows that it is installed
If nothing in admin or menu I don't think it installed might be file permission issue
Is there any way to style a button that says DOWNLOAD rather than just having the file name displayed - much as I hate to say it some of members are so thick they couldn't figure out that they had to click the file name to download a file.
Thanks in advance ;)
You would need to modify the download.template.php to include an image button for the download url I added an option for image in the pro edition.
what if i add an image tag in language file???
Try and see what happens
i tried.. but i was not able to add download afterwards.. it gives an error that i dont have permission when i click on submit download...
can u please tell us what php code we should use for this??
I don't know the code without doing it myself but it would be in downloads.template.php
Hi i install the downloads system 1.3.7 in SMF 2.0 RC3 and SP2.3.2 and i have Maximum allowed size for uploaded files:1000M and max time:1000.
when i upload a file in 120mb all are ok but when i upload a file above 120mb(200..300mb) i have the message
The connection was reset
The connection to the server was reset while the page was loading.
How to fix it?
You have set your server to accept long connection times. And php settings to allow long execution and the file upload limits are high enough
Hello, I have an enormous, no Humangous Problem , I have been happily run the Download system without any problems up until I upgraded to RC5.
Now there was no Problem with this either, until I decided (unfortunately!) to add ADK`s Portal system to the site.
I like the Portal however, their Extreme download system ( Not really extreme to me) has taken over the "Download" tab even though I have not Activated the Extreme Download extension!!
So my original downloads are no longer viewable, but all the mods to files , tables etc are still there, So apart from deleting the Portal, is there any way I could say, alter The menutab to DLOADS and the download system recover itself?
I have been onto ADK but have received no response whatsoever.
I hope you can help, ( I have a strong feeling that you might say delete adk!)
Not familiar with that mod what actions those that mod point to?
Quote from: vbgamer45 on February 25, 2011, 12:38:16 PM
Not familiar with that mod what actions those that mod point to?
It's the mod that copied code from yours, if I ain't wrong ;)
That would cause problems then cause it would be the same code. :(
It would look that way , I had a further look into it.
I thought if I changed the menutab to something like "Dloads" (Themes/default/languages/modifications.english.php), then that may work, No joy!
So I had a look at the install files seems the folder for the downloads is ADK-downloads so I changed that to AK-Downloads in the niave hope that it would return an error, no such luck its still there and the mod is still pointing to the contents of this folder. as its renamed The original Downloads folder to Adk-downloads ... very strange!
Nope I can`t get this to work at all with the Adk portal mod in place, it totally overtakes the Download mod, it would also appear that it takes over other mods as well! so I have reported the Adk mod as unsafe.
The support for it is dismal with the adk blog as well!
I have had to uninstall smf Downloads. then ensure the adk one is not activated.
There is bug in mod when there are custom fields. Hope i make you understand cause my English sucks.
I have 4 categories in downloads. I have make different custom fields for each category.
Lets name the 4 categories A, B, C, D
When I'm in A category I click on "Add a download" I come on this page http://mydomain/index.php?action=downloads;sa=add;cat=1 and everything is ok cause custom fields of A category are visible. But if I change my mind and want upload to category B, I go to the category field (under title) and set it to B. Normally custom fields should auto-change but they dont. So I cant use custom fields of category B.
In order to upload in category B I must first go in B category and then click on "Add a download", so i come on http://mydomain/index.php?action=downloads;sa=add;cat=2
Moreover when I'm on MYFILES and i click "add" I come on http://mydomain/index.php?action=downloads;sa=add so no custom fields are visible.
I guess there should be a way so custom fields auto-change when I change the category field.
PS: Sorry for my poor English
Thanks for making this great mod. I have a quick question on permissions.
I would like to give my Global Moderators the permission to edit or delete other's uploads but the only way I can do this seems to be by giving them the "Admin Download System" permission which also means they can now add/delete categories etc. I don't want them to go that far. Is there a way to add an incremental permission for something like "Edit other's Download" and "Delete other's Download"?
Thanks much for your kind assistance.
how to add links for diiferent parts of a file??
e.g.,
File (part 1)
File (part 2)
File (part 3)
You would add another download for each link.
How to make it so after I make an upload I'll be redirected to the category and not to "my files"?
Modify Sources/Download.php and send it to that category instead of myfiles
I guess this is the code
// Redirect to the users files page.
if ($user_info['id'] != 0)
redirectexit('action=downloads;sa=myfiles;u=' . $user_info['id']);
else
redirectexit('action=downloads;cat=' . $cat);
what change I need to make exactly?
Maybe if I replace it with the following
// Redirect to the users files page.
if ($user_info['id'] != 0)
redirectexit('action=downloads;cat=' . $cat);
else
redirectexit('action=downloads;cat=' . $cat);
I just ask before i mess up, cause I'm not sure
thanks for your time ;)
I want also not to be redirected to "myfiles" after edit or delete a download
Same file just check for EditDownload2 and DeleteDownload2
cool works great 8) thanks
Glad you enjoy the mod
Hello!
I don't know if this was mentioned before, but I couldn't find it.
I am now at smf2 rc5 version and use Download system 1.3.7
Before I was at smf2 rc4 and, I think D.S. 1.3.6.
There was option in settings to chose order of downloads in category.
Mine were in revers alphabetical order.
Now I don't have that option and my downloads are changing places - when I press Download button, first page in chosen category is in revers alphabetical order, on second page some of these downloads show again, and when I go on first page again they are not in alphabetical but in some random order?
I changed permissions, but it still won't allow Global Moderators to approve downloads, only me as administrator. What is wrong? I gave global mods all possible downloads permissions.
Also, any way to modify this mod so that when you log on, it tells you there are downloads awaiting approval? Right now you have to go to downloads to see you have some awaiting permission. Thanks,
Nelson
What happens when they try to approve the downloads?
I set the permissions of Global Moderators ALL to ALLOW, but they tell me that they do NOT see the Administration Panel, just a list of download files available.
As administrator, I get both the list of downloads and the admin panel.
Thanks,
Nelson
The ability to add pictures to downloads would be awesome!!
Have that in Downloads Pro at the moment.
Quote from: vbgamer45 on March 12, 2011, 08:05:44 PM
What happens when they try to approve the downloads?
They do NOT see the Administration Panel, just a list of download files available.
As administrator, I get both the list of downloads and the admin panel.
Thanks,
Nelson
You mean access to the admin tab? Or the admin panel on the downloads index page. That think is controlled by Admin Downloads permission.
Global Moderators cannot access the Administer Downloads option in the Downloads area. They do not see it.
This means that ONLY the administrator can APPROVE downloads. I would like to give this power to Glober Administrators also to take the load off me.
Any way to do it?
Thanks,
Nelson
Make sure you give the global mods membergroup the "Admin Download System" permission then that should show them that panel and stuff
How do I get this working? I Apply'd the mod and it's installed, what now? Can't figure it out.
I want to add a download.
Go to the downloads menu button or downloads configuration link in the admin area
Quote from: vbgamer45 on March 15, 2011, 08:37:17 PM
Make sure you give the global mods membergroup the "Admin Download System" permission then that should show them that panel and stuff
I gave them that permission in the General Permissions area of SMF and they STILL do not see the admin downloads panel in the downloads area.
What could be going wrong?
Nelson
As long as they are not forum "Moderators" and normal global mods they should see it.
Unless you have a deny permission from either other secondary membergroup or something.
They are each listed as a moderator of a forum on the "boards" theme, but ALSO Global moderators with normal Global Moderator's permissions. The moderator listing is only for assigning a particular global moderator to a forum to moderate. I did not realize that it would block them from seeing the admin downloads panel.
What if I permit the "moderators" group to also admin the downloads?
Nelson
You can try and see if that helps. The moderator group is not checked in the downloads system
No luck with that. I checked secondary permissions and everything appears clear.
I'm stumped.
Nelson
I need to create my own importer.. =)
I got over 30,000 files to import..
Questions:
#1, in smf_down_file, is fileurl the fullpath?
#2, can filename, be same as originalfilename
#3, what other fields would be required to import my files besides title, id_member and date?
1. No that is for a remote file hosted on another website. filename is the name of the file stored in the downloads folder.
2. Yes it can be.
3. ID_CAT, filename, orginalfilename
with the downloads my forum members tell me that the downloads crash after about 300kb and sometime that can download
up to about 50mb but never compleats the download. most of my files are between 70mb and 800mb
i thought i would test it and the same thing happens to me.
is this the mod or the hosting server that's the problem, my forum is hosted with bluehost
i will add if i ftp the files into a folder that anyone can look at, then every download works
any help...
I see the filename is something weird like"1_22_03_11_8_54_37". How do I convert my files to that format?
Doesn't need to be converted that was just a way to generate a unique filename
Thanks for the help vbgamer. I got my importer working =]
Glad you got it working btw what did you import it from?
Quote from: vbgamer45 on March 22, 2011, 01:10:44 PM
Glad you got it working btw what did you import it from?
Nothing. I wrote a web scrapper to download these files i needed and imported them to your download system =)
Awesome :) Glad you were able to get working how you wanted.
When I add a download to a category using the URL function (because the file is already on the system but in another directory) it adds the file correctly, but with a reported size of 0B. Any way to fix that?
Possible but I would have to do another request to get the filesize.
I got this error when I tried to delete a download that did not upload properly. (Download showed as having 0b file size and file attachment not found. It never actually uploaded.)
Fatal error: require_once() [function.require]: Failed opening required '/RemoveTopic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /Sources/Downloads.php on line 2104
Quote from: bfallgren on April 01, 2011, 12:22:44 AM
I got this error when I tried to delete a download that did not upload properly. (Download showed as having 0b file size and file attachment not found. It never actually uploaded.)
Fatal error: require_once() [function.require]: Failed opening required '/RemoveTopic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /Sources/Downloads.php on line 2104
Fixed posted an update
1.3.8
!Fixed bug with removetopic in SMF 1.1.x on deleting a download
Thank you :)
Is there any way to increase the max file size for upload?
Under settings for downloads.
Also you need to increase settings in your php.in or contact your host to increase limits for file uploads
Thanks, I finally got the max upload size increased.
Glad you were able to get the upload size increased and have the download system work for you!
I'm interested in using this as a system for users that need a place to store their pictures for use in their posts. However, the links don't seem to work in posts using the (http://)
No, and they won't. img bbcode is specifically protected to reject links that contain ?action= unless it is action=dlattach for regular attachments.
Ok, tnx for the info.
How do I add a category. When I click on add a download it says an error has occurred.
"You need to create a category first before you upload a download."
I uploaded a file in one of my Forum categories but it doesn't show on the downloads page.
Or is that not how this is suppose to work.
Does not take from the forum categories.
You need to go to Downloads in the menu then in the admin panel area there is an add category link.
Thanks vbgamer45, I was looking all over for that. All working good here. Thanks again for the MOD keep up the good work.
Hi, it is fantastic.
But I have a doubt. How can I configure the Non Registered Viewers to View the Downloads, but don´t do the download.
If a unckeck the box for view they can´t view the downloads and be interested in registering.
Is there a way to them view the downloads, but when they want to download they should register?
Sorry for bad english.
Thanks,
Douglas Chagas
Currently the lite edition does not have a seperate download permission or has the view download permission
If I buy the Pro version I can configure the way I said?
Douglas Chagas
Yes you can there is both a download and a view permission.
Hi all
I am new user of SMF 2.0 RC5. I would like to ask you how can i delete "my files" and "search" buttons and put in this place some differrent text e.g
"you need to login to see downloads" visible for users.
Thank you for help
i use SMF 2.0 RC5 and i installed DownloadSystem1.3.8
and works fine, i just whant to change the name of the MOD displayed in my Home page as " Downloads"
i whant to change the displayed name from " Downloads " to " Upload / Download "
where to look to change it
best ragards
Like in this photo :(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi54.tinypic.com%2F1t0h39.jpg&hash=2ea43d000bae269976467230d6eb8607484e6c73)
Modify themes/default/languages/modifications.english.php
Then clear your cache in SMF 2.0 forum admin maintenance area.
i tryed , i can modify any ather menu name except "Downloads", can't change it
any clue?
best regards
try modifying modifications.english-utf8.php too
problem solved, i tryed another way
step1 - uninstall Download MOD
step2 - delete Download MOD & clean cache
step 3 - open the MOD from my PC and find and replace these lines :
downloads.xml :
find - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
replace with - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Upload/Download';
$txt['downloads_admin'] = 'Downloads Configuration';
downloads2.xml :
find - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';
replace with - // Begin Download System Text Strings
$txt['downloads_menu'] = 'Upload/Download';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';
step4 - save the changes
step5 - upload MOD
step6 - Install MOD
step7 - show the result :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi54.tinypic.com%2F2z3v31e.jpg&hash=24ae6ebc7605bb48f0cbaf426f11b590e2ee90ba)
thx to all for try helping me :D
How do i get this to work with the "Noize" theme of this dzinerstudio.com site?
Help would be appreciated, thanks
What part do you need to work? Like adding a menu button what SMF version?
Recently upgraded to the latest version - from previous version.
After a file was added a topic was created in a forum but that forum has been deleted and posts moved. Now when I try and upload a file it fails with this error message:
QuoteBoard structure corrupt: unable to find parent board
I cant find in the settings where I can change the forum for topic posting of a new download - is it still there?
Andy
Check under edit category for the category that you are uploading the file to.
You used to have a topic being posted to a board but probably deleted that board make sure you have no board selected under edit category and click save
Got it .... works ok now new board selected. I just kept looking in the settings rather than the the downloads page.
Thanks!
Glad you have it working
Using the latest version on SMF 2 rc5 and having trouble downloading a large file.
A movie - file type .mov which is 73MB. It is on the server at 73MB but every time attempting to download it cuts off around 30 to 45MB, and is unplayable.
Upload limit is 100MB in the download settings and php file. Total limit of registered users is 1.4GB and now only about 400MB.
Cant see why it keeps failing. Now registered users only can access but not failing because of being logged out.
Andy?
Could be the server/application is timing out before the download can complete. Make sure you increase your max execution time in php and check your webservers connection/timeout limits.
Hi man, thanks for awesome modifications you make.
What I need to change so members signatures will be visible in their comments?
You would need to modify to the Downloads.template.php file and add the sig code
using SMF 2.0, SimplePortal 2.3.3, SMF Gallery Pro 3.0.23 and Download System 2.3.8
In order to access downloads users have to be logged in.
We sometimes send out email with link to downloads in the forum such as http://www.xxxxx.com/forum/index.php?action=downloads;sa=view;down=161
Using such a link causes the message
"You are not allowed to view the Downloads
Please login below or register an account with xxxx Forum. "
along with a login box
With Internet Explorer entering a valid login takes the user to the front page (SP custom page of the forumand allows the user to download the relevant file.
However in Firefox(tried 4 on Windows and 3.6 on Mac) once a valid login is entered the user is taken to the frontpage of the forum but no download starts. If the user then navigates within the forum to the download file and try to open or download it they are again asked to login. However if they the forum header area shows them as logged in and they can access other areas of the forum thast require them to be logged in.
Any ideas as to what might be wrong?
How can i remove possibility to download files for guests ? I want to show them files, but don't allow to download.
there is no permission system on ability to download the files with this mod, the paid version has that feature though.
so I just edited Downloads2.template.php and I used "if ($context['user']['is_logged'])" :)
but did you make sure that if someone knows the url to download the file and they put it in their browser that they can not download the file anyway?
I just needed to hide link on download page, if someone knows direct link - good for him.
Unfortunately I can't afford to buy premium version of this mod :/
/
and now I found a way to block visitors who have a direct link (they are redirected to login page) :)
any compatibility issues with the pretty url mod?
i just upgraded to 2.0gold + Downloads System 1.3.8 + Pretty URLs 1.0RC5.2 + PortaMx 1.3
and i have problems with the downloads links after i run the maintenance tasks in the pretty url mod.
you can see for yourself here: http://alphacentauri2.info/downloads/?sa=view;down=28
you just have to click on the download link..
this is the broken link: http://alphacentauri2.info/downloads/?sa=downfile&id=28
and this is the one that works: http://alphacentauri2.info/index.php?action=downloads;sa=downfile&id=28
***EDIT***
in IE it's working. i usually use Chrome. :-[
Not sure I normally don't pretty actions when using pretty urls.
ok. i will run again the maintenance tasks without downloads
I want files to be published without need my approval but some people upload virus.
Is there any way to set the file types that people will be able to upload?
Quote from: DragonSlayer on July 21, 2011, 12:10:19 PM
I want files to be published without need my approval but some people upload virus.
Is there any way to set the file types that people will be able to upload?
Don't have that yet. To decide which file types are allowed or not.
Everything works ok but maybe search bots giving a few errors now and again.
Latest version with smf 2 final.
Apply Filter: Only show the error messages of this URL
http://*********.com/events/index.php?action=downloads;sa=prev&id=5
Apply Filter: Only show the errors with the same message
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 5 LIMIT 1' at line 4
Apply Filter: Only show the errors from this file
File: /home2/*********/public_html/events/Sources/Downloads2.php
This doesn't work with the PortaMX portal SEF option switched on.
I have turned off the SEF feature and it works fine, but it would be nie to see it working with SEF compatibility.
What doesn't work?
Can you add an exception to not SEF the download system. I am not doing anything crazy with the urls so it shouldn't break....
Is there a way to add pictures to the downloads? Like so..
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=203471.0;attach=183466;image)
But, in a gallery type way?
I have pictures/screenshots in downloads pro currently
Quote from: vbgamer45 on July 30, 2011, 10:00:51 PM
I have pictures/screenshots in downloads pro currently
ah man! :-\ Now's the time I really wish I had $65 for it..
Uploading a file using a URL instead of the upload script doesn't update the file size of whatever's uploaded.
That is the case with lite may fix it though.
My SMF 2.0rc5 With Download System But my own Unicode font not working in Download.
Please Help Me !
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi938.photobucket.com%2Falbums%2Fad222%2Fkonayonline%2F8-12-201110-01-17PM.png&hash=e1ccb67285990606a46150e59fe99bd71eab26cb)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi938.photobucket.com%2Falbums%2Fad222%2Fkonayonline%2F8-12-201110-01-42PM.png&hash=00009800128a409c361cf54583141a185a32c0ea)
Convert the smf_downloads tables to utf8
Quote from: vbgamer45 on August 12, 2011, 02:09:20 PM
Convert the smf_downloads tables to utf8
Where I find smf_downloads tables and how do i convert ?
Please Explain me ......
You can find them in phpmyadmin
ံHow to change Download Icon instead of Link ...
what file can i edit ??? Please help me !
Apply Filter: Only show the error messages of this URL
http://www.myanmar-technicians.org/community/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: rating
Apply Filter: Only show the errors from this file
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/community/Sources/Downloads2.php
Line: 3512
ံHow to fix this Error ! :-[ :-[ :-[
Hello Guys!
Is there any way to enlarge the profile field at downloads comments? The names and the comments too close
What can i modify?
Thaks in advance
That's Downloads.template.php in the view download function you need to change the td width % for the comment box for that column
its worked, thanks a lot!
I Upgrade SMF 2.0 Gold Version And Download System 1.3.8 Latest Version Installed !
When Rate The Download .... Every Show in Error Logs in this error .....
QuoteApply Filter: Only show the error messages of this URL
http://forum.myanmar-technicians.org/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/forum/Sources/Downloads2.php
Line: 3509
Any idea ... How to fix this error ...Please !(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi938.photobucket.com%2Falbums%2Fad222%2Fkonayonline%2F1-47.png&hash=80112cd5db144dcf2ed57f9d3e2370d275fcac19)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi938.photobucket.com%2Falbums%2Fad222%2Fkonayonline%2F2-41.png&hash=a36098f81894924708a20f4abdf2f68c59a56d33)
Hi and thanks for the awesome mod :)
Is there any way to make comments in download system to count as posts.
I mean a user has 50 posts in the forum and he has also posted 18 comments in the download system.
I want his total posts in profile to be 68.
Is it possible?
thanks for your time
Not at the moment you would need to edit the code.
I know I need to edit the code.
Any idea how to make it or its too complicated?
Sources/Downloads2.php
AddComment2 function you will need to modify.
Ok, so somewhere in the installation process of the latest version I got double download buttons, and even if I uninstall the latest one, one button stays (and points to the index when pressed). When I install the package I got on the server I get two buttons and they appear to go to the downloads system, but it's messed up. Only one recent download shows.
It shouldn't be possible to get into this situation by installing or uninstalling in the wrong order. What should I do to fix this? Replace all files on the server with the standard ones and run the package installations? What about the database?
IF SMF 2.0
Open Sources/Subs.php and remove duplicate downloads entry
If SMF 1.1.x
Open themes/default/index.template.php and remove duplicate downloads entry
I'm using 1.1.5
I have the duplicate entry in the admin panel too, and just removing them won't solve the prob that the download system halts to showing only the most recent download. I think some other code is messed up too.
I have database backups from before, but they are not useful as a lot of posts have been made since then. So should I uninstall all mods, and replace all source files with the original ones? And then reapply the mods?
Depends on number of mods if not alot you can replace files.
Otherwise grab the manual install code and reverse it manually in places it installed twice.
Ok, I removed the remains by following the manual instructions, and now I install it manually.
I finished everything, but when I run "downloadsinstall.php" it just gets stuck at
"Recounting Download Totals..."
But that's the last echo so it's normal?
It won't show up in the package manager?
Also, the problem persists. I'll describe it.
When I press "Downloads" I don't see the categories. It looks like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg713.imageshack.us%2Fimg713%2F8234%2Fmainscreenx.jpg&hash=5dcb7cf6abe0e8a13e8d46a5fec83f53e7c46e9c)
I know the categories are there, because I can press that "2 Mega" and navigate not to the main category, but one category below it.
The rate buttons have no text. The format of the download information looks like this:
1.03MB (525) (214) 2011-09-26, 21:40:20
Again no text. Problem with the language file?
I double checked that I replaced everything, is this a database problem?
Yeah it looks like you missing a language file Downloads.english.php or Downloads.english-utf8.php to themes/default/languages folder.
Ok, thanks that solved a part of the problem. I can now see the text. However the main category is still empty for some reason.
When I press MyFiles I get the option to select three pages of downloads (that's what it should be), but I only see the name of one entry per page (the top one), and no information about the rating, views, downloads etc in that list.
I think the code that lists downloads is broken somehow. Which file is that?
Check under Downloads Settings make sure they are all filled out.
Every box is checked in:
- Category Display Settings
- Downloads Display Settings
In the settings panel the approve downloads list is empty as well, but there should be entries in it.
Unrelated to this there's also a typing error that might be good to fix
"Has the Downloads Systen helped you? Then support the developers:"
:P
Also, when I press a download a blank page appears.
Sounds really strange...Leads to wonder if a setting is blank or values are set to 0 when they shouldn't be.
Any related errors in the error log?
This is what I get (blank page):
8: Undefined index: id
File: forum/Sources/Downloads.php
Line: 3450
I found other errors as well:
8: Undefined index: rating
forum/Sources/Downloads.php
Line: 3453
2: smf_main(/forum/Sources/Downloads.php) [<a href='function.smf-main'>function.smf-main</a>]: failed to open stream: No such file or directory
File: forum/index.php
Line: 345
That part is strange smf_main(/forum/Sources/Downloads.php) [<a href='function.smf-main'>function.smf-main</a>
Do you use a full file path for your sources folder
Also are you rewriting urls in anyway?
Yes I edited out the path before forum in all cases, before I posted it here.
The path seems to be full in all cases.
Hello, i realy love this mod and have been using it for a long time now.
Because a server move and renewing of the SMF forum software i had to reinstall the download also, al my files are found without no problems.
There is only no way to download any file and while trying to upload i gett the following error .
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdl.dropbox.com%2Fu%2F4797385%2Fdownloads.jpg&hash=6dd273c479fb8d9b8c81df392a0f51f040370e1f)
Any idea whats wrong ???
Fixed redownload and install
1.4.1 Bug fixes due to prefix function changes
thanks for such a great mod
I just sent you a small donation to show my appreciation mate.
hard work making editing and fixing mods..
cheers. have a drink on me buddy
Thanks T3CHN0 really appreciate it since does take a lot of time to keep all these mods updated even more so since they are kind of big.
Quote from: vbgamer45 on October 02, 2011, 10:53:49 AM
Fixed redownload and install
1.4.1 Bug fixes due to prefix function changes
I am unable to uninstal, is there a update possible?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdl.dropbox.com%2Fu%2F4797385%2Fdownloads.jpg&hash=6dd273c479fb8d9b8c81df392a0f51f040370e1f)
Yeah you can install over it or copy the downloads files to their spots to update.
Ok thanks for the support
Perfect, al is working again.
Thanks for the update. ;D :D
Glad you got it working.
Now it's possible to download files again, but lists don't work. Doesn't loop through all options?
The only lists that work are "approve downloads", "File space manager" and user made comments.
I also think that there was a footer with admin login (or manage/create new category - that kind of things + your copyright info). But nothing shows, it's just blank. In fact, I don't even see the SMF copyright info, no stuff about queries either.
Hi. I seem to have the same problem with blank pages when I try to download any file over 1mb; smaller files are working correctly. I've un-installed v1.3.8 and then installed v1.4.1, but no change. Hope someone can help. Thanks in advance...
Hi VB!
I've installed 1.4.1 and all seem ok.
But there's a problem with sub-categories.
I set a description and add an image but nothing is displayed and, also, I can't find how edit or delete subcats! :(
I wanna use yor mod! It's the best & easy download system I've see!
What SMF Version?
For categories you can either go to manage categories to edit or go into the parent category and you will see the subcategories edit category/delete
Yes, sorry. SMF 2.0.1
Also installed Simple Portal 2.3.3
I know how should be... but don't show nothing. :(
What I can check or try?
Thanks
Graziano
Haven't seen that happen before. Do you see the title or anything of the category.
Quote from: vbgamer45 on October 06, 2011, 10:20:12 AM
Haven't seen that happen before. Do you see the title or anything of the category.
Solved! :)
The skin I used was for RC4, after the install of a 2.0 gold skin all is ok! :)
Sorry for the waste of time. :(
Ah glad you were able to get it working!
Hello again. What about the problem with blank pages when downloading any file over 1mb? I'm using SMF 2.01 and Downloads System 1.4.1. Please help! Thank you.
For increasing upload limits read
http://www.smfhacks.com/index.php/topic,3498.0.html
vbgamer45 thanks very much for your reply. However, my problem isn't with uploading - the files have been successfully uploaded to the Downloads area - but with downloading them. I did check the two php.ini settings referred to in your link and they're set to 16M and 8M respectively.
Could be either a webserver issue/setting such as timeout same with php check your timeout settings.
When I unchecked some boxes about parameters I wanted to view things appear as they should (more or less). Then I found out that enabling "Show rating" for the category view messes things up. Where is that located in the code? Might be some ending bracket missing or similar.
Using the latest version (v1.4.1) translated into Hebrew on a fresh SMF v2.0.1 install, I think that download keywords should be separated by commas, that will allow using 2-words keyword (like "Simple Machines, SMF, Simple Machines Forum", 2 words, 1 word, 3 words).
Also, when I search after keywords I've input (mostly in Hebrew), I don't get any results. Also, I suggest changing the search input limit to 3 characters (so people will be able to search the keyword "SMF" ;)).
Thanks.
Commas should work with keywords. Hebrew searching maybe a bug have to check to see how those characters are handled.
If you check out Downloads2.php in sources folder you can modify the Search2 function to increase the search limit to 3 characters
vbgamer45, sorry, I've not been able to look at this for a few days...
I don't think that timeouts are the problem, as the blank page (for example, .../index.php?action=downloads;sa=downfile&id=23) appears within a few seconds of requesting the download. In my php.ini, timeouts is set to Connection: 300 - Keep-Alive: 15, and mysql.connect_timeout and default_socket_timeout are both set to 60. Do they sound okay?
Thanks again.
Is there a dutch language file for this great MOD?
I don't believe so but easy to translate. Just do themes/default/languages/Downloads.english.php to Downloads.dutch.php
I want the comments at downloads to count in total posts of a member
After this
// Update Comment total
$smcFunc['db_query']('', "UPDATE {db_prefix}down_file
SET commenttotal = commenttotal + 1 WHERE ID_FILE = $id LIMIT 1");
I added the following
$user_info['posts']++;
updateMemberData($posterOptions['id'], array('posts' => '+'));
I made it work but now forum members get random posts in their stats.
Any idea what I should do?
That part looks wrong
posterOptions['id'
should be
$user_info['id']
awesome man, thanks!!! You rock!!! 8)
with a simple code comments can count like posts
$user_info['posts']++;
updateMemberData($user_info['id'], array('posts' => '+'));
Maybe you can add it to next Download System version
Can you please tell me how to add avatar and signature on comments?
I guess it is juts some code to add but i cant make it on my own.
Hi vbgamer45,
Nice mod, which i have only just discovered and started using. My main aim for it is to make my weekly newspaper available in PDf form via the forum, in addition to through my website and MediaFire. However there is one little quirk of how the list is sorted that i would like to fix if possible, which is how numbers are ordered. My newspapers have issue numbers starting at 1, and in the list I would like them to be in proper number order, but (and this is also an irritating quirk of Windows or was the last time I used it) in your mod I give the download the title 'Issue x' and it sorts them as follows:
Issue 1
Issue 10
Issue 11
Issue 12
Issue 2
Issue 3
Issue 4 etc
Is there any way to fix this?
No easy way to fix that. I would need to some sort of manual ordering system to fix.
Thanks vbgamer, I had a feeling that might be the case. I guess as long as I upload all my back issues/create the link in the correct order I can sort them by date and they will appear in the correct order, assuming the date sort is set up that way.
Can you please tell me how to add avatar and signature on comments?
I would check the Display.template.php code of your forum where it shows the avatar signature etc and copy that code.
There is a feature for automatically posting threads when a download is added, can I edit what the thread says?
Thanks for any help :laugh:
What do you want to train that feature is built in.
Quote from: vbgamer45 on January 13, 2012, 09:44:10 AM
What do you want to train that feature is built in.
It does automatically post the thread when a download is added, which is good, but I want to change what the thread says. How can I do this?
What part do you want do you want to change? The body of the thread the subject?
Quote from: thesikaleon on December 05, 2011, 10:56:22 AM
Can you please tell me how to add avatar and signature on comments?
Quote from: vbgamer45 on December 05, 2011, 11:10:32 AM
I would check the Display.template.php code of your forum where it shows the avatar signature etc and copy that code.
my theme has not its own Display.template.php
what change i make in default/Display.template.php takes effect on my theme
Can you please tell me which part of code i need to copy and where exactly I must paste it?
Cause every time I try on my own i get errors and cant make it work :(
If its not that simple and requires much time then I could make it a pay order.
Pls i really need to make comments look like forum posts.
I can do it for a fee just don't have a lot of free time at the moment.
pls send me a PM with details when you have the time to make it, thanks dude
New Update!
1.5
+Improved comment display to show more user information.
!Fixed hardcoded text string Posts
!Fixed bugs in show rating on myfiles page in SMF 1.1.x
awesome man
I made some manual changes in code and i have this result
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg515.imageshack.us%2Fimg515%2F6793%2Frockx.png&hash=41d0e8fd8feba4ada4ddfbac6643ba2e77c52ef9)
I believe you must make 3 changes so people dont have to do it manually:
online/offline button in front of username
border = 1 to separate the comments
vallign = top so comments appear in top of the blocks
Will do thanks for tip.
hmmm.....
Ok, just installed a test forum with a ton of mods to see what I could break....
The Download System with SimpleSEF breaks.... 500 error on the server.
(BTW: Same thing happens with the articles system)
essentially, default or basic configuration of all mods....
Unknown column 'money' in 'field list'
File: /home/mindless/public_html/Sources/Downloads2.php
Line: 1610
I'm getting this after every file I add to the download list, any idea why?
You must have the shop mod installed at one point. And it detects that was installed. You have to drop the shop settings from your smf_settings table
Thx for that...
here is the German translation of that nice mod (see attached Downloads.german-utf8.php)
Modifications.german-utf8.php
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Konfiguration';
$txt['downloads_text_settings'] = 'Einstellungen';
$txt['downloads_form_approvedownloads'] = 'genehmige Downloads';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'genehmige Kommentare';
$txt['downloads_filespace'] = 'Speicherplatzverwaltung';
$txt['downloads_text_catpermlist2'] = 'Kategorie: Berechtigungen';
$txt['downloads_txt_import'] = 'Import';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'zeige Downloads';
$txt['permissionhelp_downloads_view'] = 'Erlaubt den Zugang zur Download-Sektion';
$txt['cannot_downloads_view'] = 'Es ist Dir nicht erlaubt die Download-Sektion zu sehen';
$txt['permissionname_downloads_add'] = 'Download hinzufügen';
$txt['permissionhelp_downloads_add'] = 'Erlaubt das Hinzufügen eines Downloads.';
$txt['cannot_downloads_add'] = 'Es ist Dir nicht erlaubt einen Download hinzufügen.';
$txt['permissionname_downloads_edit'] = 'Eigenen Download editieren';
$txt['permissionhelp_downloads_edit'] = 'Erlaubt das Editieren des eigenen Downloads.';
$txt['cannot_downloads_edit'] = 'Es ist Dir nicht erlaubt diesen Download zu editieren.';
$txt['permissionname_downloads_delete'] = 'Eigenen Download löschen';
$txt['permissionhelp_downloads_delete'] = 'Erlaubt das Löschen des eigenen Downloads.';
$txt['cannot_downloads_delete'] = 'Es ist Dir nicht erlaubt diesen Download zu löschen.';
$txt['permissionname_downloads_ratefile'] = 'Download bewerten';
$txt['permissionhelp_downloads_ratefile'] = 'Erlaubt das Bewerten eines Downloads.';
$txt['cannot_downloads_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download zu bewerten.';
$txt['permissionname_downloads_editcomment'] = 'Eigenen Kommentar editieren';
$txt['permissionhelp_downloads_editcomment'] = 'Erlaubt das Editieren eigener Kommentare.';
$txt['cannot_downloads_editcomment'] = 'Es ist Dir nicht erlaubt diesen Kommentar zu editieren.';
$txt['permissionname_downloads_comment'] = 'Kommentar schreiben';
$txt['permissionhelp_downloads_comment'] = 'Erlaubt das Kommentieren eines Download.';
$txt['cannot_downloads_comment'] = 'Es ist Dir nicht erlaubt einen Kommentar zu hinterlassen.';
$txt['permissionname_downloads_report'] = 'Kommentar/Download melden';
$txt['permissionhelp_downloads_report'] = 'Erlaubt das Melden von Downloads und Kommentaren.';
$txt['cannot_downloads_report'] = 'Es ist Dir nicht erlaubt diesen Inhalt/Inhalte allg. zu melden.';
$txt['permissionname_downloads_autocomment'] = 'Auto-Genehmigung: Kommentare';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentare bedürfen keiner Genehmigung und sind sofort sichtbar.';
$txt['permissionname_downloads_autoapprove'] = 'Auto-Genehmigung: Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads bedürfen keiner Genehmigung und sind sofort verfügbar/sichtbar.';
$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Erlaubt die Voll-Administration, also das Hinzufügen/Editieren/Löschen von allen Kategorien/Kommentaren/Downloads, etc.';
$txt['cannot_downloads_manage'] = 'Es ist Dir nicht erlaubt diese Download-Sektion zu administrieren.';
// END Download System Text Strings
Who.german-utf8.php
// Begin Download System
$txt['whoall_downloads'] = 'schaut sich die <a href="' . $scripturl . '?action=downloads">Downloadsektion</a> an.';
// END Download System Strings
The Downloads-german-utf8.php (see attch'ed file) contains one extra-string for a welcome message is shown in the downloads area
$txt['downloads_text_welcome'] = '<br /><center>Willkommen im Downloadbereich!<br />Hier findet ihr alle wichtigen Dokumente komfortabel als Download<br />Neue Dokumente können hier von Euch ganz einfach bereitgestellt werden.<br />Bitte bewertet und kommentiert die angebotenen Downloads</center>';
I put that code to /Sources/Downloads2.php
<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
', $txt['downloads_text_welcome'], '
</td>
</tr>
</table>
above that code
<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right">
<tr>
<td align="right">
', Downloads_DoToolBarStrip($context['downloads']['buttons'], 'top'), '
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />';
}
it looks like this (see 2. Screenshot)
once again, thank you for that mod...
cheers inti31
Thanks for translation and neat tip for modifying the layout.
hi, :)
This is great mod 8) but, if you made new user group that group is automatically allowed to can download. if you have lots downloads and lots new member group which are on the rise. You must go to each existing category to disallow that membergroup to can't view the download.
Can it be by default to new member group created can't view the download, only if in category you mark as "Can View"?
Hmm will think about that one yeah that can take some time.
Quote from: vbgamer45 on February 25, 2012, 11:39:28 AM
Hmm will think about that one yeah that can take some time.
thank you, maybe you can tell me in which file is that function so i can try to do it. :)
Is there any way to bulk upload?
I have 30+ files which I want to add, but don't feel like doing each one individually....
I have in the pro edition what site are you using it for?
I'm using it for a personal site which we use for building our LARPs...
When I put all my downloads in a topic, I used a sticky for the rules (ie. copyright, etc.). There's not really a place for that with this mod. I was just wondering how others were handling that?
Not sure what the question is?
Quote from: vbgamer45 on March 19, 2012, 12:48:53 PM
Not sure what the question is?
Sorry. Wasn't really a question about the mod. Was really a question for users of the mod. Where do they post download/upload rules?
vbgamer45...
I have an issue with the Downloads2.template.php file. (See attached image)
I can't find the code to correct the issue, though....and what code to use to correct it.
Can you help, please?
That's in the downloads.template.php in the template_ approvelist function or something similar to that.
That issue would be a column a style class
Quote from: vbgamer45 on March 28, 2012, 04:47:07 PM
That's in the downloads.template.php in the template_ approvelist function or something similar to that.
That issue would be a column a style class
Yeah...I hear ya...just can't find the location to fix it, though...
Here's the code for that area:
function template_approvelist()
{
global $scripturl, $context, $modSettings, $txt;
echo '
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>', $txt['downloads_form_approvedownloads'], '</td>
</tr>
<tr class="windowbg">
<td>
<form method="post" action="', $scripturl, '?action=downloads;sa=bulkactions">
<table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
<thead>
<tr class="catbg">
<td> </th>
<th scope="col" class="smalltext first_th">', $txt['downloads_app_download'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_text_category'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_title'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_description'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_date'], '</th>
<th scope="col" class="smalltext">', $txt['downloads_app_membername'], '</th>
<th scope="col" class="smalltext last_th">', $txt['downloads_text_options'], '</th>
</tr>
</thead>
';
foreach ($context['downloads_file'] as $i => $file)
{
echo '<tr class="windowbg2">';
echo '<td><input type="checkbox" name="files[]" value="',$file['ID_FILE'],'" /></td>';
echo '<td><a href="' . $scripturl . '?action=downloads;sa=view;down=' . $file['ID_FILE'] . '">',$txt['downloads_rep_viewdownload'],'</a></td>';
echo '<td>' . (empty($file['catname']) ? $file['catname2'] : $file['catname']) . '</td>';
echo '<td>', $file['title'], '</td>';
echo '<td>', $file['description'], '</td>';
echo '<td>', timeformat($file['date']), '</td>';
if ($file['real_name'] != '')
echo '<td><a href="' . $scripturl . '?action=profile;u=' . $file['id_member'] . '">' . $file['real_name'] . '</a></td>';
else
echo '<td>',$txt['downloads_guest'],'</td>';
echo '<td><a href="' . $scripturl . '?action=downloads;sa=approve&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_approve'] . '</a><br /><a href="' . $scripturl . '?action=downloads;sa=edit&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_edit'] . '</a><br /><a href="' . $scripturl . '?action=downloads;sa=delete&id=' . $file['ID_FILE'] . '">' . $txt['downloads_text_delete'] . '</a></td>';
echo '</tr>';
}
echo '<tr class="titlebg">
<td align="left" colspan="8">
' . $txt['downloads_text_pages'];
echo $context['page_index'];
echo '<br /><br /><b>',$txt['downloads_text_withselected'],'</b>
<select name="doaction">
<option value="approve">',$txt['downloads_form_approvedownloads'],'</option>
<option value="delete">',$txt['downloads_form_deldownload'],'</option>
</select>
<input type="submit" value="',$txt['downloads_text_performaction'],'" />
</form>
';
echo '
</td>
</tr>
</table>
</td>
</tr>
</table>';
}
Edit...This is happening in both my custom template and SMF's default curve theme. I'm pretty sure the answer to my question is located within the above code, somewhere...but, I'm not a coder...so, I wouldn't know how, or where to make the edit. That's why I asked the question and presented you with the code. I was hoping you could tell me exactly what it is I have to change and how to change it.
Also...if you use in-line images within the description...they are not getting re-sized.
One last thing...I can edit categories...but, I can't edit sub-categories. I added a couple of sub-categories...and now, I can't remove them. Am I missing something?
@Glitch - you are right - the only way to change the name of a subcategory is to do this direct in the database.
I had this too - I mispelled my first subcategory... *ompf*
But it is easy to change - I use mysqld for this
click on SQL-Browser - select table "{dbprefix}down_cat", then click on edit and do this manually...
Quote from: Inti31 on March 29, 2012, 03:24:46 AM
@Glitch - you are right - the only way to change the name of a subcategory is to do this direct in the database.
I had this too - I mispelled my first subcategory... *ompf*
But it is easy to change - I use mysqld for this
click on SQL-Browser - select table "{dbprefix}down_cat", then click on edit and do this manually...
Actually, I feel like somewhat of a "moron"...I found if you click the main category...you can see the sub-categories and edit them from the list.
So, no...you don't have to edit the names of the sub-categories through the database via MySQL.
However...I am experiencing somewhat of an issue with other issues I have described in my previous post. I'm just waiting for the mod developer to address them.
As far as I can tell...the issue with the header for a particular table column is a coding issue of the mod. I'm not a coder and need to know just what I need to edit...and whether or not the developer intends to correct the code of the mod.
I'm, also, experiencing the issue with in-line images not being re-sized. Whether or not this is a "Pro" feature...I don't know.
One last thing...
If I add a download and use the setting to have it add a post to a certain forum...in my case, a child board...the post is created. However, the "new" button that's created for that new topic does not work correctly from the Board Index. If I click it...I get redirected to recent unread topics...but, it's not listed there. I find this to be strange behavior...since it is a new thread I'm creating...correct?
Anyhow...I'll wait to see what vbgamer45 has to say.
Quote from: GlitchPC on March 29, 2012, 08:26:22 AM
Actually, I feel like somewhat of a "moron"...I found if you click the main category...you can see the sub-categories and edit them from the list.
So, no...you don't have to edit the names of the sub-categories through the database via MySQL.
arrghhh - thx for that hint - haven't seen that before....
Bump...
Quote from: vbgamer45 on March 28, 2012, 04:47:07 PM
That's in the downloads.template.php in the template_ approvelist function or something similar to that.
That issue would be a column a style class
Could you be a little more specific, please? Thank you...
I scanned through some of the posts and cant find this yet-
I realized that there are links to my downloads through google in as much as you just click the link in through google search and the download starts. You never have to visit my download page to get it.
Anything I can do to avoid "direct downloads" and force them to at least go to the download page to do so?
I mean.. I put an ad on the page for reason... :)
Any ideas?
hello everyone
i have installed download system 1.5 .i have also a button on my forum main page.plz tell me how i can place items in this downloads section.?
thanx
hi everyone
i wanna add a download section to my forum.i have installed download system 1.5 mod .but on saving settings it says Warning Downloads path is not writable!..kindly help me out.
thank you
What path do you have?
Make sure your downloads folder in your forum's root folder is writable.
is it possible for guests to be able to view downloads but only be able to download once registered?
thanks
Not at the moment is a feature of downloads pro since it has a seperate view and download permissions.
How to change download links to image button. Because peoples in my Country are very stupid
You have edit the downloads.template.php and find the edit the view download template function in that file to add a link.
Quote from: vbgamer45 on April 16, 2012, 12:18:25 PM
You have edit the downloads.template.php and find the edit the view download template function in that file to add a link.
This I know. Which line of code? And what I am supposed to write. I'm not a programmer
Have it build in Downloads Pro
But here is similiar code
Find in file
// Show the main download
In that area look for the other download link code and chagne to
echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="http://ww.yourdownloadimage.com/myimage.jpg" alt="" /></a>';
Quote from: vbgamer45 on April 16, 2012, 04:02:26 PM
Have it build in Downloads Pro
But here is similiar code
Find in file
// Show the main download
In that area look for the other download link code and chagne to
echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="http://ww.yourdownloadimage.com/myimage.jpg" alt="" /></a>';
Thanx working fine. I need learn more PHP O:)
Glad you were able to get it working.
i no stupid question but where the hell is downloads.template.php
In themes/default folder in your SMF install.
i have a downloads2.template.php file is that the same thing and if so i cant find the line to edit to add image for download.
Thanks
Yes that is the same thing try searching for similiar code if you can
could i be realy cheeky and ask u if you can find the code ? cos i cnt :/ also if i buy pro download system can i easly move files over?
Thanks
Your issue for seperate permissions wouldn't be in that file it would be Sources/Downloads2.php the only think I could do right now would be move the viewdownload permission from the download page to the downloadfile function. So anyone could view a download page but depending on your permissions would only be able to download that file if part of right group.
Downloads Pro is instant upgrade and transfers all files/settings from the lite edition.
thanks i will get the pro next week once ive been paid, sorry i was meaning i wonted to add a download button instead of text
http://talkappliance.co.uk/imgup/image_files/download-now.gif
is tht possible in the file?
Thanks
Updated file attached
herrm i upload this file to themes/core/ and it doesnt add the image :S im i putting it in the correct place? sorry im a complete noob :)
Oops attached wrong file download this one.
Quote from: vbgamer45 on April 16, 2012, 04:02:26 PM
Have it build in Downloads Pro
But here is similiar code
THX very much
if you want to make it more professional for us "Non-Pro-Users"...
echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="' . $settings['images_url'] . '/download.png" alt="' . $txt['txt_missingdlpic'] . '" title="' . $txt['txt_dlnow'] . '" width="150" /></a>';
so you just need this in Modifications.<language(-utf8).php>
$txt['txt_dlnow'] = download now!';
$txt['txt_missingdlpic'] = DOWNLOAD NOW!';
the width="150"- parameter is just for me to resize my download.png which is located in "Themes\default\images"
When done it looks like this (see att'ed file)
cheers Inti31
Would it be a real pain to add a progress bar for uploading files?
It depends requires a server extension in order for it to work properly.
How to set default icon in posts? When I upload file i have new post with link and "standard" icon. I would like to select the icon for the board.
Quote from: MESWEB on April 23, 2012, 06:27:53 AM
How to set default icon in posts? When I upload file i have new post with link and "standard" icon. I would like to select the icon for the board.
There is a function called in Sources/Downloads.php search for createpost and you can edit the icon used to make the posts.
i am stuck
i added this mod but now i want to remove this mod but its not showing up in installed packages list :(
I have upload mp3 - how to make preview file in download?
What's a preview file?
I mean preview of the file. When I upload any file the file name is changed like this: 1_16_04_12_1_05_50 etc. This files are mp3 that would be better if any can listen file before download it.
Yeah they are changed to prevent execution of the file.
How to change this ?
you don't... it would be insecure.
If you want to host/play/download media files, then use one of the media gallery mods
Can You explain more? Which on mod?? I have AEVA but this mod is not working with UTF-8 file name.
I do it but Am stuck here.
<param name="flashvars" value="mp3=" />
In value="mp3=" must be folder and file specified
example:
value="mp3=downloads/filename"
foldername is value="mp3='.$modSettings['down_path']
Which one php code i need put next?
Search keywords is not working!! I just enter any words to search box and select "Search Keywords".
Reults allways empty screen - none results.
This is a bug??
Do you have keywords tagged to the downloads? as keywords
Yes when I uploading file I enter keywords in Keywords
How to change time format - last download:
like
1:33:26 to 13:33:26
It should be based on the SMF time format.
i wont to move all uploaded files to a subdomain is this possible and for the old links to work ??
Thanks
If you change the file path and the file url to the correct spots it should work.
Quote from: MESWEB on May 05, 2012, 07:26:05 PM
I do it but Am stuck here.
<param name="flashvars" value="mp3=" />
In value="mp3=" must be folder and file specified
example:
value="mp3=downloads/filename"
foldername is value="mp3='.$modSettings['down_path']
Which one php code i need put next?
How to display file URL??
1.5.1
!Fixed bug with SMF 2.0 missing a function for showing rating information in blocks.
Quote from: MESWEB on May 09, 2012, 04:48:33 PM
Search keywords is not working!! I just enter any words to search box and select "Search Keywords".
Reults allways empty screen - none results.
This is a bug??
Any ideas?
Do you have keywords in for your downloads?
Here is example of my download.
Słowa kluczowe = Keywords.
http://yoump3.pl/index.php?action=downloads;sa=view;down=27 (http://yoump3.pl/index.php?action=downloads;sa=view;down=27)
Today I noticed in logs one repeating error:
http://***.pl/index.php?action=downloads;sa=search2;q=download%2Fsa.search2%2F
8: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 14 bytes
File: /home/***/domains/***.pl/public_html/Sources/Downloads2.php
Line: 3306
SMF 2.0.2 with:
1. SimpleColorizer 1.1
2. Fancy Features 1.2.7
3. SimpleSEF 2.1
4. WYSIWYG Quick Reply 2.3
5. Redirect Banned Users 2.0
8. SMF Gallery Lite 3.1.3
9. Downloads System 1.5.1
10. Contact Page 3.0
11. Google Analytics Code 1.4
12. Optimus Brave 1.8.2
13. Admin Notepad 2.0.2
14. Quick Spoiler 0.9.2
15. SP-Shoutbox Notification Sound HTML5 0.5
16. Tapatalk SMF 2.0 RC4/RC5/Final Plugin 3.0.2
17. Switch Permissions 1.0
18. SimplePortal 2.3.5
Yes
nice work
when Update dont forget portuguese Linguage
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings translate By Candidosa2
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuração';
// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';
$txt['permissionname_downloads_view'] = 'Ver os Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao utilizador visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Você não tem permissão para ver os downloads';
$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao utilizador adicionar download.';
$txt['cannot_downloads_add'] = 'Você não tem permissão adicionar download.';
$txt['permissionname_downloads_edit'] = 'Editar Próprias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao utilizador 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 utilizador 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 utilizador 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 utilizador 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 utilizador 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 utilizador 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 suporte smfpt.net
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Download System Text Strings translate By Candidosa2
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuração';
// Permissions
$txt['permissiongroup_downloads'] = 'Sistema de Downloads';
$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Permite ao utilizador visualizar os Downloads';
$txt['cannot_downloads_view'] = 'Você não tem permissão para ver os downloads';
$txt['permissionname_downloads_add'] = 'Adicionar Download';
$txt['permissionhelp_downloads_add'] = 'Permite ao utilizador adicionar download.';
$txt['cannot_downloads_add'] = 'Você não tem permissão adicionar download.';
$txt['permissionname_downloads_edit'] = 'Editar Próprias Download';
$txt['permissionhelp_downloads_edit'] = 'Permite ao utilizador 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 utilizador 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 utilizador 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 utilizador 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 utilizador 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 utilizador 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 suporte smfpt.net
]]></add>
</operation>
</file>
I have it set to post a topic in certain boards when downloads are added.
However, if the download gets deleted, it also deletes the topic from the forum.
Is there any way to set this so it does not delete the forum topic and all replies?
Thank you.
Quote from: BurkeKnight on July 23, 2012, 11:37:19 AM
I have it set to post a topic in certain boards when downloads are added.
However, if the download gets deleted, it also deletes the topic from the forum.
Is there any way to set this so it does not delete the forum topic and all replies?
Thank you.
You would have to comment out the delete code when deletedownloadbyid function in the downloads2.php file. just search for the removetopic function call.
That did it. Thank you! :)
Glad to help.
where can I find the place that limits what file extensions can be uploaded?
That would be in the Sources/Download.php in the AddDownload2 to function and EditDownload2 function
I can't find anything in those areas that mention any list of accepted file extensions. I did find an area in the attachment headers area but adding a file extension there still didn't work.
I have a specific file type of .dm_68 I need to be able upload and so far I can upload images but no archives, exe's, wmv's or my file. Seems only images will upload
What error message do you get on upload?
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@***********.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.***********.com Port 80
I have no problems uploading an image file but all other files give this error. And I have verified I am not trying to upload to large of a file
P.S.
I tried it with no other mods installed
How large are the files?
That is not an SMF error that is a server level error.
THE FILES ARE 350K OR LESS BUT IF IT IS A SERVER PROBLEM... WHY WILL IT UPLOAD GIF AND JPEG FILES sorry bout the caps.
I have seen this many times before.... these server errors are caused by scripting not doing what it should be doing... this is not an error of the server because iIcan upload these kinds of files through other forum software with no problem... just not SMF
Check download system lite code and does not have kind of code that checks filetypes it allows them all to be posted.
Next steps either check the forum's erorr log or apache error log for possible hints.
there is nothing in my error log other than the error pages do not exist. i do not have access to the apache log.
I had no trouble with this using vbulletin and it is the same server
the SMF error lof has no entries regarding this
Check apache log or contact the host and see if they have mod_security installed or if they can see the error on their end in the apache log.
like I said earlier.... I have vbulletin installed on teh same site and I have no problems with this
That's the only options you have. I use this mod on my sites and can upload files of any type without issues...
well it doesn't work for me... and many others I see from all the posts
Really what posts??? All I have seen is mostly issues with php upload limits
In terms of permission, is there an option that allows/disallows a membergroup from downloading a file or uploading a file.
For instance, I would like membergroup 2 to be able to upload files, but not download files. Is this a possibility? And those who are not allowed to download files, they are still allowed to see the file that's uploaded (but, of course, not able to download it).
Three is global permissions in the lite version to view the download page and add downloads
The pro edition adds a separate download file permission. Which controls if they can download a file or not.
So, the full version has the option that I am looking for?
Yes it does. Has a separate download/view/upload permissions and bunch of things such as you can charge for downloads and add images for downloads etc.
More information at http://www.smfhacks.com/download-system-pro.php
Quote from: vbgamer45 on August 17, 2012, 03:46:51 PM
Yes it does. Has a separate download/view/upload permissions and bunch of things such as you can charge for downloads and add images for downloads etc.
More information at http://www.smfhacks.com/download-system-pro.php
Thanks.
hi
i am using smf 2.0.2 and i recently installed this mod download system 1.5.1.but it is not showing any download section on main page..is there an issue with installation ?
plz guide me
tnx
Do you see in the admin panel? The mod adds a link in the menu system in the smf tabs.
New update bug fix
1.5.2
!Fixed top downloads bar layout issue in chrome
I have this mod installed and I have two images missing from my installation and I cant find them any where.
I am looking for
myfiles.png and search.png these should both be in Themes/*themename*/images/buttons/
I do not have files for those. Some themes require images for buttons so I put place holder images for those. Please create files for those names.
I am trying to upload a TTT map on the Download. But everytime i upload it it says "404 - Attatchment not found". It's a .bsp file.
But with everything else, like .png and .jpg works. How can i make it so i can upload .bsp files?
How big is the file?
Recently upgraded a board that was running SMF version 1.1.11 with Tiny Portal to SMF version 2.0.3. I have reinstalled the latest version of Tiny Portal. All the previous downloads files are still in the TP-Downloads folder but now are not visable in the Downloads module. Can these be recovered without reuploading all the files?
Yes there is an import option from Tiny Portal in the admin area of the downloads
I do not see an import option. On the FTP tab, I do see all the files listed and have the option to select them, and assign a catagory to them. Is this what I use?
There should be an import tab next to the FTP tab.
If not make sure you have the latest version of FTP.
According to my Package manager it is Tiny Portal version 1.107.
I meant the latest version of the downloads system.
You might have to uninstall completely the download system and reinstall if you had an older version of it.
Quote from: vbgamer45 on January 15, 2013, 01:42:07 PM
I meant the latest version of the downloads system.
You might have to uninstall completely the download system and reinstall if you had an older version of it.
How do I do that? The download system installed as part of TP. I don't see anywhere to uninstall it separately.
Download my mod here has the import option built in.
http://custom.simplemachines.org/mods/index.php?mod=992
Ok, I've installed your mod. When I use the import function i get the following error.
Unknown column 'authorid' in 'field list'
File: /home/jtechpro/public_html/vintagebikeforum/Sources/Downloads2.php
Line: 5565
hmmm will need to check that out.
Any ideas what my issue is?
All I can think of is Tiny Portal changed the format and I would have to make a new importer.
hi i have an eerror on my smf forum
i have installed download system made the rigfht settings
i have the right settings on server to up to 128 mb for upload php maxim file size
and when i try to add a download
i fill the right fields
then select a file from my computer
if the file is smaller than 8 mb there are no problems
but if the file is biggert than 8 mb,after the file is uploaded i have this eror:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs14.directupload.net%2Fimages%2F130219%2Fn86h977c.jpg&hash=072b6e9e1a2198b11a3ec6ce0f4beae8b03288e1)
http://funkyimg.com/u2/3103/566/149110error.jpg
i have talk abot this with the server team from hosting services of my website and they have fixed everything about with server ,and say that this could be from the script,that i am using and tell me to contact the webdeveloper
but please help me if you know how to fix this
please
i have standard version free version of download system
Check out this topic there are a couple other settings to change
http://www.smfhacks.com/index.php/topic,3498.0.html
New update!
2.0
+Updated styling for SMF 2.0 for main areas for a better experience
+Updated admin areas with alternating row styles to make reading easier
OLD TOPIC BUMP:
How to not allow guest to download, but only view the downloads?
To bait them to register?
Quote from: Capt. John on March 26, 2013, 06:30:10 AM
OLD TOPIC BUMP:
How to not allow guest to download, but only view the downloads?
To bait them to register?
At the moment not included in the lite version. In lite there is just the view permission.
Description it's not showing up. I write, submit, andthe download description retunr without any text(despite the file being ok).
Any idea about that? No errors in log. SMF 2.0.4
Quote from: Costa on April 02, 2013, 06:57:21 AM
Description it's not showing up. I write, submit, andthe download description retunr without any text(despite the file being ok).
Any idea about that? No errors in log. SMF 2.0.4
Check that you have the description displayed under Admin -> Download Configuration Settings -> Downloads Display Settings -> Show description
Yes, I have. When I edit the download, and submit, the description disappear.
Are you using the latest version?
Yes.
Does it happen for all downloads? Or just a specific one.
Does adding working? But it disappears just on edit?
Today I add a download with description, when I go to the download page the description disappear. This also happen when I edit old downloads. The download file it's ok, but the description is gone. So, if I edit any download, the description disappear. If I add new downloads and write some description, after send the download, the description disappear.
I installed the mod apparently correctly. But I can't figure out how to create categories (there doesn't seem to be any way in the mod to do so) and I can't figure out how or where to upload the files I want to show as downloadable. I know I'm missing something but I 'm not all that familiar with mods, so apologies in advance
To add categories go to the downloads menu item. There should be a link on that page to add a category.
Tried searching but couldn't find an answer.
Is there a way to have the upload and the Direct Link both be the actual file?
i.e. instead of ?action=downloads;sa=downfile&id=1 it's www.etc.co.uk/forum/downloads/filename.pdf
That is strongly not recommended. There is a reason why direct file access is not provided: security.
I see. But is it possible? The uploaded files will all be the same file type, and all are meant to be publicly available.
Yeah you can do but would require editing of the source of the downloads system.
vb, I'm using a script that in order to download a file, the user has to tweet before activating the download button.
I use this line for the specific download inside the <script> tags:
' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '
It works at it should but it throws a undefined error: 'downloads_file' due to php and js don't mix.
What would be the alternative to this line?
', $context['downloads_file']['ID_FILE'], '
I search thru your files but everything seems to use that line.
Do you have $context['downloads_file'] loaded on the page with that script? And $context defined as a global
$context['downloads_file'] comes from a mysql call that loads the row for that file ID
Quote from: vbgamer45 on May 09, 2013, 11:21:41 AM
Do you have $context['downloads_file'] loaded on the page with that script? And $context defined as a global
$context['downloads_file'] comes from a mysql call that loads the row for that file ID
This is my script in index.template
<script type="text/javascript">
$(document).ready(function(){
// Using our tweetAction plugin. For a complete list with supported
// parameters, refer to http://dev.twitter.com/pages/intents#tweet-intent
$("#tweetLink").tweetAction({
text: "Download Professional SMF Themes. Free and Premium.",
url: "http://idesign360.com",
via: "idesign360",
related: "idesign360"
},function(){
// When the user closes the pop-up window:
$("a.downloadButton")
.addClass("active")
.attr("href", "' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '");
});
});
</script>
downloads_file is throwing a undifined. cant use globals on js :o
Is it a specific download you want or any? Any reason the code is on every page and not the just the downloads page?
Quote from: vbgamer45 on May 09, 2013, 11:38:45 AM
Is it a specific download you want or any? Any reason the code is on every page and not the just the downloads page?
No reason at all. I didnt thought of that. Ill try it.
Its for all downloads.
OMG. Why i didnt thought of that. That worked. No errors.
Glad that was able to work!
Are there any plans to add multiple mirrors to this mod? That'd be really useful/helpful.
How exactly would it upload to mirrors?
Not upload, just link to.
Though if you wanted it to, uploading via FTP to mirrors would be nice.
Multiple links could be possible. Either in the description.
I do support multiple uploads in one download in the pro edition.
I would find multiple links to be very useful.
I really like this mod and i want to say thanks to all that have worked so had to keep it functioning. Kudos to you all!!
Please i wish to use this mod for download of MP3 files, but am having problem inserting a Mp3 player on the description section, so that my users can listen to the music before downloading it. I tried rapping the MP3 short script from google and other source with the
tag but it didnt work.
Please is there a way i can do this on category of my Audio Music Downloads.
Thanks
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.
Does anyone know if you Add a Download by URL (something you already stored on your server through FTP) after it's added how you can change the listed filesize from 0B? Anytime I add a download by link it lists it at 0B, wondering if there was a path to go in and possible edit?
At the moment the only possible way to edit it in the lite version is using the database.
How would I upgrade to the non-lite/ Pro version? And would I have the functionality after upgrading?
Pro version is at
http://www.smfhacks.com/download-system-pro.php
Hmm just double checked the pro version doesn't seem to have autofilesize detect for remote urls but that is something I can add as long as the fileurl is a direct link to the file itself.
For some reason, I can't put or edit a description for downloads anymore on my site.
When try to write a comment, I put any text in the field and when submit, it says that I did not enter a comment.
Download System 2.0
SMF 2.0.4
Two issues you are having are can't put in a description for download.
And can't add comments is that right?
For SMF 2.0.x?
Correct. I was able to when first set it up, then all of a sudden, when trying to add new download yesterday, found out. I tried uninstalling other mods I had installed after it, but did not fix it.
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.
Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks
Quote from: drfun on June 18, 2013, 08:08:04 AM
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.
Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks
Link to mod http://custom.simplemachines.org/mods/index.php?mod=2681
Quote from: BurkeKnight on June 18, 2013, 03:00:13 AM
Correct. I was able to when first set it up, then all of a sudden, when trying to add new download yesterday, found out. I tried uninstalling other mods I had installed after it, but did not fix it.
Hmm not getting that on my test site.
What browser are you using?
IE 10 and FF 21 both. Think maybe another mod may have done it?
Could be did you install any antispam systems or anything that might check the input.
Stop Spammer 2.3.9
Ban Filter 1.0
Quote from: vbgamer45 on June 18, 2013, 10:05:10 AM
Quote from: drfun on June 18, 2013, 08:08:04 AM
Quote from: vbgamer45 on June 17, 2013, 12:28:05 PM
I have a mod called Simple Audio Video Emebeder which you could use and would work in the download descriptions.
Thanks is it on your site? i check the mod site and its not there, can you please point me to where i can get it. thanks
Link to mod http://custom.simplemachines.org/mods/index.php?mod=2681
Thanks vbgamer45, but my Aeva (Media Gallery & Auto-embedder) has all the listed site in this your mod enabled on my site, wont it conflict. This is the MP3 player script am trying to embed
<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?
audioUrl=http://LINK" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" height="27" width="400">
OR this one
<iframe id="hulkshare-player-embed" name="hulkshare-player-embed" src="http://www.hulkshare.com/hsPlayer/embed/embed_clean.php?fn=70wxw9g9mku8&enableDownload=1&enableCover=1&enableAdd=false&bg=undefined&fg=undefined&iconColor=undefined&backColor=undefined&outColor=undefined&overColor=undefined&textColor=undefined&tintColor=undefined&pid=&type=7&width=100%" scrolling="no" frameborder="0" allowTransparency="true" style="width:100%;height:160px;"></iframe>
The mod doesn't allow html input but if you put a direct link to the audio file then the embeding mods should auto emebed it.
ok that means i can not in any way embed this Mp3 player script in the description?
No since that is security risk if we allow html code.
Hi i am having troubles with the download system by smfhacks.com. Everytime i try approve a mod, this message is shown-
An Error Has Occurred!
Board structure corrupt: unable to find parent board
Also, when uploading a large file, it says website not available and 404 not found.
Any help appreciated. Thanks in advance
One of your download categories is set to auto post to a board in your forum that no longer exists.
Reedit each of your category and save changes and make sure it does not point to a non existing board.
Is it possible to make downloads visible to guests but don't allow them to download actual files? (Please login/register to download this file, etc.) If so, how to make it working?
Cheers,
Oskar
Not in the lite edition I have a separate permission in the pro version called download file in addition to view downloads
Nice to know. Will consider updating. Thanks!
I also have a second question. Is it possible to make file downloadable after clicking the link in category view? I mean without entering file details view.
The download system could be edited to do that. Otherwise in downloads pro there is a downloads button option on the category view area.
Ok, thank you for the information!
stupid question but how we upload things in order other people download it?:D
Click the add download link inside a category to upload a file.
Quote from: vbgamer45 on September 19, 2013, 11:22:23 AM
Click the add download link inside a category to upload a file.
sorry but i didnt understand you
After you have the downloads system installed. Next step add a category in the downloads system. Then after category is added go into the category and click the add download link
I cant find the 'add download link'
Do you have a link to your downloads section?
a link ?what link?a added the category in downloads,i choosed the category from my boards though nothing happend.
A link to your forum with downloads system.
My forum is under maintenance at the moment
Can you pm an admin login?
vbgamer45,
Hey old friend. :)
Just one thing I'd like for one of my sites.
The Downloads Configuration menu in Admin panel.
Instead of cloning that then having the drop down with Settings, etc., I'd like to have that be top, then the drop down start at Settings, since it has it's own page. That way, when hover over Downloads Configuration it will show the different settings pages, instead of Downloads Configuration again. How would I accomplish this?
Here are two images, showing what I mean:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bkm.cc.nf%2Fwork%2FDownloads_Menu_1.png&hash=c335dee34b5622489c654675b0ace43885c10124)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bkm.cc.nf%2Fwork%2FDownloads_Menu_2.png&hash=7d1b11d259244376b5eab3feac5e7d1b6664ad47)
Is the admin menu bar on that page? Or the full menu bar as SMF?
Admin menu, and I just finished working on it. :)
So, you can forget it if you wish, my friend. :)
By the way, hope all is well with you.
Hi, I have a problem this MOD, when I entered in the "Description:" Polish characters such as the ą ć ó, after save the description is blank :-\ just nothing is not there :/ What is wrong? Or maybe someone could provide a link to another alternative mod?
What SMF version?
Also have downloads pro
http://www.smfhacks.com/download-system-pro.php
Quote from: vbgamer45 on September 30, 2013, 11:28:18 AM
What SMF version?
Also have downloads pro
http://www.smfhacks.com/download-system-pro.php
SMF 2.0.5
Oh no $65 is too much for me :( some alternative? Or how to fix it?
EDIT: After entering russian characters, after saving the pops: (example) но яйца
EDIT2: this is something wrong with the coding language forum, This is not the fault mod.
Posted an update that might help too
2.1
+Better support for other languages
something is wrong:
QuoteParse error: syntax error, unexpected ')' in /virtual/xxx.xxx.xx/Sources/Downloads2.php on line 2379
Posted a new update/fix for that issue.
Nice addition to our forum, but I miss the ability to upload several files in one go.
Check out downloads pro has some extra including multiple files per download http://www.smfhacks.com/download-system-pro.php
Hi vbgamer,
I have recently uninstalled this, not because it is a bad mod, just that it duplicated something on my main website, and i just thought you should know that it does not remove the downloads folder when it uninstalls; this may be the correct behaviour as far as SMF goes but as I was also trying to reduce space taken up on the server I think some sort of note should be added regarding uninstalling, and that the folder will have to be manually deleted after uninstalling, or all items in the folder deleted prior to uninstalling. That is, unless it is a fault on my forum installation? I did have to make some manual edits to uninstall because of edits made by other mods but that shouldn't affect removing this folder I don't think - all the other files added by the mod to Sources and the default theme were removed.
Otherwise thank you for the mod which worked fine while I was using it.
Well, there's a good reason it's not deleted... what happens if you uninstall to install a later version? Would really suck to lose all your downloads like that.
Quote from: Arantor on October 22, 2013, 11:09:25 PM
Well, there's a good reason it's not deleted... what happens if you uninstall to install a later version? Would really suck to lose all your downloads like that.
Exactly the reason why the download folder remains. If someone no longer needs they can remove the folder completely themselves.
Yes I understand that but just some sort of note on the mod page, or warning when uninstalling, that the folder does not get deleted would be a good addition, as there may be others who uninstall to save space.
The thing is, most people don't uninstall to save space... ;)
you should be aware, then, that SMF themes act the same way -- when you remove the theme from your smf install, it does not delete the theme directory.
I'd have to say that this behavior is completely appropriate and even expected.
Is this general SMF behaviour noted anywhere because I was not aware of it and i am sure there are others too. as regards Arantor's comment, I would think there are plenty of people who decide to uninstall something because of space concerns, as many will be on shared hosting or even free hosting where this is an issue. For me this was a side benefit rather than the reason as i have indicated. For future versions of SMF do you think it might be an idea to implement an optional deletion of such folders when the mod or theme installs one? I am not a noob and have been using SMF for some time and I was not aware that this didn't happen when a mod/theme is uninstalled/deleted.
Speaking from having done years of experience of support, people do not generally remove components like that from their site due to space concerns. Especially because of the plethora of 'unlimited space' plans out there ;)
You've also noted that you have an alternative to the file serving - most users do not.
And no, I do not think it is a good idea to implement this in the manner you're thinking of into SMF's package system in the future.
Well, OK, but would you care to share why you think that? Or at least why it isn't made clear to SMF users that this is the normal behaviour? I think others would assume, like I did, that when you uninstall/delete a mod or theme that all the actions would be reversed that were carried out on installation. I'm not criticising, just pointing out something that is worth considering either changing the behaviour or making clearer to people. From your smiley I know you are aware that 'unlimited' is not the case so I don't know why you would object to something that would clearly help forum/website owners avoid coming up against the actual limits with all the hassle and performance limitations that can involve.
well, first of all - since the only method to update some mods involves uninstalling them first and then installing the new version - could you imaing the issues if - every time you had to update the mod, it removed all your previous data?
Uninstalling a mod removes the code changes done by the mod - but not any data files or database tables.
second - it's assumed that, if the intention is to "save space", then you'll manually go into your files list and delete things from there. It's not like any of the forum files actually take up more than a few MB, in all.
Last point first, unlimited doesn't exist. But any site that does use such a host is going to hit many other limits far beyond hitting the space limit.
Secondly, as I just outlined, most people do not just up and delete mods to save space. You are frankly atypical. This is not based on guesswork but years of helping people with their SMF installations.
Thirdly, if it removed files on uninstall, it would screw up any mod that has to be uninstalled to add an update where new files are added. This affects so much more than your limited use case.
There are mods that did actually go out of their way to clean up. Typically backfired on them too because people don't read what's in front of them.
Kindred & Arantor,
I'm thinking that maybe you haven't been reading my posts fully; I did not say in any of them that I uninstalled this mod to save space, it just became unnecessary as what it offered was duplicated on my main website; however a side benefit of removing it was that it reduced space taken up, but only when I manually removed the downloads folder that had been created by the mod. I also only originally suggested adding a note to the mod page and/or the install notes to inform users that they would need to delete the folder manually. I then went on to suggest having an optional deletion of such folders when uninstalling in a future version of SMF, not a mandatory one.
I don't know if there are, were or will be other users of this mod that wanted or will want to uninstall it to save space but surely my suggestions are not a reason for you to be so uppity is it? And the same can apply to any other mods/themes - just make people aware that this is how SMF's mod/theme installation operates. As I said, I am sure there are many other users out there that think that a mod uninstall/deletion would be the reverse of the install. I'm not saying the existing behaviour has to change, just make sure people are aware of it. I guess I thought that because most, if not all, Wordpress plugins issue a warning that your data will be deleted when uninstalling that this might be possible with SMF as well. I don't mind, I thought I was being helpful in pointing out a behaviour I hadn't been aware of before.
Quote from: Sakae on October 03, 2008, 11:27:53 AM
Hey, vbgamer45.
I finally managed to access www.tinyportal.net and I search for a bunch of threads there, and the common answer for a TP BLOCK WITH RECENTLY ADDED DOWNLOADS was "ask for the mod creator".
Can you provide that block code snippet? Thanks in advance...
I found a block code with most popular downloads (add in a phpbox):
global $db_prefix, $scripturl;
$request = db_query("SELECT f.ID_FILE, f.ID_MEMBER, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.realName, m.ID_MEMBER AS mID_MEMBER
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.ID_MEMBER = m.ID_MEMBER
ORDER BY totaldownloads DESC
LIMIT 10",__FILE__,__LINE__);
while($row = mysql_fetch_assoc($request)) {
echo '<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td valign="top" class="smalltext"> <a href="',$scripturl,'?action=downloads;sa=view;id=',$row['ID_FILE'],'">',$row['ftitle'],'</a></td>
<td valign="top" class="smalltext" align="right">',$row['totaldownloads'],'</td>
</tr>
</table>';
}
need DownloadSystem2.1a
Why that version? You can download the latest from the site.
:o have ssi portal.
Ok i don't understand.
Here added a Dutch translation for utf8 for this mod. Thanks for the mod!
Quote from: Pentaxian on April 23, 2014, 07:00:00 AM
Here added a Dutch translation for utf8 for this mod. Thanks for the mod!
Thanks for the translation.
Hey VBgamer, need a pointer or two about the block listings display...
I want a category name to be displayed on a line under the thumbnail along with all the other data displayed there, mainly because i have already tweaked it a little to display a set of randomly chosen files on my portal page & they are various media types so the category name would be a bit more descriptive for the members
You would need to a left join with down_cat table and then use ID_CAT and title from that table.
Quote from: vbgamer45 on May 01, 2014, 11:36:25 AM
You would need to a left join with down_cat table and then use ID_CAT and title from that table.
Do I need to modify the template, can't quite figure out where I'm screwing up, Downloads2.php attached
Had it working in a much older version of Downloads Pro, will take a look at that again
Got it, thanks
Hi guys. I currently have 1.5.2 and I'm considering upgrading to either 2.1 or the paid version. In either case, can I just install over the old one, or is it more involved? I'm not much of a coder, and I want to keep my current setup. To redo things, we're talking 200 files. As I just did this moving to a cloud based setup, I don't want to do it again....
Yes you can just install it over to upgrade to the latest version! From lite to pro I suggest to uninstall but all your data/files are saved and not removed.
Thanks! I'm reluctant to spend the money (pro) for just 1 option. Not that I don't want to support you guys, but the only thing I'm missing is adding an image to a file. Using an imagehost I solved that, but the upload procedure is more complicated. But we'll see. I just got an investor for my site, so I will probably end up doing it.
Please is there anyway i can create RSS for this mod???
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
Quote from: vbgamer45 on August 15, 2014, 05:53:34 PM
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
its not there '(
Quote from: Osaugue on August 16, 2014, 03:14:43 PM
Quote from: vbgamer45 on August 15, 2014, 05:53:34 PM
Check in the download settings to see if this exists "Enable RSS Feeds" if not then it is in the pro edition of the mod
its not there '(
I can confirm that it is available in the Pro version...
Is it possible to have this system manage external download links? My webhosting supports up to 200MB at full speed then caps at 50KB/s which is not acceptable because i'm hosting content packs for counter strike source which are pretty big. They are all hosted on a gigabit dedicated server, and wish to have this system manage who can download the packs and keep the URL's private to prevent mass people on steam over-loading my bandwidth.
Thanks,
Xer0n
Yay, got the pro version integrated with the SMF Tagging module!!
What did you do with the tagging module? I have tags built but you tied that mod with this one?
Quote from: vbgamer45 on August 30, 2014, 02:17:50 PM
What did you do with the tagging module? I have tags built but you tied that mod with this one?
Yes, downloads keywords get tied to tagging system module whenever adding a download or editing an existing file in the downloads, however, still need to add a conditional statement to be sure that the tagging module is installed first so that this edit will be usable in any smf site, but i'd be happy to PM you what I did so far, maybe you can streamline it cause the code has to be added to about 5 or 6 areas of the downloads2.php file the way I did it?
but so far its error free
Sure send it over.
Quote from: vbgamer45 on August 30, 2014, 02:43:15 PM
Sure send it over.
hmm, since its the pro version i can't attach it here, and PM won't let me attach a file here, so now what?
Quote from: Bob Perry on August 30, 2014, 02:30:38 PM
Quote from: vbgamer45 on August 30, 2014, 02:17:50 PM
What did you do with the tagging module? I have tags built but you tied that mod with this one?
but so far its error free
however, I am getting alot of these errors in the log, but I'm pretty sure its not related to my edits...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgator4064.hostgator.com%2F%7Ewpc921%2Fimages%2Fsmfhelp19.png&hash=0d919bbe4e2de9370c6c1aee58f7e163cfcbc302)
I am looking for the german_informal language file.
Not sure if it has been translated but you can search this topic and it might have been or look on smfhacks.com
Quote from: vbgamer45 on August 30, 2014, 02:43:15 PM
Sure send it over.
Tried to get it to ya several times at your site, unsuccessfully as there is some glitch where when I hit the send button it logs me out or a timeout or something then it won't let me log back in??
It functions perfect but I still haven't added a check to see whether the tagging module is present yet...
It also tags the file description to the body of the topic if the admin has set it to post to a forum when uploading a new download...
Can you attach to a post over here?
I think so, if you say so... be warned to anyone else who tries to use this, if you don't have the tagging module installed this will give you fatal errors...
This version also has a block set to list downloads in random order too, and incresed the number of items listed from 4 to 12...
oh yes, vbgamer you'll also need to fix the deprecated error this creates as well... and i was experimenting with trying to get the regenerate thumbnails function to act as though the "Edit" button was being pushed on each file touched, not working yet, the reason being that i want to automate updating downloads that already exist with fresh copies of the newly added ability to put a body to the forum posts & the tagging function, otherwise, you have to manually do it one single file at a time...
You can remove it from the post now.
The tagging code looks good going to tweak it a little bit and add it to the main release.
Will check out the other changes as well.
Quote from: vbgamer45 on September 11, 2014, 01:36:33 PM
You can remove it from the post now.
The tagging code looks good going to tweak it a little bit and add it to the main release.
Will check out the other changes as well.
Dude, what is wrong with your support site? It absolutely will not allow me to remain logged in, every time i try to do something it logs me out and won't let me back in? what's up with that?
I did a fresh install of the SMF forum and kept all the default settings. I then installed the Download System Mod and kept all its settings default aswell except the Max Download filesize which I set to 300MB. I can upload a .zip, .txt, and a picture. But, when I try to upload a file that is 200MB, I get a 404 page error. A friend of mine did the same thing only using Xampp and he didn't touch any settings at all and was able to upload a 300MB+ file on his test forum. I am using my own server machine running a windows server OS. Thanks.
Check out this post http://www.smfhacks.com/index.php/topic,3498.0.html
I have read the post you linked to me, but even after I configured my php.ini it still switches over to the 404 error page. I forgot to mention in my last post that it does show the upload going on. The percent as it says uploading. Once it hits 100% that's when it goes to the 404 error page.
How big a file can you upload?
Did you check what your php.ini settings are when you visit a phpinfo page? Also if you using fastcgi you will have to update that as well.
I do not have FastCGI. I was able to only upload a 13MB file as a test.
Did the settings take affect in the changes you made to the php.ini?
Yes it did. For example I put 1024M in the php.ini and it's showing the same within the Download System Configurations.
For both values max upload and max post size?
Yep. I have max upload as 1024M and max post as 2048M and both are showing up in the settings. And I know nothing is blocking uploads or I wouldn't be able to upload even the small files.
Probably then something with the webserver itself blocking the request.
Wouldn't that block other files aswell? I can't call the webhost cause I am the webhost. lol. I own the server machine that everything is being ran on. I really do like this mod. I can do links, but then the filesize will show as 0kb and I would like those to show so people will know how big the files are that they are getting.
It would only affect posts/uploads when ever you are putting the data. Downloads are a different sotry.
I think I fetch the filesize in downloads pro.
If I remember right, I have to pay for pro.
Yeah has some extra added features such as charging for download credits etc.
Lol. I just want to get this one working.
I own the server. Wouldn't other files be rejected to?
If you uploading large files that large then yes it would be.
Max download sizes that people can download is set to 300mb. The files themselves that I want to upload is actually only 100-250mb each. No higher then that.
You need to set the max_upload_size to the actual maximum size and post_max_size to *larger*. I generally suggest at least 3x the max_upload_size, because of the padding and fluff that gets put around any kind of upload by the HTTP protocol (since the post_max_size relates to the entire physical request being sent to the server, while max_upload_size relates to a specific part of it)
PHP: Upload Max Filesize 1024M
PHP: Post Max Filesize 2048M
This is in my download system configuration on my forum
Well it seems I still can't get this to work. It seems to work only with apache and xampp without messing with any of the settings, but it seems to suck on windows server. Looks like back to the URL and hiding the filesize.
Well then it is probably an IIS setting I would think if you are using that on a windows server
What do you think it might be? Maybe I can go into my IIS settings.
I do not know you would need to search on google.
Hey,
Can someone help me out in making this mod responsive?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F0nnhe8O.jpg&hash=6bef0d3010251ac0c8d22aec876300905107cdcd)
The table in the circle does not adjust its width on smaller screen.
Please help.
Responsive I do not have must experience other than using bootstrap. You would probably need to change the downloads2.template.php convert the tables to divs/how your theme is designed.
Quote from: vbgamer45 on October 16, 2014, 05:27:14 PM
Responsive I do not have must experience other than using bootstrap. You would probably need to change the downloads2.template.php convert the tables to divs/how your theme is designed.
My theme's css folder has a bootstrap file
I would search on google for a guide for responsive themes.
I found the solution actually.
Just had to add <div class="table-responsive">...</div> around the table code in downloads2.template.php
Good to know. What SMF theme are you using btw that is responsive?
Reseller by Daniiel, though i changed the color scheme
Ok thanks good to know.
Hey Vbgamer45, how do i fix this statement to function properly, its a bug in the pro version near the bottom that was originally a eregi_replace() function which is of course deprecated...
This is what I have thus far but it creates a delimiter error, I have almost got ALL the bugs out of the customizations that I've done to it, except this one which is not related to those changes as it was in the orininal code...
$color = preg_match("#","", $downloadSettings['screenshot_set_water_textcolor']);
For everyone else, I'm creating a huge database of digital antique files from my shareware CD collection, and there are ways to actually make a buck by contributing (uploading your own) too, this module combined with his Shop module make an awesome combination...
$color = eregi_replace("#","", $modSettings['class_set_water_textcolor']);
To
$color = str_replace("#","", $modSettings['class_set_water_textcolor']);
Quote from: vbgamer45 on October 24, 2014, 10:15:49 PM
$color = eregi_replace("#","", $modSettings['class_set_water_textcolor']);
To
$color = str_replace("#","", $modSettings['class_set_water_textcolor']);
Now getting undefined index on class_set_water_texcolor?
Should fill in a a color for that property water color text color
Quote from: vbgamer45 on October 25, 2014, 01:00:42 AM
Should fill in a a color for that property water color text color
so what is the name of the property suppose to be because its still throwing same error? i tried class_set_water_text_color
class_set_water_textcolor in smf_settings table
Quote from: vbgamer45 on October 25, 2014, 01:21:11 AM
class_set_water_textcolor in smf_settings table
I can't find a property by that name anywhere in the settings table dude, hence, undefined??
Then it would need to be created.
Quote from: vbgamer45 on October 25, 2014, 10:16:57 AM
Then it would need to be created.
What? Doesn't it do that during install of the mod??
It might if not just add an entry to smf_settings table.
Why can't i see the language modification on my Modifications.german_informal-utf8.php on the website?
Any idea?
Make sure your language set is set to german_informal-utf8
And if you have a custom theme and the file german_informal-utf8 exists make sure you copy that text to that file as well.
@vbgamer45
everything now ok ;)
only simple and clear, here are the hole translated file version from me to use the DownloadSystem in german.
Downloads.german_informal-utf8.php
<?php
/*
Download System
Version 1.5
by:vbgamer45
http://www.smfhacks.com
Copyright 2008-2012 SMFHacks.com
############################################
License Information:
Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################
Downloads English Text Strings
*/
// Downloads.template.php Downloads
// Title string
$txt['downloads_text_title'] = 'Downloads';
// Main downloads strings
$txt['downloads_text_categoryname'] = 'Kategoriename';
$txt['downloads_text_categorydescription'] = 'Kategoriebeschreibung';
$txt['downloads_text_totalfiles'] = 'Gesamtanzahl';
$txt['downloads_text_reorder'] = 'Anordnen';
$txt['downloads_text_options'] = 'Optionen';
$txt['downloads_text_category'] = 'Kategorie';
$txt['downloads_text_parentcategory'] = 'Hauptkategorie';
$txt['downloads_text_catnone'] = '(Keine)';
$txt['downloads_text_adminpanel'] = 'Downloads Administration Panel';
$txt['downloads_text_addcategory'] = 'Kategorie hinzufügen';
$txt['downloads_text_cat_disableratings'] = 'Deaktiviere Download Bewertungen';
$txt['downloads_text_bbcsupport'] = '(BBC Code wird unterstützt)';
$txt['downloads_text_editcategory'] = 'Kategorie editieren';
$txt['downloads_text_delcategory'] = 'Kategorie löschen';
$txt['downloads_text_settings'] = 'Einstellungen';
$txt['downloads_text_permissions'] = 'Berechtigungen';
$txt['downloads_rep_deletefile'] = '[Datei löchen]';
$txt['downloads_text_fileswaitapproval'] = 'zu genehmigende Dateien: ';
$txt['downloads_text_filecheckapproval'] = 'zeige genehmigte Datei Liste';
$txt['downloads_text_comwaitapproval'] = 'zu genehmigende Kommentare: ';
$txt['downloads_text_comcheckapproval'] = 'zeige genehmigte Kommentare Liste';
$txt['downloads_text_filereported'] = 'gemeldete Dateien: ';
$txt['downloads_text_filecheckreported'] = 'prüfe gemeldete Dateien';
$txt['downloads_text_comreported'] = 'gemeldete Kommentare: ';
$txt['downloads_text_comcheckreported'] = 'prüfe gemeldete Kommentare';
$txt['downloads_write_error'] = 'WARNUNG! Der Speicherpfad ist nicht beschreibbar! ';
$txt['downloads_text_myfiles'] = '[meine Dateien]';
$txt['downloads_text_search'] = '[Suchen]';
$txt['downloads_text_myfiles2'] = 'meine Dateien';
$txt['downloads_text_search2'] = 'Suchen';
$txt['downloads_text_edit'] = '[Editieren]';
$txt['downloads_text_delete'] = '[Löschen]';
$txt['downloads_text_unapprove'] = '[Genehmigung zurücknehmen]';
$txt['downloads_text_approve'] = '[Genehmigen]';
$txt['downloads_text_up'] = '[aufwärts]';
$txt['downloads_text_down'] = '[abwärts]';
$txt['downloads_text_reportdownload'] = '[Download melden]';
$txt['downloads_text_delcomment'] = '[Kommentar löschen]';
$txt['downloads_text_edcomment'] = '[Kommentar editieren]';
$txt['downloads_text_repcomment'] = '[Kommentar melden]';
$txt['downloads_text_prev'] = 'vorheriger Download';
$txt['downloads_text_next'] = 'nächster Download';
$txt['downloads_text_filesize'] = 'Dateigröße: ';
$txt['downloads_text_by'] = 'von:';
$txt['downloads_text_date'] = 'Datum: ';
$txt['downloads_text_comments'] = 'Kommentare';
$txt['downloads_text_downloads'] = 'Downloads: ';
$txt['downloads_text_views'] = 'Aufrufe: ';
$txt['downloads_text_pages'] = 'Seiten: ';
$txt['downloads_text_commentwait'] = 'Dein Kommentar muss zuerst genehmigt werden, bevor er sichtbar wird.';
$txt['downloads_text_adddownload'] = 'Download hinzufügen';
$txt['downloads_text_returndownload'] = 'Zurück zur Hauptübersicht';
$txt['downloads_text_returnfile'] = 'zurück zur Datei';
//Online strings
$txt['downloads_who_viewdownload'] = ' betrachten gerade die Download Kategorie.';
$txt['downloads_who_viewfile'] = ' betrachten gerade diese Dateien.';
$txt['downloads_who_members'] = 'Mitglieder';
$txt['downloads_who_hidden'] = 'versteckt';
//Form Strings
$txt['downloads_form_title'] = 'Titel:';
$txt['downloads_form_description'] = 'Beschreibung:';
$txt['downloads_form_icon'] = 'Kategoriensymbol (URL):';
$txt['downloads_form_uploadicon'] = 'Kategoriensymbol hochladen';
$txt['downloads_write_catpatherror'] = 'Warnung! Der Speicherpfad für das Kategoriensymbol ist nicht beschreibbar! ';
$txt['downloads_form_filenameicon'] = 'Kategoriensymbol Dateiname:';
$txt['downloads_warn_category'] = 'Warnung! hiermit wird die gesamte Kategorie inkl. enthaltener Dateien, Kommentare und Bewertungen...';
$txt['downloads_form_adddownload'] = 'Download hinzufügen';
$txt['downloads_form_category'] = 'Kategorie:';
$txt['downloads_form_keywords'] = 'Schlüsselwörter:';
$txt['downloads_form_uploadfile'] = 'Datei hochladen:';
$txt['downloads_form_uploadurl'] = 'Upload URL:';
$txt['downloads_form_additionaloptions'] = 'erweiterte Optionen:';
$txt['downloads_form_allowcomments'] = 'Erlaube Kommentare zu dieser Datei.';
$txt['downloads_form_notapproved'] = 'Deine Datei muss zuerst genehmigt werden bevor sie sichtbar wird.';
$txt['downloads_form_editdownload'] = 'Download editieren';
$txt['downloads_form_viewratings'] = 'zeige Bewertungen';
$txt['downloads_form_ratedownload'] = 'Download bewerten';
$txt['downloads_form_norating'] = 'Dieser Download wurde bis jetzt noch nicht bewertet.';
$txt['downloads_form_rating'] = 'Bewertung: ';
$txt['downloads_form_ratingby'] = ' von ';
$txt['downloads_form_ratingmembers'] = ' Mitgliedern.';
$txt['downloads_text_rating'] = 'Bewertung';
$txt['downloads_text_changeowner'] = 'Besitzer wechseln';
$txt['downloads_text_olddownload'] = 'alter Download';
$txt['downloads_text_deldownload'] = 'Download';
// View file
$txt['downloads_text_filestats'] = 'Download Statistiken:';
$txt['downloads_text_postedby'] = 'von: ';
$txt['downloads_text_addcomment'] = 'Kommentar hinzufügen';
$txt['downloads_text_editcomment'] = 'Kommentar editieren';
$txt['downloads_text_reportcomment'] = 'Kommentar melden';
$txt['downloads_text_commodifiedby'] = 'zuletzt geändert von: ';
$txt['downloads_text_home'] = 'Downloads Home';
// Delete file
$txt['downloads_warn_deletedownload'] = 'Warnung! Hiermit wird Deine Datei/Dein Download gelöscht und ist nicht wiederherstellbar.';
$txt['downloads_form_deldownload'] = 'Download löschen';
$txt['downloads_form_deldownload2'] = '[Download löschen]';
$txt['downloads_form_comment'] = 'Kommentar:';
$txt['downloads_form_reportdownload'] = 'Download melden';
$txt['downloads_form_managecats'] = 'Kategorienverwaltung';
$txt['downloads_form_approvedownloads'] = 'Downloads genehmigen';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'Kommentare genehmigen';
$txt['downloads_form_approveallcomments'] = 'Alle Kommentare genehmigen';
$txt['downloads_form_reportedcomments'] = 'gemeldete Kommentare';
// Settings page
$txt['downloads_set_description'] = 'Erlaubt das Editieren wichtiger Einstellungen der Download Sektion';
$txt['downloads_set_filesize'] = 'Max. Dateigröße';
$txt['downloads_set_path'] = 'Download Pfad: ';
$txt['downloads_set_url'] = 'Downloads URL: ';
$txt['downloads_set_whoonline'] = 'zeigt an, wer sich gerade einen Download anschaut';
$txt['downloads_set_commentschoice'] = 'Dem Benutzer erlauben umzuschalten ob Kommentare im Download angezeigt werden soll oder nicht.';
$txt['downloads_set_permissionnotice'] = 'Schlussendlich! Vergesse nicht die Berechtigung für jede Gruppe festzulegen, damit man die Downloads hinzufügen und sehen kann.';
$txt['downloads_set_editpermissions'] = 'Berechtigungen editieren';
$txt['downloads_set_files_per_page'] = 'Downloads pro Seite:';
$txt['downloads_set_commentsappr'] = 'Kommentare bedürfen der Genehmigung?';
$txt['downloads_set_commentsnewest'] = 'zeige neuesten Kommentar zuerst';
$txt['downloads_set_showratings'] = 'zeige Download Bewertungen';
$txt['downloads_set_enable_multifolder'] = 'aktiviere mehrfache Downloadverzeichnisse';
$txt['downloads_index_toprated'] = 'zeige die am besten bewertesten Downloads auf der Hauptseite';
$txt['downloads_index_recent'] = 'zeige die neuesten Downloads auf der Hauptseite';
$txt['downloads_index_mostviewed'] = 'zeige die am meisten angeschauten Downloads auf der Hauptseite';
$txt['downloads_index_mostdownloaded'] = 'zeige die am häufigsten downgeloadeten Dateien auf der Hauptseite';
$txt['downloads_index_mostcomments'] = 'zeige die am häufigsten bewerteten Downloads auf der Hauptseite';
$txt['downloads_index_showtop'] = 'Zeige das Verzeichnis ganz oben bei den Downloads';
$txt['downloads_set_count_child'] = 'Zähle Downloads auch in den Unterkategorien (benötigt mehr Abfragen)';
$txt['downloads_set_show_quickreply'] = 'zeige Schnellantwort auf der Kommentarseite';
// Category Display Settings
$txt['downloads_set_t_downloads'] = 'zeige alle Downloads';
$txt['downloads_set_t_views'] = 'zeige Gesamtanzahl der Aufrufe';
$txt['downloads_set_t_filesize'] = 'zeige Dateigröße';
$txt['downloads_set_t_date'] = 'zeige Datum';
$txt['downloads_set_t_comment'] = 'zeige alle Kommentare';
$txt['downloads_set_t_username'] = 'zeige Mitgliedsname';
$txt['downloads_set_t_rating'] = 'zeige Bewertungen';
$txt['downloads_catthumb_settings'] = 'Kategorie: Anzeige - Einstellungen';
// Category Size Width and Size Height
$txt['downloads_set_cat_height'] = 'Max. Bildhöhe des Kategorienbildes:';
$txt['downloads_set_cat_width'] = 'Max. Breite des Kategorienbildes:';
// Downloads Display Settings
$txt['downloads_files_settings'] = 'Downloads: Anzeigeeinstellungen';
$txt['downloads_set_file_prevnext'] = 'zeige "vorheriger" und "nächster" - Links';
$txt['downloads_set_file_desc'] = 'zeige Beschreibung';
$txt['downloads_set_file_title'] = 'zeige Titel';
$txt['downloads_set_file_views'] = 'zeige Aufrufe';
$txt['downloads_set_file_downloads'] = 'zeige Downloadzähler';
$txt['downloads_set_file_lastdownload'] = 'zeige letzter Download';
$txt['downloads_set_file_poster'] = 'zeige von (Mitglied)';
$txt['downloads_set_file_date'] = 'zeige Datum';
$txt['downloads_set_file_showfilesize'] = 'zeige Dateigröße';
$txt['downloads_set_file_showrating'] = 'zeige Bewertungen';
$txt['downloads_set_file_keywords'] = 'zeige Schlüsselwörter';
$txt['downloads_save_settings'] = 'Einstellungen speichern';
// Shop Settings
$txt['downloads_shop_settings'] = '<b>Shop Points Einstellung</b><br /><span class="smalltext">Nur wenn SMF Shop installiert ist</span>';
$txt['downloads_shop_fileadd'] = 'Herunterladen Points hinzufügen: ';
$txt['downloads_shop_commentadd'] = 'Kommentar Points hinzufügen: ';
// BBC and Image Links code
$txt['downloads_txt_download_linking'] = 'Code Verknüpfung';
$txt['downloads_set_showcode_directlink'] = 'Zeige direkten Link Code';
$txt['downloads_set_showcode_htmllink'] = 'Zeige Html Link Code';
$txt['downloads_txt_directlink'] = 'Direkter Link';
$txt['downloads_txt_htmllink'] = 'Html Link';
// Approve list
$txt['downloads_app_download'] = 'Download';
$txt['downloads_app_title'] = 'Titel';
$txt['downloads_app_description'] = 'Beschreibung';
$txt['downloads_app_date'] = 'Datum';
$txt['downloads_app_membername'] = 'Mitglied';
$txt['downloads_text_withselected'] = 'ausgewählte ';
$txt['downloads_text_performaction'] = 'Ausführen';
// Report list
$txt['downloads_rep_filelink'] = 'Download Link';
$txt['downloads_rep_reportby'] = 'gemeldet durch';
$txt['downloads_rep_comment'] = 'Kommentar';
$txt['downloads_rep_viewdownload'] = 'zeige Download';
$txt['downloads_rep_deletedownload'] = '[Download löschen]';
$txt['downloads_rep_delete'] = '[meldung löschen]';
$txt['downloads_rep_org_comment'] = 'Original Kommentar';
// Search Page
$txt['downloads_search_download'] = 'Suche nach Downloads';
$txt['downloads_search_for'] = 'Suche nach:';
$txt['downloads_search_title'] = 'Titel';
$txt['downloads_search_description'] = 'Beschreibung';
$txt['downloads_search_keyword'] = 'Schlüsselwörter';
$txt['downloads_search'] = 'Suchen';
$txt['downloads_search_days30'] = 'Letzten 30 Tagen';
$txt['downloads_search_days60'] = 'Letzten 60 Tagen';
$txt['downloads_search_days90'] = 'Letzten 90 Tagen';
$txt['downloads_search_days180'] = 'Letzten 180 Tagen';
$txt['downloads_search_days365'] = 'letzten 365 Tagen';
$txt['downloads_search_alltime'] = 'unbegrenzt';
$txt['downloads_search_daterange'] = 'Datum (von-bis): ';
$txt['downloads_search_membername'] = 'durch (Mitglied): ';
$txt['downloads_search_advsearch'] = 'erweiterte Suchoptionen';
$txt['downloads_searchresults'] = 'Suchergebnisse';
// MyFiles
$txt['downloads_myfiles'] = 'meine Dateien';
$txt['downloads_myfiles_app'] = 'Download wurde genehmigt';
$txt['downloads_myfiles_notapp'] = 'Download wurde nicht genehmigt';
// Index Page Strings
$txt['downloads_main_recent'] = 'neueste Downloads';
$txt['downloads_main_viewed'] = 'am meisten angeschaute Downloads';
$txt['downloads_main_toprated'] = 'Top-bewertete Downloads';
$txt['downloads_main_mostcomments'] = 'am meisten kommentierte Downloads';
$txt['downloads_main_mostdownloads'] = 'am meisten downgeloadete Downloads';
// Stats
$txt['downloads_text_stats'] = 'Statistik';
$txt['downloads_stats_last'] = 'die letzten 10 Downloads';
$txt['downloads_stats_viewed'] = 'am meisten betrachtete Downloads';
$txt['downloads_stats_toprated'] = 'Top-bewertete Downloads';
$txt['downloads_stats_mostcomments'] = 'am meisten kommentierte Downloads';
$txt['downloads_stats_title'] = 'Download Statistik';
$txt['downloads_stats_totalviews'] = 'Aufrufe (gesamt)';
$txt['downloads_stats_totalcomments'] = 'Kommentare (insgesamt)';
$txt['downloads_stats_totalfize'] = 'Dateigröße (insgesamt)';
$txt['downloads_stats_totalfiles'] = 'Gesamtanzahl Downloads';
$txt['downloads_stats_viewstats'] = 'zeige Download Statistik';
// Add Sub Category
$txt['downloads_text_addsubcat'] = 'Unterkategorie hinzufügen';
// Board
$txt['downloads_text_postingoptions'] = 'Beitragsoptionen';
$txt['downloads_text_boardname'] = 'Board Name:';
$txt['downloads_postingoptions_info'] = 'Information: Bei Auswahl eines Boards, wird für jeden neuen (genehmigten) Download ein Beitrag erstellt.';
$txt['downloads_posting_showlinktodownload'] = 'zeige Link zur Hauptseite';
$txt['downloads_posting_locktopic'] = 'Sperre Thema';
// File Space and Quota information
$txt['downloads_filespace'] = 'Datei: Speicherplatzverwaltung';
$txt['downloads_filespace_note'] = 'Vorschaubilder werden nicht der Speicherplatzlimitierung hinzugerechnet';
$txt['downloads_filespace_filesize'] = 'benutzter Speicherplatz';
$txt['downloads_filespace_list'] = 'liste Dateien';
$txt['downloads_filespace_list_title'] = 'Dateiliste';
$txt['downloads_filespace_recount'] = 'Neuberechnung benutzter Speicherplatz';
$txt['downloads_filespace_groupquota_title'] = 'Mitgliedergruppen Speicherplatz (Limit)';
$txt['downloads_filespace_groupname'] = 'Mitgliedergruppenname';
$txt['downloads_filespace_limit'] = 'File Space Limit';
$txt['downloads_filespace_addquota'] = 'Quota Limit hinzufügen';
// Category permission strings
$txt['downloads_text_catpermlist'] = 'Kategorie-Berechtigungsliste';
$txt['downloads_text_catpermlist2'] = 'Kategorie-Berechtigungen';
$txt['downloads_text_catperm'] = 'Kategorie-Berechtigung';
$txt['downloads_text_addperm'] = 'Berechtigung hinzufügen';
//#############################
//Downloads.php Strings
//#############################
$txt['downloads_error_cat_title'] = 'Du musst schon einen Namen für die Kategorie angeben!';
$txt['downloads_error_no_file_selected'] = 'kein Download wurde ausgewählt.';
$txt['downloads_error_file_notapproved'] = 'Dieser Download wurde noch nicht genehmigt und Du hast noch keine Berechtigung diesen aufzurufen.';
$txt['downloads_error_no_title'] = 'Du musst schon einen Download Titel angeben.';
$txt['downloads_error_no_cat'] = 'Du musst eine Kategorie auswählen.';
$txt['downloads_error_file_filesize'] = 'Dieser Download überschreitet die zulässige max. Dateigröße. Max. Dateigröße ist ';
$txt['downloads_error_no_download'] = 'Kein hochgeladener Download gefunden.';
$txt['downloads_error_no_downloadexist'] = 'Download existiert nicht';
$txt['downloads_error_noedit_permission'] = 'Du hast nicht die Berechtigung diesen Download zu editieren.';
$txt['downloads_error_nodelete_permission'] = 'Du hast nicht die Berechtigung diesen Download zu löschen.';
$txt['downloads_error_no_comment'] = 'Du musst schon einen Kommentar schreiben!';
$txt['downloads_error_not_allowcomment'] = 'Bitte warte einen Moment...zu diesem Download sind keine Kommentare erlaubt...';
$txt['downloads_error_no_com_selected'] = 'Kein Kommentar ausgewählt.';
$txt['downloads_error_no_user_selected'] = 'kein Mitglied ausgewählt.';
$txt['downloads_error_no_report_selected'] = 'keine meldung ausgewählt.';
$txt['downloads_error_no_search'] = 'Du musst schon einen Suchbegriff eingeben...';
$txt['downloads_error_search_small'] = 'Deine Suchanfrage ist zu kurz. Dieser muss größer als 3 Zeichen sein.';
$txt['downloads_error_nocomedit_permission'] = 'Du jast nicht die Berechtigung diesen Kommentar zu editieren.';
$txt['downloads_error_no_rating_selected'] = 'Keine Bewertung ausgewählt.';
$txt['downloads_error_already_rated'] = 'Du hast bereits diesen Download bewertet.';
$txt['downloads_error_space_limit'] = 'Aufgrund der Quota Limitierung ist es nicht mehr möglich Deinen Download hier zur Verfügung zu stellen. Quota Information: ';
$txt['downloads_error_noquota'] = 'Du hast keine Quota Limit angegeben.';
$txt['downloads_error_nogroup'] = 'Keine mitgliedergruppe ausgewählt.';
$txt['downloads_error_quotaexist'] = 'Für diese mitgliedergruppe existiert bereits eine gesetzte Quota Limitierung. Bitte lösche zuerst den alten Wert.';
$txt['downloads_error_nouser_exists'] = 'Kein Mitglied vorhanden.';
$txt['downloads_error_nocat_above'] = 'Oberhalb dieser Kategorie ist keine weitere.';
$txt['downloads_error_nocat_below'] = 'Unterhalb dieser Kategorie befindet sich keine weitere.';
$txt['downloads_error_norate_own'] = 'Du kannst Deinen eigenen Download nicht bewerten.';
$txt['downloads_error_no_catexists'] = 'Du musst zuerst eine Kategorie erstellen, bevor Du anfangen kannst, Deinen Download hier bereitzustellen.';
$txt['downloads_error_invalid_picture'] = 'ungültige Bilddatei';
// Quota Limits
$txt['downloads_quotagrouplimit'] ='Quota Limit';
$txt['downloads_quotagspaceused'] ='Quota: benutzter Speicherplatz';
$txt['downloads_quotaspaceleft'] ='Quota: noch freier Speicherplatz';
// Permissions
$txt['downloads_perm_no_view'] = 'Es ist Dir nicht erlaubt die Kategorie aufzurufen.';
$txt['downloads_perm_no_add'] = 'Es ist Dir nicht erlaubt einen Download dieser Kategorie hinzuzufügen.';
$txt['downloads_perm_no_edit'] = 'Es ist Dir nicht erlaubt, diesen Download in diesr Kategorie zu editieren/verändern.';
$txt['downloads_perm_no_delete'] = 'Es ist Dir nicht erlaubt diesen Download aus dieser Kategorie zu löschen.';
$txt['downloads_perm_no_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download in dieser Kategorie zu bewerten.';
$txt['downloads_perm_no_editcomment'] = 'Es ist Dir nicht erlaubt Kommentare zu diesem Download in dieser Kategorie zu editieren/verändern.';
$txt['downloads_perm_no_addcomment'] = 'Es ist Dir nicht erlaubt Kommentare zu diesem Download in dieser Kategorie zu verfassen.';
$txt['downloads_perm_no_report'] = 'Es ist Dir nicht erlaubt Inhalte dieser Kategroie zu melden.';
// Notify comment
$txt['downloads_notify_body'] = 'Ein neuer Kommentar wurde zu Deinem Download abgegeben.' . "\n\n" . 'Du kannst diesen Kommentar hier aufrufen' . "\n" . '%s' . "\n\n";
$txt['downloads_notify_subject'] = 'Neuer Kommentar: %s';
$txt['downloads_notify_title'] = 'Benachrichtige mich bei neuen Kommentaren';
$txt['downloads_perm_view'] = 'Aufrufe';
$txt['downloads_perm_add'] = 'Download hinzufügen';
$txt['downloads_perm_edit'] = 'Eigenen Download editieren';
$txt['downloads_perm_delete'] = 'Eigenen Download löschen';
$txt['downloads_perm_addcomment'] = 'Kommentar hinzufügen';
$txt['downloads_permerr_permexist'] = 'Es exisitiert bereits ein Berechtigung für diese Gruppe und Kategorie - bitte lösche diese zuerst.';
$txt['downloads_perm_allowed'] = 'erlaubt';
$txt['downloads_perm_denied'] = 'verweigert';
$txt['downloads_guest'] = 'Gast';
// Custom Fields
$txt['downloads_custom_fields'] = 'benutzerdefinierte Felder';
$txt['downloads_custom_title'] = 'Feldtitel';
$txt['downloads_custom_default_value'] = 'Standardwert';
$txt['downloads_custom_required'] = 'benötigt';
$txt['downloads_custom_addfield'] = 'Feld hinzufügen';
$txt['downloads_custom_err_title'] = 'Du musst schon einen Feldnamen/Feldtitel angeben.';
$txt['downloads_error_nocustom_above'] = 'Es ist kein benutzerdefiniertes Feld oberhalb des aktuellen.';
$txt['downloads_error_nocustom_below'] = 'Es ist kein benutzerdefiniertes Feld unterhalb des aktuellen.';
$txt['downloads_err_req_custom_field'] = 'Es fehlen notwendige Informationen in dem angeforderten benutzerdefinierten Feld namens ';
$txt['downloads_err_checkfailed'] = 'Sicherheitscheck fehlgeschlagen';
$txt['downloads_click_enlarge'] = 'Hier klicken, um zu vergrößern';
$txt['downloads_sub_cats'] = 'Unterkategorie: ';
// Sorting Options
$txt['downloads_txt_sortby'] = 'sortiert nach: ';
$txt['downloads_txt_orderby'] = 'Anordnung: ';
$txt['downloads_txt_sort_go'] = 'Go';
$txt['downloads_txt_sort_title'] ='Titel';
$txt['downloads_txt_sort_date'] = 'Datum';
$txt['downloads_txt_sort_mostviewed'] = 'Aufrufe';
$txt['downloads_txt_sort_mostcomments'] = 'Kommentare';
$txt['downloads_txt_sort_mostrated'] = 'Bewertung';
$txt['downloads_txt_sort_filesize'] = 'Dateigröße';
$txt['downloads_txt_sort_mostdowns'] = 'Downloads';
$txt['downloads_txt_sort_membername'] = 'Mitglied';
$txt['downloads_txt_sort_asc'] = 'aufsteigend';
$txt['downloads_txt_sort_desc'] = 'absteigend';
$txt['downloads_error_img_size_height'] = 'Das Bild ist größer als es die Voreinstellung erlaubt. Deine Bildbreite ist: ';
$txt['downloads_error_img_size_width'] = 'Deine Bildhöhe ist: ';
// Category Display
$txt['downloads_cat_title'] = 'Titel';
$txt['downloads_cat_rating'] = 'Bewertung';
$txt['downloads_cat_downloads'] = 'Downloads';
$txt['downloads_cat_views'] = 'Aufrufe';
$txt['downloads_cat_filesize'] = 'Dateigröße';
$txt['downloads_cat_date'] = 'Datum';
$txt['downloads_cat_comments'] = 'Kommentare';
$txt['downloads_cat_membername'] = 'Mitglied';
$txt['downloads_cat_options'] = 'Optionen';
$txt['downloads_text_lastdownload'] = 'Letzter Download: ';
$txt['downloads_text_lastdownload2'] = 'noch nie';
// TP Downloads Convertor
$txt['downloads_txt_import_tiny_portal'] = 'Importiere Tiny Portal Downloads';
$txt['downloads_txt_import'] = 'Import';
$txt['downloads_txt_importtp_results'] = 'Tiny Portal Downloads Import Ergebnisse';
$txt['downloads_txt_import_downloads'] = 'Importiere Downloads';
$txt['downloads_txt_import_note'] = 'Wenn du ein anderes Download-System in der Vergangenheit installiert hattest, wirst du in der Lage sein diese Downloads in das Download System zu importieren';
$txt['downloads_txt_categories_imported'] = 'importierte Kategorien: ';
$txt['downloads_txt_files_imported'] = 'importierte Dateien: ';
$txt['downloads_upload_max_filesize'] = 'PHP: Upload Max Datengrösse ';
$txt['downloads_post_max_size'] = 'PHP: Post Max Datengrösse ';
$txt['downloads_upload_limits_notes'] = 'Die oben genannten PHP-Einstellungen steuern, wie gross eine Datei akzeptiert wird. Diese Einstellungen werden durch die php.ini oder Webhost gesteuert';
// Mini page text strings
$txt['downloads_txt_gender'] = 'Geschlecht';
$txt['downloads_txt_posts'] = 'Beiträge';
$txt['downloads_txt_view_profile'] = 'zeige Profil';
$txt['downloads_txt_www'] = 'WWW';
$txt['downloads_txt_profile_email'] = 'Email';
?>
Modifications.german_informal-utf8.php
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Konfiguration';
$txt['downloads_text_settings'] = 'Einstellungen';
$txt['downloads_form_approvedownloads'] = 'genehmige Downloads';
$txt['downloads_form_reportdownloads'] = 'gemeldete Downloads';
$txt['downloads_form_approvecomments'] = 'genehmige Kommentare';
$txt['downloads_filespace'] = 'Speicherplatzverwaltung';
$txt['downloads_text_catpermlist2'] = 'Kategorie: Berechtigungen';
$txt['downloads_txt_import'] = 'Import';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'zeige Downloads';
$txt['permissionhelp_downloads_view'] = 'Erlaubt den Zugang zur Download-Sektion';
$txt['cannot_downloads_view'] = 'Es ist Dir nicht erlaubt die Download-Sektion zu sehen';
$txt['permissionname_downloads_add'] = 'Download hinzufvgen';
$txt['permissionhelp_downloads_add'] = 'Erlaubt das Hinzufügen eines Downloads.';
$txt['cannot_downloads_add'] = 'Es ist Dir nicht erlaubt einen Download hinzufügen.';
$txt['permissionname_downloads_edit'] = 'Eigenen Download editieren';
$txt['permissionhelp_downloads_edit'] = 'Erlaubt das Editieren des eigenen Downloads.';
$txt['cannot_downloads_edit'] = 'Es ist Dir nicht erlaubt diesen Download zu editieren.';
$txt['permissionname_downloads_delete'] = 'Eigenen Download löschen';
$txt['permissionhelp_downloads_delete'] = 'Erlaubt das Löschen des eigenen Downloads.';
$txt['cannot_downloads_delete'] = 'Es ist Dir nicht erlaubt diesen Download zu löschen.';
$txt['permissionname_downloads_ratefile'] = 'Download bewerten';
$txt['permissionhelp_downloads_ratefile'] = 'Erlaubt das Bewerten eines Downloads.';
$txt['cannot_downloads_ratefile'] = 'Es ist Dir nicht erlaubt diesen Download zu bewerten.';
$txt['permissionname_downloads_editcomment'] = 'Eigenen Kommentar editieren';
$txt['permissionhelp_downloads_editcomment'] = 'Erlaubt das Editieren eigener Kommentare.';
$txt['cannot_downloads_editcomment'] = 'Es ist Dir nicht erlaubt diesen Kommentar zu editieren.';
$txt['permissionname_downloads_comment'] = 'Kommentar schreiben';
$txt['permissionhelp_downloads_comment'] = 'Erlaubt das Kommentieren eines Download.';
$txt['cannot_downloads_comment'] = 'Es ist Dir nicht erlaubt einen Kommentar zu hinterlassen.';
$txt['permissionname_downloads_report'] = 'Kommentar/Download melden';
$txt['permissionhelp_downloads_report'] = 'Erlaubt das Melden von Downloads und Kommentaren.';
$txt['cannot_downloads_report'] = 'Es ist Dir nicht erlaubt diesen Inhalt/Inhalte allg. zu melden.';
$txt['permissionname_downloads_autocomment'] = 'Auto-Genehmigung: Kommentare';
$txt['permissionhelp_downloads_autocomment'] = 'Kommentare bedürfen keiner Genehmigung und sind sofort sichtbar.';
$txt['permissionname_downloads_autoapprove'] = 'Auto-Genehmigung: Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads bedürfen keiner Genehmigung und sind sofort verfügbar/sichtbar.';
$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Erlaubt die Voll-Administration, also das Hinzufügen/Editieren/Löschen von allen Kategorien/Kommentaren/Downloads, etc.';
$txt['cannot_downloads_manage'] = 'Es ist Dir nicht erlaubt diese Download-Sektion zu administrieren.';
// END Download System Text Strings
Very good thanks for translation!
one problem...
In the backend (Admin) i make a check at the field Permissions "Rate Downloads" (for Downloads) for unregistred guests.
But when I try to rate the file as guest, the forum brings me to the login? And the error log (Admin) shows this:
Quote
Apply Filter: Only show the error messages of this URL
http://localhost/bwf1/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
No download selected
Apply Filter: Only show the error messages of this URL
http://localhost/bwf1/index.php?action=downloads;sa=rate
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: S:/xampp/Lokale Test Ebene/htdocs/bwf1/Sources/Downloads2.php
Line: 3524
Next Problem:
After I login as registred User (Permissions "Rate Downloads "check") , the same error logs when I rate a Download with out bringing me to the login.
Any Help
Guests can't rate files you need to login.
I will look into the errors logged though.
Quote from: vbgamer45 on November 13, 2014, 10:18:14 AM
Guests can't rate files you need to login.
I will look into the errors logged though.
Ok, please take a look, THX.....
But the field Permissions "Rate Downloads" is at the section of unregistred guests!?
Yes will look into the errors. The permissions thing is known but it will not work for guests at all just ignore it.
Small typo on the main admin page.
This line:
The above PHP settings control how large a file will be accepeted. These are settings are controlled by the php.ini or your webhost
should read:
The above PHP settings control how large a file will be accepted. These are settings are controlled by the php.ini or your webhost
Thanks Fixed for next update.
New release update! Now works for SMF 2.1 Beta 1
2.5
+Now supports SMF 2.1 Beta 1 using hooks for most file edits!
Is that the only change?
Or are there also benefits/changes for users using this on version 2.0.9?
That is the only change for 2.0.x no reason to update.
Thank you. Still great you already update it for the 2.1 users. Kuddo's for you. ;)
Gz on release :) Its the first big-fella released for SMF 2.1 Beta 1 (public) I think? But unfortunately you get D from template side :P
> You don't have to use windowbg twice in both tr & td elements. Wrap the tr with windowbg/2 (alteration) or alteration/2 and use border on CSS if you want, like td {border-right: 1px solid #something;} tr:last-child{border-right: none;}
> You should avoid using old school [Text] button methods you just need to add "button" class to "a" element to turn them into lovely buttons.
> There is a closing div issue in category view.
> Instead using tables (which you are using a lot), you can wrap Pages with Pagesection > Pagelinks (classes). Also I noticed top-pages wrapping inside table.
> Beside using text links inside roundframe (for add new download etc...) move them to top left and use button class.
> Use Windowbg2 to wrap things, currently using lots of table, less table usage more responsive. Since we designed it that way :)
> You can move Stats text button to top-left as button as well.
> Avoid using inline CSS, most of the things already set by default CSS (like table width 100%)
> I suggest you to enrich your cat_bar/buttons with generic_icons.
> You don't need to use <br> escapes items (containers) now has proper clear & margin/paddings to make look more clear.
> You can use titlebg under title_bar elements.
> Instead using 50% td (inline) you can use dl/dd/dt which is pre-set for those type of things especially for Stats page.
> Try to avoid using table contain to table (in admin for example you have table > table), it mostly limits the responsive parts and gives bad look in general.
> Take a look at current Search/Stats page, you should consider migrating your pages into the new styling.
I'll take another look after you had time/and want to update the mod based on suggestions :)
It looks like it was written for SMF 1 and never made to look good on SMF 2.0 let alone 2.1 :(
Well since there is no other for SMF 2.0 I'm glad that there is one which works.
Even though Aeva Media would be able to handle much the same, right?
Quote from: Arantor on December 16, 2014, 07:34:57 PM
Even though Aeva Media would be able to handle much the same, right?
Although I use both, I really wish the download mod had a way of doing simultaneous multi-file uploads like aeva has...
@Arantor: Yes. Aeva looks more like a media photo spreading thing and I don't like the layout. I use Downloads for satellite related files for our users like firmware, channel-lists etc. and well... Aeva also said "2.0.1" as latest version when I was looking for a download mod and screenshots didn't look like it was usefull for my purposes.
Other than presentation, what actually is the difference though?
vbgamer even said himself that Downloads and Gallery have a common base of code (which explains confusion of mine when looking at the database for his gallery for writing a converter since I saw a number of columns that weren't used)
Quote from: Arantor on December 16, 2014, 08:08:06 PM
Other than presentation, what actually is the difference though?
vbgamer even said himself that Downloads and Gallery have a common base of code (which explains confusion of mine when looking at the database for his gallery for writing a converter since I saw a number of columns that weren't used)
The only response I have for these queries is that in my case I got the Downloads Pro version a few years ago specifically to make it easy to monetise the Shop Credit system which is used by a few other modules as well...
To be honest, I wouldn't know what other differences and possibility's there are. As you know I'm not a coder.
So I can only base my choices on presentation/screenshots to get a feeling what a mod does. It did not give me the impression it was usable for just files like rar and zip.
And since Gallery was old (just upto 2.01) I did not try it either, because I try to only use mods which come closest to my version of SMF if possible.
As far as I know, vbgamer's gallery handles images and videos but no other files (which the download mod does), while all of the other gallery options (Aeva, SMF Packs, Levertine) all support all sorts of files.
Though there are things like logging downloads that wouldn't necessarily be covered by the galleries.
The gallery was originally going be image specific and contain features that only applied to images.
Downloads is for all types of files. Downloads lite is the newer base compared to gallery lite has some more added features.
Quote from: Antes on December 16, 2014, 07:19:16 PM
Gz on release :) Its the first big-fella released for SMF 2.1 Beta 1 (public) I think? But unfortunately you get D from template side :P
> You don't have to use windowbg twice in both tr & td elements. Wrap the tr with windowbg/2 (alteration) or alteration/2 and use border on CSS if you want, like td {border-right: 1px solid #something;} tr:last-child{border-right: none;}
> You should avoid using old school [Text] button methods you just need to add "button" class to "a" element to turn them into lovely buttons.
> There is a closing div issue in category view.
> Instead using tables (which you are using a lot), you can wrap Pages with Pagesection > Pagelinks (classes). Also I noticed top-pages wrapping inside table.
> Beside using text links inside roundframe (for add new download etc...) move them to top left and use button class.
> Use Windowbg2 to wrap things, currently using lots of table, less table usage more responsive. Since we designed it that way :)
> You can move Stats text button to top-left as button as well.
> Avoid using inline CSS, most of the things already set by default CSS (like table width 100%)
> I suggest you to enrich your cat_bar/buttons with generic_icons.
> You don't need to use <br> escapes items (containers) now has proper clear & margin/paddings to make look more clear.
> You can use titlebg under title_bar elements.
> Instead using 50% td (inline) you can use dl/dd/dt which is pre-set for those type of things especially for Stats page.
> Try to avoid using table contain to table (in admin for example you have table > table), it mostly limits the responsive parts and gives bad look in general.
> Take a look at current Search/Stats page, you should consider migrating your pages into the new styling.
I'll take another look after you had time/and want to update the mod based on suggestions :)
Yeah I did SMF Gallery the other night as well.
I noticed the td thing right away thought I got rid of them all. Will double check. Main was going to get it looking nice enough
I will need to revisit those ideas. I open to any ideas/improvements.
vbgamer45,
Nice mod, thank you for that.
I found a small issue for the descript textarea input. It does not display backslashes properly and in most cases they are omitted.
One has to use 2 to allow 1 to appear and using 3 or more will always result in only 2 appearing.
I noticed this when attempting to post regex within code tags in the file description template whereas I had to double up the backslashes to make it appear properly.
Regards.
I install this mod but not Download links appear in menu. Where enable this link? I have custom theme.
What SMF version for SMF 1.1.x you will need to modify the index.template.php file to add the link.
My SMF is 2.0.9
Attach your Sources/Subs.php
Please here it is.
I see the downloads button code in that file looks good.
Check that this exists
$txt['downloads_menu']
in your themes/yourtheme/langauges/modifications.english.php
If you are using the english language.
No this are not exist but nothing happened when I put this code:
$txt['downloads_menu'] = 'Downloads'
I saw something strange. When I Enable "Alternative Menu" mod then Link "Shop" are disappear and "Downloads" are show. Yes i did it. When I install Downloads mod then he install menu button in "Alternative Menu" section in Subs.php and Shop are install menu button in "Orginal Menu" section. Pleas repair this in install file.
Well it sounds like an issue with ""Alternative Menu" mod not having support for the download system or you don't have an entry for it.
yup... if you are using some sort of alternate menu system -- then it is going to affect ***ANY*** mod that you try to install, unless it properly checks the menu array in subs.php.
It sounds like the "alternate menu" mod does not do that correctly
1. Why searching keywords not working? I create new download with added keywords. Next I go to search and paste - copied before keyword and search results are empty? What is going on? I think search for keyword is not correctly codded.
2. When I add keywords and press space bar then keyword are making all word next to space bar. Should be better when next keyword making by the ,
You haven't provided enough information for me to know.
Search keywords does not work! When I type any keyword defined before then I see all the time blank results of Search. I say this again: Function Keyword Search is broken. Now its clever to understand?
Next question. I think the search engine bot are downloading files. If i upload file then is not possible to immediately has been added to google index because this action has duration about 3-4 day or more. In my server log no one download this new file. So i think when search engine bot has indexing download file then he enter to download link and generates transfer from server. Can You explain more of this issue?
It is not an issue.... if you have exposed the downloads to guests and allowed them to download files -- then the search engines will trigger a download count when they hot the link.... they probably won't TAKE the actual file, but it will be triggered and thus count.
Your solution would be to make the permissions so that guests can not download files.
If you think that is is a problem, that is, really, your only option.
Quote from: Kindred on January 22, 2015, 07:15:10 AM
Your solution would be to make the permissions so that guests can not download files.
If you think that is is a problem, that is, really, your only option.
the free version has no permissions for who can download what. only the paid for version has that permission.
well, then, that answers that... either you make the downloads available to guests (and thus, will get the search engines triggering the link) or you do not make the visible for guests at all...
there is no other option unless you purchase the pro version.
Quote from: Kindred on January 22, 2015, 07:15:10 AM
It is not an issue.... if you have exposed the downloads to guests and allowed them to download files -- then the search engines will trigger a download count when they hot the link.... they probably won't TAKE the actual file, but it will be triggered and thus count.
Your solution would be to make the permissions so that guests can not download files.
If you think that is is a problem, that is, really, your only option.
You have right. So permission for guest can't download has been bad idea. Better option would be insert captcha for this system - when You want file then enter valid code (captcha).
On every description made when adding a new file, the word "Description:" is placed in front of it.
Where exactly can I remove this? I don't like that word being added every time on my file descriptions.
How to separate every keyword by , (comma) like this:
QuoteSMF 2.0.9, SMF 2.0.8, SMF 2.0.6,
etc. currently If I add keyword with space like this:
QuoteSMF 2.0.9 SMF 2.0.8 SMF 2.0.6
Every word next after space is a separate keyword like:
QuoteSMF
Quote2.0.9
QuoteSMF
Quote2.0.8
etc. How to change this separations by spaces?
that is because keywords are, by definition, single words... and a space separates words...
Quote from: Black Tiger on January 22, 2015, 03:03:48 PM
On every description made when adding a new file, the word "Description:" is placed in front of it.
Where exactly can I remove this? I don't like that word being added every time on my file descriptions.
Just delete this:
'<b>' . $txt['downloads_form_description'] . ' </b>' .
from Downloads2.template.php
Quote from: Kindred on January 22, 2015, 03:46:48 PM
that is because keywords are, by definition, single words... and a space separates words...
So how to change this definition? Which file should be editing? Better if comma separate words.
That worked. Thank you Mesweb!
8) You are welcome.
I have repaired: separate by , (comma) and issue: search by keywords. Now I have keywords with spaces separate with comma and when I clicked at keyword then show me files having keywords and delete max_lenght="100"
Got another couple of questions.
1.) Is it possible to "pair" the categories or to have them displayed alphabetically in the dropdown list when adding a download?
As you can see from my screenshot, there are several "Dreambox" things, but every time I add something it would be easyer if they would be together, same for the other things. Like when they are displayed alphabetically.
See screenshot 1.
2.) When I edit a download, below the edit button to save it says "Old Download", even when I just added it. Why is it displaying "Old Download"?
See screenshot 2.
1. Possibly I would have to add another setting for that. Right now I believe it is doing download display category order
2. It is just letting you know what the old file was if you change the download.
1.) I don't know, looks more like some random thing. Dreambox firmware and Dreambox are displayed on top, but Dreambox utilities is not, and this was made the same time under the Dreambox categorie, so I don't think it displays in category order.
Would be nice if you could fix that.
2.) You mean if I edit an old file and put a new version in it? That's nice. But will it be seen as "new" file in the recent file list if I would update files that way?
For 2. Wouldn't be considered new. Just the lasts modified/updated date would be updated
Ah oke thanks, in that case I will just add a new file like I did until now.
Would be nice if the sort order in the list would be fixed or if you know if I could easily fix this by editting a file.
If not I'll wait until the next release, thanks for the quick reply.
Next to my previous comment about the sort order, I have another request.
Can it be made, that if you do something, the page will be focussed again to the same section you were before?
For example. I'm in the download section category=4. I got a list of files there and need to delete some files.
From there I can only to that one by one, which is not a big problem.
However, after clicking delete, there is a confirmation screen (which is good), I click delete and then the screen puts me here:
action=downloads;sa=myfiles;u=2
It would be a lot better if I was put back were I was working before and where I choose to delete that file, so in:
action=downloads;cat=4
That way you can work further from where you were and don't have to click to get back to the section you were before every time.
Hey Love The Download Mod, I'm new to SMF, So I just thought I'd throw in my 2 cents about whats lacking in the MOD...
1. Adding sub-Cats, After you Submit it It takes you back to the Main DL screen, Where you have to go BACK to add more...
2. Can't add file size in linked downloads, ALL my DL's are off-site... I'm on a limited data plan so I know clicking a link (especially to Google Drive) is a PITA just to find out it'd take 1gig of my 2.5 gig LTE Limit.....
Just some Ideas for Improvement...If your open to em, Like I said I love the MOD In general, Just as an ADMIN, can be a pain with the constant clicking/page loads....
Unless I'm missing something, like I said I'm New to SMF, Been using Phpbb for 8 Months... and Decided to make the change..
Mike
Thanks for the comments.
1. Might require modifying some sources. What do you want the behavior to be?
2. That should be fixed in Downloads Pro which adds some more http://www.smfhacks.com/download-system-pro.php
1.) I second that request, same goes for adding a download.
This is what the behaviour should be:
After adding, take us back to the screen in which you can add a download would be nice.
After adding a subcategory, take the screen back to the main category from where you can add another sub-category.
Shortly said, if you do an action, the behaviour should be that you would be taken back to the screen you were before (from which you started the action).
Hello to all, I am using this mod for 6 years now.
Really happy with it, the only problem is the size of the database.
Removing downloads has to be done one by one, is there a way to delete multiple downloads at once?
I am still using 1.4.1, would updating to 2.5 be recommended?
Thanks already
I don't believe so but you can try to upgrade I think adds some new things. Look at chnagelog for details
Thanks, just upgrade or uninstall the 1.4.1 and then install 2.5?
Either way.
Will do, thanks for the support.
I just installed this mod, but there's no faq with it to explain some things. I've figured out how to set the permissions & how to allow creation of categories...but when I try to make one, the image I'm using is supposedly too big, yet it does not say what the image size limitations are for the category.
Does anyone know?
Thank you
I think there is a category image setting under the main downloads settings area.
Wiw, I'm flipping blind! LOL sorry about that.
Glad to help.
vbgamer45...
I'm getting an error trying to upload a 50.2MB file to the download system.
The PHP Upload Max Filesize & Post Max Filesize are set to 100M so I'm guessing that's Megabytes but that's usually shown by a MB...not an M. Either way...it just won't upload.
I checked my error log and PM'd you what it is saying...
Any ideas?
Thanks
That error code is not related to file downloads
What was the error you got on the page?
Huh...
The error screen told me to check the error logs in cpanel...so that's what I did! LOL
I'll try it again & see what happens.
Ok...it got to 100% uploaded then gave me this screen attached...
Might be a webserver/apache limit
Can you point me in the direction to figure that out?
Thanks
Look at the httpd.conf file for apache and check for file upload limits.
I'll see if I can figure out where those are...thanks!
Well...I was unable to find where that is at, I may not have access to it. So while I wait for my host provider to contact me back I was toying around with Filezilla. There doesn't seem to be a way to upload the files directly in to the folder for the "downloads" folder is there? It seems to rename them to something different and doesn't actually show the PDF.
Is there a reason behind that?
Thanks
Ok...talked with the host provider, my upload limit is 100MB so there should be no issue.
Any other suggestions?
It says that it could be incorrect .htaccess directive. Maybe a typo?
What is the exact command you put in the .htaccess?
I didn't put anything into it.
In that case, check your downloads directory and see if it's set to chmod 777. It seems your provider is running su-php or mod_ruid.
If it's set at 777 then change it to 755.
Ok...thank you. I will check that when my son goes down for a nap...but why would I be able to upload other files that are smaller & not the one that is 50.2mb?
Quotebut why would I be able to upload other files that are smaller & not the one that is 50.2mb?
That's indeed a bit strange.
You could enter these lines in the .htaccess file, it might help:
php_value upload_max_filesize 100M
php_value post_max_size 100M
Quote from: Black Tiger on May 30, 2015, 12:10:36 PM
In that case, check your downloads directory and see if it's set to chmod 777. It seems your provider is running su-php or mod_ruid.
If it's set at 777 then change it to 755.
Just looking from my phone, I don't see where to change that setting. Could you point me in the right direction? It doesn't seem to be in the configuration settings in SMF's admin area nor in the file manager of my hosting account.
You said you have Cpanel. It's visible in the most right section of the file manager.
I had some test install present on a cpanel server, so I was able to make a screenshot for you, and I put an arrow where you can see the permissions.
You can also login with FTP. Every FTP client has an option to change the permissions (chmod).
Ahhh...ok, I'll try that in a little while when my son goes down for his nap as trying to do things on a phone are a PITA.
Sorry for not knowing, I just switched from GoDaddy to Siteground earlier this month (before I tried this mod) and it's my first experience with cpanel. Much better in my opinion than the crap I had on GoDaddy.
No problem, glad to be of help. ;)
Ok, it was set at 0755...I've changed it to 0777 just for the heck of it & am trying to upload the file again
Yep...that didn't work. Trying to upload it now via FTP to a specific folder, then will try the "upload url" option.
Ok, I just successfully uploaded a file that was 47.06MB...doing a smaller file now at 15.5MB...then going to try attempting the 50.2MB one again.
Nope...didn't work. Going to try your .htaccess update & give it another go.
Ok...tried adding the code to my .htaccess file, and it broke my site so I changed it back.
Any other suggestions? I love the layout for this download system, and how it shows the downloads...but I NEED it to work for files up to 100MB
Figured out the issue...any file that has simple text or numbers works fine. Any file that has special characters in it such as ( )...fails. Not sure if this is by design or not...but it works just fine with letters & numbers only.
Thanks!
That's good to hear, I did not now that either.
It's great you discovered exactly what the problem was. Hope the coder can fix this.
However, I would firstly set the permissions back to 755 anyway.
Quote from: Black Tiger on May 30, 2015, 05:29:30 PM
That's good to hear, I did not now that either.
It's great you discovered exactly what the problem was. Hope the coder can fix this.
However, I would firstly set the permissions back to 755 anyway.
Yep...already did that when it didn't work.
Thanks for all the assistance! I learned a bit today! lol
Just installed Download System mod, But I cannot see any option to add a new download. How can I add a new downloadable file?
Vist the downloads tab. Then add a category. When the category is added you can go inside the category to add a download
That's the problem. I cannot see any option to add new download file
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi58.tinypic.com%2Fsblwlf.png&hash=8406143d0f3c022f3b50b8700560570942a32fd4)
It's a theme issue it should be visible under the Pages area in the center.
Ah got it! Changed to default theme and now it's showing. You made my day! Thanks
Glad to help
I am not sure if this has been already mentioned in this thread...
But I just noticed that Russian/Chinese/Japanese charachters and some characters of Czech/Polish/Hungarian are used to be replaced by question marks. Does this mod support no UTF-8?
It should but you have the tables utf8 though if they are not.
I just tried installing this modification on a fresh install of SMF 2.1 Beta 2 and I get this error...
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 25
File: /home/myforum/public_html/Packages/temp/downloadsinstall2.php
Line: 56
How can I fix this?
Change Type=
To
Engine=
In that file.
Will post an update now as well
Thank you for the quick reply, vbgamer45.
I uploaded 2.5a on another fresh install of SMF 2.1 Beta 2 and the first error is gone, now (and before, I wasn't sure if they were related to the first error) I am getting these errors that look like the following in my ACP...
Quote
Paul
Today at 03:38 PM
xxxxx
fd0b1585beae8f18ad40e8cd58904f65
Type of error: Undefined
8: Undefined index: downloads_txt_import
http://myforum.com/index.php?action=admin;area=logs;sa=errorlog;desc
File: /home/myforum/public_html/Sources/DownloadsHooks.php
Line: 77
Paul
Today at 03:38 PM
xxxxx
fd0b1585beae8f18ad40e8cd58904f65
Type of error: Undefined
8: Undefined index: downloads_text_catpermlist2
http://myforum.com/index.php?action=admin;area=logs;sa=errorlog;desc
File: /home/myforum/public_html/Sources/DownloadsHooks.php
Line: 76
There are currently 47 similar errors and they keep adding on.
Hmm. Just the same ones? Over and over again?
Quote from: vbgamer45 on November 05, 2015, 12:19:07 PM
Hmm. Just the same ones? Over and over again?
Yes, they all look the same. I have 101 of them now. They are on different lines, like 65, 72, 74, 107, etc. and the errors with those line numbers are repeated.
Looks good!! Thanks
Quote from: vbgamer45 on November 05, 2015, 12:19:07 PM
Hmm. Just the same ones? Over and over again?
I don't know if it helps with figuring out the errors but there is nothing in the menu that says "Downloads", the link is there but there isn't any text, if you place the cursor over the area it changes to a hand, the background also changes and if you click in the area you are taken to the downloads page.
it would seem that the mod did not completely install...
Make sure the following is in your themes/default/modifications.*.php files
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';
$txt['downloads_form_approvedownloads'] = 'Approve Downloads';
$txt['downloads_form_reportdownloads'] = 'Reported Downloads';
$txt['downloads_form_approvecomments'] = 'Approve Comments';
$txt['downloads_filespace'] = 'File Space Manager';
$txt['downloads_text_catpermlist2'] = 'Category Permissions';
$txt['downloads_txt_import'] = 'Import';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Allows the user to view the Downloads';
$txt['cannot_downloads_view'] = 'You are not allowed to view the Downloads';
$txt['permissionname_downloads_add'] = 'Add Download';
$txt['permissionhelp_downloads_add'] = 'Allows the user to add a download.';
$txt['cannot_downloads_add'] = 'You are not allowed to add a download.';
$txt['permissionname_downloads_edit'] = 'Edit own Download';
$txt['permissionhelp_downloads_edit'] = 'Allows the user to edit their own download.';
$txt['cannot_downloads_edit'] = 'You are not allowed to edit that download';
$txt['permissionname_downloads_delete'] = 'Delete own Download';
$txt['permissionhelp_downloads_delete'] = 'Allows the user to delete their own download.';
$txt['cannot_downloads_delete'] = 'You are not allowed to delete that download.';
$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Allows the user to rate a file.';
$txt['cannot_downloads_ratefile'] = 'You are not allowed to rate that file.';
$txt['permissionname_downloads_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_downloads_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_downloads_editcomment'] = 'You are not allowed to edit that comment.';
$txt['permissionname_downloads_comment'] = 'Leave Comments';
$txt['permissionhelp_downloads_comment'] = 'Allows the user to leave comments on a download.';
$txt['cannot_downloads_comment'] = 'You are not allowed to leave comments.';
$txt['permissionname_downloads_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_downloads_report'] = 'Allows the user to report downloads and comments.';
$txt['cannot_downloads_report'] = 'You are not allowed to report content.';
$txt['permissionname_downloads_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_downloads_autocomment'] = 'Comments do not need to wait for approval.';
$txt['permissionname_downloads_autoapprove'] = 'Auto Approve Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads do not need to wait for approval.';
$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Downloads, Approve Downloads';
$txt['cannot_downloads_manage'] = 'You are not allowed to manage the downloads.';
// END Download System Text Strings
Quote from: vbgamer45 on November 06, 2015, 12:17:42 PM
Make sure the following is in your themes/default/modifications.*.php files
There are no modifications.*.php files in my themes/default directory.
oops themes/default/languages folder
Quote from: vbgamer45 on November 06, 2015, 04:20:21 PM
oops themes/default/languages folder
In my Modifications.english.php file all I have is:
<?php
// Version: 2.1 Beta 2; Modifications
?>
Edit: I added the code just above the
?> in the Modifications.english.php file and it seems to have stopped the errors. Thank you very much.
Yes that would do it.
There seems to be a missing image which should appear next to the word "Downloads" in the main menu (SMF 2.1 beta 2). When I inspect the element with Firefox all I'm seeing is:
<a class="active" href="http://myforum.com/index.php?action=downloads">
<img src="http://myforum.com/Themes/default/images/" alt="">Downloads</a>
How can I fix this so an image appears?
Haven't tested it with SMF 2.1 beta 2 yet.
Is that the default theme or a custom theme?
Quote from: vbgamer45 on November 14, 2015, 05:58:56 PM
Is that the default theme or a custom theme?
It's the default theme.
If I type in a image file name while I'm inspecting the element (after Themes/default/images/) the image will appear in the menu next to the word "Downloads".
Incorrect permissions from other modification "smfclassifieds_manage"
DownloadSystem Version 2.5a
Downloads.php and Downloads2.php
function Downloads_CustomDelete()
{
global $db_prefix;
// Check Permission
isAllowedTo('smfclassifieds_manage');
Thanks will fix.
Update
2.5.1
!Fixed wrong permission for custom field delete
What is the best way to upgrade from Downloads System 2.0 to 2.5.1? Is that like uninstalling, uploading the new files and installing again?
Do I need to delete any of the old files?
If you can yes otherwise install over old version
I can uninstall and then overwrite. As long as I don't loose the downloads and stats it's oke by me.:)
So it should work fine then this way. Thank you!
I want to create a responsive theme. @vbgamer45, could you please tell me exactly for what is this function?
$g_manage
I want to create a Theme without table tag.
Used for permission control
Thanks, but how can I implement this as a div tag?
<td colspan="',($g_manage ? '6' : '4'), '">
if $g_manage then 6 if not 4 columns it is short hand for an if statement.
Is that correct?
if (($subcats_linktree != '') && ($g_manage != '6'))
{
echo '
<dl>
<dd> <span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['downloads_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span></dd>
</dl>';
}
elseif (($subcats_linktree != '') && ($g_manage != '4'))
{
echo '
<dl>
<dd> <span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['downloads_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span></dd>
</dl>';
}
Not sure in your case the code for the display looks exatly the same so no point in use the && ($g_manage != '4')) and && ($g_manage != '6'))
Was my first thought was that I could leave it out for the view. Was not sure. It's all just how many rows are displayed, depending on the permission.
the logic in your statetement doesn't make sense, wintstar....
it's not supposed to be "if $g_manage = 4"
it is
IF $g_manage (= anything other than 0) THEN 4 columns ELSE 6 columns
Yes, now I understand it. But this does not make sense for the div tag. Then you could leave out this function, or not?
well, look at the columns which are added if $g_manage is populated.... those columns would have the same sort of conditional using DIVs - you just don't have to specify the colspan in the header.
Then I leave out this function. Thank you both :) A happy new year, I wish nor.
For installation to SMF 2.1 Beta* missing language into Modifikations.english*.php and Who.english*.php
open package-info.xml and find
<install for="2.1 - 2.1.99,2.1 Beta 1">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
replace with
<install for="2.1 - 2.1.99,2.1 Beta 1">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file" reverse="true">downloadsbeta21.xml</modification>
Quote from: wintstar on December 29, 2015, 02:47:13 AM
For installation to SMF 2.1 Beta* missing language into Modifikations.english*.php and Who.english*.php
open package-info.xml and find
<install for="2.1 - 2.1.99,2.1 Beta 1">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
replace with
<install for="2.1 - 2.1.99,2.1 Beta 1">
<redirect url="?action=admin;area=downloads;sa=adminset">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file" reverse="true">downloadsbeta21.xml</modification>
Fixed thanks!
Installed the mod succesfully in my 2.1 test site. I am just missing a menu icon. The file drive.png is copied into the directory defaul /images/admin but is not showing in the menu...]
Could it be in the wrong folder?
I forget if that issue is fixed with SMF in the latest beta or not. Could be in the wrong folder.
When I first wrote for beta 1 custom icons were not supported in the menu in SMF.
I tried to fix it by add extra code in the index.css file. So far no luck
Download Template is not responsive for SMF 2.0.X. Can You fix CSS?
Can't I am not good with css in that sense.
That is too bad. In 2.1 the entire theme is responsive. Now only the downloads pages are not...
Take a look at the differences between the original SMF Default Theme - Curve2 and this mod Responsive Curve (http://custom.simplemachines.org/mods/index.php?mod=4040). Or check out the changes to the Theme between 2.0.11 and 2.1*.
If someone can do it for me that would be great. But I have zero time for SMF mods adding new stuff other than replying and maintaining what i have at this point.
Quote from: @rjen on January 02, 2016, 10:20:16 AM
Installed the mod succesfully in my 2.1 test site. I am just missing a menu icon. The file drive.png is copied into the directory defaul /images/admin but is not showing in the menu...]
Could it be in the wrong folder?
Change just only for SMF 2.1* Add the icon drive.png to root/Themes/default/images/
open root/Sources/DownloadsHooks.php
find
downloads_array_insert($menu_buttons, $button_insert,
array(
'downloads' => array(
'title' => $txt['downloads_menu'],
'href' => $scripturl . '?action=downloads',
'show' => allowedTo('downloads_view'),
'icon' => '',
)
)
,$button_pos);
}
replace with
downloads_array_insert($menu_buttons, $button_insert,
array(
'downloads' => array(
'title' => $txt['downloads_menu'],
'href' => $scripturl . '?action=downloads',
'show' => allowedTo('downloads_view'),
)
)
,$button_pos);
}
open root root/Themes/default/css/index.css
Insert at the end
.generic_icons.downloads {
background: url(../images/drive.png) no-repeat;
}
@vbgamer45, please wait with the new package. I still found something.
there should be a way without requiring a css file change if not the bug is still in Smf
Quote from: vbgamer45 on January 02, 2016, 02:41:16 PM
there should be a way without requiring a css file change if not the bug is still in Smf
that is the way SMF adds the icons, so why is it a bug? that is the way it is coded to work.
it shouldnt require file edits that is bad form if you are saying hooks are the way to go. i mentioned it last year and they said it was a bug fixed for next beta
That's because generic_icons.png and
index.css
/* Some lovely generic icons.
------------------------------------------------- */
.generic_icons {
width: 16px;
height: 16px;
display: inline-block;
background: url(../images/generic_icons.png) no-repeat -5px -5px;
vertical-align: middle;
}
Therefore, it will go not without any changes in the index.css. Or with its own download.css
loadtemplate('Downloads2.1','downloads');
So that it is not necessary to insert the language strings in the Modifications.english.php, it requires two changes:
open root/Sources/DownloadsHooks.php
find
function downloads_load_permissions(&$permissionGroups, &$permissionList, &$leftPermissionGroups, &$hiddenPermissions, &$relabelPermissions)
{
global $context;
add after
// Load the language files
if (loadlanguage('Downloads') == false)
loadLanguage('Downloads','english');
find
function downloads_admin_areas(&$admin_areas)
{
global $txt, $modSettings, $scripturl;
add after
// Load the language files
if (loadlanguage('Downloads') == false)
loadLanguage('Downloads','english');
That would no longer be necessary:
<modification type="file">downloadsbeta21.xml</modification>[/code]
Is missing is a solution for
<file name="$languagedir/Who.english.php">
I will find even
That the Soloution
Upper Post is lapsed
So that it is not necessary to insert the language strings in the Modifications.english.php, it requires two changes:
open root/Sources/DownloadsHooks.php
That would no longer be necessary:
<modification type="file">downloadsbeta21.xml</modification>
// Hook Add Action
function downloads_actions(&$actionArray)
{
global $sourcedir, $modSettings, $txt;
add after
// Load the language files
if (loadlanguage('Downloads') == false)
loadLanguage('Downloads','english');
open root/Themes/default/languages/Downloads.english.php
find
Links to http://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################
Downloads English Text Strings
*/
add after
global $scripturl;
add at the End of the file
// Begin Download System Text Strings
$txt['downloads_menu'] = 'Downloads';
$txt['downloads_admin'] = 'Downloads Configuration';
$txt['downloads_text_settings'] = 'Settings';
$txt['downloads_form_approvedownloads'] = 'Approve Downloads';
$txt['downloads_form_reportdownloads'] = 'Reported Downloads';
$txt['downloads_form_approvecomments'] = 'Approve Comments';
$txt['downloads_filespace'] = 'File Space Manager';
$txt['downloads_text_catpermlist2'] = 'Category Permissions';
$txt['downloads_txt_import'] = 'Import';
// Permissions
$txt['permissiongroup_downloads'] = 'Downloads System';
$txt['permissiongroup_simple_downloads'] = 'Downloads System';
$txt['permissionname_downloads_view'] = 'View Downloads';
$txt['permissionhelp_downloads_view'] = 'Allows the user to view the Downloads';
$txt['cannot_downloads_view'] = 'You are not allowed to view the Downloads';
$txt['permissionname_downloads_add'] = 'Add Download';
$txt['permissionhelp_downloads_add'] = 'Allows the user to add a download.';
$txt['cannot_downloads_add'] = 'You are not allowed to add a download.';
$txt['permissionname_downloads_edit'] = 'Edit own Download';
$txt['permissionhelp_downloads_edit'] = 'Allows the user to edit their own download.';
$txt['cannot_downloads_edit'] = 'You are not allowed to edit that download';
$txt['permissionname_downloads_delete'] = 'Delete own Download';
$txt['permissionhelp_downloads_delete'] = 'Allows the user to delete their own download.';
$txt['cannot_downloads_delete'] = 'You are not allowed to delete that download.';
$txt['permissionname_downloads_ratefile'] = 'Rate Downloads';
$txt['permissionhelp_downloads_ratefile'] = 'Allows the user to rate a file.';
$txt['cannot_downloads_ratefile'] = 'You are not allowed to rate that file.';
$txt['permissionname_downloads_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_downloads_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_downloads_editcomment'] = 'You are not allowed to edit that comment.';
$txt['permissionname_downloads_comment'] = 'Leave Comments';
$txt['permissionhelp_downloads_comment'] = 'Allows the user to leave comments on a download.';
$txt['cannot_downloads_comment'] = 'You are not allowed to leave comments.';
$txt['permissionname_downloads_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_downloads_report'] = 'Allows the user to report downloads and comments.';
$txt['cannot_downloads_report'] = 'You are not allowed to report content.';
$txt['permissionname_downloads_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_downloads_autocomment'] = 'Comments do not need to wait for approval.';
$txt['permissionname_downloads_autoapprove'] = 'Auto Approve Downloads';
$txt['permissionhelp_downloads_autoapprove'] = 'Downloads do not need to wait for approval.';
$txt['permissionname_downloads_manage'] = 'Admin Download System';
$txt['permissionhelp_downloads_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Downloads, Approve Downloads';
$txt['cannot_downloads_manage'] = 'You are not allowed to manage the downloads.';
// Begin Download System
$txt['whoall_downloads'] = 'In the <a href="' . $scripturl . '?action=downloads">Downloads</a>';
// END Download System Strings
Bug fix for
httpxxxx:xxxxx//localhost/smf21/index.php?
File: C:/xampp/htdocs/smf21/Sources/DownloadsHooks.php
Line: 100
Type of error: Undefined
8: Undefined index: downloads_menu
find
downloads_array_insert($menu_buttons, $button_insert,
array(
'downloads' => array(
'title' => $txt['downloads_menu'],
replace with
downloads_array_insert($menu_buttons, $button_insert,
array(
'downloads' => array(
'title' => $txt['downloads'],
Edit 2.1.2016 22:14
Update 2.6
!Fixed icon for SMF 2.1 Beta 2
!Fixed some things for SMF 2.1 Beta 2
Found the workaround for no css images.
In the SMF 2.1* Administration Center, on the Overview page, the icon drive.png does not appear.
Maybe so, but it does in the menu option, and that's where I need it most ;)
Thanks for the fix...
I'm just wondering. Is there a possibility to set it up that guest are allowed to view the downloads, but only registered members can really download the files?
Because now it says "view downloads" in the permission system, but that is confusing because that is not quite correct.
The "View" permission is not only the permission to view but also the permission to download.
So it would be nice if those were different permissions or it could be made that way some how.
I have that option but in this version in the pro version of the mod.
Ah that's a pity, becaus it's too expensive for my little usage of it. In that case guest access will have views disabled.
They can see the top 10 in the portal so they can see what's new.
Thank you for the quick response.
Is there a way to FTP a file larger than 128mb so the download system can show it? Currently I'm limited by the PHP file limit size.
There is no option in the lite version.
You could upload a small file instead then replace that filename in the downloads directory with the large file
I think I am following what you're saying, if so...I'll give it a shot in a few days when I have time to toy with it.
Thanks!
VB...sorry, haven't had time to give this a try...my newborn twins decided to show up on the 28th rather than wait till their due date! LOL
Soon as things normalize...I'll give this a shot. Thank you!
How do we enable Pretty-URL on this module?
Thanks.
Currently not an option.
Error in package-info.xml
Beta 2""
find
<install for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2"">
replace with
<install for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2">
find
<upgrade for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2"">
replace with
<upgrade for="2.1 - 2.1.99,2.1 Beta 1,2.1 Beta 2">
Thanks fixed
I installed the Download System back in 2014 and we used it quite a lot. However, over time, our board has changed considerably and we opted to remove it since no one accesses it anymore.
I attempted to do just that but I got an error message. I didn't know what to do so I did not complete the job. I am attaching the error messages I got to see if you think it's safe for me to proceed.
Quote from: MaryLouW on January 12, 2017, 03:17:09 AM
I installed the Download System back in 2014 and we used it quite a lot. However, over time, our board has changed considerably and we opted to remove it since no one accesses it anymore.
I attempted to do just that but I got an error message. I didn't know what to do so I did not complete the job. I am attaching the error messages I got to see if you think it's safe for me to proceed.
Yes, you can proceed, but you may get some errors at first, you'll need to verify that the subs.php and managepermissions.php file contain no references to the download module, the pretest errors in red will need to be done manually, it won't hurt a thing to skip the manual edit of the language file, but to be consistent you should do that too because if you decided to re-install the mod it will write that code again and duplicate itself
http://wiki.simplemachines.org/smf/Error_in_mod_installation
the same holds true for uninstallation
Hmmmm..... when it comes to manual editing, that though scares me. Not sure I am that brave. Maybe I'll just leave it installed. Just because it's there doesn't mean we have to use it. Thank you both for your responses. I will think about the edits but knowing me, that's as far as it will go - the thinking stage.
HI I'm a new noob at all this so please forgive dumbarse questions.
This mod looks great with lots of functionality but seems overly complex for what I want - simply a button in the top header saying "downloads"or "files"which then gives a list of options which people can click on to download. I don;t need stats, tracing, lockdowns by member group, any of that.
Is there another simple modout there that meets my basic needs?
Thanks.
Not really.
You can use a forum topic I guess.
If you want to rename downloads menu option it is found themes/default/languages/modifications.english.php if you install this mod
Thank you. I think that the functionality I want is in TinyPortal so I'll have a play with that. Cheers.
OK I installed the (free) SMF Hacks Download system.
Install went OK but when I press the IMPORT TINYPORTAL DOWNLOADS
I got:
QuoteUnknown column 'authorid' in 'field list'
File: /home/gsxowner/public_html/forum/Sources/Downloads2.php
Line: 5621
Can anyone please help? I want to get this going ASAP.
Are you using the latest TinyPortal?
Quote from: MaryLouW on January 12, 2017, 02:53:07 PM
Hmmmm..... when it comes to manual editing, that though scares me. Not sure I am that brave. Maybe I'll just leave it installed. Just because it's there doesn't mean we have to use it. Thank you both for your responses. I will think about the edits but knowing me, that's as far as it will go - the thinking stage.
I understand your concern, but if you are going to continue using and managing SMF and third party modules, I am pretty certain you will run into this situation more often than is comfortable for you, the whole point of the SMF© platform being Open Source is that it allows for customization by anyone who has some knowledge about how the system is structured and knowledge of PHP coding or any combination of those skills and related file structures/languages that SMF uses... some coders have more experience than others, and even for the experienced coders, the core system changes sometimes throws the module designer's structures slightly out of whack to a point where it will throw up some errors in the package manager pre-test... you might say that the SMF platform is a kind of teaching platform, its very nature takes you out of your comfort zone when glitches occur, you either take that and learn something new, correcting the problem yourself, contact the module author and have them fix it, or do without that particular functionality... not trying to change your mind, just saying that the very nature of SMF takes many site owners out of their comfort zone at times, and there are options available to the owner to keep the system running smoothly, even newbies.
Yep I understand that Bob. And occassional issues as I go along I can deal with but I'm in the process of setting up a site and for various reasons its pretty urgent I get it up and running properly as soon as I can. Thus my anxiety.
vbgamer has been VERY helpful to me on a few questions I had re his mods. The biggest issue in getting anything resolved is simply the time difference between Australia and wherever he is. :)
Still working on it have to test that version of tinyportal then the conversion process to make sure it handles it correctly.
New update!
2.6.1
!Fixed tiny portal conversion for SMF 2.0 uses author_id if found
Champion, thanks heaps !
Glad to help
Went to uninstall existing version and got errors as attached.
I have the following mods installed currently.
Responsive Curve 1.0.0
Social Login 3.5
Yet Another YouTube BBCode Tag 4.1
SMF Gallery Pro 7.2.1a
TinyPortal 1.2
and of course,
Downloads system 2.6a
Mods normally have to be uninstalled in order they were last installed.
You can install the new download system on top of the old one.
I probably should have kept track then. :D What if someone had 20 mods (for example) and wanted to uninstall the first mod. They'd have to rebuild the whole forum ???? :-\
I'll go try the upgrade. Cheers.
http://custom.simplemachines.org/mods/index.php?mod=2323
or you can manually apply the uninstall actions, the same way you might have to manually apply the installation actions
Illori - genius.
Thanks all much appreciated.
Update!
3.0
+Added add download item to menu on all download pages that have buttons. Should make it easier to find.
+Link tree added all download pages
I've installed I have a category with 6 items in it and after clicking on any item title link I get detailed information for that item - so far so good!
The screen with the detailed information also includes links for the 'Previous Download' and 'Next Download' items. However, clicking on these links does the opposite to what I expect. If I am viewing the 3rd item and click on 'Previous Download' it takes me to the 4th item and if I click on 'Next Download' it takes me to the 2nd item.
I've been able to get the Previous Download/Next Download links working as I expect by making the following changes in ./Sources/Downloads2.php:
Find:
// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id LIMIT 1");
Replace with:
// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id
ORDER BY ID_FILE DESC LIMIT 1");
Find:
// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id LIMIT 1");
Replace with:
// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id
ORDER BY ID_FILE DESC LIMIT 1");
PS: I first started using this Downloads System mod in late 2012 and discovered this issue back then - I've fixed it in each release I've subsequently installed but never got around to reporting here until now.
Went a similar route just made a minor change to the query
3.0.1
!Fixed next and previous links in the download system.
Please advise. I am getting an error when I try to upload a file. I have attached a screen shot of the error. I can upload very small files but I need to upload larger file sizes I.E. 75 to 80 megs. Any help would be great.
Read this topic
http://www.smfhacks.com/index.php/topic,3498.0.html
vbgamer45 thank you for your quick response and I did that and am still getting the same error about the title. I am putting a title on the file. I just cant figure out how to get this to work. Could you possibly join me on my TS and help me out?
Edit: vbgamer45 again thank you for your quick response but I have finally figured it out.
Glad you have it figured out!
OK well I've had this mod running on the forum since my forum started (not long ago) but credit where it's due this is an EXCELLENT mod. I don't use half the features it is capable of, but as a downloads management system, it is easy to use / manage from both an admin and users point of view.
I don't claim to have tried all the options out there, but in my view its better than the two 'built in' downloads setups of several portals I've tried. That's just my opinion, nothing objective I can point to. And perhaps it's to be expected given it's a dedicated downloads mod.
Anyway this comes highly recommended from me !!!!
Well done SMFhacks !
Thanks landyvlad I try to think of all options for the users.
Update
!Bug fix for SMF 2.1 Beta 3 so it installs correctly
Installed & operates perfectly on SMF 2.1 Beta 3+ (current Github)!
Honestly guys, between SAVE & Download System, my forum is pretty much 100% in SMF2.1... Well done!
I do have one error in my error log though. This error showed up once immediately post installation:
8: Undefined index: downloads_menu
http://localhost/vgf21/index.php?action=admin;area=packages;sa=install2;package=1498409867.zip;pid=0
File: {yada yada yada}/VGF21/Sources/DownloadsHooks.php Line: 111
I haven't noticed any impact on operation, seems to work perfectly.
All of our downloads, ratings, etc., everything from 2.0 is available. SEAMLESS...
Does it happen all the time or just one time?
Only the once.
Looking at that URL, I think it was logged during the install process.
Update:
3.0.2
!Fixed some undefined variables in SMF 2.1 Beta 3 profile icons for im services/karma on comment view.
Minor nit, but you get error log entries if a user presses the ratings button without selecting a rating.
They get a friendly warning. No need to log an entry in the error log as well.
Error message details:
8: Undefined index: rating
/yada/yada/yada/smf/Sources/Downloads2.php Line: 3536
What is the update process please? Is it just upload and install the new one, or do I uninstall./delete the old one first?
(It'd be cool if this info was included in the description of the mod, for easy reference)
Thanks
Either way works. If it is a major update I state what to do.
Thanks - sorry for the similar questions in numerous threads :)
No problem glad you have it figured out.
Umm, struck some pretty major error flags in the uninstall test.
Trying to uninstall ver 3.0 to update to 3.0.2
I'm currently using SMF2.0.13
This is the result I get:
QuoteType Action Description
* 1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
1. Replace ./Themes/default/languages/Modifications.english.php Test failed
* 2. Execute Modification ./Themes/default/languages/Who.english.php Test successful
* 3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
1. Replace ./Themes/default/languages/Modifications.english-utf8.php Test failed
* 4. Execute Modification ./index.php Test failed
1. Replace ./index.php Test failed
* 5. Execute Modification ./Sources/Admin.php Test failed
1. Replace ./Sources/Admin.php Test failed
* 6. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test failed
2. Replace ./Sources/Subs.php Test failed
* 7. Execute Modification ./Sources/ManagePermissions.php Test failed
1. Replace ./Sources/ManagePermissions.php Test failed
2. Replace ./Sources/ManagePermissions.php Test failed
8. Delete File ./Sources/Downloads2.php
9. Delete File ./Themes/default/Downloads2.template.php
10. Delete File ./Themes/default/languages/Downloads.english.php
11. Delete File ./Themes/default/languages/Downloads.english-utf8.php
12. Execute Code DownloadUnInstall.php
That's some pretty major 'issues' right there ! :o
Please help me ! :)
Just install the new version on top
Quote from: vbgamer45 on January 17, 2018, 11:04:34 AM
Just install the new version on top
So don't uninstall, install new version, and there should be no errors.
Assuming that works, do I then 'uninstall' the old one, or just 'delete' it from the package manager ?(but not files of course) Thanks
that's it. don't delete or uninstall anything
Hi,
I installed the download system but when I want to add a download it says: "You need to create a category first before you upload a download." Where do I create that category? I have this on smf 2.0.11 and 2.0.15 at different servers.
TIA
Click on downloads in the menu then there should be link on that page to add a category.
Hmm, I removed manually the memberlist from the menu and I added "index.php?action=downloads" in the menu. Could you provide me the link for the category?
action=downloads;sa=addcat
Error at install of 2.1.Beta4 newest Pull Request
Version Information:
Forum Version: SMF 2.1 Beta 4
Aktuelle SMF Version: SMF 2.1 Beta 3
GD Version: bundled (2.1.0 compatible)
MySQLi System: MySQL
MySQLi Version: 5.6.39-log
PHP: 7.1.17
Server Version: Apache/2.4.33 (Unix)
.p.commenttotal' isn't in GROUP BY
Datei: /xxx/xxxx/xxx/xxx/xxxx/htdocs/xxxxx/xxxxxx/board/Sources/Downloads2.php
error log:
Type of error: Database
Database Error: '.p.commenttotal' isn't in GROUP BY
board/index.php?action=downloads
/board/Sources/Downloads2.php
(Line 5360)
My settings:
If the setting for comments and ratings are disabled you can create a category. But after clicking on "Send category" the next error message appears.
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /board/Sources/Downloads2.php
Line: 664
Your server probably has ONLY_FULL_GROUP_BY turned on. You can try to turn it off
http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by
There are no error messages on the same server in the same database with SMF 2.0.15.
It's a MYSQL server configuration issue.
Quote from: wintstar on May 18, 2018, 01:12:24 PM
There are no error messages on the same server in the same database with SMF 2.0.15.
Why do I not get an error message with SMF 2.0.15 on the same server in the same database?
Why do the bugs only come with SMF 2.1.Beta*?
No idea
My solution. This works.
all changes in Downloads2.php
line at 659
// Do the order
$dbresult = $smcFunc['db_query']('', "
SELECT
MAX(roworder) as cat_order
FROM {db_prefix}down_cat
WHERE ID_PARENT = $parent
ORDER BY roworder DESC");
$row = $smcFunc['db_fetch_assoc']($dbresult);
replace with // Do the order
$dbresult = $smcFunc['db_query']('', "
SELECT
MAX(roworder) as cat_order
FROM {db_prefix}down_cat
WHERE ID_PARENT = $parent
GROUP BY roworder
ORDER BY roworder DESC");
$row = $smcFunc['db_fetch_assoc']($dbresult);
GROUP BY roworder
line 5352
$query = "SELECT p.ID_FILE, p.commenttotal, p.totalratings, p.rating, p.filesize, p.views, p.title, p.id_member, m.real_name, p.date, p.description, p.totaldownloads
FROM {db_prefix}down_file as p
LEFT JOIN {db_prefix}members AS m ON (m.id_member = p.id_member)
LEFT JOIN {db_prefix}down_catperm AS c ON (c.ID_GROUP IN ($groupsdata) AND c.ID_CAT = p.ID_CAT)
WHERE p.approved = 1 AND (c.view IS NULL || c.view =1) GROUP by p.ID_FILE ORDER BY $query_type DESC LIMIT 4";
replace with $queryselects = 'p.commenttotal, p.totalratings, p.rating, p.filesize, p.views, p.title, p.id_member, m.real_name, p.date, p.description, p.totaldownloads';
$query = "SELECT p.ID_FILE, $queryselects
FROM {db_prefix}down_file as p
LEFT JOIN {db_prefix}members AS m ON (m.id_member = p.id_member)
LEFT JOIN {db_prefix}down_catperm AS c ON (c.ID_GROUP IN ($groupsdata) AND c.ID_CAT = p.ID_CAT)
WHERE p.approved = 1 AND (c.view IS NULL || c.view =1) GROUP by p.ID_FILE, $queryselects
ORDER BY $query_type DESC LIMIT 4";
missing SELECT columns in GROUP
Hello all,
first of all, 1000 thanx for this wonderful mod.
Unfortunately I discovered a little problem: When visitors are searching for a download, they get results of downloads which shall not be seen in the public because the set permissions shall prevent this. Finally when they click on the download link the download is prohibited, that's the good one. However, my wish is that visitors or members shall see only the download links which are dedicated o them.
Does anyone know how to prevent listing of potected download links in the search result?
What smf version are you using?
Quote from: vbgamer45 on June 13, 2018, 11:05:44 AM
What smf version are you using?
SMF 2.0.15
and
DownloadSystem 3.0.2
Update
3.0.3
!Fixed showing hidden categories in search results
Great! Now it works fine :-*
Glad to help
Is thats right?
Downloads2.php
$currentVersion = '2.0';
Thanks for solution smfhacks_sqlmode
For 2.1* custum fields and user online icon in comment function not work.
Here my Download Center (https://www.stephan-frank.de/board/index.php?action=downloads). I have added License function, maintenance mode and GDPR for comment. And changed the design a little bit. Great Mod, Thanks :)
The version is ok I am not using version checking.
Thanks for the report for 2.1 haven't spent a lot of time yet on 2.1 yet waiting for an RC release.
I like the changes made to your down center good job.
After a few testings I have now some categories left which I would like to delete. Unfortunately I could not find the right process to delete a category.
Does anyone have a little hint for me?
Thank you in advance.
Update: The categories have the same names however differ in only uppercase or lowercase letters, like
Category 1
category 1
When uploading a file both are lsiting as optional target categories. However when looking into the download list, only one of both categories is listed. It seems like it is the most recently entered one.
There should be a delete text when you are viewing the download section next to the category under options
Quote from: rho_simafo on June 14, 2018, 11:25:07 AM
Great! Now it works fine :-*
Sorry, not yet completely, today I found another issue:
1) When clicking the "Download"-button as a guest user I get a list of downloads, even some of those who shall be seen by registered users only. The "Download"-button shall be visible because I plan to offer public downloads for everone, but I will offer downloads for registered users only as well.
2) At the end of the download list a link "View Download Stats" is shown. When clicking on that all available downloads are listed, including the protected ones. Well, they cannot be downloaded, but I don't want protected downloads to be listed to everyone at all.
I'm using smf 2.0.15 and theme "Dilber Multicolor".
For #1. Can you give an example url
Quote from: vbgamer45 on August 09, 2018, 11:26:40 PM
For #1. Can you give an example url
I deletd the link yesterday, will try to insert another one....
Sorry, can't reproduce #1.
Looks like it was a permission issue, my fault.
The #2 however is still an issue: https://forum.sentra-sx.de/index.php?action=downloads;sa=stats
K will check
Update!
3.0.4
!Fixed showing hidden files in Stats page
Wow, you are incredible fast.
Simply THANKS!
Glad to help.
Does Download System support php7.0 yet?
I'm getting some funky messages.
Not sure if it's php7 or that it's my beta test platform...
Yes it should I run it on php 7.1.x sites. what messages are you getting?
Strict mode stuff, like this:
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /blah/blah/public_html/yadayada/Sources/Downloads2.php
Line: 3074
Yeah that's more of MYSQL version issue.i normally disable strict mode on my end.
Be aware... SMF 2.1 enforces strict mode
Yes, that's where my problem is.
Quote from: shawnb61 on August 31, 2018, 12:32:17 AM
Strict mode stuff, like this:
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
File: /blah/blah/public_html/yadayada/Sources/Downloads2.php
Line: 3074
https://www.simplemachines.org/community/index.php?topic=203471.msg3973075#msg3973075
or
look into Downloads2.php line 71 - 76 solution smfhacks_sqlmode
Update
3.0.4a
!Fixed missing message id for email notification for SMF 2.0.x
Added support for SMF 2.1 RC1
sweet :)
3.0.4c
!Minor style fixes and bug fixes for SMF 2.1.x
Greetings,
I'm running a new install of SMF 2.0.15, and while I'm loving it, I'm still getting used to working with it.
I installed a new responsive theme (Marina) which I am very pleased with.
I'm not familiar at all with doing manual package installs. I'm sure I could take the time to understand it, but that probably wouldn't be any time soon. I'd like to use the download mod sooner rather than later.
Does anyone offer installation services reasonably priced?
In advance, thanks!
What manual edits is asking to do in the package manager? Or where does it fail?
Hi vbgamer45:
I read at the beginning of the thread that if you are using a custom theme, then you cannot use the package system to install this mod.
I read that after an installation that showed successful, but didn't work. There was no download page, no download buttons, it was as if the package had not been installed.
Therefore, my assumption is/was that it had to be done with manual edits.
that was for SMF 1.1.x
ate you using a language other than english
or do you have related errors in your error log
Why do you need to do a manual package installation?
I had thought that I had to do a manual install because I had a custom theme. I read that in this thread.
VBGamer pointed out that the instructions were only for version 1.
So I re-attempted to install using the package manager, and it worked out just fine.
Thanks!
Advise posted 10 years ago on this site is almost certainly out of date at this point.
I can't believe it has been that long sometimes. Sorry for mistype above was working on cell phone today I was visiting the auto show by me.
Yeah, no doubt. I didn't even realize it was 10 years old. The post came up in a search, and since it matched the problem I thought I was having, I just made an assumption.
It's all good now, though. :)
This is a great mod, it's very helpful, thanks!
I have a question: Where on the server (directory) are the download files actually stored?
I see a folder called "downloads" in the forum root directory, but there are not files located in the folder.
I seem to be scratching my head, a bit blind to something that I figure is probably very obvious!
They should be in the downloads folder by default or in a downloads subdirectory.
If not check your downloads path that is set in the downloads configuration.
Thanks.
It turns out I was staring right at the files. Didn't dawn on me for awhile that the system assigned new file names. :)
Yeah. I do that so it does not allow the files excute.
Makes perfect sense, I should have known better.
It is a really great mod, I hope that a ton of people need the pro version. Thanks for taking the time to write it!
I can set up a board that guests can't see, filled with downloads that members can see but can't download unless they have the status of "Charter Member" (membergroup). To make matters even easier, when a "regular" user clicks to try to download the file, they can ask for Charter member status right then and there.
This allows me unprecedented and easy control over who gets to access my content. :)
Glad you enjoy the mod!
[English below]
Traducción al español de España con estilo informal (tú) de DownloadSystem3.0.4c
Rev 1: Primera versión. Probablemente habrá mejoras y correcciones menores conforme la use (estoy usando DownloadSystem por primera vez)
[ENGLISH]
Spanish_es translation (informal style -tú-) for DownloadSystem3.0.4c
Rev 1: First version. There will very likely be improvements and corrections as I use it (I am a first-time DownloadSystem user)
I tried reading through ,and searching all 110 pages, sorry if its been asked before.... The word " download " is so small... is there any simple code, or a tweak I can do to make it bigger .. thanks for any help you code supermen and superwomen can give.
Editing the downloads2.template.php in the view_download function in themes/default
Then either use h1 tags or make it bold.
I figured that much, and I did find a post with some code that swapped the text with a linkable picture instead, but that didnt work for whatever reason...
not to be a tech support mooch , but I cant find the string of code in that template file, and im sure its right under my nose.... could you help with a quick copy and paste... im pretty handy with smf, been using since 2.0.4 I just for the life of me cant find this string of code in the template file... if im here im desperate, I hate asking for help lol
Around line 1266 in downloads2.template.php
// Show the main download
echo '
<tr class="windowbg2">
<td align="center">';
echo '<a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '">', ($context['downloads_file']['fileurl'] == '' ? $context['downloads_file']['orginalfilename'] : $txt['downloads_app_download']), '</a>';
echo '
</td>
</tr>';
by the way its been a while, but ive seen that vbgamer tag somewhere, do you make other mods...
also I guess I should have been more clear... I dont know how to write code from scratch... I can copy and paste... and I can figure out basic things, but I dont even know where to drop an h1 or bold code... I tried to google it, and I just keep crashing the page..... can you show me the code with h1 tags in it....
updated code
// Show the main download
echo '
<tr class="windowbg2">
<td align="center">';
echo '<a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], '"><h1>', ($context['downloads_file']['fileurl'] == '' ? $context['downloads_file']['orginalfilename'] : $txt['downloads_app_download']), '</h1></a>';
echo '
</td>
</tr>';
your the BEST, thank you so much!!!! <3
Glad to help
Very helpful mod, I must say. How do I remove the link from the main menu? Just want to have only a link as a board that redirects to the downloads page, which I've done already, but I don't want the link in the main menu. Is there an option to not show the menu link in the mod's settings? If there is, I can't seem to find it. I'm using SMF 2.0.15 by the way. Thanks in advance.
You would need to edit the Sources/Subs.php file to remove the entry.
Quote from: vbgamer45 on October 25, 2019, 08:08:57 AM
You would need to edit the Sources/Subs.php file to remove the entry.
Ok, but can you please tell me the line(s) to edit and to what exactly? Thanks.
Use the package parser on the mod site should say the line.
Quote from: vbgamer45 on October 25, 2019, 03:04:00 PM
Use the package parser on the mod site should say the line.
Ok I think may be I forgot to mention I'm a complete novice here. I don't even know what a package parser is, let alone how to find or use it. I'm a fast learner though, and a point in the right direction may just be all I need.
on the mod site for the page of the mod. Tells you which files were edited and where.
Quote from: vbgamer45 on October 25, 2019, 03:58:32 PM
on the mod site for the page of the mod. Tells you which files were edited and where.
Found it, done it and it worked like a charm. Thanks a lot.
Hi, I have used this Mod for a few years now. But recently I started having a problem adding files to the Downloads. The files I want to add are zipped and under 8kb. But they fail to upload. I have checked with my hosting, there's no issue that should cause a file of that size not to work.
QuoteService Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
There is no maintenance going on and no capacity problems.
Could be php settings https://www.smfhacks.com/index.php/topic,3498.0.html
Also check your forum's error log.
Thanks for the suggestions, but we have decided to use direct upload links for the large files and they seem to be working just fine.
Yeah if you are going over couple hundred megs that is always recommened.
hi thanks for this great mod, i have just installed this mod in my smf forum, I have few questions,
1. can i set permissions on downloading attachement, for example if i post a download, can i set some rules for downloading, like "members who has above 15 posts can download"
2. how to create download section category
3.can members can create there own category
thank you very much
Quote from: sbnisar755 on February 07, 2020, 04:07:36 AM
hi thanks for this great mod, i have just installed this mod in my smf forum, I have few questions,
1. can i set permissions on downloading attachement, for example if i post a download, can i set some rules for downloading, like "members who has above 15 posts can download"
2. how to create download section category
3.can members can create there own category
thank you very much
i am still waiting
1. Does not affect the attachments in your forum at all. It is a separate section in your forum.
2. Downloads -> Add category
3. No only download admins
Quote from: vbgamer45 on February 07, 2020, 01:12:04 PM
1. Does not affect the attachments in your forum at all. It is a separate section in your forum.
thank you very much for reply, can you tell me where i can set these rules as you said its seperate section in froum.
That would be best asked in the SMF general support boards.
SMF 2.1 RC2
PHP: 7.3.14
MySQL Version: 5.7.28-log
Type of error: Undefined
8: Undefined index: spam_WaitTime_broken
xxx://localhost/xxx/xxx/index.php?action=downloads;sa=comment&id=1
/var/www/html/xxx/xxx/Sources/Errors.php (Line 228)
Backtrace information
#2: spamProtection()
Called from /var/www/html/sfwd/board/Sources/Downloads2.php on line 2320
Solution
look in Sources/Errors.php. $sprintf spamProtection('spam') => spam is the first part of the language string = spam_. => WaitTime_broken is the second part of the language string
Combined, this results in => spam_WaitTime_broken
open Sources/Downloads2.php
To assign the language string to the downloads language file it would be better to use downloads instead of spam.
find
spamProtection('spam');
replace with
spamProtection('downloads');
open languages/Downloads.english.php
find
$txt['downloads_error_invalid_picture'] = 'Invalid Picture file';
add after
$txt['downloads_WaitTime_broken'] = 'The last commenting from your IP was less than %1$d seconds ago. Please try again later.';
Thanks will add the fix!
Please wait a moment with a new version. I still have a few suggestions for improvement regarding breadcrumbs (linktree). I'll post it today.
Ok thanks!
Suggestion for linktree
open Sources/Downloads2.php
find line 1079
Downloads_GetParentLink($row['ID_PARENT']);
// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $row['ID_CAT'],
'name' => $row['CAT_TITLE']
);
// Show Custom Fields
replace with
Downloads_GetParentLink($row['ID_PARENT']);
// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $row['ID_CAT'],
'name' => $row['CAT_TITLE']
);
// Link Tree
$context['linktree'][] = array(
'name' => $context['downloads_file']['title']
);
// Show Custom Fields
find
function Downloads_AddComment()
{
global $context, $mbname, $txt, $modSettings, $user_info, $sourcedir, $smcFunc;
replace with
function Downloads_AddComment()
{
global $context, $mbname, $txt, $modSettings, $user_info, $sourcedir, $scripturl, $smcFunc;
find
// Comments allowed check
$dbresult = $smcFunc['db_query']('', "
SELECT p.allowcomments, p.ID_CAT
FROM {db_prefix}down_file as p
WHERE ID_FILE = $id LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
$smcFunc['db_free_result']($dbresult);
// Checked if comments are allowed
if ($row['allowcomments'] == 0)
{
fatal_error($txt['downloads_error_not_allowcomment']);
}
Downloads_GetCatPermission($ID_CAT,'addcomment');
replace with
// Comments allowed check
$dbresult = $smcFunc['db_query']('', "
SELECT p.allowcomments, p.id_cat, p.title, c.id_cat, c.title AS catname
FROM {db_prefix}down_file as p
LEFT JOIN {db_prefix}down_cat AS c ON (c.id_cat = p.id_cat)
WHERE ID_FILE = $id LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);
$context['downloads_cat_name'] = $row['catname'];
$context['downloads_cat_id'] = $row['id_cat'];
$context['downloads_file_name'] = $row['title'];
$ID_CAT = $row['id_cat'];
$smcFunc['db_free_result']($dbresult);
// Checked if comments are allowed
if ($row['allowcomments'] == 0)
{
fatal_error($txt['downloads_error_not_allowcomment']);
}
Downloads_GetCatPermission($ID_CAT,'addcomment');
// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;cat=' . $context['downloads_cat_id'],
'name' => $context['downloads_cat_name']
);
$context['linktree'][] = array(
'url' => $scripturl . '?action=downloads;sa=view;down=' . $id,
'name' => $context['downloads_file_name']
);
$context['linktree'][] = array(
'name' => $txt['downloads_text_addcomment']
);
Look here the breadcrumb (it's in german)
Download file => https://www.stephan-frank.de/board/index.php?action=downloads;sa=view;down=1
Add comment = > https://www.stephan-frank.de/board/index.php?action=downloads;sa=comment&id=1
Update
3.0.5
!Fixed missing language string bug for spam protection thanks to wintstar
+Better linktrees on view download/add comment page thanks to wintstar
Database Error: Data too long for column 'log_type' is a Bug in SMF RC2 => https://github.com/SimpleMachines/SMF2.1/issues/6031
ok...Should i change it to a shorter prefix which i will do now...
Added install support for RC3
Update!
3.0.6
!Fixes for PHP 7.4
Quote from: BartB on March 26, 2011, 02:16:53 PM
When I add a download to a category using the URL function (because the file is already on the system but in another directory) it adds the file correctly, but with a reported size of 0B. Any way to fix that?
Quote from: vbgamer45 on March 26, 2011, 02:21:13 PM
Possible but I would have to do another request to get the filesize.
Hello,
Did you make some modifications to your
Download System masterpiece, in order to add the filesize for a distant file ? Because I have the same problem and it's
reallyannoying. Or maybe ther is a way to manuallt edit the filesize.
Note : I use
Download System 3.0.6 on
SMF 2.0.17Thank you
I don't think I added it but found code
nction getRemoteFilesize($file_url, $formatSize = true)
{
$head = array_change_key_case(get_headers($file_url, 1));
// content-length of download (in bytes), read from Content-Length: field
$clen = isset($head['content-length']) ? $head['content-length'] : 0;
// cannot retrieve file size, return "-1"
if (!$clen) {
return –1;
}
if (!$formatSize) {
return $clen;
// return size in bytes
}
https://www.airtistic.info/?p=1081
Quote from: vbgamer45 on December 29, 2020, 07:47:38 AM
I don't think I added it but found code
Thank you, I will try to add it to your MOD.
Update!
3.0.7
+Added filesize support for remote links
Quote from: vbgamer45 on December 29, 2020, 10:58:38 AM
Update!
3.0.7
+Added filesize support for remote links
OMG --- AND IT WORKS VERY WELL !!!!! THANK YOU THANK YOU THANK YOUPLEASE BE MY FRIEND FOR THE LIFE !!I will just translate the Kb, Mb, Gb... in Ko, Mo, Go, because I'm french....
Fred
No problem! add it to the language strings! Maybe will do in next update i didn't realize those were different in latin based languages.
Quote from: vbgamer45 on December 29, 2020, 02:45:07 PM
No problem! add it to the language strings! Maybe will do in next update i didn't realize those were different in latin based languages.
Done ! I have thanked you with Paypal (fred****@gmail.com).
Thank you for support! Fred!
3.0.7a
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set
Quote from: vbgamer45 on January 02, 2021, 11:03:42 AM
3.0.7a
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set
Some changes have been made to my templates.
So, is there somewhere a full changelog file by file to modify files from 3.0.7 to 3.0.7a ?
Thank you
I just replaced in downloads.2php the function at the bottom for file filesize with this code
function Downloads_getRemoteFilesize($file_url)
{
$file_url = trim($file_url);
if (empty($file_url))
return 0;
if (ini_get('allow_url_fopen') == 1)
{
$head = array();
$head['content-length'] = 0;
try
{
$head = array_change_key_case(get_headers($file_url, 1));
}
catch (Exception $e)
{
}
$result = isset($head['content-length']) ? $head['content-length'] : 0;
if (is_array($result))
return 0;
return $result;
}
else
{
return 0;
}
}
Quote from: vbgamer45 on January 02, 2021, 11:36:34 AM
I just replaced in downloads.2php the function at the bottom for file filesize with this code
Thank you so much for you
very very very quick support :) !
Glad to help. One tip I do is use a software called Beyond Compare to find changes between files/folders makes it way easier.
SMF 2.0.17
mod version 3.07a
site - aurora2.pentarch.org
Users can make uploads, but they all show as 0kb. When I (as admin) create an upload, or modify a user's upload the file shows the right size. This seems to me to be a permissions issue, but I've scoured the perms and cannot find where it might be.
Any help in pointers as to where to look?
What type of upload is it? Is it a file or url? A url requires fopen for urls in php settings to be enabled
It is a file upload.
Hmm shouldn't do that. Not a permissions issue.
Okay. If you need it, I can create a user for you and PM you the details.
The only way I been able to recreate that issue is if someone put something random in the upload file url field.
I will double-check that is not going on.
Update
3.0.8
+Added check for upload url to be sure it is http:// or https://
!Minor code cleanup/fixes
According to the user that has been helping me, he only used the file field. Did not touch the URL field.
I tried an upload from a test account and it worked. So it might be something on his side.
Yeah, Maybe file too big.
I'd agree with that, except I can take the same file and upload it myself. And get a filesize and have everything working properly. Which is why I was thinking it was some permissions based issue.
I am testing with PHP version 7.4 and I am seeing some errors from this MOD.
They occur is someone tries to download a non-existing link as far as I can see.
SMF version 2.0.18 (beta testing)
Mod version: 3.0.7
PHP version: 7.4.11
Example URL:
https://www.my-forum.com/index.php?action=downloads;sa=downfile&id=447
These errors are logged when the forum is on PHP version 7.4:
https://www.fjr-club.nl/index.php?action=downloads;sa=downfile&id=447
8: md5_file(): read of 8192 bytes failed with errno=21 Is a directory
File: /home/xxx/domains/my-forum.com/public_html/Sources/Downloads2.php
Regel: 5136
https://www.fjr-club.nl/index.php?action=downloads;sa=downfile&id=447
8: Trying to access array offset on value of type null
File: /home/xxx/domains/my-forum.com/public_html/Sources/Downloads2.php
Regel: 5107
The download system then tries to download a file called index.php. This downloads to an empty file...
On PHP 7.3 the same happens, but it does not log any errors.
Any chance to fix this?
Does it happen to all downloads or just that one? Check that the downloads folder is wrirtable and files are there.
The first line for Regel: 5107
$filename = $modSettings['down_path'] . $row['filename'];
Shouldn't cause an error unless $modSettings['down_path'] is empty or $row['filename'] is empty
Check the database entry for file id 447
select * from smf_down_file where ID_FILE = 447
Also this download is a standard download not a remote linked? Remote linked code is processed before.
There is not file in the downloads with ID447 (not anymore).
It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...
ah gotcha will add a check
Quote from: @rjen on January 10, 2021, 01:49:50 PM
There is not file in the downloads with ID447 (not anymore).
It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...
Posted an update 3.0.8a which should help try it out!
Quote from: vbgamer45 on January 10, 2021, 08:52:10 PM
Quote from: @rjen on January 10, 2021, 01:49:50 PM
There is not file in the downloads with ID447 (not anymore).
It seems someone is visiting an old link to a file that has been removed. That's when the errors are logded.
The existing downloads work fine, no issues there...
Posted an update 3.0.8a which should help try it out!
Thanks, that has fixed the errors.
Glad that helped fix the issue!
Here is the next error: when acessing a non-existing category the same thing happens...
https://www.my-forum.com/index.php?action=downloads;cat=31
8: Trying to access array offset on value of type null
File: /home/deb77453/domains/my-forum.com/public_html/Sources/Downloads2.php
Line: 5020
5011: $dbresult = $smcFunc['db_query']('', "
5012: SELECT
5013: total
5014: FROM {db_prefix}down_cat
5015: WHERE ID_CAT = $ID_CAT");
5016: $row = $smcFunc['db_fetch_assoc']($dbresult);
5017: $smcFunc['db_free_result']($dbresult);
5018:
5019: if ($row['total'] != -1)
==>5020: return $row['total'];
5021: else
@rjen - did another update which added a check for categories that don't' exist.
That's fixed.
The error is not 100% accurate: "You need to select a category", maybe "Category does not exist" would be nicer, but this will do preventing the errors... thanks again...
Yeah, just a quick fix you shouldn't ever see that unless. You delete a category and it was indexed by a search engine.
Update!
3.0.9
!Remove create_function for PHP 7.4+ support
Hi,
error message appears when adding new files and comments
New download: Notice: Undefined index: show_bbc in /Themes/default/Downloads2.1.template.php on line 907
Comments: Notice: Undefined index: show_bbc in /Themes/default/Downloads2.1.template.php on line 1738
smf 2.1 rc3 php 5.6
On latest version?
yes i said the latest version (3.0.9) line number wrong
New download: line 901
if ($context['show_bbc'])
Comments: line 1732
if ($context['show_bbc'])
Also the category permissions section appears blank . There are 5 categories. there are 2 files in one category
3.0.9a
!Fixed $context['show_bbc'] error log for SMF 2.1.x
Also, did you setup custom category level permissions? If not it would be blank. You do that by clicking permissions link next to category
Thanks @vbgamer45
Hello,
There is a problem with keywords. Link is added when leaving a blank space
(https://i.ibb.co/khzWGhR/Untitled-2.png) (https://imgbb.com/)
(https://i.ibb.co/HVbQqdh/Untitled.gif) (https://ibb.co/0c63rts)
Just installed the Mod version 3.0.9a on 2.1 RC4 and I got some SQL errors.
As it turns out there are a number of queries in the Downloads2.php file where this statement is used:
c.view IS NULL || c.view =1
This is giving the errors below:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '|| c.view =1)) AND p.views > 0 GROUP by p.ID_FILE
ORDER BY p.views DESC LIM...' at line 5
To fix, update all statements to:
c.view IS NULL OR c.view =1
Ah, might be a MariaDB should change || to OR get confused between php/mysql sometimes it seems!!
I'd be curious if you have PIPES_AS_CONCAT set in your sql_mode for MariaDB... If so, || is a string operator, not a logical OR...
If this is the case, this isn't unique to MariaDB, as any MySQL engine can have that flag set...
Update!
3.0.10
!Removed || changed to OR in SQL statements for MariaDB
When previous and next links are visited and the Id does not exist anymore I am getting some nasty errors in the logs...
Getting these errors:
https://xxx.xx/index.php?action=downloads;sa=next&id=3270
8: Trying to access array offset on value of type null
File: /home/deb77453/domains/xxx.xx/public_html/test/Sources/Downloads2.php
Line: 4574
https://xx.xx/index.php?action=downloads;sa=next&id=3270
Databasefout: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND approved = 1 AND ID_FILE > 3270
ORDER BY ID_FILE ASC LIMIT 1' at line 4
File: /home/deb77453/domains/xx.xx/public_html/test/Sources/Downloads2.php
Line: 4583
Cause seems to be that a non-existing id is called (most likely by a search engine revisiting an old link)
The functions PrevDownload and NextDownload do not like this...
I fixed it by inserting below fix in both functions in Downloads2.php file..
function Downloads_NextDownload()
{
global $txt, $smcFunc;
$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);
// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id LIMIT 1");
$row = $smcFunc['db_fetch_assoc']($dbresult);
// Fix AW
if (empty($row['ID_CAT']))
fatal_error($txt['downloads_error_no_file_selected'], false);
$ID_CAT = $row['ID_CAT'];
$smcFunc['db_free_result']($dbresult);
// Get next download
Any chance to fix this in the core package?
Fixed posted update
3.0.11
!Fixed bug previous/next links logging errors for downloads that were removed.
That's not quite it I am afraid: still getting these now...
https://xxx.XX.nl/index.php?action=downloads;sa=prev&amp;id=3270
8: Trying to access array offset on value of type null
Bestand: /home/deb77453/domains/xxx.xx.nl/public_html/Sources/Downloads2.php
Regel: 4536
I think this is what is needed...
function Downloads_PreviousDownload()
{
global $txt, $smcFunc;
$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);
// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);
$smcFunc['db_free_result']($dbresult);
// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id ORDER BY ID_FILE DESC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);
redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}
function Downloads_NextDownload()
{
global $txt, $smcFunc;
$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);
// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);
$smcFunc['db_free_result']($dbresult);
// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id
ORDER BY ID_FILE ASC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);
redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}
I think i i needed to move the statement up one spot attached
Yeah, that's what I proposed originally. To be honest, the code I posted after that is more elegant: that works flawless, so I would suggest the second code snippet above the first...
Quote from: @rjen on July 22, 2021, 03:16:05 AM
function Downloads_PreviousDownload()
{
global $txt, $smcFunc;
$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);
// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);
$smcFunc['db_free_result']($dbresult);
// Get previous download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE < $id ORDER BY ID_FILE DESC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);
redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}
function Downloads_NextDownload()
{
global $txt, $smcFunc;
$id = (int) $_REQUEST['id'];
if (empty($id))
fatal_error($txt['downloads_error_no_file_selected']);
// Get the category
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE, ID_CAT
FROM {db_prefix}down_file
WHERE ID_FILE = $id LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_CAT = $row['ID_CAT'];
}
else
fatal_error($txt['downloads_error_no_file_selected'],false);
$smcFunc['db_free_result']($dbresult);
// Get next download
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_FILE
FROM {db_prefix}down_file
WHERE ID_CAT = $ID_CAT AND approved = 1 AND ID_FILE > $id
ORDER BY ID_FILE ASC LIMIT 1");
if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbresult);
$ID_FILE = $row['ID_FILE'];
}
else
$ID_FILE = $id;
$smcFunc['db_free_result']($dbresult);
redirectexit('action=downloads;sa=view;down=' . $ID_FILE);
}
Will you include this fix in the mod?
I just included the fix where it moved it up.
That will do as well.
So it is already in the latest package?
Yes it is.
Hey.... This bit needs a closing tag; in Downloads2.1.template.php line 232 or so.
// Show return to downloads link and Show add download if they can
echo '
<div class="tborder">
<div class="roundframe centertext">';
if ($g_manage)
echo '<a href="', $scripturl, '?action=downloads;sa=addcat;cat=', $cat, '">', $txt['downloads_text_addsubcat'], '</a> ';
if ($g_add)
echo '<a href="', $scripturl, '?action=downloads;sa=add;cat=', $cat, '">', $txt['downloads_text_adddownload'], '</a> ';
echo '
<a href="', $scripturl, '?action=downloads">', $txt['downloads_text_returndownload'], '</a
</div>
This:
<a href="', $scripturl, '?action=downloads">', $txt['downloads_text_returndownload'], '</a
It broke the layout in my template. I thought something i had done;possibly but I checked the current download and yes, it's missing the closing tag.
Thanks for the report fixed
3.0.12
!Fixed some unclosed html tags
I am about to merge two forums. Both use this mod, and both have hundreds of downloads.
Is there any way to merge the two sets of downloads?
The filenames should be unique enough in 99% of the time so those should be safe to copy from the source to the target forum. This is for the lite version.
I would check the max id_file on the target forum. Lets says it is 200. For the source I would increment ID_FILE, ID_CAT, id_comment,_id_parent in the tables by 1000 as well. check the max id's on each
I choose 1000 since you can easily see old/new data.
Backup first.
Then here is a quick example that may work Run on source site. Make sure it works.
UPDATE smf_down_file SET id_file = id_file + 1000, id_cat = id_cat + 1000;
UPDATE smf_comment SET ID_comment = id_comment + 1000, id_file = id_file + 1000;
UPDATE smf_down_cat SET id_cat = id_cat + 1000, id_parent = id_parent + 1000;
Then you should be able to export those inserts for those tables and copy them to the new main site. If on same server INSERT INTO databasemain.smf_down_file SELECT * FROM databasesource.smf_down_file;
Those are the main tables if you copying rating, custom fields I would do something similar. Ratings, I would increase id_file by 1000 and then insert id_file,id_member_comment,date into the main target database so a new rating id will be created.
Only issue remaining would be memberids if they change from going one forum to another.
Hopefully that helps. I was actually doing some downloads pro coding this weekend have it setup with amazon s3 for 2.0,2.1 and was not that hard, will be doing that to some of my other mods.
We have an engine that does exactly that in mergeSMF.php... Hmmm...
Yeah i was sort of thinking something similar for my mods. Have a way to autoincrement fields if known they are keys I guess maybe indexed integers too? (but could be false positives) maybe have to hard a code a list not ideal.
Which files/folders get copied over?
I have download files in multiple folders, as well as a # of oddly named folders...
I would just copy the entire downloads folder. Backup first but that should be ok
Holy smokes that worked!
Just a few tweaks to mergeSMF.php to add the downloads tables, then copied the actual files over. 8)
I just focused on down_cat, down_comment, down_file & down_rating.
Love that! Glad that worked! Got to keep that in mind for any future requests.
I just downloaded the file DownloadSystem3.0.12.zip
Uploaded to package manager and there it shows as Download System 3.0.11a
What gives?
Wrong package manager display issue will fix for next update. Does not impact the download system.
vb,
I see one can see the total downloads for each item. But how can I show the total downloads overall?
You see, I would like to display the total downloads of all my themes outside the downloads page on a custom page.. Something like "18m downloads"
Requires SQL query to get the data such as
// Get total downloads
$result = $smcFunc['db_query']('', "
SELECT
SUM(totaldownloads) AS totaldownloads
FROM {db_prefix}down_file");
$row = $smcFunc['db_fetch_assoc']($result);
$smcFunc['db_free_result']($result);
echo $row['totaldownloads'];
Yup. I figured that. When it comes down to SQL, I lack that knowledge lol. Ty. ;)
I have this mod installed on 2.0.19.
I see its noted as compatible with 2.1RC4
With the release now of 2.1.0 is it compatible for use with no further changes necessary?
Yes it works for 2.1
You are aware that the version that is in the download page as version 3.0.12 is actually in the package manager showing as 3.0.11a?
Was not. Has been fixed thanks!
Update
3.0.13
!Fixed group by not having all the columns in some cases
Update
3.0.14
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck
Sorting items in category by filesize doesn't work. Sorting in other columns is OK.
Added dutch, french, german, spanish translations from AI.