1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » How to disable TrackBacks across whole site?
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1318 Views |
-
How to disable TrackBacks across whole site?

23 August 2010 at 8:06pm
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.
-
Re: How to disable TrackBacks across whole site?

5 September 2010 at 12:02am
I'm getting the same problem. Can someone please respond to this?
-
Re: How to disable TrackBacks across whole site?

5 September 2010 at 4:20am
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:
to/**
* Check to see if trackbacks are enabled.
*/
function TrackBacksEnabled() {
return $this->getParent()->TrackBacksEnabled;
}/**
* Check to see if trackbacks are enabled.
*/
function TrackBacksEnabled() {
return false;
//return $this->getParent()->TrackBacksEnabled;
} -
Re: How to disable TrackBacks across whole site?

8 December 2011 at 7:34am
Is there a way of moderating trackbacks? I am getting loads of spam this way as well.
| 1318 Views | ||
|
Page:
1
|
Go to Top |



