I've noticed that all trackbacks are spam on one of my silverstripe sites. Is there an easy way of disabling all trackbacks across a site? I didn't see a way of as TrackBacksEnabled() seems to be read only. Will I have to alter the templates and remove the trackback related stuff? Would appreciate it if someone knows of an easy and quick way.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I'm getting the same problem. Can someone please respond to this?
It's actually a setting in the blog you can find at the bottom of the content tab of your BlogHolder page. Ensure that the checkbox at Enable TrackBacks is cleared and the TrackBacks should be removed from the BlogEntries.
Or you can hack it in the code of blog\code\BlogEntry.php around line 165 by changing:
/**
* Check to see if trackbacks are enabled.
*/
function TrackBacksEnabled() {
return $this->getParent()->TrackBacksEnabled;
}
to /**
* Check to see if trackbacks are enabled.
*/
function TrackBacksEnabled() {
return false;
//return $this->getParent()->TrackBacksEnabled;
}
Is there a way of moderating trackbacks? I am getting loads of spam this way as well.