Go to previous topic
Go to next topic
Last Post 06 Oct 2016 10:16 PM by  Pengtsen R
profanity filter in comment
 1 Replies
Author Messages


New Member


Posts:18
New Member


--
16 Sep 2016 02:18 AM
    For profanity filter in comment system please add this code

    var ps = new DotNetNuke.Security.PortalSecurity();
    string Comment = ps.Remove(objComment.Comment, DotNetNuke.Security.PortalSecurity.ConfigType.ListController, "ProfanityFilter", DotNetNuke.Security.PortalSecurity.FilterScope.SystemAndPortalList);


    Basic Member


    Posts:189
    Basic Member


    --
    06 Oct 2016 10:16 PM
    where do you recommen me to add this code?


    ---