This project is read-only.

Adding comments only by registered users

Topics: ASP.NET 2.0
Sep 10, 2009 at 12:10 PM

Hi all!

I'm a new in blogengine. I downloaded and installed last version. All works, but I can't  find obvious functionality. I'd like that only registered users could add comments to posts and unregistered users can only see. Is there exist well-known way to do it? 

Thanks for excellent project!

Sep 10, 2009 at 8:21 PM


Sep 12, 2009 at 5:02 PM

Is anybody alive in here?

What's wrong with this question?

Sep 13, 2009 at 12:31 AM

In the User controls folder, there's a file named CommentView.ascx.cs.  In the Page_Load handler in that file, add the part shown in bold below:

if (BlogSettings.Instance.IsCommentsEnabled && Page.User.Identity.IsAuthenticated)