Hello I would like the buddypress messages menu instead of taking the user to https://webpage/messages / to go to https://webpage/memberships/username/bp-messages/ Does anyone know how I can do it?
if you’d like to be confused even further, take a look at
BuddyPress Cover Images
it seems to say that the BP Theme Compat API uses the filter bp_before_members_cover_image_settings_parse_args for the members Cover Images
or…
something on your site is using that to call the member cover image…
I’m just guessing and floundering.
Did you try going to wp-admin > Settings > BuddyPress > Options and unchecking the box for
Group Creation ?
When the Name field does not have value, WordPress fresh install
PHP 8: Warning: Only the first byte will be assigned to the string offset in C:\Users\varun\Local Sites\buddyx\app\public\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-functions.php on line 1315
Hi,
1. if not already created: add a bp-custom.php file.
2. into this bp-custom.php file add the following line:
add_filter( 'bp_activity_maybe_load_mentions_scripts', '__return_false' );
There are several filter hooks you could try.
Look towards the bottom of function bp_core_fetch_avatar in this file:
wp-content\plugins\buddypress\bp-core\bp-core-avatars.php
For example, I would try this one first:
function gabriel_random_avatar( $default_grav, $params ) {
// $default_grav is an url
// replace it with the full url to one of your preferred avatars
return $default_grav;
}
add_filter('bp_core_avatar_default', 'gabriel_random_avatar', 99, 2 );
Wordpress 5.7.2 BuddyPress 7.3.0 Theme: Gwangi
My site has a search form. When input search fields are matched with a profile, the profile appears on the members results page as it should. Great. However, I want the ability for the person searching to click on the member profile and send them a message (notification) by email.
When I currently follow the above, when I click on the profile of the member there is no-where on the profile page a facility to send them a message. Am I missing something obvious here?
BuddyPress doc says: BuddyPress provides ways for you to send a message publicly to another member of the site or network. It also mentions: Private Message button in the member’s header – but I can’t see that.
It must work that a non-registered person can send a registered person a message. Is this possible?
Site is: https://myfamilyfinder.co.uk/family-search/
To test: If you put Brian in the Current Name search field on the above page and click Submit you’ll get Brian’s Profile appear on the members page.
Don’t use the filter.
Overload this template:
...wp-content\plugins\buddypress\bp-templates\bp-nouveau\buddypress\members\single\home.php
And then replace <?php bp_nouveau_member_header_template_part(); ?>
with a call to the image you want to use.
I have deleted the WordPress accounts…
You mean you deleted those users?
BuddyPress users are the same as WP users.
So if you delete a user, they won’t appear anywhere on your site.
I can get email working with the WP Mail SMTP plugin.
I also can get WordPress by itself to send a activation link and a user can click it then log in.
But I can’t get BuddyPress to send that activation link no matter what I have tried is there a trick to get buddypress to send that link?
Hello,
I need to delete some Buddypress accounts but having no luck doing so, can someone advise how to do this please?
The Buddypress accounts I am trying to delete were connected to WordPress accounts. I have deleted the WordPress accounts but they are still showing on Buddypress. How do I delete them from here as well as the site’s admin?
Many thanks,
This works great and new image shows – BUT – when I turn off Settings > Buddypress > Disable Cover Image Uploads – no image at all is shown! How do I show the new image AND disable Cover Image uploads? Thanks 🙂
function bp_custom_filter_cover_image() {
return ‘https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg’;
}
add_filter( ‘bp_attachments_pre_get_attachment’, ‘bp_custom_filter_cover_image’ );
I’ve been looking for and testing codes without success for days, I need a function that creates a user meta field that loads the url of the buddypress avatar image, does anyone know how to do it?
I would use the metafield for users to replace the profile image with an image url, and thus change the avatar of their author page. Thanks!
I’m also looking to include buddypress activity in site search, so bump!
Hello, I am running a multisite on wordpress, on a subsite i have installed buddypress for that website i want to hide user’s username from that entire website from the @mentions and even from url https://sub.local.com/member/username
i want it to either replace it with nickname or full name or anything.
any suggestion @buddydev or anyone ?
I’m using Paid Memberships Pro to structure membership levels across my site, with free / premium levels. Free members are not able to message members, send connections requests, etc.
However, I’ve noticed that the messages tab still appears for free levels, but redirects to a seemingly randomly page. I’m not sure why.
The tabs works correctly for Premium levels.
Is there a way to hide the message tab based on membership level?
I have used the code snippets on this very useful thread to hide profile tabs to non-logged-in users. Can these snippets be adapted for this, or is there a better way?
Another suggestion would be to expand the codex and include all the hooks and filters so that we code happy types can actually look stuff up. There is this, but at best it seems woefully incomplete. We’re on 7.2.0 and the top entry on that page leads to a PDF for 2.8.2’s hooks.
Getting the boards back on-topic would be a huge help too. Take this third-party plugins post as an example. Surely that belongs in Requests & Feedback?
An FAQ that the moderators and active helpers on the forum can point answers to would enable more people to give helpful answers to other users. If said power users can also contribute to the FAQ too, that could really expand the site’s usefulness.
Hi all,
I’m trying to modify the BuddyPress activity loop for my BuddyBoss site. I have quite a specific outcome in mind, but any help towards attaining this will be very welcome. I have a rough idea of most of the moving parts but I’m finding it difficult to pull it all together so any help would be greatly appreciated.
I’m trying to make a loop that shows forum replies and discussions which have an image uploaded to them and are posted with a specific word or hashtag.
I have two major questions:
1. Does anybody have an example of a working loop which could be placed into a PHP shortcode creator so I can experiment with the different things the loop can be modified to show? I’m having trouble even creating a working loop right now.
2. I know I can search through loops via keyword to filter out the hashtag, but is anyone aware of how to only return replies or discussion posts with images attached/uploaded? I can’t seem to work this bit out.
Any information very much appreciated.
Thanks in advance!
yes you can you can find details here
Template Hierarchy
Hello,
Thank you but it’s really only about the conditional tags that buddypress uses :)*
best regards
Please add the ability to put your answers to my posts, click on the button (like), so that (and other users) can see the notification “Someone liked your post.” I also have one question.
1. I cannot complete user registration if I fill in the Name field in Russian (Пользователь). If I write the username in English (User) then everything works fine. https://prnt.sc/13bx92f
The support of the Russian language is important to me for my work. I continue testing BuddyPress. I like it, I think I will learn how to work with your plugin, you just need to understand some subtleties.
How do I disable autocomplete in mentions in buddypress activities when typing @?
Hi @roman1wp
1. Thanks for your feedback about the BP Beta Tester plugin. I was able to fix it and I’ll soon deploy this release https://github.com/buddypress/bp-beta-tester/releases/tag/1.2.0 on the WP.org Plugins directory.
2. About BuddyX, I advise you to report the issue on the Theme’s support forum.
@drducky check screen options at top right
after clicking on it on it will have checkbox for BuddyPress
BuddyPress Links in WordPress Menus