Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Comments need activation

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

Page: 1
Go to End
Author Topic: 874 Views
  • mattiashem
    Avatar
    Community Member
    8 Posts

    Comments need activation Link to this post

    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

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: Comments need activation Link to this post

    Hi.

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

    PageComment::enableModeration();

    I think this will help.
    Cheers,
    Christian

  • tobych
    Avatar
    Community Member
    97 Posts

    Re: Comments need activation Link to this post

    Beyond that, you can use Akismet for spam protection:

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

    874 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.