Search Results for 'buddypress'
-
Search Results
-
I have one website of dating in wordpress, the wordpress is the version 4.5 and the buddypress version is 2.5 and this version do not send the email [{{{site.name}}}]{{friend.name}}accepted your friendship request and the rest of email yes is send, i make new website with this version and do not work, no work in my old site and in the new site, any people can help me? thank you.
When I try and upload a profile photo or cover photo I am seeing
Fri Mar 18 16:50:41.550381 2016] [fcgid:warn] [pid 22118] [client 82.6.0.0:32997] mod_fcgid: stderr: PHP Fatal error: Cannot use object of type WP_Error as array in /home/domain/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 908, referer: http://domain.com/miembros/manager/profile/change-avatar/
on line 908 I see
$bp->avatar_admin->image->file = $bp->avatar_admin->resized[‘path’];
Any ideas?
Thanks
Topic: Unable to Set BP Pages
I’m unable to set the Search Page, Register, and Activate pages in my BuddyPress settings. I tried the Twentysixteen theme, but it didn’t fix the issue.

How do I go about finding a theme that is fully compatible with BuddyPress? Maybe my expectations are just unrealistic. Is my only option to modify/create a theme and commit to maintaining it as WordPress/BuddyPress evolves?
1. Which version of WordPress are you running?
WordPress Version 4.4.2
2. Did you install WordPress as a directory or subdomain install?
3. If a directory install, is it in root or in a subdirectory?Installed WP at domain root.
4. Did you upgrade from a previous version of WordPress? If so, from which version?
No
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes, this is a new install.
6. Which version of BP are you running?
BuddyPress Version 2.5.1
7. Did you upgrade from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
- Akismet (v3.1.8)
- Bad Behavior (v2.2.18)
- bbPress (v2.5.8)
- BuddyPress (v2.5.1)
- Google Analytics (v1.0.6)
- Jetpack by WordPress.com (v3.9.4)
- Wordfence Security (v6.0.24)
- WP Idea Stream (v2.3.1)
- Yoast SEO (v3.1.1)
9. Are you using the standard WordPress theme or customized theme?
I’ve tried several themes, including the WP Twentysixteen theme.
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
No, I’ve added nothing.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
bbPress Version 2.5.1
13. Please provide a list of any errors in your server’s log files.
??? I don’t know where these are.
14. Which company provides your hosting?
DreamHost
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Apache on Linux
Topic: How to move Profile window

How can I move a profile window like an above image (buddypress.org > Support Page) ?And give me an idea to change css of this window.
I want use this window like this buddy presspage.Regards,
gungsHi all,
Trying to set the max file size limit for avatars and cover-images that users are able to upload.
1. The
define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 1024 );doesn’t seem to be working. Instead it gives the error message warning that the photo size is too big (even when the photo size is only 200kB). From what I understand, the int constant here is in kB, so am attempting to set the limit at 1 MB (1024kB) while testing.2. I have also tried using @imath ‘s code from this link which uses the filter in bp-core-attachments.php line 107: https://buddypress.org/support/topic/upload-failed-error-was-that-photo-is-too-big-please-upload-one-smaller-than/ . This code doesn’t seem to be having any effect on upload size which appears to be somewhere around 2 MB. I can set
$sizeto 1 and still upload images of 1.7MB without a problem.add_filter( ‘bp_attachments_get_max_upload_file_size’, function( $size, $type ) { if ( ‘avatar’ === $type ) { $size = 1048576; //1MB in bytes. In practice approx 2MB seems to be upload limit } return $size; } );Any ideas?
I’m looking to exclude a single user ID from the main activity feed only. Directly above the main feed, I’m using a shortcode to pull in the latest post from this same single user, thus creating a ‘sticky’ post as this account only posts announcements. However, the code below seems to hide the user’s content across the entire site, so it doesn’t appear in either the shortcode-generate feed or the main feed.
Essentially, is there a way I can specifically target the main buddypress activity feed only with this exclusion? Thanks in advance for any help you can provide.
// hide admin's activities from all activity feeds function bpfr_hide_admin_activity( $a, $activities ) { // ... but allow admin to see his activities! if ( is_site_admin() ) return $activities; foreach ( $activities->activities as $key => $activity ) { // ID's to exclude, separated by commas. ID 1 is always the superadmin if ( $activity->user_id == 784 ) { unset( $activities->activities[$key] ); $activities->activity_count = $activities->activity_count-1; $activities->total_activity_count = $activities->total_activity_count-1; $activities->pag_num = $activities->pag_num -1; } } // Renumber the array keys to account for missing items $activities_new = array_values( $activities->activities ); $activities->activities = $activities_new; return $activities; } add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );Topic: activity bump comment to top
can you guys please help me get this feature working again? we really relied on it and this alone kept me from upgrading to buddypress for YEARS i just went from version 1.2 to the latest …and of course lost the feature where when you comment the reply goes to top of activity ..this keeps the conversation going otherwise stuff just gets buried …does anyone else agree?
this is the plugin we were using which from everything i read is not ok to use on latest version of bp:
https://wordpress.org/support/view/plugin-reviews/buddypress-activity-stream-bump-to-topSpecial thanks to @valuser and @shanebp for helping create a custom member directory by adding the Buddypress members-loop.php to my themes page.php, and renaming it page-local-members-php.
*For the step by step, here is the link to the discussion – https://buddypress.org/support/topic/how-to-display-additional-member-directory/#post-251127
There are now two Directories listed on the website. The current issue resides with the styling. The original member directory appears to obtain its structure from the Buddypress index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder, while the Secondary ‘Custom’ member directory is missing the original functions like the search, role search, order by, and some basic css such as removing the bulletins on the member list.
What would be the best solution to fix this.
Would adding the code from index.php file from the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder solve it?
*I wonder, would it be possible to make an additional page template that would shows on the wordpress frontend part of the plugin on the Dashboard/settins/buddypress/pages section as an additional directory.
That way you could route it from to a page from the front end the same way you route member, activity stream, register, and activate page keeping all files it in the buddypress folder.Update:
I’ve tried adding the code from the index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder to the index.php file located in the wp-content/themes/my-theme/-folder however the default styling and functions are still missing.
Any help on this will be greatly appreciated.
Topic: Duplicate associate item
1. ON CREATING A DOCUMENT FROM THE BACKOFFICEConcerning table on creating a document
wp_posts
(id = 1511)
wp_postmeta
(post_id = 1511)wp_term_relationships
(object_id = post_id = 1511)wp_term_taxonomy
(term_taxonomy_id =wp_terms
On opening the document from the FrontPage the category name is missing
2. ON CREATING A DOCUMENT FROM THE FRONT OFFICE
Concerning table on creating a document
wp_posts
(id = 1514)
wp_postmeta
(post_id = 1514)
wp_term_relationships
(object_id = post_id = 1514) 2 rows of the same post_idwp_term_taxonomy
2 term taxonomy id
Id = 32 and id = 204wp_terms = 26
On opening the document from the FrontPage the category name is present
But on opening the document from the back office the category name is duplicated.
CODE MODIFICATION
File modified:wp-content/plugins/buddypress-docs/includes/functions.php
Line number: 126
function bp_docs_get_item_term_id($item_id, $item_type, $item_name = ” ) {
global $bp;$groups_dir = ABSPATH.’wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php’; //ss add this to get the class Bp_Groups_Group
require_once($groups_dir);//if ( empty( $item_id ) ) {
//return ;
//}// Sanitization
// @todo Maybe this should be more generous
$slug_group = BP_Groups_Group ::get_slug($item_id); // ss add this to test the group from tbl wp_term$item_type = ‘group’ == $item_type ? ‘group’ : ‘user’;
//$item_term_slug = ‘bp_docs_associated_’ . $item_type . ‘_’ . $item_id;
$item_term_slug = ‘group’ == $item_type ? $slug_group : ‘bp_docs_associated_’ . $item_type . ‘_’ . $item_id;$item_term = get_term_by( ‘slug’, $item_term_slug, bp_docs_get_associated_item_tax_name() );
//var_dump($item_term);
//die(‘xxx’);
// If the item term doesn’t exist, then create it
if ( empty( $item_term ) ) {
// Set up the arguments for creating the term. Filter this to set your own
switch ( $item_type ) {
case ‘group’ :
$item = groups_get_group( ‘group_id=’ . $item_id );
$item_name = $item->name;
break;case ‘user’ :
default :
$item_name = bp_core_get_user_displayname( $item_id );
break;
}$item_term_args = apply_filters( ‘bp_docs_item_term_values’, array(
‘description’ => sprintf( _x( ‘Docs associated with the %1$s %2$s’, ‘Description for the associated-item taxonomy term. Of the form “Docs associated with the [item-type] [item-name]” – item-type is group, user, etc’, ‘bp-docs’ ), $item_type, $item_name ),
‘slug’ => $item_term_slug,
) );// Create the item term
$item_term = wp_insert_term( $item_name, bp_docs_get_associated_item_tax_name(), $item_term_args );
$term_id = isset( $item_term[‘term_id’] ) ? $item_term[‘term_id’] : false;
} else {$term_id = $item_term->term_id;
}
//echo $item_id;
//die(‘xxx’);
return apply_filters( ‘bp_docs_get_item_term_id’, $term_id, $item_id, $item_type, $item_name );
}
Description
The function is called when you create a document from the front office.
I have modified the function where it going to check the corresponding slug is present in the table wp_terms.
First I get all the category slug from BP_group , then I use them to verify if they are present in the table wp_term, if present therefore no need to add a second (prevent duplication).Result: No duplication but the category is null from the front office.
I am using sendgrid plugin to send emails, buddypress sending the plain text html. I need HTML email. I also tried to add the following code in function.php but BP_Email showing me null value.
add_filter( 'bp_email_use_wp_mail', '__return_false' ); add_filter( 'bp_send_email_delivery_class', function( $delivery_class ) { return 'Implementwpemailbp'; } ); class Implementwpemailbp implements BP_Email_Delivery { public function bp_email(BP_Email $email){ //add_filter('wp_mail_content_type', 'set_html_content_type'); //wp_mail($to, $subject, $message, $headers = '', $attachments = array()) //remove_filter('wp_mail_content_type', 'set_html_content_type'); var_dump(get_object_vars(BP_Email)); } }Please help what I need to update in above code.