@@ -734,16 +734,6 @@ public bool EnablePasswordReset
734734
735735 #endregion
736736
737- #region EnableCommentsModeration
738-
739- /// <summary>
740- /// Gets or sets a value indicating if comments moderation is used for posts.
741- /// </summary>
742- /// <value><b>true</b> if comments are moderated for posts, otherwise returns <b>false</b>.</value>
743- public bool EnableCommentsModeration { get ; set ; }
744-
745- #endregion
746-
747737 #region Avatar
748738
749739 /// <summary>
@@ -773,25 +763,6 @@ public bool EnablePasswordReset
773763
774764 #endregion
775765
776- #region DISQUS
777-
778- /// <summary>
779- /// Short website name that used to identify Disqus account
780- /// </summary>
781- public string DisqusWebsiteName { get ; set ; }
782-
783- /// <summary>
784- /// Development mode to test disqus on local host
785- /// </summary>
786- public bool DisqusDevMode { get ; set ; }
787-
788- /// <summary>
789- /// Allow also to add comments to the pages
790- /// </summary>
791- public bool DisqusAddCommentsToPages { get ; set ; }
792-
793- #endregion
794-
795766 #region White list count
796767
797768 ///<summary>
@@ -860,41 +831,58 @@ public int CommentsPerPage
860831
861832 #endregion
862833
834+ #region Comment providers and moderation
835+
863836 /// <summary>
864- /// Type of comment moderation
837+ /// Comments provider
865838 /// </summary>
866- public enum Moderation
839+ public enum CommentsBy
867840 {
868841 /// <summary>
869- /// Comments moderated manually
842+ /// Internal BlogEngine comments
870843 /// </summary>
871- Manual = 0 ,
844+ BlogEngine = 0 ,
872845 /// <summary>
873- /// Comments moderated by filters
846+ /// Comments by Disqus
874847 /// </summary>
875- Auto = 1 ,
848+ Disqus = 1 ,
876849 /// <summary>
877- /// Moderated by Disqus
850+ /// Comments by Facebook
878851 /// </summary>
879- Disqus = 2 ,
880- /// <summary>
881- /// Moderated by Facebook
882- /// </summary>
883- Facebook = 3
852+ Facebook = 2
884853 }
885854
886- #region Moderation type
855+ /// <summary>
856+ /// Gets or sets a value indicating comment provider
857+ /// </summary>
858+ public CommentsBy CommentProvider { get ; set ; }
887859
888860 /// <summary>
889- /// Gets or sets a value indicating type of moderation
861+ /// Gets or sets a value indicating if comments moderation is used for posts.
890862 /// </summary>
891- public Moderation ModerationType { get ; set ; }
863+ /// <value><b>true</b> if comments are moderated for posts, otherwise returns <b>false</b>.</value>
864+ public bool EnableCommentsModeration { get ; set ; }
892865
893866 /// <summary>
894867 /// Enables to report mistakes back to service
895868 /// </summary>
896869 public bool CommentReportMistakes { get ; set ; }
897870
871+ /// <summary>
872+ /// Short website name that used to identify Disqus account
873+ /// </summary>
874+ public string DisqusWebsiteName { get ; set ; }
875+
876+ /// <summary>
877+ /// Development mode to test disqus on local host
878+ /// </summary>
879+ public bool DisqusDevMode { get ; set ; }
880+
881+ /// <summary>
882+ /// Allow also to add comments to the pages
883+ /// </summary>
884+ public bool DisqusAddCommentsToPages { get ; set ; }
885+
898886 #endregion
899887
900888 #region BlogrollMaxLength
0 commit comments