Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Hi,

    I have a problem; When i have selected the option to place comment in moderation, but when somebody post a comment then the notify msg function does not display "Thank you for your comment" or likewise. But it works when you forgett to put a valid email, displaying "Error", just like i want it to.

    I have a lot of mods in the plogger_function.php so maybe i've done something wrong with the code? Could somebody take a look at it?

    <code>
    if (empty($picdata)) {
    return array("errors" => "Kommentaren registrerades inte - bilden existerar inte.");
    }

    if (empty($picdata["allow_comments"])) {
    return array("errors" => "Kommentarerna är avstängda.");
    }

    if ($config["comments_moderate"] == 1) {
    $approved = 0;
    $notify_msg = " (Tack!!)";
    } else {
    $approved = 1;

    }</code>

    Some words are in swedish ;)