Trackback Spam - Please Help
Posted: Thu Mar 06, 2008 8:52 pm
I searched on this topic and found a few things, but none of it has helped.
I'm currently getting about 10,000 Trackback Emails/Day (no joke, my webmail provider actually disabled me temporarily because I was getting such high traffic).
At this point, I want to completely disable trackbacks. I'd still like to receive comments, but I want ZERO trackbacks.
I found one thread that said to add "$serendipity['noautodiscovery'] = true;" to config_local.inc, but that didn't do anything.
I also found something that said to add this to comment.php:
if ($_REQUEST['type'] == 'trackback') die('Disabled')
But I'm not sure I put in the right spot. Actually, I'm sure I didn't, because I have 17,000 trackback emails in my bulk folder (I created a rule to move them).
Here's what I have for that section:
____________________________________________________________
} else if (!isset($serendipity['POST']['submit'])) {
echo $html_header;
if ($serendipity['GET']['type'] == 'trackbacks') {
$tbu = $serendipity['baseURL'] . 'comment.php?type=trackback&entry_id=' . (int)$serendipity['GET']['entry_id'];
$query = "SELECT title FROM {$serendipity['dbPrefix']}entries WHERE id = '". (int)$serendipity['GET']['entry_id'] ."'";
$entry = serendipity_db_query($query);
$entry = serendipity_archiveURL($serendipity['GET']['entry_id'], $entry[0]['title'], 'baseURL');
?>
<div class="serendipity_commentsTitle"><?php if ($_REQUEST['type'] == 'trackback') die('Disabled'); echo TRACKBACKS; ?></div><br />
<dl>
<dt><b><?php echo TRACKBACK_SPECIFIC; ?>:</b><br /></dt>
<dd><a href="<?php echo $tbu; ?>"><?php echo $tbu; ?></a><br /></dd>
<dt><b><?php echo DIRECT_LINK; ?>:</b><br /></dt>
<dd><a href="<?php echo $entry; ?>"><?php echo $entry; ?></a></dd>
</dl>
<?php serendipity_printTrackbacks(serendipity_fetchTrackbacks($id)); ?>
_____________________________________________________________
This isn't working, and I'd REALLY appreciate any help that anyone could provide.
Thanks.
I'm currently getting about 10,000 Trackback Emails/Day (no joke, my webmail provider actually disabled me temporarily because I was getting such high traffic).
At this point, I want to completely disable trackbacks. I'd still like to receive comments, but I want ZERO trackbacks.
I found one thread that said to add "$serendipity['noautodiscovery'] = true;" to config_local.inc, but that didn't do anything.
I also found something that said to add this to comment.php:
if ($_REQUEST['type'] == 'trackback') die('Disabled')
But I'm not sure I put in the right spot. Actually, I'm sure I didn't, because I have 17,000 trackback emails in my bulk folder (I created a rule to move them).
Here's what I have for that section:
____________________________________________________________
} else if (!isset($serendipity['POST']['submit'])) {
echo $html_header;
if ($serendipity['GET']['type'] == 'trackbacks') {
$tbu = $serendipity['baseURL'] . 'comment.php?type=trackback&entry_id=' . (int)$serendipity['GET']['entry_id'];
$query = "SELECT title FROM {$serendipity['dbPrefix']}entries WHERE id = '". (int)$serendipity['GET']['entry_id'] ."'";
$entry = serendipity_db_query($query);
$entry = serendipity_archiveURL($serendipity['GET']['entry_id'], $entry[0]['title'], 'baseURL');
?>
<div class="serendipity_commentsTitle"><?php if ($_REQUEST['type'] == 'trackback') die('Disabled'); echo TRACKBACKS; ?></div><br />
<dl>
<dt><b><?php echo TRACKBACK_SPECIFIC; ?>:</b><br /></dt>
<dd><a href="<?php echo $tbu; ?>"><?php echo $tbu; ?></a><br /></dd>
<dt><b><?php echo DIRECT_LINK; ?>:</b><br /></dt>
<dd><a href="<?php echo $entry; ?>"><?php echo $entry; ?></a></dd>
</dl>
<?php serendipity_printTrackbacks(serendipity_fetchTrackbacks($id)); ?>
_____________________________________________________________
This isn't working, and I'd REALLY appreciate any help that anyone could provide.
Thanks.