FB Button does not shown - Download link is protected

I'm using Phoca Download Manager 3.0.3 to handle the file download! Button to download is shown and protected (Fine!) but FB button is not shown, so guest would not be able to give us the like and download after that... Any help??

Thank you!!
10 years 11 months ago #1 by Iván Biolley

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5263) Offline
Hi Bioley,
I have checked your website and found you have entered incorrect tag.
You have entered this code before :
{paysoc}83||like|https://xxxx|es_ES{/paysoc}

where it should be like this
{paysoc}83|like|||https://xxxx|es_ES{/paysoc}

Please refer to the documentation about how to add the pws code
10 years 11 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thank you so much!

And there is a way to download the file in the same window?? I mean after guest give us the like, the dowload button is unlock but when click on it, it opens a new blank window, revealing the whole URL string and it gives access to all other available downloads...

So is there a way just to click on download button and get the file _self or something like that... Not in new window...

Thank you so much!!!

Ivan
10 years 11 months ago #3 by Iván Biolley

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5263) Offline
Hi, you have to edit the file [root]/plugins/content/paywithsocial/paywithsocial.php
Arround line 316 find this code :
$code_dwnldbtn .= "<a class=\"btnpws article". $article->id ."\" href=\"javascript:void(0);\" target=\"_blank\">";

change that to :
$code_dwnldbtn .= "<a class=\"btnpws article". $article->id ."\" href=\"javascript:void(0);\">";
10 years 11 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum