Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Comments need activation


Go to End


3 Posts   1168 Views

Avatar
mattiashem

Community Member, 8 Posts

21 December 2009 at 3:12am

Hi

Trying to sett upp an guestbook on ss.
It work good but a need to get the function so that i need to activate every enteries.
No when i set the page to activate comments the enteries get public whith out any admin activations.

How to i get the ss to let me activate the comments people are leaving on my site ?

// Matte

Avatar
Invader_Zim

Community Member, 141 Posts

21 December 2009 at 7:11am

Hi.

Just put this line of code into your "mysite/_config.php" file :

PageComment::enableModeration(); 

I think this will help.
Cheers,
Christian

Avatar
tobych

Community Member, 97 Posts

21 December 2009 at 7:16am

Beyond that, you can use Akismet for spam protection:

http://doc.silverstripe.org/doku.php?id=ssakismet