XFileSharing Pro - How to make a Direct Link Button?
How to make a Direct Link Button?
How do I make the "Create Download Link" a direct download link ? Well just a way so that the download link does not have to be created.
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
Code: Select all
<span style="background:#f9f9f9;border:1px dotted #bbb;padding:7px;">
<a href="<TMPL_VAR direct_link>"><TMPL_VAR direct_link></a>
</span>
it seems that the script is a little bit more complicated to make direct links then just the above code
it seems a bit of rewriting need to be done to get it directly to work
as when you press that button then it starts checking a few things before it continue to the download page
or it sends you directly the file , or it sends you the generated link (download2)
anyway , if you feel that you are skilled enouf then you can give it a try in index_dl.pm
Greetings From PowerChaos