Ajax calls need access to wp-admin.
You’ve blocked it so the ajax calls will not work.
And you see that in the areas you’ve mentioned.
You’ll need to add this conditional to your whitelist check:
wp_doing_ajax
Something like: if ( ! is_admin() && wp_doing_ajax ()) {
Wordpress 4.8.3, BuddyPress 2.9.2, self hosted on an Apache (shared) server.
I really want this to work but I install WP and BP without errors. I set ‘activity’ as a static front page. I test the site (there are no other users) and all looks OK.
I logout. I login. The page still appears to be logged out. The page doesn’t refresh to the ‘activity’ page with me as logged in.
I have tried with themes twentyfifteen, sixteen and seventeen.
I’ve searched the entire internet for a solution, not just here, and many people suggest redirect plugins. I’ve tried a few but it doesn’t work for me.
Some solutions suggest bp_custom code. I tried and it didn’t work.
The only solution I sort of found for myself was to place a “who’s online” widget on the page. After I login (and appear logged out) I click the link in the widget to my profile page. Then I can return to the home page and see I am logged in, BUT even that sometimes fails.
Please, someone, tell me what causes this incorrect login issue and how to finally resolve it.
Hi,
First of all, let me put here my site url http://xlomo.gr/site/
I use WordPress 4.8.3 and BuddyPress 2.9.2
In normal mobile mode everything are fine.
When I login as a user, the black line with my info goes over the web page.
You can see the problem only on mobile display. I put 2 pictures with the example.


Thank you,
To match our design… I need to move the time-since span in the activity stream down a line… out of that activity header paragraph. I tried just absolute positioning instead but that’s not working since it’s part of the paragraph which grows when there is a post to a group.
Any css tricks I’m not thinking about?
Or if I have to modify a template file then where exactly is the one I modify? We have a child theme kinda going but I’m not sure where that part is coming from or how to move the span out of that paragraph and down a line.
Thanks for any help with this. I can’t point you to the site because it’s in maintenance mode but it should be the same I imagine with the default wordpress/buddypress layout.
Hi @VentureCore-
It seems like you can make avatars work remotely. Check bp_core_fetch_avatar() for some filter opportunities. https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-avatars.php#L98
I’ve not done what you’re trying to do, but it seems that the filter points bp_core_avatar_folder_url, bp_core_avatar_folder_dir could be useful, but there’s a filter on the final result at bp_core_fetch_avatar for the “html” output version and bp_core_fetch_avatar_url for just the url.
Cover images should actually be easier to manage. Take a look in https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-attachments.php#L28
Alternatively, you could filter the other plugin to ignore avatar and cover image requests. Lots of ways to solve this, I’d bet.
What about using a custom member front page? Then you’d have total flexibility:
Custom Front Pages for your users profiles
Otherwise, I think you could conditionally filter bp_displayed_user_get_front_template to specify members/single/activity.php for self and friends and members/single/profile.php for non-friends. See this function:
https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-template.php#L1397
Good morning Boone,
before I start. I just want to say a big thank you from Boulder, CO. You guys are awesome!
Below:
View Content url > https://www.community.newmessage.org/login/?action=bpnoaccess&auth=1&redirect_to=https%3A%2F%2Fwww.community.newmessage.org%2Factivity%2Fp%2F3284%2F
We are using Rocket Chat and have installed a plugin called: WP OAuth Server – CE
Description: “Use WordPress to power your OAuth 2.0 Server. Provide Single Sign On and other OAuth 2.0 functionality.”
Awaiting further instructions from you. In the meantime, I will try to turn off the above plugin and report back to you.
Ha. Yes, this is an old and annoying issue in WordPress and WP plugins.
That said, we have done extensive work in the past to ensure that quotes are stripped where necessary throughout various interfaces. If you can share more detail about exactly where you’re seeing the slashed content, we may be able to help figure out where things are going amiss. For example, you say that you’re seeing this in the activity feed. But in what context? Is it when you type something directly into the “What’s new” box, or when something is syndicated from elsewhere on the site? Are you seeing the slashes when you refresh the page, or only when the content is returned from the database?
Hi @mycraze – It sounds as something is failing to load the jquery-cookie script. BP attempts to do it in the function bp_core_register_common_scripts(): https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-cssjs.php?marks=54#L18
The first thing to check is to see whether the page is attempting to load the script in the first place. View the source of the page, and look for a tag that looks something like this, in the document head:
<script type='text/javascript' src='http://example.com/plugins/buddypress/src/bp-core/js/vendor/jquery-cookie.js?ver=2.9.2'></script>
If you *do* see this, but are still having the problem, try the following:
* Load the script URL directly in a new tab. Does it load?
* Open the Network tab of your browser’s developer tools. Is the browser unable to access the file for some reason? Perhaps a 404 or some other error?
If you do *not* see the script tag, then it’s a server-side issue. My guess, in this case, is that you are using a third-party theme that loads the bp-legacy JS file without also properly declaring the dependencies. To verify, switch to a default WP theme (like Twenty Sixteen) to see if the problem clears itself up. If this is the problem, you may want to talk to your theme author, or share the relevant code from the theme (probably looks like wp_enqueue_script...) and we may be able to help you correct it. In the meantime, you may be able to work around this problem by manually enqueing the cookie script in your functions.php file. Something like:
add_action( 'wp_enqueue_scripts', function() {
wp_enqueue_script( 'bp-jquery-cookie', buddypress()->plugin_url . 'bp-core/js/vendor/jquery-cookie.min.js', array( 'jquery' ) );
} );
Hi @redcompolitica – I’ve built multi-page registration processes for clients in the past, but unfortunately, it’s not very easy to do – BP’s registration system is not built in such a way as to make it easy.
If your main goal is to make registration less overwhelming, you might consider moving some or most of your registration fields out of the “Base” group. This will mean that they don’t show up during the registration process, and users will have to fill them in by editing their profile after signing in.
If your goal is to have *conditional* registration steps – where, for example, step 2 depends on a specific value provided in step 1 – then I’m afraid it’d have to be custom-built. Much of the work could be done with a custom theme template members/register.php and by modifying the way that registration data is saved and validated https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-screens.php?marks=113#L72
Some Trac tickets that are somewhat related that you might want to follow:
https://buddypress.trac.wordpress.org/ticket/1842
https://buddypress.trac.wordpress.org/ticket/4278
Good luck with your project!
Hi BuddyPress users,
I’m trying to delete the Primary profile field group for my WordPress multisite install, but I don’t know how. I AM able to prevent it from showing by turning off the “Extended Profiles” option in BuddyPress, but this is not an optimal solution, as I want my users to be able to easily upload profile pictures for themselves instead of having to make a Gravatar.
I used to have far more profile fields and was able to remove them with no problems.
Thank you very much for your time,
Charlie Phillips
Site: weathertogether.net
Buddypress version: 2.9.2
Wordpress version: 4.8.3
Hi, currently running on latest wordpress and buddypress versions.
My problem is that private message, public message and add friend buttons appear but are not clickable. I tried with Twenty Sixteen and the problem is still there.
Any ideas ?
Thanks a lot
http://www.alumni-ferney.eu
Hello,
I would like to modify the default Member’s page to remove the “bp_member_latest_update”. Currently the page shows the list of members, not including the “Admins”. I achieved this by adding the following function to the functions.php page:
add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_role' );
function buddydev_exclude_users_by_role( $args ) {
//do not exclude in admin
if( is_admin() && ! defined( 'DOING_AJAX' ) ) {
return $args;
}
$excluded = isset( $args['exclude'] )? $args['exclude'] : array();
if( !is_array( $excluded ) ) {
$excluded = explode(',', $excluded );
}
$role = 'administrator';//change to the role to be excluded
$user_ids = get_users( array( 'role' => $role ,'fields'=>'ID') );
$excluded = array_merge( $excluded, $user_ids );
$args['exclude'] = $excluded;
return $args;
}
The page shows the default behavior: Avatar, Name, Latest Activity (with a link that reads “view”), and the last active time.
I would like to remove/hide the latest activity (including the word “view”) from the list altogether. Any ideas on how I could achieve this? Perhaps with a snippet to add to the functions.php file?
I have the following installed:
BuddyPress – 2.9.1
WordPress – 4.8.2
Theme – Buddy (child)
I appreciate any help in advance!
Hi,
We’ver recently launched our site, http://www.theknightsrequiem.com. Our site usses both buddypress and bbpress. We are having an issue with cover photos being uploaded to users profiles.
When you try to upload the photo, you get a progress bar, like you would see any other time. However it never appears, you just receive the message
“For better results, make sure to upload an image that is larger than 0px wide, and 225px tall.”
Again no image is actually uploaded or displayed. However, we can upload user profile photos.
We are running WordPress 4.8.2
Our theme is Game Addict by Skywarrior
Potential plugins that could be affecting this, Buddypress itself, bbpress.
Thank you for your time and help.
Hi,
just for your information, we’ve created a plugin which remove the password confirmation in the registration form:
https://wordpress.org/plugins/nopassconfirm/
Test it and tell us if that works fine for you!
Olivier
Hey Guys, i have tried installing buddypress plugin for my website http://www.lovelylifevines.com through wordpress cms and showing an unknown error. Will post screenshot on the same.
Here is more specific details. Ignore the $200 if it requires more then 2 hrs of work…
Buddypress Custom Queries to Feed Justified Image Grid Plugin
No sure if this was others’ experience, but for me the description duplication does not happen when tested with a WordPress theme. I just submitted a request to SeventhQueen regarding this, while using their “Kleo” theme.
Can anyone recommend how to achieve a site such as http://www.tutora.co.uk and http://www.tutorhunt.com using wordpress/buddypress?
We want to have a home page, about etc but then a search page where users can search for tutors based on subject level and location.
Tutors can sign up and create a profile with these custom fields.
They can then private message each other and agree to work together.
Upon acceptance, the user can then purchase the tutors details – payment made to our site.
I was looking at buddypress for the profile and private messaging – is this possible?
What about the payment and search functionality – does anyone have any recommendations on how to achieve this?
Hi,
I’ve been looking for a few chat options that are compatible with BuddyPress. Pretty much, I want my users to be able to communicate with each other through a live chat and for those chats to be indexed in the message component of buddy press.
I’ve tried WordPress, BuddyPress Users Chat Plugin but it is riddled with very bad code and security vulnerabilities.
Anyone have other options…I’ve seen some online but they cost upwards of $200.
I’m even thinking of developing a solution myself.
BuddyPress uses a theme compatibility layer, meaning it uses its own templates that are designed to drop into any theme. You can overload all kinds of template parts for BuddyPress:
Template Hierarchy
However, there are plugins (I’ve not tested) that you could maybe get to work if you have two themes in mind: https://wordpress.org/plugins/jonradio-multiple-themes/
Best,
-David
This is sort of a big WordPress question that lots of people would like to change, but it’s not that easy. You could try using the plugin Theme My Login, which would need to be applied carefully, as it overlaps with BP a bit. https://wordpress.org/plugins/theme-my-login/ (I have no idea if this is a good plan, you’ll just have to try it.)
The black bar across the top is a WordPress per-user preference “Show Toolbar when viewing site”. There are many resources on the web about how to disable it/change the behavior:
https://www.google.com/search?q=wordpress+disable+toolbar+for+subscribers
You can save extra things manually on the bp_core_signup_user hook:
https://buddypress.trac.wordpress.org/browser/tags/2.9.1/src/bp-members/bp-members-functions.php#L1900
But I imagine that the simpler answer would be to use Profile Fields. If you add profile fields to the base group, then they appear on the registration form and are saved at signup. https://codex.buddypress.org/administrator-guide/extended-profiles/
Best,
-David