General Questions from a bp novice - Part 3

Hi guys. some more questions for you to keep you on your toes! IF you could kindly help me out here, thats would be great.

1. How do I modify the top admin bar for the frontend of buddypress? I know where the file is, but is there no other settings or anything?

2. How do I make the logout go to a custom page? I don’t want people to see the wp logout prompt page, or the wp success page.

3. When logged in, I can see every member on the website and look at their profile + groups + friends. Can you make it so that there is more privacy? As in, only make those kind of details available to people if they are friends of yours? At least can I remove the internal nav (friends, groups, activity, profile) which has links to them or something when on strangers pages? Suggestions? Code? Plugins?

4. I would like to remove the “Mention this user” for users that are not friends… its weird that it’s there for strangers?!

5. How do I change what profile information is public of private? There is an option for this somewhere right?

6. Is there any code I can use that will help me differentiate between your own profile and someone else’s? For instance, if I want to add a “view friend requests” under my latest update on my profile page, ill need to put some kind of condition in there or else it’ll appear on strangers/friends profiles too.

7. How do I echo the section I am in using php? If I am on the activity page, I’d like to show the words activity in a H2 or h3 tag somewhere, but I don’t know how to reference it. Does that make sense ?

  • kennibc

    1. How do I modify the top admin bar for the frontend of buddypress? I know where the file is, but is there no other settings or anything?
    You can't really change it very much or very easily. You can turn it off completely or use the default worpdress toolbar by inserting a line of code into wp-config.php

    2. How do I make the logout go to a custom page? I don’t want people to see the wp logout prompt page, or the wp success page.
    There is a plugin for that.

    4. I would like to remove the “Mention this user” for users that are not friends… its weird that it’s there for strangers?!
    There is also a plugin for this. I use it:http://wordpress.org/extend/plugins/buddypress-no-mentions/

    5. How do I change what profile information is public of private? There is an option for this somewhere right?
    I think this is coming in version Buddypress 1.3. However there are a variety of buddypress privacy plugins. Buddypress.org under "extend" is a great place to find buddypress plugins.

    Hope that helps.

  • Mason

    Hiya newcreation,

    Most of this can be solved by customizing your template. If you're using one of ours we can give you a bit more thorough guidance.

    One of the things I'd recommend implementing for your privacy concerns are the conditional tags for logged in users:
    http://buddydress.com/2010/05/logged-in-and-logged-out-content-tutorial/
    http://codex.wordpress.org/Function_Reference/is_user_logged_in

    You can also decide to display or hide things based on whether two members are friends with:
    bp_is_user_friends()
    http://codex.buddypress.org/developer-docs/conditional-template-tags/
    https://premium.wpmudev.org/blog/an-introduction-to-buddypress-conditional-tags/

    Conditional template tags are awesome! :slight_smile: There are ones for echoing out the page your own or checking to see if you're on your own profile page as well, so check 'em out.

    If you want to see how these things are done it's also a great idea to check out a few of our themes here. They're based off the BuddyPress default theme so takea look at them 'in action' and when you see something you like, take a look at the code to see how it's done.

    Hope this helps! Thanks to kennibc for your helpful response here as well. Some rep points headed your way :slight_smile:

  • newcreation

    @kennibc

    1. How do I modify the top admin bar for the frontend of buddypress? I know where the file is, but is there no other settings or anything?
    You can't really change it very much or very easily. You can turn it off completely or use the default worpdress toolbar by inserting a line of code into wp-config.php

    Okay np, ill just use jquery to remove things or css to hide them. Thats what i have been doing, im not happy about it but i can't see any other way.

    2. How do I make the logout go to a custom page? I don’t want people to see the wp logout prompt page, or the wp success page.
    There is a plugin for that.

    Is there one that you can recommend?

    4. I would like to remove the “Mention this user” for users that are not friends… its weird that it’s there for strangers?!
    There is also a plugin for this. I use it:http://wordpress.org/extend/plugins/buddypress-no-mentions/

    Thanks, that'll do.
    I didn't really want to remove it completely, just remove the ablilty for mentioning people that are not friends. But i don't see any other way :stuck_out_tongue:

    5. How do I change what profile information is public of private? There is an option for this somewhere right?
    I think this is coming in version Buddypress 1.3. However there are a variety of buddypress privacy plugins. Buddypress.org under "extend" is a great place to find buddypress plugins.

    Ill see what i can find

    @masonjames

    Thanks for your advice and your links, thats enough to keep me busy

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.