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

Silverstripe Page Comment


Go to End


2 Posts   1011 Views

Avatar
bunheng

Community Member, 78 Posts

24 August 2011 at 1:04pm

Hi,

First of all thank to SilverStripe Developer community for their effort to distribute
valuable CMS framework and support, it really saving lots of time for my works.

I would like to know is it possible is there any possible way to project visitor from posting
comment on page unless they are first login? Is there any module or short instruction.

I am looking forward to hearing your important reply.

Thanks
Bunheng

Avatar
Willr

Forum Moderator, 5523 Posts

24 August 2011 at 4:36pm

In pre 3.0 websites you can do

PageCommentInterface::set_comments_require_login(true);

http://api.silverstripe.org/2.4/cms/comments/PageCommentInterface.html#methodset_comments_require_login