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
15
votes
5 answers

File uploads: Percentage completed progress bar

I'm trying to add a 'percentage completed so far' progress bar to avatar uploads in BuddyPress. The aim is to stop users navigating away from the page before the upload is completed. The upload process is handled in BuddyPress by…
henrywright
  • 10,070
  • 23
  • 89
  • 150
11
votes
2 answers

Simple strtolower not working

Im sure this is something obvious i'm missing but I have a string 'GB' that is stored as $str and is then echoed out using strtolower... $str = bp_member_profile_data('field=Country'); echo strtolower($str); I am expecting to see 'gb' (lowercase)…
fightstarr20
  • 11,682
  • 40
  • 154
  • 278
8
votes
5 answers

Print out User Avatar from User ID in Buddypress

So I have the User Id of someone in Buddypress. What is the function to print out their Avatar? What is the function to link to their profile?
Jordash
  • 2,926
  • 8
  • 38
  • 77
7
votes
1 answer

Wordpress User Custom Field (Checkboxes) retrieve and update - from anywhere

I've created a custom field (Checkboxes) in Wordpress > Users > Profile Fields. My site is an omni site for news, so it collects news from 20 different sources via RSS, and adds them ass posts in my Wordpress site. This is how my custom field looks…
Fernando Redondo
  • 1,557
  • 3
  • 20
  • 38
7
votes
2 answers

Add a custom notification in buddypress

I would like to add a custom notification to my buddypress "notification" tab when a particular event occurs. How to achieve this?
karthi
  • 889
  • 12
  • 24
6
votes
1 answer

in buddypress, anyone up to scratch?

I have been trying to sort this problem out for the last few days, here is an overview of my problem relating to I have 2 comment forms for a gallery plugin in buddy press, the first appears if there are no comments, and…
6
votes
2 answers

Buddypress Templates - how to customize user page?

(in WordPress)I am wondering where to edit the BP templates - should I edit the core template files(in wp-content/plugins/buddypress) or is there a way to somehow make your own BuddyPress theme ? Thanks.
jave.web
  • 13,880
  • 12
  • 91
  • 125
6
votes
2 answers

WordPress and BuddyPress SPAM prevention

I am setting up a site using WordPress and buddypress with suffusion theme. All up to date. As per usual I have spammers registering and are banning them as the register. I ban their ip number on the htaccess file. Then I notice an ip number was…
Donal
  • 73
  • 5
5
votes
1 answer

Implement a Foursquare-like Check-In into a wordpress/buddypress install

I am working on a pretty challenging project (at least challenging for me and my modest skills), which is based on Buddypress. Basically, I have this Buddypress Install, which I modified to fit my needs, which are for the most part localization…
Charleshaa
  • 2,218
  • 2
  • 21
  • 25
5
votes
2 answers

Buddypress hook after image is uploaded

i want to update a custom user_meta field when a user uploaded a new image (not avatar). Working code for avatar upload add_action('xprofile_avatar_uploaded', 'callback'); function callback($user_id, $type) { // $activity_id = <- the activity…
Peter
  • 11,413
  • 31
  • 100
  • 152
5
votes
2 answers

How to make .htaccess writeable for wordpress?

I have Wordpress running on a dedicated centos server with Buddypress installed . Buddypress requires pretty permalinks. Therefore I changed i to /%postname%. Somehow it did not work because Buddypress is not working correctly and Wordpress suggests…
sil0r
  • 51
  • 1
  • 1
  • 2
5
votes
5 answers

Fatal error: Cannot redeclare happening on same line

I have been fighting with this error for a while. The error is somewhere in the function I now have php telling me it can't redeclare a variable on the same line... strange. Any help would be great. Fatal error: Cannot redeclare …
Brooke.
  • 3,691
  • 13
  • 49
  • 80
5
votes
2 answers

Buddypress - Display notification and profile in Header (instead of WP-admin bar)

Is there a way to move the Buddypress "buddybar" from the admin bar into the navigation header of my theme. I want to use the "buddybar" menu and drop downs exactly as they are without being forced to use the admin bar. I have been unable to find…
user1711576
  • 412
  • 10
  • 25
5
votes
2 answers

BuddyPress, get url (link) of a group using the group id

I'am getting the id of a group using: $group = groups_get_group( array( 'group_id' => $id) ); But for the life of me I can't figure out how to return the link to the group its self. I can grab the slug, but some groups are sub groups so I can't…
john
  • 349
  • 8
  • 15
5
votes
3 answers

How to get username/display name in Buddypress?

In buddypress default tempalte, username who has posted a certain activity is displayed like this: bp_activity_action(); But that brings much more than just the username. Is there a simpler way to get the user object/name ? Wordpess get userdata…
pyronaur
  • 3,515
  • 6
  • 35
  • 52
1
2 3
53 54