Elxis CMS Forum

Extensions => Components => Topic started by: mazzeltof on July 12, 2011, 18:41:49

Title: IOS Downloads
Post by: mazzeltof on July 12, 2011, 18:41:49
is it posible to use IOS Downloads with external file's , form site's like dropbox

T.I.A.
Title: Re: IOS Downloads
Post by: rentasite on July 13, 2011, 02:36:54

NOPE! It's totally different
Title: Re: IOS Downloads
Post by: datahell on July 13, 2011, 19:35:27
Yes, you can...  ;D
Title: Re: IOS Downloads
Post by: rentasite on July 13, 2011, 19:42:04

 :o :o !!!! HOW? !!!!!  ::)
Title: Re: IOS Downloads
Post by: datahell on July 13, 2011, 20:04:55
You can do it in 2 ways, both ways requires small modification of the component. The second way is much better as it allows you to track the downloads even on external sites and the final download link is invisible to the end user (recommended).

1st method
Use one of the extra fields as download link (visit link, buy link, etc). Rename that field in html to "download" and you are done.

2nd method
Add a new input field in IOS Downloads administration to accept URLs as download links. On front-end and in downloads page (download.html?id=xxxx) if this field is not empty and it is a valid url, mark the download in database and then redirect the user to the external url.
Title: Re: IOS Downloads
Post by: rentasite on July 13, 2011, 20:07:09

Ooops! i though the question was... to use IOSD as Dropbox  ::) ;D
Title: Re: IOS Downloads
Post by: datahell on July 13, 2011, 20:12:21
I don't know what dropbox is (if it is a kind of social network, sorry I am not a fun of such services) but what I know is that it doesn't matter where the file resides at. IOS Downloads, the way I described in method 2, will provide you the file regardless where it is. And if the file provider does not allow direct links it will redirect you to the download page (it is the same). So the file can be in a other server, in google docs, in a torrent site, in rapidshare, in a public ftp, in cnet, anywhere!
Title: Re: IOS Downloads
Post by: rentasite on July 13, 2011, 20:43:12
I don't know what dropbox is (if it is a kind of social network, sorry I am not a fun of such services)

it's a file synchronization/backup service. It's a free service that lets you bring your photos, docs, and videos anywhere and share them easily.

The most basic use of dropbox would have you install the Dropbox client on 2 computers and the contents of your Dropbox folder would synchronize automatically between them.

so.. that's why i said NO!

Title: Re: IOS Downloads
Post by: datahell on July 13, 2011, 23:08:44
If the file is accessible from the web you can use IOS Downloads, if not then you can not use any web application. We are not talking for desktop applications here.
Title: Re: IOS Downloads
Post by: rentasite on July 14, 2011, 02:19:22

The basic problem, in my thought, is how to give access to different users.. to upload files.
Title: Re: IOS Downloads
Post by: mazzeltof on August 08, 2011, 16:33:42
Thanks all for your replies and sorry fore my late reaction (holiday).
it is ( in my case ) not the meaning that people upload stuff, butt download it.

I very much like the idea off Datahell.
Quote
2nd method
Add a new input field in IOS Downloads administration to accept URLs as download links. On front-end and in downloads page (download.html?id=xxxx) if this field is not empty and it is a valid url, mark the download in database and then redirect the user to the external url.

But is there or can one give me any pointers on how to do this

T.I.A
Title: Re: IOS Downloads
Post by: datahell on August 08, 2011, 23:25:30
I can't do this from here...
Title: 2nd method Add a new input field in IOS Downloads administration to accept URLs
Post by: sawaedy on December 08, 2011, 15:52:40
hi please can explain more , i want to use link replace the file in ios downloads
Title: Re: IOS Downloads
Post by: sawaedy on December 08, 2011, 15:54:23
explaiin:2nd method
Add a new input field in IOS Downloads administration to accept URLs as download links. On front-end and in downloads page (download.html?id=xxxx) if this field is not empty and it is a valid url, mark the download in database and then redirect the user to the external url.
please
Title: Re: IOS Downloads
Post by: webgift on December 08, 2011, 16:02:47
Use the 1st method in case that you can't do the 2nd one.
Title: Re: IOS Downloads
Post by: sawaedy on December 08, 2011, 16:29:19
i dont starting from were? and edit were file?
Title: Re: IOS Downloads
Post by: webgift on December 08, 2011, 17:11:08
Language Files for component IOS Downloads are placed at folder :
administrator/components/com_downloads/language
You can edit for example the english.php file.
Line : 40
Change :    public $DEMO = 'Demo'; to    public $DEMO = 'desired_title_external_url';

- Save the file using UTF-8 without BOM encoding type.
Title: Re: IOS Downloads
Post by: sawaedy on December 08, 2011, 17:20:26
thanks from you
but what can add link for downloads?
Title: Re: IOS Downloads
Post by: sawaedy on December 08, 2011, 17:36:23
very thanks from you
Title: Re: IOS Downloads
Post by: mazzeltof on August 02, 2012, 15:00:43
Finally I had some time to do this

First dropbox is a file sync software, that sync yours local files in a " cloud " type off webdir.
I use this to sync my software.

Because the software is in a " cloud " i want people to be able to download this software and keep track off num downloads, and limit this to registered  users.

I have made change's to com_download in order to do this.
since i am the only one how can put downloads on my site, i only needed to adapt the form in the backend.
and change the front end working's.

file's changed are


For those how want to use or check this for faults
have attached the changed installer file's

let me know what you think ( i'm not a php programmer)

Greetings
Title: Re: IOS Downloads
Post by: webgift on August 02, 2012, 16:01:28
Great job mazzeltof, thanks for sharing this information to public.
Title: Re: IOS Downloads
Post by: nikos on August 03, 2012, 00:18:56
OK, but on which site you have done this customization? Both of sites i saw, mentioned at your signature, are not Elxis.
Title: Re: IOS Downloads
Post by: mazzeltof on August 03, 2012, 09:09:40
due to the setup off my sites (the space mb)
i had to go with joomla, the down loader off joomla did the extrenal files.
Boy did i regret this, now i'm coming back to Elxis  :) :D ;D because it is still the best there is.

So if You want to see it in action you will have to wait till my sites are back to elxis, or you can give it a go on your own sites.

if you do the last please note that it is the one or the other ( local, or external ) not both and only in the backend you can give in external files.

Greetings
Title: Re: IOS Downloads
Post by: wbread on September 11, 2012, 22:10:43
change the russian language for the component on http://www.elxis-downloads.com/
Title: Re: IOS Downloads
Post by: wbread on September 20, 2013, 15:04:03
had an idea how to modify the component, is it possible to do?
Add a new field to reference the mirror. The main link to the file will be available to registered users only and mirror everything. And according to the settings to set the file permissions via direct links.

I understand that this is an old version but not everyone can go to the new version. ;D