Page 1 of 1

Email addresses and Spambots

Posted: 21 May 2016, 17:08
by AchLive
Hi, congratulations for the Phoca PDF component.
I have a problem in the pdf content printing.
If there is an email address in the text this address is replaced by "This email address is being protected from spambots. You need JavaScript enabled to view it "
In the article view the email address is visible perfectly.
How can I avoid this problem?
I wish also in PDF Printing you see the email address.
It resolves if I deactivate the plugin "Content - Email Cloaking" but I do not want to deactivate this plugin because in the article view works well.
Thanks for the support

Re: Email addresses and Spambots

Posted: 21 May 2016, 17:12
by Jan
Hi, in Phoca PDF options, try to disable running plugins in creating of PDF - this should disable this plugin when creating the PDF :idea:

Jan

Re: Email addresses and Spambots

Posted: 21 May 2016, 17:33
by AchLive
Thanks for the answer, but I can not turn off this option because I need to recover data in text from another component.
I would just disable the plugin the spambot if you can
Thanks for the support

Re: Email addresses and Spambots

Posted: 22 May 2016, 13:35
by Jan
Ok

Re: Email addresses and Spambots

Posted: 23 May 2016, 09:37
by AchLive
Is there a way to disable the plugin spambots Email Cloaking only for printing PDF?
Maybe changing something in the code.
Let me know if I can modify the code in any way.
Thanks for the support

Re: Email addresses and Spambots

Posted: 24 May 2016, 09:27
by AchLive
Do you know how can I do?
I would need to change the code.
Thanks for the support

Re: Email addresses and Spambots

Posted: 29 May 2016, 18:57
by Jan
Hi, in Options of Phoca PDF plugin, you can disable the displaying of plugins. So the only idea is to modify the code and change this option to disable only some of the plugins.

But for now I didn't do such customization, so I cannot give any specific advice there :idea:

You can see the if condition for rendering plugins in :
plugins\phocapdf\content\content.php
cca line 143

Jan