Like the title said, i want to get all the members but this code only gives me admin members:
while (bp_members()) : bp_the_member();
$userId=bp_get_member_user_id();
Hi there,
I am attempting to create pages for new registrations and link pages etc as seen on this this page:
Register and Activation Pages
Unfortunately I am not getting the option to create these new pages and when i click view it takes me to my home page. I am unsure what I may have done that could be preventing this. I have buddypress as a part of a bundle “kleo” theme.
I have the most recent versions of both buddypress Version 2.4.0 and wordpress 4.3.1
my site link is shoestringweddings.com.au there is currently an coming soon page up.
Thanks for your time,
From,
Alex
Positive.

And while I’ve got your attention I have “buddypress-activity-plus and bp-group-documents” plugins and no matter what I do only admins can upload docs. I went so far as to change the group settings in the db “group_documents_upload_permission” to “members” and admins are still the only one’s who can upload.
This will take you years to achieve adequate app like privacy. There’s other ways these days besides buddy press. A few years ago, no one really cared to provide real privacy options with buddypress because to them it defeated the purpose and was suspicious. One volunteer took it on and eventually gave up.
Moved on.
My buddypress settings has this unchecked and saved. Backend still shows this tab when a user is logged in.
This is everything what is written to the log after i tried to upload an image:
[02-Dec-2015 17:45:42 UTC] PHP Notice: bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 3622
[02-Dec-2015 17:45:43 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home/***/domains/***/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 874
Anonymous User 14403228Inactive
Hello 🙂
I have done a significant amount of research on membership sites, private sites etc. (with buddypress) but many of the support threads I find are over two years old, so not valid at this point.
Simply put, is there a contentprotection/membership/private (whatever the name), plugin to allow a site to have a home, welcome, blog page and then a private (members only) buddypress/bbpress/other content hidden from non members?
It seems there are many options, most are buggy with poor support and some are not compatible with buddypress and bbpress. However, the demand for this option is HUGE so I have to believe there is a viable solution out here somewhere and I am just missing it.
What do most buddypress sites use if they want to maintain private content?
Thanks!
Hi all,
I am a BP newbie, hand raised, and I know this might seem like a stupid question but i find the information in the documentation to not be overly helpful. I’m looking to create a Group Directory page for our BP users but i can’t figure out how to do this? The documentation merely lists what the features are rather than explain how to do it.
On our ‘groups’ page which we created for the BP setting there’s just a simple text heading with a hyperlink, the group description, and no option to join now or anything like that. In the documentation there’s an image which shows a Groups directory page with more features and styling like Group titles, thumbnail, a join now button etc. Is this a plugin which creates that sort of a look? Do we have to manually edit the css to create that look ourselves, or should it be a standard visual feature of BuddyPress which our settings might be distorting?
If I create a new page I can only add BP widgets in the sidebar, not in the main body of the page so i’m confused how i’m supposed to do this.
Using WP 4.3.1, BP 2.4, theme: the 7.2.
I can’t link to the site unfortunately as it’s a private website which requires authentication from our system. I realise that limits potential feedback but hopefully someone can at least point me in the right direction
Thanks @mercime for the link, I’ll follow the progress of the issue.
In the meantime do you know if there are any plugins that permit to edit the BuddyPress registration page?
Thanks again.
I have deactivated all my plugins, and just tried activating Buddypress, but I am still getting this error code again and again! I have deleted the Buddypress from my server and reinstalled it, but still the same problems. I can’t figure out how to fix this, if you could please help I would be thankful! Everything was running fine till I made the mistake of changing a setting on my wordpress theme in which it made my theme (website) private or public. I made it public so you could visit the front end of the website while logged out, but after doing that it wouldnt allow me to log in because it was saying it wasnt allowing registration at that time. So I had my hosting provide help me deactivate and change the plugins so I could log in. But after doing that everytime I try reactivating buddypress I get those errors!
Thanks for you time, hope you can help me out!
Warning: Creating default object from empty value in /home/dtente5/public_html/SocialNetwork/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 258
Fatal error: Call to undefined method stdClass::save() in /home/dtente5/public_html/SocialNetwork/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 275
Amazingly I just now found kinda what I was looking for. It’s called Toggle The Title. While it isn’t working for bbpress, it does work on every other page including BuddyPress. So that’s good. I just can’t believe I didn’t find this sooner. Anyway, it works. Now if I could just figure out how to get bbpress working the way I want it, I’ll be good to go.
>> I know that Base group are shown in the Registration Form
@shmk thanks for confirming, just had to make sure you did. There’s a trac ticket which needs some more work done to get the feature you want at https://buddypress.trac.wordpress.org/ticket/6347
@engine44 Have you read https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/ ? What shortcode did you use for your forums index page? Have you created an additional new Forum from wp-admin menu Forums > New Forums?
@darkdog
This post may help you with this: https://buddypress.org/support/topic/swap-out-the-buddypress-page-title-with-the-wordpress-page-tile/
I have no idea if BP is going to make this easier in the future to change these things dashboard backend or not – I have made some posts about this a time or two around here – but bp pages, their displayed on screen titled, and the meta titles have been a mess for a long time. Unless you know php and are willing to dig deep through documentation that is disorganized and possible outdated, there is no easy way of handling these issues.
All right thank you everyone, I finally figured it out.
I was not able to find an S2 Member function that worked for my specific task.
Luckily I had a custom BuddyPress field that also designated the user Level.
I got the field ID of “55” by hovering over the edit portion of the custom profile field.
This is the final working code:
<?php if(is_user_logged_in() && xprofile_get_field_data( 55 ) == 'Employee'){ ?>
<div class="paybox">
<h3>Make Payment with PayPal®</h3>
<?php $uemail = getDisplayedUserEmail(); ?>
<?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?>
</div><!-- .paybox -->
<?php } ?>
What RemonStormborn is having a problem with is exactly what is happening for me. This changed after one update. Which one, I do not know. I have waited several months to reinstall Buddypress hoping things would be different but it is not.
I want to disable sidebars for my buddypress pages (activity, individual members’ pages, etc.). I’m very new to WordPress. Please kindly give me a step-by-step instruction.
Hello,
i was wandering if there is a way to organize your buddypressfriends into groups?
The current groups-functionality works only of the user signs up for it.
I would like to organize my friends into “colleagues”, “family”, “close friends”, … and when i create an post/update, select the different friend”groups”.
I am new to using W3 Total Cache. Are there any guides out there to setting that up for BuddyPress?
Not that I know of. Is there anything in the W3 Total Cache documentation?
So i’ve had some success trying to change the profile links with this code:
function _bp_core_get_user_domain($domain) {
$url = get_home_url();
$user_id = bp_get_member_user_id();
if (empty($user_id)) {
$user_id = bp_get_activity_user_id();
}
if (empty($user_id)) {
//$user_id = bp_displayed_user_id();
}
$user_info = get_userdata($user_id);
$link = $user_info->display_name;
$domain = '' . $url . '/profiles/' . $link . '';
return $domain;
}
add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4);
apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);
This seems to work on every profile link except the one in the activity header section. This link is being changed but just to /profiles/. The display name is not being added to the end… so looking at my code this means i’m not retrieving the user id in the activity. Strangely enough though the user avatar next to the post has the correct link applied to it with the above filter! Any ideas?
My other option is to use the buddypress member profile location but replace it with my profile templates. I tried to implement this by creaing a members/single/home.php in my wordpress custom theme folder… but the profile loads inside another page, i get a page within a page type effect with the username above the inner page… not sure what is going on there? If anyone can help with either of these solutions i’d really appreciate it!
James
So, I’ve gone through and deactivated and reactivated each plugin one by one.
The problem seems to be with W3 Total Cache. When I deactivate that the upload options appear right away.
Edit: I am new to using W3 Total Cache. Are there any guides out there to setting that up for BuddyPress?
Edit 2: Seems to be a problem with minifying JS. Disabled that in W3 Total Cache and everything is right as rain.
Is there a table in the DB that deals specifically with notifications?
Yes. That’d be bp_notifications
If so, I guess I could just empty it before I emptied the stream and stream meta tables.
Shout up if anyone thinks that could be a problem.
Instead of deleting directly from the database, you should use these functions:
bp_notifications_delete_notifications_by_type()
bp_notifications_delete_notifications_by_item_id()
bp_notifications_delete_all_notifications_by_type()
bp_notifications_delete_notifications_from_user()
Alternatively, if none of these quite suit your need, go straight for the class method:
BP_Notifications_Notification::delete()
Add these additions to your style.css for a fix.
#buddypress div#item-header #item-header-cover-image #item-actions {
margin-top: 0px !important;
margin-left: 0px;
clear: all !important;
max-width: 80% !important;
}
This may be considered as bug in current behavior. Currently, BuddyPress only looks for published pages when looking for component associated pages in bp_core_get_directory_pages().
You may want to report it on the BuddyPress trac and the core developers and weigh their opinions on this.