Download System Lite
By: vbgamer45
Addon Information:
For Elkarte 1.1.x and 1.0.x
A complete download system for Elkarte.
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
Minor bug fix
3.0.1
!Fixed next and previous links in the download system.
3.0.2
!Fixed issue with PHP 7 not like the action index casted to string to fix.
Updated for Elkarte 1.1.x
Can't add categories or even view the downloads page. Takes me straight to the index of forum
Type of error: Undefined
Notice: Undefined variable: scripturl
In: /themes/default/languages/english/Downloads.english.php
Line: 530
Are you using the latest file posted above?
Yes sir, I do. I uninstalled and reinstalled again after downloading the files again. Still can't seem to get to the page for downloads or gallery and I have 189 errors for it in my error log. I guess there could be something wrong with my elk arte install.
What errors are you getting in the logs? I am currently running the gallery and download system on this site.
Type of error: Undefined
Notice: Undefined variable: scripturl
In: /themes/default/languages/english/Downloads.english.php
Line: 530
I'm wondering if my installation of elk arte is corrupted or something
Hi @Admin,
I had the same problems today after installing. The downloads page leads me to the forum index and not to the downloads.
The same applies to the ezGallery addon. Perhaps it will look on you. Thanks in advance. Otherwise I would like to install your plugins.
I work with ElkArte 1.1 Final, PHP 7.1 and MySQL 5.7.
Very odd might a linux issue going try playing around with some file names and controller names and see if it makes a difference.
Has ElkArte SEF URLs, because I can find it in the ACP nowhere. The downloads should be in the browser under /downloads, but for me it is domain.tld/index.php?action=downloads
Perhaps the mistake.
Is there a setting for that in ACP? Or just enabled by default?
I haven't seen a setting for that anywhere in my admin area. I know that it goes to the same page if I use /downloads or /gallery it will go to index.php?action=downloads or index.php?action=gallery but there is no gallery or downloads page there.... just the forum index
Weird that it doesn't do it on this site but it does it for me and AlexanderLiebrecht
3.0.4
+Added check for upload url to be sure it is http:// or https://
!Permission fixes stats page and search results when using category level permissions
!Fixes for remote filesize function more checks added. Requires allow_url_fopen to be set
Hi,
I just installed this plugin from my elkarte 1.1.6 but it is still 3.0 with the bugs : where can i find the update ?
Thank you,
Philippe
You should be able to see in first post of this topic? https://www.elkartemods.com/index.php?topic=8.0
Sorry for that : i try this version.
No install with the package manager ?
Thank you Philippe
It should. You need to uninstall old version, delete the packaage then install the new version
I did like you say but it is still 3.0.3.
Ignore that is mistake on my part.
ok, but it doesn't work : when i click on Downloads button i'm on the index page of the forum.
Going to need to look into that. I think solved that issue with Gallery plugin.
Ok, tell me when it will be on and i will test.
Is there a simple wya to translate the mod ?
I found the 2 files and i'm working to translate to french.
When you done with the translation send to me as well will add to the mod package.
Fixed the downloads bug with downloads action on linux servers. Been bugging me for a while. It was strange it worked on windows server.
Posted the update!
Hi,
thank you : i will test tonight.
And of course i will send you the file for the french translation : but it will take some time, the file is very long with a lot of things to translate. I need the translation so you will get it when i will finish.
Good day,
philippe
It's better but i get "You need to create a category first before you upload a download." when i want to add a download, and i don't find where or how to create a category.
Philippe
My eyes are now open and i found the Download Admin Panel at the bottom of the page, with the link Add category : everything is ok.
Thank you.
And don't worry about the translation, it will come soon.
Me again.
In Category pemission i can't delete permissions for a group. I get "Call to undefined method Downloads_Controller::Downloads_CatPermDelete()".
Philippe
Thanks for the report!
3.0.4a
!Fixed broken category permission delete link
It works fine : thank you !
Awesome great!
Hi,
The file for the french translation : maybe it's not perfect but it's better than english or russian... for a french people !
I didn't find to translate :
- in Settings : Has the Downloads System helped you? Then support the developers:
- in Download Permission : Administrator, Global Moderator, Moderator
- in the footer : Powered by: Download System by CreateAForum.com
And i think there is an error in Edit download :
it must be "Html link" and not "Show Html link code".
Thank you for this Mod !
I added the French translation but not sure how to test if it works? I wonder if I have to install the french language package first
but here it is
I test the zip on a new forum and tell you.
It is still in english.
The french file is not in the files list.
you must have the french langpack and choose the french
The file must be in ./themes/default/languages/french/ : it works if i put it in this place.
Good to know! On my board since english I don't have french folder but i put in the code
<require-file name="Downloads.french.php" destination="LANGUAGEDIR/french" />
I get an error !
Unknown Error: implode(): Passing glue string after array is deprecated. Swap the parameters
https://xxxxxxxxxforum/index.php?action=downloads
Fichier: /xxxxxxxxxxxxxxforum/sources/subs/downloads.subs.php
Ligne: 864
Added fixes to first post!
3.0.5
!Fix for PHP 7.4
+Added French translation thanks to augras
3.0.5 just installed with the Package manager and everything works fine.
Thanks a lot
philippe
glad to help!
Are you sure ? I'm in english here.
Update!
3.0.6
!Remove create_function for PHP 7.4+ support
Thank you.
No errors at this time.
Hi,
a new french file : there were some mistakes.