Questions tagged [buddypress]
Social networking in a box, BuddyPress is a social networking plugin for WordPress.
501
questions
0
votes
0
answers
7
views
How to load TinyMce cloud editor in Wordpress with wp_editor()?
I would like to use the latest version of TinyMce on a frontend textarea. How can I load the cloud version 7 with wp_editor() not having conflicts with the already old implemented 4.9 one?
With this ...
0
votes
1
answer
27
views
Default Usermeta Entries for every newly created user?
we have a Buddyboss page running with 30k users. Our usermeta Table is growing fast because of a few plugins we use which all seem to write a lot of settings to it. I try to remove as many obsolete or ...
0
votes
0
answers
26
views
How to hide a field on the frontend of a Buddypress page by field ID according to user roles and login status?
Not sure if this is the right place to post this or if I should use stack overflow. I can post it elsewhere if needed.
I am not a developer. I have very basic understanding of CSS classes (which is ...
0
votes
1
answer
16
views
BuddyPress Edit activity function good practice
I am using a custom BuddyPress edit function. However, I was told this is a bad practice and that I should use WordPress's helper function. How to correctly do this?
Here, is the code:
add_action('...
0
votes
0
answers
100
views
Custom Login and Password Reset for BuddyPress Website
My website is a Community and Social Network website powered by BuddyPress.
But the way that BuddyPress is designed, is to work inside WordPress-- and use the default WP-Login.Php Page to handle ...
-1
votes
1
answer
94
views
This plugin helps create custom buddypress group tabs but it is producing a 404 error, how can it be edited, is it the screen_function?The code is i
<?php
/*
Plugin Name: Custom BuddyPress Group Tabs
Description: Adds custom tabs to BuddyPress groups
Version: 1.0
Author: Bing
*/
// create the custom database table upon plugin activation
...
0
votes
1
answer
39
views
Randomly display activity posts on home page with buddypress
I have a buddypress with a theme (youzify), I want to display activity posts randomly on home page, not in chronological order. Anyone knows any code or method for that?
I used this code but it doesn'...
0
votes
1
answer
18
views
Buddypress: "Auto load" specific usermeta in WP?
I have a Buddypress membership page, and for specific customizations I need a few usermeta fields being loaded all the time, for the currently logged user as well as (in case any) the displayed user-...
0
votes
1
answer
39
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
1
answer
129
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
42
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
263
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
20
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
222
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
871
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
259
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
123
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
35
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
419
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
170
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
942
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
173
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
28
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
32
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
66
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
942
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
788
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
351
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
24
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
867
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
73
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 ...
2
votes
1
answer
75
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
328
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, [email protected] restore all will be disallowed.
I have checked in the BuddyPress source and ...
1
vote
1
answer
145
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
599
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
421
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
215
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
560
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
108
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
54
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
83
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
135
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
81
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
33
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
129
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
124
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
608
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
54
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
297
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
1
answer
119
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. ...