Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members only forum


  • dropshot
    Participant

    @dropshot

    Hi,

    I know I can set forums one by one to PRIVATE. But if I want every bbPress-page to be private, how can I achieve that?

    The forum index page should display a login form for non-logged in users and when logged in the forum index.

    I’m thinking there must be a simple solution for this out there but everything I can find includes a lot of hassle.

    Is there a settings option I’m missing? Or a simple plugin?

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

  • Fuskeduske
    Participant

    @fuskeren

    Hi Dropshot,

    You can try the following: https://wordpress.org/plugins/bbp-private-groups/


    dropshot
    Participant

    @dropshot

    Hi fuskeren,

    Thanks for your suggestion!

    If I understand it correctly it doesn’t seem to offer what I am looking for. The only feature is to group forums.

    The forum index page is not dealt with at all.


    Fuskeduske
    Participant

    @fuskeren

    Hi Dropshot,

    As far as i remember the plugin has the ability to redirect non logged in users, but i can’t recall if this can be done from the forum index.

    Otherwise i am sure i have seen a member plugin, doing what you want, i just can’t remember the name, but you could look it up at the WordPress Plugin Directory.

    -Fuske


    lesan
    Participant

    @lesan

    For anyone with the same problem, this works for me:

    bbP Members Only


    Arutam
    Participant

    @arutam

    Hi @dropshot

    You are looking for this code, paste it in functions.php

    //Restrict Topic Content and Replies for No-Registered Users
    function pj_hla_logged_in_topics($have_posts){
    if (!is_user_logged_in()){
    $have_posts = null;
    }
    return $have_posts;
    }
    add_filter('bbp_has_replies', 'pj_hla_logged_in_topics');

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar