ElkarteMods

Free Elkarte Modifications and Elkarte Addons => Free Elkarte Addons and Modifications => Topic started by: ElkarteMods on January 25, 2017, 10:35:11 pm

Title: Download System Lite
Post by: ElkarteMods on January 25, 2017, 10:35:11 pm
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
Title: Re: Download System Lite
Post by: ElkarteMods on February 21, 2017, 04:15:43 pm
Minor bug fix
3.0.1
!Fixed next and previous links in the download system.
Title: Re: Download System Lite
Post by: ElkarteMods on May 25, 2017, 11:43:19 am
3.0.2
!Fixed issue with PHP 7 not like the action index casted to string to fix.
Title: Re: Download System Lite
Post by: ElkarteMods on October 25, 2017, 10:39:54 pm
Updated for Elkarte 1.1.x
Title: Re: Download System Lite
Post by: tacticool on October 26, 2017, 04:12:56 am
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
Title: Re: Download System Lite
Post by: ElkarteMods on October 26, 2017, 07:52:14 am
Are you using the latest file posted above?
Title: Re: Download System Lite
Post by: tacticool on October 26, 2017, 08:26:27 am
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.
Title: Re: Download System Lite
Post by: ElkarteMods on October 26, 2017, 08:28:09 am
What errors are you getting in the logs? I am currently running the gallery and download system on this site.
Title: Re: Download System Lite
Post by: tacticool on October 26, 2017, 08:37:49 am
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
Title: Re: Download System Lite
Post by: AlexanderLiebrecht on October 27, 2017, 12:09:30 pm
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.
Title: Re: Download System Lite
Post by: ElkarteMods on October 27, 2017, 12:12:02 pm
Very odd might a linux issue going try playing around with some file names and controller names and see if it makes a difference.
Title: Re: Download System Lite
Post by: AlexanderLiebrecht on October 27, 2017, 12:37:22 pm
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.
Title: Re: Download System Lite
Post by: ElkarteMods on October 27, 2017, 05:02:45 pm
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?
Title: Re: Download System Lite
Post by: tacticool on October 28, 2017, 06:29:13 am
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
Title: Re: Download System Lite
Post by: ElkarteMods on January 18, 2021, 06:44:59 pm
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
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 11:28:39 am
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
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 11:29:26 am
You should be able to see in first post of this topic? https://www.elkartemods.com/index.php?topic=8.0
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 11:32:29 am
Sorry for that : i try this version.
No install with the package manager ?
Thank you Philippe
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 11:33:33 am
It should. You need to uninstall old version, delete the packaage then install the new version
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 11:42:39 am
I did like you say but it is still 3.0.3.
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 12:02:26 pm
Ignore that is mistake on my part.
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 12:04:36 pm
ok, but it doesn't work : when i click on Downloads button i'm on the index page of the forum.
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 12:22:29 pm
Going to need to look into that. I think solved that issue with Gallery plugin.
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 12:29:57 pm
Ok, tell me when it will be on and i will test.
Is there a simple wya to translate the mod ?
Title: Re: Download System Lite
Post by: augras on January 19, 2021, 01:39:56 pm
I found the 2 files and i'm working to translate to french.
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 01:54:10 pm
When you done with the translation send to me as well will add to the mod package.
Title: Re: Download System Lite
Post by: ElkarteMods on January 19, 2021, 07:19:46 pm
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!
Title: Re: Download System Lite
Post by: augras on January 20, 2021, 02:56:32 am
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
Title: Re: Download System Lite
Post by: augras on January 20, 2021, 05:47:19 am
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
Title: Re: Download System Lite
Post by: augras on January 20, 2021, 07:22:51 am
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.
Title: Re: Download System Lite
Post by: augras on January 20, 2021, 07:31:55 am
Me again.
In Category pemission i can't delete permissions for a group. I get "Call to undefined method Downloads_Controller::Downloads_CatPermDelete()".
Philippe
Title: Re: Download System Lite
Post by: ElkarteMods on January 20, 2021, 09:22:40 am
Thanks for the report!

3.0.4a
!Fixed broken category permission delete link
Title: Re: Download System Lite
Post by: augras on January 20, 2021, 11:40:00 am
It works fine : thank you !
Title: Re: Download System Lite
Post by: ElkarteMods on January 20, 2021, 05:37:06 pm
Awesome great!
Title: Re: Download System Lite
Post by: augras on January 23, 2021, 06:42:10 am
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 !
Title: Re: Download System Lite
Post by: ElkarteMods on January 24, 2021, 08:21:07 am
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
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 08:23:57 am
I test the zip on a new forum and tell you.
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 08:31:10 am
It is still in english.
The french file is not in the files list.
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 08:37:09 am
I wonder if I have to install the french language package first
but here it is
you must have the french langpack and choose the french
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 08:44:45 am
The file must be in ./themes/default/languages/french/ : it works if i put it in this place.
Title: Re: Download System Lite
Post by: ElkarteMods on January 24, 2021, 08:46:27 am
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" />
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 08:52:17 am
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
Title: Re: Download System Lite
Post by: ElkarteMods on January 24, 2021, 09:07:48 am
Added fixes to first post!

3.0.5
!Fix for PHP 7.4
+Added French translation thanks to augras
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 09:16:18 am
3.0.5 just installed with the Package manager and everything works fine.
Thanks a lot
philippe
Title: Re: Download System Lite
Post by: ElkarteMods on January 24, 2021, 09:24:18 am
glad to help!
Title: Re: Download System Lite
Post by: augras on January 24, 2021, 09:27:00 am


I wonder if I have to install the french language package first
but here it is
Are you sure ? I'm in english here.
Title: Re: Download System Lite
Post by: ElkarteMods on January 29, 2021, 09:34:29 pm
Update!
3.0.6
!Remove create_function for PHP 7.4+ support
Title: Re: Download System Lite
Post by: augras on January 30, 2021, 04:44:36 am
Thank you.
No errors at this time.
Title: Re: Download System Lite
Post by: augras on February 28, 2021, 03:21:33 am
Hi,
a new french file : there were some mistakes.
Simple Audio Video Embedder