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.

General Questions /

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

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

Comments need activation


Reply


3 Posts   949 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