Hi,
i have a Listings Page where User can register and offer there service.
Listings is to each Person where are register.
Can i add the buddypress profil to each listings?
Also i want to add the PM system to this listings.
Is there a way to create this when user register and post a listings?
cu
Does Buddypress will fullfull all the features of reddits
Hello friends,
i’m creating a wide social with Buddypress.
Having already considered all the security measures regarding wordpress (first of all registration), which are the way or best practices to avoid maliciuos code injected via publishing a post by a member (that is not manual approval of any commment of course)?
Example: dedicated plug-in, limitation of some symbol as “bad word” (i have plugin) or others.
Many thanks,
Giuseppe
Is there a way to force submissions made via buddypress to require admin approval before being published?
The error comes from this plugin: pmpro-buddypress
You need to contact the creators of that plugin.
Hi,
I get this message when my pages disappeared and I get a 404-page error.
Notice: Trying to get property ‘ID’ of non-object in <b>/home/micomuni/public_html/wp-content/plugins/pmpro-buddypress/includes/restrictions.php on line 232
Please help?
Thanks.
Did you activate the Friends component? Settings > BuddyPress > Components ?
If you’ve already done that, then it is probably an issue with your theme.
Verify by switching momentarily to a WP theme like 2020.
Sure no problem. So here is my scenario.
There are 2 member types and I have a custom user field created, let’s called it Items.
Both member types need to select some of those Item checkboxes. Now I need to show the oposite member types with common Items on a member profile. For that I created a custom page and run the Members loop. I was able to show the oposite members. But I am not sure how to match the Items and filter those oposite members. The my_custom_id() function works well if it is a textbox field. But it doesn’t work with the checkboxes. You can see how they are stored in the database.
I can get the current logged in user’s Items list in an array format. I think if I follow the my_custom_id() function then I will have to pass the field name and the array to compare like this my_custom_id($item_field, $current_user_items_array)
I think with that the SQL select query in the function needs to be modified.
Hope this clarifies my requirement.
I am very new to buddypress. If there is another way to achieve this then I will be happy to implement. My main goal is to show the members with common items selected but from the opposite member type to a logged in member.
Thank you so much.
Hello!
I would like to set up the Meta Title of the profile in Buddypress. For example, to be in the Meta Title: User name, city, country.
How to do it? Help please.
I have a code that adds a description to a profile and it works. But I did not find how to replace the title.
/**
* Filters wpseo meta desc.
*
* @param string $desc description.
*
* @return string
*/
function bpdev_bp_items_metadesc( $desc ) {
// if it is not buddypress page or buddypress directory pages let the plugin do its work.
if ( bp_is_blog_page() || bp_is_directory() ) {
return $desc;
}
// we do not cover directory as directory meta can be customized from pages->Edit screen
// now, let us check if we are on members page.
if ( bp_is_user() ) {
// what should me the description, I am going to put it like Profile & Recent activities of [user_dsplay_name] on the site [sitename]
// if you are creative, you can use some xprofile field and xprofile_get_field_data to make it better.
$desc = sprintf( ' Профиль %s и его активность на сайте знакомств %s ', bp_get_displayed_user_fullname(), get_bloginfo( 'name' ) );
} elseif ( bp_is_active( 'groups' ) && bp_is_group() ) {
// for single group
// let us use group description.
$desc = bp_get_group_description( groups_get_current_group() );
}
// do it for other components
// ok, so you can go and do the same for all the other pages
// finally return the description.
return $desc;
}
add_filter( 'wpseo_metadesc', 'bpdev_bp_items_metadesc' );
How to use bp_has_members() function to filter members based on a custom field which is a set of checkboxes?
I think checkbox values are stored as array in database.
The my_custom_ids() function in Members Loop works only with single value. But it doesn’t work with array of checkboxes.
Thank you.
Sorry, I did not notate that well in the post above, should have been buddypress/members/single/front-member-type-{type}.php.
Hi,
Where can I find the group profile and background images in WordPress? I want to download them, but can’t find them in the Media section.
Thx
Anonymous UserInactive
Unless you created a member type called ‘type’ and assigned the member you’re displaying to this type, the buddypress/members/single/front-member-type-type.php shouldn’t load. Instead of the second ‘type’ in your template filename, you need to use the name of your member type. If I created a “student” member type, assigned it to a user and added a buddypress/members/single/front-member-type-student.php template it should be used when I display the user having a student type.
Anonymous UserInactive
Hi @maleemuse
The mime_content_type() issue will be fixed in 10.2.0. Thanks for your report.
See https://buddypress.trac.wordpress.org/ticket/8646#comment:12
Also, it appears that in the multisite mode, when accessing <subdomain>/members/<user> it does not pick up my child theme’s buddypress/members/single/front-member-type-type.php file. I have manually set the sub-site bp option to use the nouveau template, and the active theme is the correct child theme.
Thanks,
Anonymous UserInactive
Hi,
That’s not a function defined into BP Core. It’s a function defined into the BP Template Pack « BP Nouveau ». My guess is your theme is not checking the BP Nouveau Template pack is active before using one of its functions. In WP Admin > Settings > BuddyPress options, Check what is the active template pack, there’s a good chance it’s BP Legacy, switch to BP Nouveau and it will fix the issue.
I’ve been stuck on this problem for a while. I have a different page and URL structure than the default BuddyPress page/URL structure and therefore I can’t use /username/profile/change-avatar/ for changing user avatars.
How can I take the BuddyPress avatar upload form from the default BuddyPress user edit structure and place it in my own custom user edit structure?
I use buddypress in my website, my website is in Arabic language, I translated all the strings to Arabic language but still when I do some actions the English translation appear by default, and when I refresh the page the Arabic language appear
what should I do to make Arabic language the default and never show English language
Thanks
I am running WordPress -v 5.8.3, and installed BP -v 10.0.0 ~2 months ago. I am using WP multisite, set to install sites as subdirectories. I have defined define( ‘BP_ENABLE_MULTIBLOG’, true ); in the wp_config.php file, and now it hangs and reports the below error when running a members page within the subsite. It works as usual in the main site, though.
[08-Mar-2022 22:00:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_nouveau_is_object_nav_in_sidebar() in public_html/wp-content/themes/nextarch-child/buddypress/members/index.php:13
Stack trace:
#0 public_html/wp-includes/template.php(772): require()
#1 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template('/home/713369.cl...', false, Array)
#2 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array)
#3 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(407): bp_get_template_part('members/index', NULL, Array)
#4 public_html/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(144): bp_buffer_template_part('member in public_html/wp-content/themes/nextarch-child/buddypress/members/index.php on line 13
I’d greatly appreciate understanding why this is occurring, and how I can fix it. It seems the functions defined by bp core are not accessible when in the sub-site, despite bp being activated in the network and the global constant BP_ENABLE_MULTIBLOG being defined as true in the wp_config file.
Thanks,
Chad
I will share the details you provided with my hosting company… and see if it works… prior to your reply… this is what was shared with me…
Maybe it helps…
[08-Mar-2022 10:23:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/lppbgmmy/public_html/quantummemoirtheory/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php:1664
Stack trace:
#0 /home/lppbgmmy/public_html/quantummemoirtheory/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment-avatar.php(274): bp_attachments_list_directory_files(‘/home/lppbgmmy/…’)
#1 /home/lppbgmmy/public_html/quantummemoirtheory/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php(1310): BP_Attachment_Avatar->crop(Array)
#2 /home/lppbgmmy/public_html/quantummemoirtheory/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php(1436): bp_core_avatar_handle_crop(Array, ‘array’)
#3 /home/lppbgmmy/public_html/quantummemoirtheory/wp-includes/class-wp-hook.php(307): bp_avatar_ajax_set(”)
#4 /home/lppbgmmy/public_html/quantummemoirtheory/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /home/lppbgmmy/public_html/quantummemoirtheory/wp-includes/plugin.php(474): WP_Hook->do_action(Array) in /home/lppbgmmy/public_html/quantummemoirtheory/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php on line 1664
I believe your host needs to enable mime_content_type on your server.
Anonymous UserInactive
Hi @nihanthk @maleemuse,
I’m really having difficulties to reproduce the issue, cropping avatars works fine for me and all the BP Team Developers.
The feature we introduced in 10.0.0 is avatar’s history and the possibility for a user to recycle a previously uploaded avatar. There’s a way to deactivate the feature using this filter
<?php
add_filter( 'bp_disable_avatar_history', '__return_true' );
into a bp-custom.php file for example.
Using this filter solves your issue?
Otherwise, if you look into your server’s error_log file, do you see if a specific line is appearing once you tried to crop an avatar?
Hi all,
I have implemented member requests as per this guide after a large number of spammy registrations and spoof email addresses:
Alternative Registration Workflows
It seems to work well in that it doesn’t seem to generate the confirmation email address, but allows me to approve instead.
The problem is that when I choose to delete the request, BuddyPress tries to send an informational email to the spoof email address to inform them their request has been denied:
“Sorry, your request to join the site “My BuddyPress Site” has been declined”
How can I prevent these unnecessary emails being generated?
Thanks
Kevin
I just created my own social media website using metafans theme and buddypress plugins, along with the necessary plugins required. Everything seems to be working okay. I made a group for my community users, and clicked on it to see what appears on the page. But nothing but a blank page, saying “Page Not Found.” Is there anything I missed? I followed all the instructions for making groups, but I don’t know what to do next.
To make things clear. There’s no problem in “making” the groups. The real issue is that nothing appears when I visit the group page I just created.
Could you guys give me any help?
Hello,
I search for old posts about that, but i can’t find a same topic with a near date.
Add friend button get lost on my buddypress https://ekoharita.org/uyeler/siyahperde/ anyone can help me about that? I need to fix it.
Thank you so much,
Best regards,