Questions tagged [buddypress]

BuddyPress is a WordPress plugin that helps you run any kind of social network on your site, with member profiles, activity streams, user groups, messaging, and more.

BuddyPress is an open-source social networking software package owned by Automatic since 2008. It is a plugin that can be installed on WordPress to transform it into a social network platform.

797 questions
4
votes
3 answers

Buddypress Unread message count - live update?

I am using the following code to display the logged in users unread message count in a template.
gordyr
  • 6,078
  • 14
  • 65
  • 123
4
votes
0 answers

How to manage Buddypress Activity on a multilingual site?

I've been looking for an answer to this question for a while. Buddypress works very well on multilingual websites, especially with "WPML" and "BuddyPress Multilingual" plugins, but there was still a problem with the global Activity Stream module (a…
dragoweb
  • 699
  • 1
  • 8
  • 17
4
votes
2 answers

How do I turn a "add a friend" link to a button? It functions differently than e.g. "send message" link

The function "send private message" works as a button
when inserted here in the PHP file:
pretsa
  • 51
  • 4
4
votes
1 answer

How to mysql query `$wpdb->get_var` `bp_groups` in buddypress?

I know that: $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->users;"); Can select wordpress user by mysql, but when I call a buddypress group, it failed, nothing returns $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->bp_groups;"); How do I fix this?
yuli chika
  • 9,053
  • 20
  • 75
  • 122
4
votes
2 answers

Wordpress - Buddypress plugin

I want to hide sub-nav in profile settings I hide sub-nav comment "wp-content\plugins\buddypress\bp-settings\bp-settings-loader.php" // Add General Settings nav item $sub_nav[] = array( 'name' => __( 'General', 'buddypress'…
4
votes
1 answer

How to call a function after a group or user are created in Buddypress

I am trying to save user and group details in an Active Directory (LDAP) after buddypress save the details in mysql database. Where can I place the code to save user and group details in LDAP. Can I call a function or are there any inbuilt function…
Edison Trutwein
  • 765
  • 5
  • 22
4
votes
1 answer

Redirect all URLs ending in "#_=_" to Root Domain

Hi I am looking to create an htaccess redirect that takes http://www.example.com/cooluser/profile#_=_ to http://www.example.com/cooluser/members/profile/ where /cooluser/ is dynamic and unique to the user that is logged in. This is a buddypress…
Azanmi
  • 41
  • 1
3
votes
1 answer

Override Buddypress function to change SQL conditions

I’d like to add condtions to the bp_forum_topics() loop that only contain posts with certain keywords. Can anyone help me with this? I’d like to create a custom plugin that overrides the current function bp_forum_topics() that does this. Im new to…
madphp
  • 1,716
  • 5
  • 31
  • 72
3
votes
2 answers

Pagination on BuddyPress member profile

I want to display posts of a user in a custom tab on members' buddypress profile. Problem: The pagination does not work. What I'm trying: Here's the code that I'm trying: Create tab: The function below creates a tab on the members profile page. It…
user1355300
  • 4,867
  • 18
  • 47
  • 71
3
votes
2 answers

How To Get URL To Post Author's User BuddyPress Avatar Inside Wordpress Post Loop

The Question How to get just the URL to a post author's avatar? The Requirements I want the url to the image that is hosted on my website. Image will be called in the loop of a post. The author of the post is the person whose avatar image I wish to…
Hastig Zusammenstellen
  • 4,286
  • 3
  • 32
  • 45
3
votes
1 answer

Buddypress custom activity loop and query function

I added an additional activity feed to my profile page that queries for a linked user and returns their activity. The problem is, I want to write this over to a function as there will often be other areas of the site that need to use this same…
3
votes
1 answer

Buddypress Plugin Theme error

This is with respect to a buddypress addon (plugin) whose theming I am unable to do. I searched many sites but unable to get a concrete solution. In the plugins page, Header is getting disturbed if its a buddypress theme but is working fine in…
Amit Ray
  • 3,445
  • 2
  • 19
  • 35
3
votes
0 answers

How to customize pagination links in buddypress

I'd like to customize the pagination link template in buddypress. Currently, the pagination does not show up to 10 page links even though total page count is more than 10. The template looks like following. 1 2 ... 10 -> I want to show all page…
3
votes
2 answers

Custom Email Validation in Wordpress/BuddyPress Registration

I'm creating a site using WordPress and BuddyPress. Registrations should be open to everyone with a .edu email address. If I was using vanilla WordPress, doing this would be pretty straightforward using the registration_errors filter, but that…
Chris Herbert
  • 6,145
  • 3
  • 19
  • 31
3
votes
1 answer

Enabling Wordpress toolbar with Woocommerce installed

I have developed a site which has worked perfectly until now - I've installed Woocommerce, along with Simple Auctions plugin to allow reverse auctions, however by default Woocommerce disables the standard toolbar in wordpress. As I have buddypress…
1
2
3
53 54