http://adf [dot] ly/2729340/http://yoursite.com/files/get/a963e71e9d2d4355e3ac4104aee40cae/yourfilename.zip
http://adf [dot] ly/EVMf0
In which template should i paste that script ???
Edit:
Finally edit & insert the script successfully but links generated after clicking on download button is looks like this
But i want it to convertCode:http://adf [dot] ly/2729340/http://yoursite.com/files/get/a963e71e9d2d4355e3ac4104aee40cae/yourfilename.zip
Code:http://adf [dot] ly/EVMf0
<if test="canDownload:|:($file['file_cost'] or $file['file_nexus']) OR $purchased == 'ACTIVE' OR $this->memberData['idm_bypass_paid'] OR $this->memberData['member_id'] == $file['file_submitter']"> <if test="dynUrls:|:$this->settings['idm_dynamic_urls']"> <a href='{parse url="app=downloads&module=display&section=download&do=confirm_download&hash={$hash}" base="public" template="idmdd" seotitle="{$file['file_name_furl']}"}' class='download_button rounded right'> <else /> <a href='{parse url="app=downloads&module=display&section=download&do=confirm_download&id={$file['file_id']}" base="public" template="idmdownload" seotitle="{$file['file_name_furl']}"}' class='download_button rounded right'> </if> {$this->lang->words['dpage_button_short']} </a> </if>
<php> $adfAPI = "http://api.adf*****api.php?key=79dc75a7f3261bc49a7fd1727344ea7c&uid=1768354&advert_type=int&domain=adf.ly&url="; $url_hash = $this->registry->getClass('output')->buildSEOUrl( "app=downloads&module=display&section=download&do=confirm_download&hash=".$hash, 'public', $file['file_name_furl'], 'idmdd' ); $url_hash = file_get_contents($adfAPI . $url_hash);$url_id = $this->registry->getClass('output')->buildSEOUrl( "app=downloads&module=display&section=download&do=confirm_download&id={$file['file_id']}", 'public', $file['file_name_furl'], 'idmdownload' ); $url_id = file_get_contents($adfAPI . $url_id); </php> <if test="canDownload:|:($file['file_cost'] or $file['file_nexus']) OR $purchased == 'ACTIVE' OR $this->memberData['idm_bypass_paid'] OR $this->memberData['member_id'] == $file['file_submitter']"> <if test="dynUrls:|:$this->settings['idm_dynamic_urls']"> <a href='{$url_hash}' target=_blank class='download_button rounded right'> <else /> <a href='{$url_id}' target=_blank class='download_button rounded right'> </if> {$this->lang->words['dpage_button_short']} </a> </if>
I want IP download system to generate an automatic adfly link means when members click on download button they will redirect to adf.l![]()
![]()
![]()
![]()
![]()
![]()