Not signed in (Sign In)

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

Please sign in or apply for membership to remove the ads
    • CommentAuthorbracc
    • CommentTimeMar 3rd 2008
     
    Hello all i have just tried the script it is really very good but i want to modify the comments part...
    1- i want to make name and e-mail optional too. if possible remove all name e-mail and web boxes delete or not shown only comment part is there and no other information required.
    2- i want to translate "Comments:" "Post a comment:" and some information like that to my language which in which file i can find them.
    3- last thing is with this original way it give eror "The page isn't redirecting properly" when you send the comment but it adds the comment. What causes that.
    Thank you for your all informations and helps
    • CommentAuthorKasper
    • CommentTimeMar 3rd 2008
     
    1. You can change the comments look in the folder themes/YOUR-THEME/comments.php
    2. Follow the translation guidelines
    3. This is fixed in version 3.2, first thing in the translation guidelines is to download this version.

    Kasper
    • CommentAuthorbracc
    • CommentTimeMar 3rd 2008
     
    Thank you for your answers . questions 2 and 3 is ok now.
    in question 1 i find and opened /YOUR-THEME/comments.php but what should i need to do to make name and e-mail also optinoal fields?
    • CommentAuthorKasper
    • CommentTimeMar 4th 2008
     
    Sorry, I could have done better at question 1.

    website/themes/YOUR-THEME/comments.php posts to website/plog-comment.php which uses the function add_comment from plog-functions.php to check the fields.

    So to make e-mail and author name optional, remark lines 1127-1129 in plog-functions.php like this:

    // if (empty($author) || empty($email)) {
    // return array("errors" => plog_tr("Your comment did not post! Please fill the required fields."));
    // }


    If you have made a translation, I would very much appreciate it if you would post it to the translators mailing list or mail it to me, so I can include it in Plogger.

    Kasper