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

Silverstripe Page Comment


Reply


2 Posts   743 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, 5513 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