XFileSharing Pro - How to make a Direct Link Button?

Posts: 3
Joined: Sep 11, 2011 6:02 pm

How to make a Direct Link Button?

#1 Postby tr3flow » Sep 11, 2011 9:03 pm

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

#2 Postby PowerChaos » Sep 11, 2011 10:45 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>

this is taken from download2.html

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

Return to “XFileSharing Pro”