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'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.

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   1485 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