MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Publish user comments without administrator approval (Closed) (Mono Support )

Viewed 5210 time(s), 4 post(s) 9/12/2012 1:48:56 PMby johnsamuel
johnsamuel

johnsamuel

9/12/2012 1:48:56 PM
Please point me to the control so I can enable user comments to blog posts to be published immediately, i.e. without requiring administrator approval.
This content has not been rated yet. 
429 Reputation 46 Total posts
mzilic

mzilic

9/12/2012 2:11:09 PM
Hello,

BlogComments has a property ApprovalMode which you can set to None. Every comment should then be automatically approved, please note that this will also turn off spam filters. For example you can set it on BlogPostView:

<MonoX:BlogComments runat="server" ID="ctlComments" ApprovalMode="None">
</MonoX:BlogComments>
I would recommend that you set it to Automatic as it would use antispam services to flag comments as spam which in turn would not approve spam comments.

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
denis

denis

9/12/2012 2:11:45 PM
This can be easily achieved by setting the ApprovalMode property of the blog container part to None (it will propagate this setting to the comments part). If you want to do is through admin toolbar, just click on the part properties verb (it will be available when mouse hovers over the blog part in the admin mode) and search for the "Comments approval mode" setting in the list of available properties.
This content has not been rated yet. 
7207 Reputation 956 Total posts
johnsamuel

johnsamuel

9/12/2012 2:52:09 PM
Thanks for answers guys. All working OK
This content has not been rated yet. 
429 Reputation 46 Total posts