Looking for the old forum?

For topics posted before June 2015, please click here to visit the old support forum. Post your questions in this forum if you have any questions.

Support Forums
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Oct 2016 10:16 PM by  Pengtsen R
profanity filter in comment
 1 Replies
Sort:
You are not authorized to post a reply.
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:180
    Basic Member


    --
    06 Oct 2016 10:16 PM
    where do you recommen me to add this code?
    You are not authorized to post a reply.


    Copyright © 2005-2013 BizModules Contact us