-
Boone Gorges replied to the topic Create link to logged-in member profile page? in the forum How-to & Troubleshooting 7 years ago
I think you want something like this:
$user_id = bp_loggedin_user_id();
$user_profile_url = bp_core_get_user_domain( $user_id );
-
Boone Gorges replied to the topic Buddypress how to make two user friends by their user id via custom code in the forum How-to & Troubleshooting 7 years ago
BP’s functions may not be completely loaded by the time functions.php is loaded, so it may not be possible to run directly in functions.php. That being said, there is very little that you should be doing directly in functions.php, aside from calls to
add_filter()
oradd_action()
. Similarly, your friend actions should take place inside of a…[Read more] -
Boone Gorges replied to the topic Group Wizard Fails at Step 2 in the forum How-to & Troubleshooting 7 years ago
Hi @angrywarrior – Really sorry to hear you are having troubles.
The “are you sure…” message indicates that a nonce check is failing. It makes sense that the nonce check is failing, since the nonce field is not being rendered on the second step of the wizard – from what you described, nothing is.
> next step is blank – you can only see the b…[Read more]
-
Boone Gorges replied to the topic Groups not displaying properly in the forum How-to & Troubleshooting 7 years ago
CSS changes must go in a CSS file; putting them into a header.php file won’t do anything, unless you use some specific syntax.
It’s possible that the style.css sheet that you are referencing is not actually being loaded, due to an improperly built child theme. You can tell by viewing the source of the page and looking for a file being loaded in a…[Read more]
-
Boone Gorges replied to the topic Why doesn't BuddyPress work with popular subscription plugins? in the forum Third Party Plugins 7 years ago
Hi @aubreyw – Thanks for the post!
I haven’t done a lot of work with these plugins myself, so I can’t give direct advice. But I was recently researching a bit, and I found that Restrict Contact Pro has a third-party add-on that does integrate nicely with BuddyPress: https://skillfulplugins.com/plugins/restrict-content-pro-buddypress/ I have not…[Read more]
-
Boone Gorges replied to the topic Change mentionname to displayname in "cover-image-header.php" in the forum How-to & Troubleshooting 7 years ago
> I replaced the indicated line of code in my child theme’s cover-image-header.php with yours. Not only does the Display Name not appear (only the “@” appears), but everything following it (tabs of user activity, etc) disappears. The page just ends.
Sorry, there was a typo in my original response. I wrote
bp_displayed_user-id()
instead ofbp_displ…
[Read more] -
Boone Gorges replied to the topic Groups not displaying properly in the forum How-to & Troubleshooting 7 years ago
Hi @writingbox – Unfortunately, it’s very hard to debug this without access to the live site. But if the problem is indeed that there is a margin-top issue on this element, you could put the following into your child theme’s style.css:
body.single-item.groups #buddypress div#item-header div#item-actions {
margin-top: 0;
}
Be sure to do…[Read more]
-
Boone Gorges replied to the topic How to disable private message notification? in the forum Installing BuddyPress 7 years ago
Thanks, @friendlygooners – I did read your previous post and visit your site, but what I’m saying is that I’m not sure what “mesage” or “notification” you are talking about. I currently see a partially-hidden item in the upper-right corner of the page, which ends in the sentence “Please reply if you are not a bot”. Is this the message that you are…[Read more]
-
Boone Gorges replied to the topic How to remove the "View" link and the latest update in the user profile? in the forum How-to & Troubleshooting 7 years ago
If I understand the “view link” issue correctly, then the following CSS is probably enough to hide it:
.latest-update a { display: none; }
A screenshot would verify whether we’re thinking of the same thing.
Please note that if you’ve made changes in cover-image-header.php within the buddypress directory, these changes will be overwritten the…[Read more]
-
Boone Gorges replied to the topic Change default name post in the forum Installing BuddyPress 7 years ago
Hi @vincent46 – Can you please share a link to the guide that you followed?
You mentioned that you changed the language file, but that the changes were lost. Is your site in English?
-
Boone Gorges replied to the topic Buddypress with large scale users in the forum Installing BuddyPress 7 years ago
There are a couple places where BuddyPress itself adds an
IN
clause like this to the user query.1. When showing a list of a user’s friends: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=389#L382
2. When joining against the user meta table because of some sort of meta_query:…[Read more]
-
Boone Gorges replied to the topic Change mentionname to displayname in the forum How-to & Troubleshooting 7 years ago
I’m going to close this issue in favor of https://buddypress.org/support/topic/change-mentionname-to-displayname-in-cover-image-header-php/. Thanks!
-
Boone Gorges replied to the topic Custom Menu for User's own profile pages (fixed) in the forum How-to & Troubleshooting 7 years ago
Here’s how you’d modify the code you’ve provided:
function mb_profile_menu_tabs(){
global $bp;
if ( bp_is_my_profile() ) {
$bp->bp_nav['profile']['name'] = 'My Profile';
}
}
add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201);
-
Boone Gorges replied to the topic Select2 issue with BuddyPress Xprofile Custom Fields Type in the forum Third Party Plugins 7 years ago
Thanks for following up, @pandraka!
-
Boone Gorges replied to the topic Can you have different widgets showing, depending on page? in the forum Installing BuddyPress 7 years ago
Hi @drnz17 – Yes, there are plugins that make this possible. This one has support for BuddyPress-related conditionals, like “show these widgets on a single user page”: https://wordpress.org/plugins/dynamic-widgets/
-
Boone Gorges replied to the topic How to disable private message notification? in the forum Installing BuddyPress 7 years ago
Hi @friendlygooners – Can you clarify what you mean by “the sitewide notification still exist”? Do you mean that it’s still in the markup, even though you are hiding it with CSS? Or do you mean that there is an element other than
#sitewide-notice
that is showing to all users? Can you share the markup (orid
attribute) from that additional element,…[Read more] -
Boone Gorges replied to the topic Change mentionname to displayname in "cover-image-header.php" in the forum How-to & Troubleshooting 7 years ago
Hi @richardmiller-1 – The purpose of the @username part of the interface is to tell other users how to mention the user when posting new activity items, etc. It’s possible to change the value that’s displayed here, but if you do, and if users then use that text to “mention” others, then things like auto-linking of @-mentions and @-mention…[Read more]
-
Boone Gorges replied to the topic Need to Export Profile Fields in the forum How-to & Troubleshooting 7 years ago
Hi @barkins – BP doesn’t have a built-in tool for this (though it should – see https://buddypress.trac.wordpress.org/ticket/7393, https://buddypress.trac.wordpress.org/ticket/408). If you know that user IDs will remain the same between the local WP install and the live install, then you can do a simple database export/import, something like:
-
Boone Gorges replied to the topic Registration = default wordpress registration in the forum How-to & Troubleshooting 7 years ago
At the simplest level, you can use the following:
remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
This will prevent BP from redirecting away from wp-signup.php.
There are still Register links at various places in the interface. You could try to find them all and replace them, or you could just write a server-level redirect from BP…[Read more]
-
Boone Gorges replied to the topic Buddy Bar / Admin Bar only showing for admin in the forum Installing BuddyPress 7 years ago
Ha, but knowing is half the battle! Good luck, @jeffm2008.
- Load More
@boonebgorges
Active 1 year, 3 months ago