Elxis CMS Forum
Extensions => Components => Topic started 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.
-
NOPE! It's totally different
-
Yes, you can... ;D
-
:o :o !!!! HOW? !!!!! ::)
-
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.
-
Ooops! i though the question was... to use IOSD as Dropbox ::) ;D
-
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!
-
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!
-
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.
-
The basic problem, in my thought, is how to give access to different users.. to upload files.
-
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.
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
-
I can't do this from here...
-
hi please can explain more , i want to use link replace the file in ios downloads
-
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
-
Use the 1st method in case that you can't do the 2nd one.
-
i dont starting from were? and edit were file?
-
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.
-
thanks from you
but what can add link for downloads?
-
very thanks from you
-
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
- admin.downloads.html.php
- admin.downloads.php
- downloads.html.php
- downloads.php
- downloads.class.php
- english.php
- dlschema.xml
- dlschema03.xml
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
-
Great job mazzeltof, thanks for sharing this information to public.
-
OK, but on which site you have done this customization? Both of sites i saw, mentioned at your signature, are not Elxis.
-
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
-
change the russian language for the component on http://www.elxis-downloads.com/
-
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