XFileSharing Pro - How do create a separate button for direct download and one

Message
Author
caremperador
Posts: 2
Joined: Jul 16, 2012 2:36 am

How do create a separate button for direct download and one

#1 Postby caremperador » Jul 16, 2012 2:45 am

How do create a separate button for direct download and one for slow download?


<TMPL_IF direct_links>
<input type="hidden" name="down_direct" value="1">
<input type="submit" id="btn_download" value="<TMPL_VAR lang_create_link>" class="premium">

<TMPL_ELSE>

<input type="hidden" name="down_script" value="1">

<input type="submit" id="btn_download" value="<TMPL_VAR lang_download_file>" class="slow">


</TMPL_IF>

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#2 Postby randy » Jul 16, 2012 12:08 pm

do you understand the difference between direct links active and not active??

if direct links are active your server will generate the link without using index_dl.cgi

if you don't choose direct links your server will generate a link using index_dl.cgi causing high loads if a lot of users downloading files.

please be more specific what you want to do?

I don't think it's possible what you mean. you can activate direct links or non-direct links. slow and fast download will not be possible I think.


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests