urls for non/free users

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
Hi. I wanna make urls for download for non/free users
f.e
<!-- was -->
<a href= "file_direct_url">Download!</a>

<!-- must be -->
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)">Download!</a>

may u help me?
 

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)">Download!</a>
this link is advertasement.
I showed it in picture.

when non/free users click "continue" button for download file my link must be
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)">Continue</a>
 

Attachments

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
That button is located in the file: fileDownloadCaptcha.inc.php

Code:
<input name="submit" type="submit" value="<?php echo t('continue', 'continue'); ?>" class="submitInput"/>
 

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
And how I may include
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)">Download!</a> like this link?
 

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
Or create a link and use the onclick="form.submit();". please may u give for this way an example?
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Code:
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)" onclick="form.submit();">Download!</a>
 

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
oh*( sorry.... I did'nt understand.
<div style="font-size: 12px; text-align:left; padding-top: 14px;">
<input name="submit" type="submit" value="<?php echo t('continue', 'continue'); ?>" class="submitInput"/>
<input type="hidden" name="submitted" value="1"/>
<input type="hidden" name="d" value="1"/>
</div>
this part of code

<input name="submit" type="submit" value="<?php echo t('continue', 'continue'); ?>" class="submitInput"/> i think that this code for download. so how I can include
install_name="(file_name)" install_type="setup" install_size="(file_zise)"
this part of my ad?
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Code:
<div style="font-size: 12px; text-align:left; padding-top: 14px;">
<a href= "file_direct_url" install_name="(file_name)" install_type="setup" install_size="(file_zise)" onclick="form.submit();">Download!</a>
<input type="hidden" name="submitted" value="1"/>
<input type="hidden" name="d" value="1"/>
</div>
 

s2ktatarin2986

New Member
YetiShare User
Sep 12, 2013
6
0
0
oh.... <a href= "file_direct_url" file direct url is direct url to download uploaded file. and how will be link for direct downloading?