-
David Cavins replied to the topic Deleted Message Issue in the forum How-to & Troubleshooting 5 years ago
It sounds like WordPress doesn’t think he’s logged in anymore. I’d start by ensuring that he is logged in.
-
David Cavins replied to the topic How do I style buddypress with my current theme? in the forum How-to & Troubleshooting 5 years ago
Hi @spacerust–
CSS is cumulative, so you can add styles to any CSS file that is loaded and they’ll be respected if they win in the specificity race. https://css-tricks.com/specifics-on-css-specificity/
-
David Cavins replied to the topic Have you forgotten the password? in the forum How-to & Troubleshooting 5 years, 4 months ago
Hello, it looks like you’re using another plugin to manage logins that might have something like “uwp” as its name. Try disabling that plugin and seeing if the site works as expected.
-
David Cavins replied to the topic Cannot remove group invites in the forum How-to & Troubleshooting 5 years, 4 months ago
Thanks for your report! I’ve created a ticket with a patch that corrects the behavior here: https://buddypress.trac.wordpress.org/ticket/8167
-
David Cavins replied to the topic Link to BuddyPress on Author page in the forum How-to & Troubleshooting 5 years, 5 months ago
That depends on what theme you’re using. If you find out what template or function is producing the author page, you can add a link the user’s profile page using the function
bp_core_get_user_domain( $user_id )
. You’ll have to pass in the correct user ID, which should be used in the author page, too.Your addition might look like
<a href="<?php…
[Read more] -
David Cavins replied to the topic How to filter private messages for duplicates/spam in the forum Creating & Extending 5 years, 5 months ago
That’s an interesting idea. What about using the Akismet anti-spam service to check the content of the message?
I’ve also had bots send spam messages via private messaging, and it’s a pain once it gets started.
-
David Cavins replied to the topic One BuddyPress account across multiple sites in the forum How-to & Troubleshooting 5 years, 5 months ago
It may be possible, but it would have to be accomplished using a custom plugin (and would be complicated).
-
David Cavins replied to the topic Add custom taxonomy to member loop in the forum Creating & Extending 5 years, 5 months ago
Hello, you can add information to output to this hook:
add_filter( 'bp_nouveau_get_member_meta', function( $meta, $member, $is_loop ){
// is_loop is true in the members directory
if ( $is_loop ) {
// Taxonomy fetching code goes here...$member->ID is the member ID.// Then assemble the output.
$meta['taxonomy_item'] = "taxonomy item " .…[Read more] -
David Cavins replied to the topic Admin notification for all activity in the forum How-to & Troubleshooting 5 years, 5 months ago
The content of the activity item would be
$activity_array['content']
. You can see the action that Venutius was using here: https://buddypress.trac.wordpress.org/browser/tags/5.0.0/src/bp-activity/bp-activity-functions.php#L1931So you’d just add something like
$message .= "$activity_array['content']";
to the code posted… -
David Cavins replied to the topic Moderate activities with "pending" mode status in the forum How-to & Troubleshooting 5 years, 5 months ago
Hi @rezocom–
That’s a pretty complicated request. I’ve used a plugin that adds a “spam” action link to activity posts, but doesn’t have an approval workflow:
https://github.com/francescolaffi/BP-Moderation -
David Cavins replied to the topic Hide username in messages in the forum Installing BuddyPress 5 years, 5 months ago
That’s funny, someone else is trying to do something similar: https://buddypress.org/support/topic/the-username-i-wanted-to-hide-is-seen-in-the-messaging/
As I note in that other thread, it’s going to be hard to hide the username since it’s fundamental to BP messaging and mentions. Sorry, I can’t think of any straighforward way to change that behavior.
-
David Cavins replied to the topic Error Message after purchase in the forum How-to & Troubleshooting 5 years, 5 months ago
Your problem appears to be that a plugin called Learndash is trying to use a function
groups_is_user_member()
before that function is defined, or maybe you are not using the BuddyPress Groups component, then it will not be defined. You’ll beed to explain the issue to the Learndash plugin authors so they can check for the function to exist before…[Read more] -
David Cavins replied to the topic The username I wanted to hide is seen in the messaging in the forum How-to & Troubleshooting 5 years, 5 months ago
Hi @visitatore–
The username is used extensively through BuddyPress, so I don’t know how it can be kept a secret. (For instance, it’s used for the user’s profile page url at
/members/{username}
.)I don’t think you can hide the username entirely, since the BP messaging and mention system is built on the username, but you could probably change out…[Read more]
-
David Cavins replied to the topic Rename Group Nav Not Working in the forum How-to & Troubleshooting 5 years, 5 months ago
On what hook are you firing that function? Are you using the Legacy or Nouveau template pack? (Have you changed from the Legacy to Nouveau template pack recently?)
It could be a number of things, but my first thought is that there’s no reason to be changing the groups nav when you’re in the middle of the create routine, so maybe there’s a more…[Read more]
-
David Cavins replied to the topic Displayed user user-nicename in profile activity tab name in the forum How-to & Troubleshooting 5 years, 5 months ago
That’s pretty old code you’ve found. We have a new API for that:
The example “Changing the name of the Unread subnav item of the user’s Notifications nav menu” is pretty close to what you’re looking for. If you want to add the displayed user’s display name, this is close:
function b…
[Read more] -
David Cavins replied to the topic Members Slug Redirects to Home in the forum How-to & Troubleshooting 5 years, 5 months ago
Can you say what the update was? Was it a BuddyPress update or a WordPress update (or some other plugin), or do you know?
Thanks!
-
David Cavins replied to the topic Filtering member directory in the forum How-to & Troubleshooting 5 years, 5 months ago
You might look at using Member Types to organize your members: https://codex.buddypress.org/developer/member-types/
-
David Cavins replied to the topic Losing first and last name fields in the forum How-to & Troubleshooting 5 years, 5 months ago
Great, thanks for the update!
-
David Cavins replied to the topic How can I remove margin and padding from buddypress activity stream list in the forum Creating & Extending 5 years, 5 months ago
That really depends on your theme. You can use your browser’s inspector to see what CSS rules are causing the layout, then override them by adding custom rules to your site via the customizer or by using a child theme.
Firefox’s inspector How to: https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector
-
David Cavins replied to the topic Activation email blocked by Mailjet in the forum How-to & Troubleshooting 5 years, 5 months ago
Various email services filter for spam in different ways, and it can be a real trick to get the activation mail to be delivered. I’ve had good luck using an API mailer like SendGrid or similar, where you can set up all the extra email supporting stuff like DKIM and SPF. Several of the popular API mailers have WP plugins, so that’s one way you can…[Read more]
- Load More
@dcavins
Active 4 days, 15 hours ago