Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] Unwanted comment list on each buddypress member & registration page


  • Morka
    Participant

    @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 : http://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 :/

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

    See you soon !

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

  • djsteveb
    Participant

    @djsteveb

    @morka – do you have the same issue when using the default “wordpress 2014” or “twenty-twelve” themes?
    If not, I would ask your theme author to add some kind of check on pages for something like “if is register page, turn off comments” / not load the comment hook thing…

    sorry not a php or wp/bp expert, can’t point you in the right direction for those codes and what they are really called. I know with some standard WP pages you can go into the editor and select “comments off / disable trackbacks” – and with some themes you can use a theme option to “display comments off” or hide “comments off” on pages where comments are disallowed.


    Morka
    Participant

    @morka

    First of all, thx for reply 🙂

    First, it’s not the same ‘comment’ as an article page comment, it’s not like this able users to comment those page, there’s just a previous comment list you know, i can’t able/disable comment on those page cause it’s not like comment but just a list with ancient comments on the entire site, it’s such different


    djsteveb
    Participant

    @djsteveb

    @morka – I know you can’t enable / disable comments on those pages (at least from my experience with BP and a few themes / installs, of course with WP just about anything is possible) – You failed to mention if you have the same issue with the default wordpress themes.


    Morka
    Participant

    @morka

    Ho sorry, i forgot to say that no, there’s not appearing on Twenty twelve theme ^^


    Morka
    Participant

    @morka

    Someone at the @customizR theme support find the trick to resolve my issue, so, i’d only had to put this snippet-code :

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

    At my child-theme function.php;

    This code will disable the comments on each buddypress pages, so, take care if you want to allow users to comment some buddypress pages this code won’t work for you 🙂

    Thx for the help you tried to give to me !

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