Quote:
Originally Posted by gorman
Thanks for the answer. But I'm using the mail sender inside vB because I do not want to publish user's email in the clear. The PDF does just that.
Even if users accept emails, on my forums they are sent emails by the internal module. Other users do not have access to their addresses (unless the person replies to the e-mail, but that's fine obviously).
|
Extracting text from a PDF is a torturous process - it's a fairly secure format. If you want to disable email addresses completely from PDF's then you will need to edit the PHP file
calsearch.php
Around line 484 delete the red text:
Code:
$data[] = array(htmlspecialchars_uni(strip_bbcode(fetch_trimmed_title(strip_quotes($event['title']), 100), false, true)) . ($recurint ? " ($period - $recurint )" : ''),
str_replace(array("\n","\r"), ' ' ,htmlspecialchars_uni(strip_bbcode(fetch_trimmed_title(strip_quotes($event['event']), 600), false, true))),
date($vbulletin->options['dateformat'],$event['dateline_from']) . ($event['dateline_to']=='' ? '' : ' - ' . date($vbulletin->options['dateformat'],$event['dateline_to'])),
(!empty($event['email'])) ? $event['email'] : ''
);
OR - if you want to disable PDF downloads altogether then, rather than edit the PHP file, edit the
calsearch_result template and delete the red line:
Code:
<span style="float:right;">
{vb:rawphrase save}:
<input type="submit" class="button" align="right" name="do" value="i{vb:rawphrase calendar}" tabindex="7" />
<input type="submit" class="button" align="right" name="do" value="PDF {vb:rawphrase calendar}" tabindex="8" />
</span>