Questions tagged [buddypress]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
63 views

permalink for group type

I have crated two group types. For example football and hockey. IS it possible to have a permalink for these group types so I would see all groups under this group types at the frontend? I used the ...
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
141 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 ...
0
votes
2answers
353 views

How to add pagination to a post loop in a custom BuddyPress tab

I created a new tab called "Videos" inside of the BuddyPress Profile page. This tab contains all video posts added by that user. The problem is that it only shows the first 12 posts and the pagination ...
0
votes
1answer
100 views

Change username link in admin bar

when i click on the username in the adminbar it redirect me to the edit profile page of buddypress. My question is,how can i change it to user activity page? thank you very much.
0
votes
1answer
135 views

New blog post published notification - Buddypress

When I open a blog post, I want to send a notification to all members. Normally, on the section of buddypress activity, it appears like ''admin wrote a new post, POSTNAME'' How do I integrate this ...
0
votes
1answer
379 views

Hide tab Buddypress profile for visitors, not logged in users

my code below works like a charm for logged in users to hide certain tabs: function bpfr_hide_activity_nav() { if( !current_user_can( 'subscriber' ) ){ return; } ...
0
votes
1answer
365 views

AJAX admin Internal 500 error Failed to Upload

I have a plugin to fetch information user from wpdb. After minor update security Wordpress 4.8.2, plugin did not run well. My sellect button can not run and open data to the table. add_action('...
0
votes
1answer
215 views

filter buddypress users posts by user 'xprofile' custom fields

Hi I am struggling to figure out out how to make a filter for users posts by their profile fields.. example= Users registration form has select dropdown profile field of school years 2017, 2018 and ...
0
votes
1answer
89 views

How can I save a setting field with multiple checkbox options generated by a foreach loop on a custom wordpress admin page?

function ld_reports_plus_register_submenu_page(){ add_submenu_page( 'ld-reports-plus', 'LearnDash Reports Plus Settings', 'Report Settings', 'manage_options', ...
1
vote
1answer
105 views

Query users which have same dynamically generated roles as the current user

I need to check if users have the exact roles for the purpose of allow users to edit each others posts if they have a same two roles. One role 'X' is a common one, and the other role 'Y' is a unique ...
1
vote
2answers
733 views

Change destination of author link to BuddyPress member profile

By default, when you click on the author in a post, WP directs you to: example.com/author/sample-user/ However, for BuddyPress users, it makes much more sense that it directs the user to the ...
1
vote
1answer
87 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 ...
0
votes
1answer
33 views

Creating a “walled garden” of comments

I'm using Buddypress to create classrooms, where only members of a given class can see and respond to their classmates' comments. I achieved this by filtering pre_get_comments, querying for the ...
0
votes
1answer
503 views

Upload buddy press profile picture from custom page template

I want to make a page template from where the user can upload the custom profile picture for their buddypress profile.
0
votes
1answer
81 views

call custom action after delete account

I want to call custom action, after a user is deleting his account. I'm using the premium theme wplms which is using buddypress for this stuff. After the submit button in the delete-account.php there ...
0
votes
1answer
178 views

How to add “create page” option for users in buddypress like facebook?

I am creating a social website similar to facebook/twitter where when someone logins it gives them option "create a page" which will show various input fields to the users to add their page details ...
0
votes
1answer
179 views

how to create buddypress shortcodes?

I have code to get value of buddypress xtended profile : function get_nickname() { echo 'field: ' . xprofile_get_field_data( 3, bp_loggedin_user_id(), 'comma' ); } add_action( 'bp_ready', '...
0
votes
1answer
95 views

How can I display list of notifications of buddypress in a single page or post

I need to display the notifications that come on hover of the notification in one page I tried to follow this link but I cannot make it Please guid me
0
votes
1answer
198 views

Buddypress: Filter Members Based on If They Have Posts

I'm trying to filter the Buddypress Members loop to show only members that have published posts. I got the directory to display the members I wanted using the following code. However, by eliminating ...
0
votes
1answer
237 views

send reply message by thread id in buddypress

How can we send reply message by using thread ID of existing message conversation by pro-grammatically. For example, username1 have conversation with username2. Now need to send reply that existing ...
0
votes
2answers
713 views

Add external url to WooCommerce My Account navigation

I need to add custom item to WooCommerce My Account navigation. I can add the item with no problem. Since it is a link to user's profile I use the following code: <?php global $switched; ...
1
vote
1answer
134 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 ...
0
votes
1answer
419 views

How to delete users from a WordPress MultiSite that stay in the DB?

How can I tell WordPress to remove deleted users from the database automatically? I found that I can go into phpMyAdmin > wp_signups and manually remove them, but this would be a hassle for those ...
0
votes
1answer
47 views

add extra parameter in default hook in wordpress

The default hook is bp_activity_posted_update, Its have three default parameters as "$content, $user_id, $activity_id". Now need to add extra parameter as "$post_id", How can achieve this. function ...
0
votes
1answer
116 views

Patient portal using wordpress

A friend of mine has got a small vet clinic. He asked me whether is there any way to create in wordpress a kind of patient portal. While membership plugins would do most of the stuff, he is looking ...
0
votes
1answer
381 views

add_filter : Passing an array instead of the callback function?

I was just reading through BuddyPress code because I want to develop a custom plugin on top of it. I encountered was something very peculiar that I haven't seen before and cannot seem to find any ...
0
votes
1answer
77 views

Duplicate New User Registration notices (BuddyPress and bbPress both installed)

I am running WordPress 4.7.5. I have bbPress and BuddyPress plug-ins installed (and others). When a new user registers, I receive two identical email notices indicating New User Registration. Sent ...
1
vote
1answer
191 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(), '...
0
votes
1answer
294 views

Showing content to specific BuddyPress Member Types

On my project I'm using BuddyPress Member Types. The problem is I would like to display specific content to each member type. Something like; website checks Member Type based on logged in user id and ...
1
vote
0answers
55 views

buddypress activity social share

Hello Guys I am using buddypress and I am sharing activity on social network like facebook and google and I am using url like https://www.facebook.com/sharer/sharer.php?t=' . $activity_title . '&u=' ...
1
vote
1answer
57 views

How to display posts in hyperlink with nested slugs?

Important question How do i create nesting slugs like this -- 127.0.0.1/wordpress/displaypage/family1/members/ 127.0.0.1/wordpress/displaypage/family2/members/ Here - the slug displaypage is the ...
0
votes
2answers
689 views

New Post Notifications for Users - BUDDYPRESS

I am using beneath code im buddypress to show notification of the latest posts posted by users. https://gist.github.com/kishoresahoo/9209b9f6ac69ce21cd6962e7fe21e1b4/...
0
votes
0answers
120 views

How to create groups like that in buddypress?

I want to create a plugin where users can create group and add members to that group.. just like that in buddypress.. I dont want to use buddypress because I want to learn how to do it.. Please ...
-1
votes
1answer
109 views

Set maximum number of letters limit on xprofile fields [closed]

I'm trying to set a limit on the numbers of letters user can add to their xprofile fields in their BuddyPress profiles. For example, in BIO field, max limit will be 300 letters. Please give me ...
0
votes
1answer
439 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 "...
0
votes
1answer
297 views

Buddypress user registration validation not working with custom select query

I have created a phone number as Buddypress Profile field. I need to check that no two or more user accounts share the same phone number. My query below is not enforcing the restriction. I need help ...
0
votes
1answer
132 views

How to ensure buddypress custome profile field is unique

How can I ensure that the buddypress extended custom profile field for phone number is unique, such that no two users can have the same phone numbers, just as is enforced for username?. I would ...
0
votes
1answer
65 views

<link rel=“icon” href=“”> Causing my Wordpress functions to execute twice

As my title says, today I spent more than 5 hours figuring out why when I tried to add a new activity to buddypress (via bp_activity_add) It would be added twice or even three times. I started ...
1
vote
1answer
74 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
1answer
593 views

BuddyPress User Profile Menu

I need to show BuddyPress menu item just specific roles and hide all other users. I have 2 user roles like subscriber and author. For example; I want to show my friends only to the authors and to me. ...
1
vote
1answer
413 views

is it possible to crop cover images in buddypress?

Hi i'm using buddypress v2.7.4, i can do crop avatar image but not the cover image. Is it possible to crop that cover images ? i saw these directories have different files wp-content/plugins/...
0
votes
1answer
248 views

how to get buddy press messages based on thready_id?

I tried a lot but could not get out of this, i am using standard loop which they provide but still it only shows all threads instead of all messages .While, I want to have messages for each thread so ...
0
votes
2answers
29 views

New accounts daily at WP Multi-User site under development, Analytics reports no traffic. What gives?

I'm working on a Wordpress Multi-user site (Buddypress?). Every day, there are between 5-15 new accounts created, yet Google Analytics is reporting little-to-no traffic. The site is far from finished,...
0
votes
1answer
247 views

How to override the Buddypress bp-members folder's file?

Can I override the Buddypress file of this location /wp-content/plugins/buddypress/bp-members like /wp-content/plugin/buddypress/bp-templates/bp-legacy If yes, How can we do this? Thanks
0
votes
0answers
35 views

Strange issues on sign up form

I'm using Buddypress and just don't know where else to ask. Basically, I'm ussing the code below to take the username data and copy it to the buddypress name field, but it doesn't seem to be working. ...
1
vote
0answers
259 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 ...
0
votes
1answer
105 views

Buddypress and Wordpress on different subdomains with the same database?

What I'm wanting to do is have my blog on blog.mysite.com and my buddypress on community.mysite.com. Is it possible to have that, but them share the same database? Like when you log onto the community....
2
votes
2answers
471 views

Buddypress profile pictures sync across Wordpress Multisite Network

I am setting up a Multisite Network project. All websites will be handled with SUBDOMAIN_INSTALL. One of the websites will have BuddyPress, it will also serve as an entry point to the network. User ...
0
votes
1answer
351 views

BuddyPress: bp-core-template-loader.php error blocking access to wp-admin

I just updated WordPress and after doing so received this error: ksort() expects parameter 1 to be array, object given in /home/tvfilmpa/public_html/wordpress/wp-content/plugins/buddypress/bp-...