Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Problems getting started

  • @nmschaller

    Participant

    Hi there,

    I addition to bbpress private forums I have set up BuddyPress with minimal functions only: extended profiles / account settings + members page.

    I have seen that the users can choose what of their profile to make visible to whom. But what about the members page? It worries and wonders me is that there is no integrated functionality to restrict the members page to registered users only.

    What is a lightweight option to restrict this without installing another plugin to handle the problems that I did not have before BuddyPress?

    Is there a possibility to use BuddyPress to create a private forum in bbpress? Without opening up a facebook like group posting stream in addition to the bbpress forum? Who needs both?

    Thank you for some hints.

    Pleas note: I am not an IT person. I may handle some CSS or post some code in the filters and hooks sections of my theme options if you give me clear instructions. But I cannot edit functions.php.

    Nicole

Viewing 4 replies - 1 through 4 (of 4 total)
  • @danbp

    Participant

    Hi @nmschaller,

    bbPress is a separate plugin and BuddyPress doesn’t manage bbPress. For questions about forum settings, you can use the bbPress support.

    When you use BP groups component, you can add a forum to each of them. In this case only, you have to install bbPress. Of course you can also use bbPress as standalone on a BP install, or use bbPress with WordPress, without BP.

    BP doesn’t use “pages” but templates, and the only pages created during installation are in for internal purpose. The “member” page is used to show the member directory, but also profiles or members activities. This dynamic content is displayed on different templates, depending the context, and using WP’s page system to fire all that via a same page slug (aka internal path).

    your-site/members/some/thing/ where /some/thing/ is using his own template part displayed on “members page”.

    So far i understand you use bbPress and now you want a members directory, and eventually some additionnal fields on user’s profiles. And most of this should be private or “members only”, right ?

    The main problem is that you want some custom behave that need some knowledge (you seem to have), but you cannot edit functions.php Unfortunately, this is the place where to add customisation. And what to tell about bp-custom, which is another crucial cusmisation file.

    You want to drive and have no steering wheel ! Annoying… 😉

    The question is Do you need BuddyPress or can you use another solution ? 🙂

    Depends your project, really. Members directory or extended profiles can be done with separate plugins.

    Read here:
    http://chrislema.com/best-wordpress-membership-plugin-2014/

    Or digg into the Codex if you decide to use BuddyPress.

    @nmschaller

    Participant

    Hello danbp,

    So far i understand you use bbPress and now you want a members directory, and eventually some additionnal fields on user’s profiles. And most of this should be private or “members only”, right ?
    >> Correct, combined with private bbpress forums on a website with also public content.

    I have set the “members” page I created as private, but it is still displayed when I go on the page as a logged out user. Why is that so?
    Would it work if I would not connect the “members” page with BuddyPress in the settings, set the page to private and pull the dynamic content for the members list by a stortcode?

    I can read into the codex of course, but do I need to learn to code to use BuddyPress?

    Nicole

    @danbp

    Participant

    Would it work if I would not connect the “members” page with BuddyPress in the settings, set the page to private and pull the dynamic content for the members list by a stortcode?

    No, no, no. That page is core, must exist and should be blank. Just a (custom) title.

    Do I need to learn to code to use BuddyPress?
    No, but it’s better if you know some basics.

    To make the member directory for loggedin users only, you have to:
    – create a child-theme (is explained on WP and BP codex)
    – copy/paste index.php from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php
    to
    /wp-content/themes/your_child/buddypress/members/index.php

    In this copy, right after <div id="buddypress">, in the existing php opening tag just after, you add if(is_user_logged_in() ):

    At the end of the file, you’ll find the closing div tag of #buddypress.
    Just before this closing tag, again an opening php tag, you add endif; before the do_action you’ll see there.

    If you did it correctly, the directory is now only be visible for loggedin users.

    Some basics:

    open php tag <?php
    closing php tag ?>

    open html tag <div>
    closing html tag </div>

    @nmschaller

    Participant

    Thank you, danbp.

    I am sure now that BuddyPress is not the right solution for me.

    Nicole

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Problems getting started’ is closed to new replies.
Skip to toolbar