Questions tagged [buddypress]
Social networking in a box, BuddyPress is a social networking plugin for WordPress.
502
questions
0
votes
0
answers
13
views
How can we get Buddypress to interpret HTML entities correctly?
Buddypress messages - specifically the preview page - does not interpret HTML entities correctly. Instead, they display as literal strings.
Does anybody know how to get Buddypress to recognize and ...
0
votes
0
answers
14
views
How to create a buddypress group automatically if a topic is created
If a topic is created then a BuddyPress group should also be created automatically, and all the posts in the group should sync to that topic.
Please help me, I already created so many changes in theme ...
0
votes
0
answers
15
views
Is it possible to restrict the number of media uploads (photos) per user?
I've got a community site using BuddyPress and Paid Memberships Pro where I'd like to restrict the number of files a free user can upload. I've seen it's possible as MediaPress has a paid addon, but I ...
0
votes
0
answers
14
views
Remove user from group after X days buddypress
Is there any way that I can remove users from the group after a period of time after they join the buddypress group?
Or a snippet that I can use to make this happen automatically (exclude some roles), ...
0
votes
0
answers
35
views
Send PUT remote request with BuddyPress checkbox
I am trying to create a code that when a BuddyPress user set active a Xprofile field checkbox a PUT remote request will trigger and update a single property of json endpoint, but i am not able to get ...
0
votes
0
answers
9
views
How to create a dashboard to show current user analytics in buddypress
I want a dashboard widget or a front end dashboard to show post views and other analytics of a current user who is logged in. I tried to put various widgets but it is showing all data irrespective of ...
0
votes
0
answers
13
views
Different login and logout for wp-admin while using buddypress
When login as wp-admin it should redirect to the dashboard now its redirecting to the member profile page. Next when logout from wp-admin it is redirecting to the member login page, instead it shoul
0
votes
0
answers
34
views
How To Change Username Slug
BuddyPress members URL looks something like this:
https://example.com/members/username/
Is there a way to modify this so that instead of picking the "username" of WordPress, it picks a ...
0
votes
0
answers
18
views
BP Profile Search with limited range
i'm using BP Profile Search and everything works finde. But what seems a bit odd to me is, that there is no possibility to set a limit, especially when it comes to the date range, which is used for ...
0
votes
0
answers
22
views
Prevent Buddypress Rewrite Rules on Non-Buddypress pages/posts
(Edit: Like one of the links below mentioned, it has to do with the order in which the Matching Rule is called, the more engagement/traffic/activity a BP page gets, the more the rewrite rule is called ...
0
votes
1
answer
55
views
Random 404 errors using Buddypress
I’m currently running Buddypress with Woocommerce activated (Dokan as well.)
From time to time, much more when there’s heavier traffic, there will be random 404 errors on different parts of my website....
0
votes
0
answers
35
views
How can I combine Wordpress default Tags and bbPress tags into one archive page?
I'm trying to figure out how to combine two taxonomies?
I've got three things going on:
Tags from Buddyboss's Forums (Buddypress/bbpress)
Tags from The Events Calendar Pro
Tags from Wordpress's ...
0
votes
2
answers
133
views
Set default landing page for buddypress member profile
I've been trying to redirect users to the profile page when accessing profiles of users and self. Currently it's redirecting to activity page by default.
Eg: example.com/members/username
is showing ...
1
vote
0
answers
18
views
switch_to_blog( ) content disappears after load
I'm working on building a custom extension to BuddyBoss that adds a tab to the user's profile to view that particular user's wishlist. When the page initially loads the correct data is being pulled in ...
0
votes
1
answer
157
views
How to filter members by xprofile field via BuddyPress REST API
Documentation states that result of querying list of members could be limited by xprofile field of string type:
https://developer.buddypress.org/bp-rest-api/reference/members/#arguments
But what is ...
0
votes
0
answers
317
views
Easiest way to find JS conflicts
What is the best / easiest way to find JS conflicts?
I have a subpage where I load jQuery OwlCarousel which works fine, but sometimes does not set the active item correctly.
So I suppose there is a ...
0
votes
1
answer
155
views
Redirecting non-logged in users trying to view Group pages but not the Group directory
We are looking to redirect all Groups pages (but not the Groups directory page /groups/) in BuddyPress for non-logged in users to the /register/ page.
We are currently using this snippet for member ...
1
vote
2
answers
102
views
BuddyBoss (BuddyPress / bbPress) moderation filters not doing anything
I'm trying to prevent moderation of forum posts for users with the 'moderate' capability OR an active 'premium' membership plan (WC Memberships).
I want replies from such authors to not be subject to ...
0
votes
1
answer
33
views
How to display text if profile fields are not filled?
How to display any text/content if all buddypress user profile fields are not filled?
Here is my code which retrieves field data if the field is filled by the user:
$fields = array('Field 1', 'Field 2'...
0
votes
1
answer
252
views
copy fields value to another field
I've make a custom field named "Phone" using buddypress xprofile plugin, but this field cannot be searched by Wordpress primitive searching engine, I found another field which is "...
0
votes
0
answers
121
views
HTTP Error upload ( localhost )
HTTP Error ..
I’ve been trying off and on to debug this issue for the last few days and thus far have had no success.
The proplem starts with BuddyPress plugin ( Profile Avatar Upload Section )
The ...
0
votes
1
answer
325
views
I want to remove the register/login Wordpress top bar from my website
]1,
This screenshot above shows the functions.php code snippet I tried to use to remove WordPress register/login top bar from my website but so far it haven’t worked. I included the code into a ...
1
vote
0
answers
131
views
Making BuddyPress Activity Stream (Post Type) Featured Images Clickable [closed]
I've added woocommerce product postings as a post type to BuddyPress Activity stream via this code in bp-custom.php file:
<?php
add_post_type_support( 'product', 'buddypress-activity' );
...
0
votes
0
answers
27
views
Unable to Auto Post In Buddy Press Activity from Elementor-Pro Form
I seek help with Wordpress usecase that I am unable to accomplish.
I have created a Elementor Form in Pop up with a field File Upload. When I click on upload button, I want to show the uploaded image ...
1
vote
0
answers
28
views
Excluding Specific Fields from Profile Builder Registration Form
I understand that in order to add extra fields to the default WordPress user, one must use a plugin such as Profile Builder. Such plugins also provide short-codes for linking signup and login forms ...
0
votes
1
answer
60
views
access shortcode atts in template part
How can I access the $atts in a BuddyPress template?
function test_shortcode_callback( $atts, $content='' ) {
ob_start();
shortcode_atts(
array(
'foo' => 'this is foo',...
0
votes
0
answers
923
views
Uncaught TypeError: Cannot read property 'add' of undefined bp-plupload.min.js
Getting this error in Chrome dev tools after upgrade to Wordpress 5.5 few days ago. The error appears when users try to upload an avatar in Buddypress profile and are unable to.
I have disabled most ...
-1
votes
1
answer
452
views
how to set approval of admin for wordpress posts submitted by the user?
i'm using BuddyPress bp-simple-front-end-post(addon) in my wordpress for users to post on my site from front-end.
is it possible for the posts submitted by user will need admin approval. ?
0
votes
0
answers
244
views
bp_core_new_subnav_item shows new group tab but returns 404 when the tab runs. Works on another page
I'm trying to add a tab and form to a BuddyPress/BuddyBoss group. I'm able to add the tab, but the page just doesn't display. I get a 404, and the page logic is never run.
What's strange is this ...
0
votes
1
answer
23
views
redirect from /members/front to /members/custom
Im not trying to redirect user while logging in, thats already done. I want everybody, logged or not-logged in, to being redirected from members homepage/dashboard where I can see now 'Latest updates' ...
1
vote
1
answer
709
views
How do I find the bbpress forum ID for a forum in a buddypress group?
I am trying to modify this code https://www.daggerhart.com/bbpress-recent-replies-shortcode/ but I have specific questions and cannot find the answer. This code above generates a shortcode like [...
0
votes
2
answers
57
views
buddypress remove username from autocomplete
I am using Wordpress and Buddypress and i am trying to remove or hide the username that is being displayed in the autocomplete field of messages in Buddypress. Tried some tests from this post and also ...
1
vote
1
answer
42
views
Buddypress function and global $bp question
I have a question regarding Buddypress tweak.
I can use any Buddypress function when I make a plugin without any include or require functions.
How is it possible? Because Buddypress loads faster ...
5
votes
1
answer
292
views
BuddyPress: Allow only one email domain to register
In the BuddyPress, I want to allow register and log in using only one email domain. For instance, xxx@myemaildomain.com restore all will be disallowed.
I have checked in the BuddyPress source and ...
1
vote
1
answer
103
views
Buddypress on Multisite - Member List
I am using Buddypress on a multisite. The list of members on one site, includes members from the other site.
Is this correct, and if so, can it be changed?
I can try and use filters to restrict ...
2
votes
0
answers
525
views
Hide Login information in Account settings in Buddy Boss
First time working with Buddy Boss.
I managed to customize the navigation items on the profile page, but I can't find a solution for the Account settings page.
What I'm trying to achieve is to hide/...
0
votes
1
answer
369
views
users joined group count in buddypress
How to get users already joined group count by user-id or username in BuddyPress.
For example,
In the member listing page, in the members loop, I like to get users group count and display in the ...
0
votes
1
answer
198
views
Buddypress: adding a new tab direct user to their author page
Hi, This is regarding buddypress adding new tab to the member profile
main nav and when is click direct user to the author posts www.mysite.com/Author/username/
After researching and looking I have ...
1
vote
1
answer
500
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
1
answer
100
views
adding xprofile for this user
the code I am created that makes the users register and auto login.
My difficulty is in adding xprofile for this user. Could you help me?
add_action('quform_post_process_7','register', 10, 2);
...
1
vote
1
answer
50
views
BuddyPress returning incorrect xprofile date [closed]
It was all working fine but all of sudden BuddyPress xprofile date field giving one date before. However, I have checked in the database and the entry is correct. It is just returning the wrong date.
...
1
vote
0
answers
71
views
Buddypress bp_has_members function custom search with meta query [closed]
In buddypress bp_has_members(), function how to include user meta key search . Now by default these values set as false
'meta_key' => false,
'meta_value' => false,...
0
votes
1
answer
101
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
0
answers
77
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
0
answers
29
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
0
answers
107
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
1
answer
76
views
After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it's original source
I have this script that changes buddypress' cover image template. this file works fine on my server, but as soon as I moved it to my client's server, it broke. I keep getting the error
Parse error: ...
1
vote
1
answer
521
views
How to add a count in a custom tab in a Buddypress group
I create a new tab in my Buddypress groups like so:
bp_core_new_subnav_item( array(
'name' => "new tab <span>$count</span>",
'slug' => 'namings',
'parent_url' => $...
1
vote
0
answers
42
views
How do I programmatically set a user as spam in BuddyPress? [closed]
I am working on a moderation tool. One of the actions I want my moderators to be able to achieve is setting a user account as spam. I know how to do so via the UI as admin but how do I do the same via ...
0
votes
1
answer
271
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 ...