Email addresses and Spambots

Phoca PDF - creating PDF documents in Joomla! CMS
AchLive
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 May 2016, 16:59

Email addresses and Spambots

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Email addresses and Spambots

Post 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
If you find Phoca extensions useful, please support the project
AchLive
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 May 2016, 16:59

Re: Email addresses and Spambots

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Email addresses and Spambots

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
AchLive
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 May 2016, 16:59

Re: Email addresses and Spambots

Post 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
AchLive
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 May 2016, 16:59

Re: Email addresses and Spambots

Post by AchLive »

Do you know how can I do?
I would need to change the code.
Thanks for the support
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Email addresses and Spambots

Post 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
If you find Phoca extensions useful, please support the project
Post Reply