Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Forum - Moderator - How to desactivate - Email approval View modes: 
User avatar
Member
Member
Isabelle_leclerc-ssss.gouv.qc - 7/8/2013 12:41:26 PM
   
Forum - Moderator - How to desactivate - Email approval
Hi,

I've checked the forum is moderated check box in tools section.

But, I don't want to approve each post, and received the email notifications.

Is there a way to desactivate the approval and email notification but I still want to keep the features (Delete, modifiy, ...) on the live site.

Thanks in advance !

Isabelle

User avatar
Kentico Support
Kentico Support
kentico_romank - 7/10/2013 3:26:26 AM
   
RE:Forum - Moderator - How to desactivate - Email approval
Hi,

You can disable email notifications in Site Manager -> Development -> E-mail templates -> Forums - Moderator notification, in order to disable it you can delete or rename it. I would suggest rename it, for example Forums.ModeratorNotice_disable. However you will have to still approve each post.

Best Regards,
Roman Konicek

User avatar
Member
Member
Isabelle_leclerc-ssss.gouv.qc - 7/19/2013 9:10:30 AM
   
RE:Forum - Moderator - How to desactivate - Email approval
Hi,

OK for the email notification, but is there a way to desactivate the approval fonctionnality (I would like the post to be automatically "Approve") but I still want to keep the features (Delete, modifiy, ...) on the live site for the moderators...

Thanks,

Isabelle Leclerc

User avatar
Kentico Support
Kentico Support
kentico_filipl - 7/21/2013 6:25:17 AM
   
RE:Forum - Moderator - How to desactivate - Email approval
Hi Isabelle,

You will have to approve all new forum posts programatically to make such a scenario work.

Here is a brief look at instructions:
1. At first, you will have to create a global event handler for new forum posts. More information about it is in Developer's Guide - Global events.
2. For each new post (ForumPostInfo object) which you can get using CMS.Forums.ForumPostInfoProvider.GetForumPostInfo(Int32 forumPostId), you can call its Approve() method which will ensure that it gets automatically approved.

A complete list of all API methods can be found in API Reference.

Best regards,
Filip Ligac