Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Drew 165 posts 339 karma points
    May 18, 2011 @ 13:49
    Drew
    0

    Default Comment Status

    How can I change the default comment status so that comments are not automatically 'Approved' ?

    I've checked the UComment.pdf, googled, looked at the ucomment.config and also the DB but can't seem to spot it anywhere?

  • Eran Meir 401 posts 543 karma points
    May 18, 2011 @ 14:23
    Eran Meir
    0

    you need to build the source code from http://ucomment.codeplex.com/ and change in the file in Library/base.cs right after the follwing code

    if (checker != null)
                    {
                        isspam = checker.Check(parentId,
                            post.UserAgent, post.UserHostAddress,
                            name, email, website, comment);
                    }

    add the following line
    isspam = true;

    don't forget to update the dll in bin directory :)

    goodluck.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies