BuddyDev

Search

enable anonymous topic & reply post on bbpress

  • Participant
    Level: Initiated
    Posts: 2
    Faiz Alias on #20537

    I have purchased anonymous plugin.

    So, how to enable anonymous topic & reply post on bbpress?

  • Keymaster
    (BuddyDev Team)
    Posts: 21852
    Brajesh Singh on #20538

    Hi Faiz,
    You will need to put this line

    
    add_filter( 'bp_anonymous_activity_enable_forums', '__return_true' );
    

    In your theme’s functions.php

    Please note that it will not make any email or notification(or activity stream recording of the forum activity) as anonymous. Only forum topics/replies will be anonymous.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 2
    Faiz Alias on #20540

    I have put it..

    It show nothing.

    So?

  • Keymaster
    (BuddyDev Team)
    Posts: 21852
    Brajesh Singh on #20541

    I am sorry, Is there a chance that you are trying to use the plugin on a non BuddyPress site?

  • Participant
    Level: Initiated
    Posts: 2
    Faiz Alias on #20542

    This is my website and it uses BuddyPress >>> https://www.semaniskurma.my/forums/

    I need when someone post topic or reply on the forum, they can make an option to show real their identity or anonymous.

  • Keymaster
    (BuddyDev Team)
    Posts: 21852
    Brajesh Singh on #20543

    Thank you.
    That’s good to know.

    I was wrong in suggesting to put it in your theme’s functions.php

    Please put it in bp-custom.php(Sorry for the inconvenience, In next version, I am adding it in the settings)

    1. If you have bp-custom.php in wp-content/plugins directory, Please add that line at the bottom

    2. If the file is not present, create a file named bp-custom.php in your plugins directory and put the following content

    
    <?php
    
    

    and then put the code from above.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved