• Resolved Morka

    (@morka)


    Hi everyone, i’m creating a topic cause i have an unwanted comment list on each buddypress page of my wordpress site such as register page and member page, i hope that you could help me with this issue…

    for exemple, see my register page : https://www.excel07.fr/register-page35/

    At the bottom of the page, there’s appear a commentlist, i don’t really know how it happens… hope you can help me to fix this :/

    I tried this issue on the twenty twelve theme and nothing appear at the buddypress pages…

    Thx previously for the interest of my topic and sorry for my terrible english, i try to train it everyday ??

    See you soon !

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    that registration page is part of.. which plugin?
    Can you show me another buddypress page with comments on your site?
    Thanks

    Ah, buddypress sorry confused with bbpress.
    Anyway you can disable pages comments globally in
    Appearance -> Customize -> Content: … -> Comments -> Enable comments on pages, though this will disable comments on all the pages (not posts).
    You can even avoid displaying the comments section in buddypress pages with css.

    body.buddypress.page #comments.comments-area {
        display: none;
    }

    or (better solution IMHO) adding this to your child-theme functions.php

    add_filter('tc_show_comments', 'disable_comments_buddypress_pages');
    function disable_comments_buddypress_pages( $bool ){
      if ( is_page() && is_buddypress() )
        return false;
      return $bool;
    }

    Hope this help

    Thread Starter Morka

    (@morka)

    First of all, thx for reply ??

    Then, it’s not a ‘comment’ possibility, the fact is that on buddypress pages, such as register or profile pages, there’s appear a ‘comment-list’ users don’t have the possibility to comment those page, there’s just a comment list which appear at the bottom of the page, such as my exemple before at my register page. that’s why i can’t able/disable comment on my site cause it’s not a question of comments possibilities but just this fu**** comment list which appear lol.

    I hope you’ll understand my terrible english, i try to train it everyday ^^

    I understand what you say ??
    But did you try any of the suggestions above? ??

    Thread Starter Morka

    (@morka)

    if i put this code in my child theme on function.php this will not allow users to comments the differents articles pages, no?

    No,
    just on buddypress pages.

    Thread Starter Morka

    (@morka)

    it did the trick !! Thx a lot d4z_c0nf !

    You’re welcome ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unwanted comment list on each buddypress member & registration page’ is closed to new replies.