Forum Replies Created
-
In reply to: Join Group
I’m sorry, I don’t understand what you are asking.
In reply to: Pages “members” and “activity streams” are emptyOther than “fix your theme”? Clearly something isn’t coded correctly. BP works in themes that have been vetted through the wordpress.org standards. If you stray from that path, you are bound to run into poorly coded themes that cause these kinds of headaches.
Can you reach out to the theme developer?
Ahhh, of course. Sorry I misread.
I don’t think the learning ever stops. Cheers.
In reply to: Sho all posts by a member with BuddypressThe activity feed in BP has a filter that you can use to select things like All posts, All Comments, All Activity Updates etc. It’s a dropdown on the activity feed. It sounds like what you want is for it to default to just posts, and not to everything (avatar changes, friend requests etc.)
This might help:
Here’s another topic in which the user was trying to do something similar
https://buddypress.org/support/topic/show-updates-as-default-in-activity/
In reply to: BP networking among peers only (restricted groups)Cool. Good luck with it. Breaking up your questions also means that someone doesn’t look quickly at this thread and assume everything is solved. Hope it works out.
BTW: Found this that might help the other issue. Haven’t tested it but Brajesh is a brilliant dude so I assume it will probably work. Just follow along on the comment thread below the snippet: it’s hard to tell if he updated the code, or just suggested how to do so.
In reply to: Asking for plugin suggestions…BP has @mentions built in, but I find adding this plugin https://github.com/paulgibbs/BP-Labs and enabling the @mention auto-complete makes figuring out usernames a whole lot easier. @modemlooper has a plugin called BuddyMobile available at http://taptappress.com that you should look at to make your site mobile friendly.
I couldn’t get this plugin to work for me (it’s not supported anymore, but if you have the chops, or can hire someone…) but it harvests activity from fb and posts it to your community. https://wordpress.org/plugins/bebop/
In the BuddyPress settings, you could just turn off the Friend component.
In reply to: BP networking among peers only (restricted groups)BTW, it’s best to break up your questions into separate threads, so dudes like me who don’t know how to answer your first question can help issues get resolved, and provide a cleaner experience for someone searching the forums for a similar issue.
In reply to: BP networking among peers only (restricted groups)I think you are probably looking for something like this: https://wordpress.org/plugins/bp-multi-network/ which in tandem with the wp multi networks plugin list in the write-up, would allow you to create sub-networks across your school.
Alternatively, you could use the groups to separate this activity. Create three top level groups for primary, intermediate/senior, adults, and then create sub-groups underneath. You would need the Group Hierarchy plugin to pull this off.
https://wordpress.org/plugins/bp-group-hierarchy/
Plan B is the easier path.
In reply to: Show Activity Comments To EverybodyI’m not familiar with that theme, but clearly it contains a bit of custom BP magic beyond just providing a content area. Depending on how the theme has been coded (and crossing your fingers that the theme has well-documented inline comments to explain what each function does) I would take a look in the functions.php file of that theme and see if you can find something with
if ( is_user_logged_in()orif ( current_user_can('read') )to see if they are trying to identify logged in and logged out users.You shouldn’t need to hack the core plugin files in order to do solve the spacing issue. It’s just going to cause heartache when you update the plugin, and have to make the changes all over again. I know you are embarking on a big learning journey with BP, WP, and PHP, but I would suggest it’s time to learn a little CSS now as well. If you use a tool like Mozilla’s Firebug, you can identify the CSS identifier and tweak the CSS in a child theme (https://codex.wordpress.org/Child_Themes)
For example, the profile field by default has a padding: 8px; in the template. If you increase that number, you will increase the spacing between the profile fields.
Regarding adding the profile info in your member directory, this tutorial will walk you through how to pull a file from the plugin and add it to your child theme, so you can update the BP plugin more easily. It explains how to place an item on the Profile, but I’m sure the same thing could be pulled off on the Member Directory with a few tweaks.
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/
In reply to: Show Activity Comments To EverybodyThis isn’t standard behaviour. By default BP has no privacy settings, so what you see as an anonymous user is the same as what you see when you are logged in. By default, comments are threaded in the activity stream, but it could be that your theme developer has decided to add this additional functionality. What happens when you revert back to a default theme like twenty eleven? Do you still see the same behaviour?
In reply to: Pages “members” and “activity streams” are emptyIn the BuddyPress admin area, you need to assign a WordPress page (created in the Dashboard under Pages/New) with a BP component. This codex page explains in more detail
In reply to: Join GroupIf you make the other groups Private or Hidden, users can only join the one group you have left Public. You’ll need to provide more detail if you are looking for something different than that.
In reply to: Remove “are now friends” from activity streamThere is also a plugin that does this. It’s old, but it still works:
http://etivite.com/wordpress-plugins/buddypress-block-activity-stream-types/
In reply to: [Resolved] Instructions in Codex IncompleteI assumed as much, which makes me feel a bit better about posting the issue, seeing that if I had scrolled down beyond the live example, I would have seen the URL I needed.
In reply to: [Resolved] Instructions in Codex IncompleteFound it. https://codex.bbpress.org/shortcodes/
In reply to: BuddyPress Moderation 0.1.6Those two fixes get me 90% of the way there, but on 3.5 and 1.7 when you are in the admin panel of Moderation, the link to “View” an Activity Update goes to domain.com/activity/[#] when it should go to domain.com/member/[membername]/activity/[#]
Any thoughts?
In reply to: [Resolved] BP guest viewing lockoutIf you want something a bit simpler, this “Walled Garden” fix has been bouncing around community for some time. Create a file called bp-custom.php and put it in the plugins folder with this code.
`function sh_walled_garden()
{
if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain );
}
add_action( ‘bp_init’, ‘sh_walled_garden’,20 );
`In reply to: Member and group widgetThat would be the best place to start then: https://wordpress.org/extend/plugins/bp-template-pack/
That said, BP 1.7 should rectify this, allowing you to use any well-coded theme with BP. If it’s a new project, you might want to explore the 1.7 beta to see if that rectifies things. The compatibility template pack still requires some CSS tweaks on occasion.
Apologies. I should have revisited this sooner. The plugin is being re-worked and should be added to the repo shortly. It was always my intent to have it shared once it was completed. Stay tuned.
In reply to: Secure a siteThat code has been kicking around the community for a while. Here’s the initial forum post that has some variations you can try:
In reply to: Secure a siteThe code is getting cut off. I’ll try again.
function sh_walled_garden() { if( ! bp_is_blog_page() && ! is_user_logged_in() ) bp_core_redirect( $bp->root_domain ); } add_action( 'wp_loaded', 'sh_walled_garden' );In reply to: Secure a siteCreate a page called bp-custom.php in your wp-content/plugins folder
Add this code:
root_domain ); } add_action( ‘wp_loaded’, ‘sh_walled_garden’ ); ?>