Questions tagged [buddypress]

Social networking in a box, BuddyPress is a social networking plugin for WordPress.

84 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
3answers
2k views

custom login page redirect to logged in user profile page

If I click on sign in then it should go to the login page. The issue is that when I put the link then it goes to redirect_to home page, but I want to go on user profile page instead. I don't want to ...
1
vote
0answers
30 views

Add An Activity Filter By User Id In Buddypress Plugin

On the Buddypress activity page, you can filter by All Members, Favorites, Mentions, ect… How do I add a filter to only show updates from a specific user id? There is for the "All Member" filter ...
1
vote
0answers
147 views

Buddypress - Add the post_id in the bp_activity_add function

I would like to create an post-based contextual activity stream to create an activity that is related to the post where we wrote it, I almost done. I’m using a shortcode on the function.php to show ...
1
vote
0answers
59 views

After plugin activation all users marked as Spam

I want to use Buddy Press. I `ve installed it, activated, then I automatically logged out. When I want to log me in – there is a message – my account is marked as spam. My Testaccount too. I think all ...
1
vote
0answers
52 views

Custom Profile Fields move from BBpress to BuddyPress

I used before only bbpress forum but I decided to add also buddypress. I have old bbpress user profile custom fields that I created. How to make they works on buddypress user profiles? I don't want ...
1
vote
0answers
117 views

Change url links on members loops in buddypress

I am new to buddypress, my installations is shown below. WordPress version: 4.9.4 BuddyPress Version: 2.9.3. I urgently need a way to change the url attached to members to link to member profile i....
1
vote
1answer
45 views

The “\” is missing when comments is updated

When I update the comment in the following page, the “\” is missing. I find that the problem is due to the plugin buddypress. How to avoid the wordpress comment editor converting characters like “...
1
vote
0answers
155 views

Show Specific Buddypress Group Activity Stream in page template

So, been racking my brain about this. Basically I need to display the activity feed of a specific group in a page template. I have this code (copied activity loop.php) to work to display all group ...
1
vote
1answer
101 views

How can I login as admin after redirect to custom login page

I have created a dynamic link button that links to Buddypress user profile. A login user that clicks on this button will be brought to user's profile. However, a guest that clicks on this button will ...
1
vote
1answer
164 views

Buddypress, BBPress - deqeue bp, bbp css and get group member count

I have been customizing buddypress, bbpress in my theme. I have found 2 issues you need to know. I am using less file and removed original css files. /** Remove original bp css **/ function ...
1
vote
1answer
216 views

Can't get buddypress notifications in front-end; why do I get this error?

Can someone help me with this? This is supposed to go into functions.php: function cg_current_user_notification_count() { $notifications = bp_core_get_notifications_for_user(bp_loggedin_user_id(), '...
1
vote
1answer
515 views

Buddypress dynamic profile field

Is there a way or a plugin to make Buddypress user profile dynamic? For example there's a field called contact number. The user should be able to dynamically add multiple contact numbers by clicking "...
1
vote
1answer
83 views

Is it possible to remove ‘group’ from slug for buddypress groups

Is it possible to remove ‘group’ from the buddypress groups slug? for example: example.com/groups/third-party-components-plugins/forum/ to be example.com/third-party-components-plugins/forum/
1
vote
0answers
294 views

How can I display nickname instead username in links

This question is for Security. I found this code here: add_filter( 'request', 'wpse5742_request' ); function wpse5742_request( $query_vars ) { if ( array_key_exists( 'author_name', $query_vars ...
1
vote
1answer
74 views

How to get membershiplevel from Wordpress Database?

I have a quick question and I hope some of you can help me out. The thing is I have this plugin that can put a badge to a profile picture manually. But since my website is a community it would be ...
1
vote
0answers
59 views

Display message on homepage when new user account is activated

When a new user registers on Wordpress an activation link is sent out to their email address. When the user clicks on this link they are directed to my homepage and their account is activated. At ...
0
votes
1answer
24 views

Add an extra field to BuddyPress activity form

I want to add a custom text field in the BuddyPress activity form and save it. I can add it with this code: add_action ( "bp_after_activity_post_form", 'my_test_function' ); function ...
0
votes
1answer
23 views

Add liked posts to user account

I'm working on a setlist website where the users can view all the setlists from a band. I would like to have the functionality that users can add their attended setlists to their profile. So when ...
0
votes
0answers
18 views

Trying to add an action to a custom post type

I have a custom post-type that I need to add a two state style button (Complete or Completed) The custom post type is a video so I want the client to be able to complete a workout. I am not super ...
0
votes
0answers
9 views

Registration buddypress xprofile + role

I'm doing the buddypress registration through a form. The code add the role shop_manager but it doesn't work to show the profile xprofiles. Could you help me? Thanks very much! add_action('...
0
votes
0answers
12 views

Add usermeta on Buddypress register

I would like to give to all users who register on my website the value 'Register' of a usermeta field which is called user_type. I'm thinking on adding the next code: update_user_meta( ...
0
votes
0answers
12 views

Code correction - Hide a profile from visitors with a specific role

The following code i tried to hide the profile of subscriber's role of user not logged in but I need it to be visible to the administrator and shop_manager, how can I do it? add_action('bp_ready', '...
0
votes
0answers
8 views

How to customize BuddyPress Notification triggers?

Trying to figure out where in the BP code to look for hooks or filters so that I can control what triggers notifications. On the BP site it says "By default, notifications are created as soon as one ...
0
votes
0answers
10 views

Change buddypress diplay name when custom field is filled

I am using BuddyBoss platform (a fork of buddypress). In the platform, we can create profile types where members can select a type. On my site I have Personal profiles and business profiles. When a ...
0
votes
0answers
9 views

Buddypress : Comment option for blog post

In my site, I have buddypress installed. In activity page, It allows to comment for all thing except the blog posts. I am allowing user to create blog post. Also blog post coming on activity page, But ...
0
votes
0answers
12 views

Restrict WooCommerce Category Access based on BuddyPress Group

I currently have a WooCommerce shop set up with multiple categories and products that are aimed at B2C. I also have BuddyPress set up with a number of groups with members. How would I split the ...
0
votes
0answers
16 views

Create a Resume custom post types and form using Buddyforms

I want to create a custom post type of a resume template that looks exactly like the attached image. I decided to go with Buddyforms, as it is going to be a frontend submission with a community ...
0
votes
0answers
11 views

Buddypress hide tabs

I’ve been trying unsuccessfully with the following code: -Hide USER-MEDIA and WALL tabs for the role Subscriber and customer. (this code hiden in all profiles) and how do I hide the tab GROUP only in ...
0
votes
0answers
25 views

How to add a menu item in breadcrumb only on specific, dynamically created pages

I have set breadcrumbs to appear only on bbpress and buddypress. Within bbpress the breadcrumb looks something like this: Home > FTBMates > Q&A ...where 'FTBMates' is my forum root. ...
0
votes
0answers
9 views

Share BuddyPress plugin for two different wordpress installation

I have these two subdomain site. subdomainA and subdomainb. Both use one database but with different prefixes. I shared the users for subdomainA to subdomainB. Next think I would like to do is ...
0
votes
0answers
8 views

Show Share Button On Activity Page

I was wondering if there is a way to show buttons, like the share buttons, on BuddyPress activity page without having a user log in? In other words, I need the share button, for each activity, to be ...
0
votes
0answers
10 views

How to associate a custom values with users in groups in buddypress?

In buddypress, is there a 'proper' way to associate custom values with users who are members of a group, with this custom value being different for a the same user in different groups. One example is ...
0
votes
1answer
21 views

Wordpress Multisite BuddyBoss - logout of admin panel and I cannot get back to the main site

When I logout of the admin panel on my local site. Even though I redirect the logout to the main site it instead presents the standard wordpress login page. The url has https://dev2.xxxx.wp/wp-login....
0
votes
0answers
18 views

BuddyPress Activity Stream - Remove/Replace […] from blog post excerpts

I'm looking for a way to remove or replace [...] at the end of blog post excerpts on the Activity Stream. I've found a way to replace [...] on the blog page by using the following code. function ...
0
votes
0answers
18 views

BuddyPress Customizations

I am new to Wordpress and Buddypress. I have a couple of items I am struggling with and would love a little direction. In Buddypress, when you visit a group that is private, you receive a default ...
0
votes
0answers
20 views

Help with group pages and redirections

I am new at asking for assistance in these forums. So, bear with me please. I am working on a WordPress site that involves BuddyPress groups as well as the membership system that PMPro provides. I am ...
0
votes
0answers
27 views

Display custom action in activity stream buddypress

I wan to display my custom created action activities in activity tab of groups but it is displaying in activity tab which is global. I had tried alot of solution on internet but no one is working. ...
0
votes
0answers
19 views

Buddypress notification description returns null

I am currently trying to modify the Buddypress rest api, specifically the notification endpoint and trying to add the notification description to it. I have tried using the following functions and ...
0
votes
0answers
8 views

Edit Buddypress extended profile from a form

My users will have to fill a form pretty soon and I would like to use the informations they will set in it to update their BP profile. Any idea on how to do it ? The populating of a form using BP ...
0
votes
0answers
16 views

Very large list of options for BuddyPress profile fields

I’m making a site with BuddyPress xprofile fields which can have up to 40000 options. I already loaded the options into the db via csv file. Now the site loads very slowly and is basically unusable. ...
0
votes
0answers
24 views

Suggestion to buid a site with wordpress

What would you use to accomplish this site structure? members can upload their photos. first page will show members photo (only one photo). only paid members can upload and have photos visible/shown. ...
0
votes
0answers
33 views

How to add Buddypress user avatar to navigation menu item

So i have installed buddypress on localhost what i am looking to do is add user profile image (avatar) to navigation menu item something like this,
0
votes
0answers
118 views

How to sort members list by xprofile value?

if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : do_action( 'bp_before_directory_members_list' ); while ( bp_members() ) : bp_the_member(); // the loop content goes ...
0
votes
0answers
115 views

How to store BuddyPress user profile picture details is Database

I just try to make a forum with BuddyPress. Here I need to extend my user search based on who has a profile picture or not. So far I know BuddyPress does not store the avatar file name or path in the ...
0
votes
0answers
45 views

How to retrieve parent_id for BuddyPress Group?

How can I retrieve the parent_id for a BuddyPress group while in the bp_groups() loop? There doesn't appear to be a template method but looking at the bp_groups database table, I can see the parent_id ...
0
votes
1answer
22 views

BuddyPress : how can I call the template Wordpress would have chosen (template hierarchy)?

playing with BuddyPress here ! I made some new user profile pages, and when I display the content, I want to make a new posts query, and display the loop. Thing is, I want to display that loop using ...
0
votes
0answers
91 views

How can i export extended user data groups-names?

I have made a website using BuddyPress and i used the feature "extended profile fields". But i have a problem. When i export the user data, the built-in buddypress "export script" in (buddypress/bp-...
0
votes
0answers
13 views

Buddypress profile fields don't get exported

How can i export buddypress extended profile's titles? When i export buddypress's extended fields, it seems like wordpress is just exporting input names without their parent titles. As you can see ...
0
votes
1answer
248 views

Buddypress update user avatar image via REST

I’m creating a custom back-end API to update a user avatar image via user id. So i send via post REST request this parameters: – user_id : The id of the user; – image: base64 image; – image_name: ...
0
votes
0answers
7 views

I want to let the members must upload the avatar,otherwise they can`t send the private message

In buddypress if I want to let the members must upload the avatar,otherwise they can`t send the private message. How can I do ??? Can I do it via function.php?