Forum Replies Created
-
In reply to: how to change the post Permalinks?
For groups, you could try this:
https://wordpress.org/plugins/bp-edit-group-slug/However, be aware that this will break your existing group links for those that have manually bookmarked or copied your group link.
In reply to: Weird message after first loginAn admin on your site created a sitewide notice.
If you are the admin, you can deactivate this notice under your “Messages > Notices” page.
In reply to: CSS causing cover image to disappear.Because you are using a child theme, you have to register cover image support separately.
Read this section:
https://codex.buddypress.org/themes/buddypress-cover-images/#about-buddypress-css-overridesFor
$theme_handle, since you’re using a child theme, you’ll need to change this to:$theme_handle = 'bp-child-css';If your cover image is similar to bp-legacy, you can also change
$settings['callback']to:$settings['callback'] = 'bp_legacy_theme_cover_image';Otherwise, write your own callback function by copying and modifying
bp_legacy_theme_cover_image(). Don’t forget to change the$settings['callback']variable to your custom function name if you go this route.There is a message meta table.
You can find those functions here:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-functions.php#L406I would probably piggyback on the marked as read functionality to do this though.
In reply to: Buddypress profile photo / cover image failsGlad you were able to solve your problem, basvandertogt!
In reply to: Why People Do Not Use RealNames/Images on Forums?You can use your own profile image by associating your email address used on WordPress.org with Gravatar.com.
In reply to: BBPRess eating up resourceTry using an object caching plugin.
You could also try not loading older BuddyPress deprecated code by adding the following line to
wp-config.php:
define( 'BP_IGNORE_DEPRECATED', true );In reply to: BP 2.4 breaks on page 2 of custom search resultsThanks for noticing this, kennibc.
I’ve attached a fix for this here:
https://buddypress.trac.wordpress.org/attachment/ticket/6770/6770.01.patchThe change you’ll be interested in is located in the
/bp-xprofile/bp-xprofile-filters.phpfile.In reply to: [Resolved] can anyone help me?Disable starring messages with this snippet in wp-content/plugins/bp-custom.php:
add_filter( 'bp_is_messages_star_active', '__return_false' );To remove the ‘Delete’ link from the messages inbox, you’ll have to override the inbox template and remove the ‘Delete’ link.
Read the Overloading Template Compatibility theme files section of this codex article for more info.
The template you’ll want to copy over to your theme to override is this one:
https://buddypress.trac.wordpress.org/browser/tags/2.4.2/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.phpIn reply to: Buddypress profile photo / cover image failsSorry @basvandertogt.
Can you add the debug line around line 1092?
It should resemble this:
if ( ! is_a( $cover_image_class, 'BP_Attachment_Cover_Image' ) ) { $cover_image_class = new BP_Attachment_Cover_Image(); } // Here's the addition _doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image_class, true ), '2.4.0' );In reply to: BP 2.4 breaks on page 2 of custom search resultsSee my note here:
https://buddypress.org/support/topic/bp-2-4-breaks-on-page-2-of-custom-search-results/#post-247017You have to rename the parameter to
members_searchfor BP 2.4.2 in your custom page content.In reply to: Buddypress profile photo / cover image failsDid you add the
_doing_it_wrong()code I mentioned above?In reply to: Warning & Fatal Error! Please HelpAre you using the WOffice theme and their Birthday extension?
If so, see:
https://buddypress.org/support/topic/fatal-error-call-to-undefined-method-stdclasssave/In reply to: Problem with the send button in Buddypress commentWhen you click inside the textarea box, the textarea should expand and show the submit button.
Does that work?
If not, it might be related to the Sahira theme. Since Sahira is a premium theme, we do not have access to it. What happens when you switch to one of the WordPress Twenty themes?
Do you have the BuddyPress Activity Privacy plugin activated? If so, read this:
https://buddypress.org/support/topic/buddypress-2-4-0-and-buddypress-activity-privacy/#post-246630In reply to: Buddypress profile photo / cover image failsThanks for the report.
Can you do three things?
1) Set
WP_DEBUGto true inwp-config.php:
https://codex.wordpress.org/WP_DEBUG2) Open up
/bp-core/bp-core-attachments.phpand look for the following lines:// Resize the image so that it fit with the cover image dimensions $cover_image = $cover_image_class->fit( $args['file'], $dimensions );Right after that line, add:
_doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image, true ), '2.4.0' );3) Go to the “Change Cover Photo” page and try reuploading a photo.
Next, go to
/wp-content/debug.log, copy the entirebp_attachments_cover_image_generate_file was called incorrectlydebug message and paste it here.Going to ping @imath as well.
In reply to: Problem with language/translateTry downloading the following:
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations?format=mo
Rename the files to
buddypress-de_DE.poandbuddypress-de-DE.morespectively.Then, move the files to
/wp-content/languages/plugins/.Since the translation is not 100% complete, you might see some English strings.
Let me know if that works for you.
This bug will be fixed in BP v2.4.1.
If you want to temporarily fix this issue manually, see:
https://buddypress.org/support/topic/profile-field-visibility-enforced-but-members-can-override/#post-246690In reply to: Problem with language/translateI think the German translation is not fully 100% translated, which is preventing WordPress from fetching the latest German translation for BuddyPress.
If you are able to help translate the remaining strings, please visit:
https://translate.wordpress.org/locale/de/default/wp-plugins/buddypressAlso, read the following guide to find out how to contribute towards the translation:
In reply to: php fatal error $message->send()@garprogram – This fatal error is due to some changes we made in BP v2.4.0 to give users proper feedback messages when a private message fails to send.
It looks like we might have to add some additional hooks so plugin devs can set the error message.
In the meantime, here are two things I would recommend:
1. Use the
'bp_messages_recipients'filter instead of using the'messages_message_before_save'action:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-actions.php?marks=77-84#L772. As Henry mentioned, if you have to unset one recipient, you should unset all of the recipients to avoid the message from sending. The default error message will probably not suit your needs, so you might have to filter the error message with the
'gettext'filter temporarily until we introduce better error handling for plugin developers.In reply to: Comments nor Posts in personal activity showsYou need to turn on Site Tracking.
Go to the WP admin dashboard and navigate to “Settings > BuddyPress > Components”.
Next, activate the “Site Tracking” component and test the filter. I believe the filters only take effect when posts are saved/edited, so you might not see any posts or comments recorded in the activity stream.
In reply to: Error on install and when trying to repair..??You can ignore this message if you’re using BuddyPress on a production site.
To turn off debugging notices on production, set
WP_DEBUGto false inwp-config.php:
https://codex.wordpress.org/WP_DEBUGThis is a notice caused by a plugin that is initializing user info too early. If you want to find out which plugin is causing this, deactivate all your plugins and only activate BuddyPress. Next, activate your plugins one-by-one until you find the culprit.
In reply to: Cover Image IssueSince you’re dequeueing the companion stylesheet, add a dummy one in your child theme –
wp-content/themes/YOUR-THEME/css/twentyfourteen.cssand remove your function above.This should bring up the cover image.
but bp_is_component_front_page( ‘activity’ ) or the one I just suggested bp_is_activity_front_page() doesn’t seem to work correctly when using the activity parse args filter.
bp_is_component_front_page( 'activity' )is supposed to act as a replacement for front page checks, not for activity component checks.If you’re checking for the activity directory page in
bp_parse_args(), then try usingbp_is_activity_directory()instead.In reply to: Delted AccountsYes, to both questions.
In reply to: Extra White Space In GroupsYou should probably provide a screenshot so others will know what you are talking about.
It’s most likely a theme issue that you’ll have to address with some custom CSS.