• Resolved anthony750

    (@anthony750)


    Good evening,

    I noticed that there is a small problem in the presentation of the notice. Probably since the last update.

    Website

    Image

    Thank you for your understanding

    Sincerely

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    @anthony750,

    You’ve added some custom code in the function.php file that display the (X) contribution. The issue comes from the custom code you’re using. Please either remove or correct it.

    Thread Starter anthony750

    (@anthony750)

    Thank you, but you gave me this code a while ago. It should not be taken by the new version.

    add_filter('wpdiscuz_comment_author', 'my_commentCount', 10, 2);
    function my_commentCount($author_name, $comment) {
        global $wpdb;
        $no_comment = "Pas de contribution";
        $one_comment = "1 contribution";
        $more_comments = "% contributions";
         $count = $wpdb->get_var('SELECT COUNT(comment_ID) FROM ' . $wpdb->comments. ' WHERE comment_author_email = "' . addslashes($comment->comment_author_email) . '"');
        $comment_text = my_comment_number_text($no_comment, $one_comment, $more_comments, $count);
            return $author_name .' | <span class="wpdiscuz-comment-count">'.$comment_text.'</span>';

    Do you have another code to have the number of comments next to the person’s nickname?

    Sincerely,

    • This reply was modified 5 years, 2 months ago by anthony750.
    • This reply was modified 5 years, 2 months ago by anthony750.
    Plugin Support gVectors Support

    (@gvectorssupport)

    You should either delete the code from functions.php file or use CSS code to hide the “reply to” section.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem of presentation comment’ is closed to new replies.