When 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-246630
Sorry for keeping you guys in the dark but what I’ve discovered is that BP’s implementation of member types is pretty underwhelming since it’s only an xprofile field. In regards to my original use case, I discovered I was better off defining custom user roles (AKA member types) and adding appropriate permissions. This can easily be achieved with a few simple lines of code in your functions.php or your custom plugin. If coding isn’t your thing then there are a bunch of freemium plugins available for you to use. Why the Buddypress team elected not to leverage WordPress’ built in User Roles for this feature is beyond me, but if anybody is still looking for an answer to this then I highly recommend checking out the WordPress Codex on User Roles and Capabilities. Hope this helps!
Wordpress: 4.3.1
BP: 2.4.0
Hi, I have a slightly unusual setup that I’m trying to get working.
I run a site for kids and as such I have created profile images that they can choose from which are stored as user-meta in wp. I also have my own user profiles basaed on the wp author.php located at /profiles/(nickname). I want to integrate buddypress in to my site as it uses Learndash and this integrates with bp to give an activity feed to the LMS.
So the two things I would like to achieve are to change the user profile links on bp features such as the activity feed and online members widget etc from the buddypress profiles to links to my profiles at /profiles/. Secondly I need to change the avatar images that come up in activity feed and member widges from the buddypress ones to my custom meta.
I’ve been working away on this all day and can’t quite get it. I’ve placed teh following code in my bp-custom.php and had some success but it is not yet working. If someone could take a look and help me out or point me in the right direction i’d really appreciate it!
Here is the first code to try and get the profile links to redirect:
function _bp_core_get_user_domain($domain) {
$url = get_home_url();
$user_id = bp_get_member_user_id();
$link = bp_core_get_username( $user_id );
$domain = '' . $url . '/profiles/' . $link . '';
return $domain;
}
add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4);
And here is the second to try and change the profile pics:
function my_default_avatar_url() {
$url = get_site_url();
$user_id = bp_get_member_user_id();
$profile_image = get_the_author_meta( my_avatar, $user_id );
if (empty($profile_image)) {
$profile_image = '' . $url . '/wp-content/uploads/avatars/avatar.png';
}
$image = '<img src="' . $profile_image . '" width="50px" height="50px" />';
return $image;
}
add_filter( 'bp_core_default_avatar_user', 'my_default_avatar_url' );
add_filter( 'bp_core_fetch_avatar', 'my_default_avatar_url');
Thanks!
Hi, we’re having exactly the same problem with not being able to upload avatar photos, and we have the repeated path in the error message, e.g.: Upload Failed! Error was: The uploaded file could not be moved to wp-content/uploads/avatars/9/avatars/9.
We are on a fresh (< 1 week old) 1-click WordPress installation, with BuddyPress, bbPress and a few other plugins.
Did you have any joy with resolving this issue please?
Many thanks
Peter
You can use multiple filters with commas: &action=activity_update,new_blog_post
See the comments here for other info:
Using bp_parse_args() to filter BuddyPress template loops
Please i need help, all member count on my website is showing 3 instead of 1. i am the only registered member. i have checked my database to see that i am the only one registered. i have deactivated all plugins and changed my theme to Twenty Fifteen but still showing the wrong number. Please i need help i am going crazy here
wordpress version: 4.3.1βen_GB
buddypress version: 2.4.0
link to my site
Thanks for the report.
Can you do three things?
1) Set WP_DEBUG to true in wp-config.php:
https://codex.wordpress.org/WP_DEBUG
2) Open up /bp-core/bp-core-attachments.php and 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 entire bp_attachments_cover_image_generate_file was called incorrectly debug message and paste it here.
Going to ping @imath as well.
Try downloading the following:
Rename the files to buddypress-de_DE.po and buddypress-de-DE.mo respectively.
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.
I 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/buddypress
Also, read the following guide to find out how to contribute towards the translation:
translate.wordpress.org (GlotPress)
You’re right! I didn’t realize it at first…. I appreciate all the help you’ve given so far. I can continue this on the S2 Member Forum if you like, you’re just doing such an awesome job though :D.
Regarding the $s2member_level1 , I was just pulling that out of my butt and it was only thing I put there that didn’t break the pages.
But if you’re curious, this is what I have now:
<?php if(is_user_logged_in() && 4 == S2MEMBER_CURRENT_USER_ACCESS_LEVEL){ ?>
<div class="paybox">
<h3>Make Payment with PayPal®</h3>
<?php $uemail = getDisplayedUserEmail(); ?>
<?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?>
</div><!-- .paybox -->
<?php } ?>
This is working for the most part, but oddly enough there are a few more employers that are still showing the paypal button. So, I started using this:
<?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>
to see the output and most employers are the number 2, but a few are listed as 4 – which creates the problem. Ideally, I could just do it like in the previous code I had put up $type === $s2member_level1 as that’s how they are listed in the backend of WordPress.
@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#L77
2. 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.
WordPress Version 4.3.1 – BuddyPress Version 2.2.4
Hi,
I’m trying to find a function I can hook into to.
I have two types of users on my BuddyPress site, employees and employers. These are defined in the user area of WordPress.
I have made a custom profile page in my child theme labeled buddypress.php.
Everything is working fine, but I want to hide the make a payment button if the user’s profile is an employer profile.
I can only find code for checking the current logged in user status.
Any help is appreciated!
Hi,
That’s what I did, but it is still showing the error “Vendor registration is currently closed. if you have an existing account, you may log in and apply to become a vendor”. How do I fix this? I think the code is not completely removed from WordPress even when I delete BuddyPress in Plugins.
I am using WordPress (on a local base at the moment) in German, which works well. But Buddypress is in English, even though in my settings “German” is enabled. How can I fix this??
How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
You can just deactivate the plugin and remove the “Register” and “Activate” pages you created at Dashboard > Pages.
Hi, Any update on this? π
How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
I posted three times yesterday, and none of my posts showed up in the forum. Today an Administrator contacted me and said my posts got caught up in the cache. But then, someone deleted two of my posts and changed the header of the only existing post to “How to install WordPress”, which isn’t at ALL what my post said. It said “How to install Buddypress”.
Now, I’m reposting again because I cannot change the header BACK, on my own post, and suddenly it activates correctly. Now, I can’t delete THIS post for some reason. No “Delete” link anywhere, so it’s a useless, resolved post that I don’t want any answers to. FYI…
You can ignore this message if you’re using BuddyPress on a production site.
To turn off debugging notices on production, set WP_DEBUG to false in wp-config.php:
https://codex.wordpress.org/WP_DEBUG
This 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.
I just now installed the plugin fresh and I was presented with an error about extra output. I also wound up with a message that members weren’t associated correctly and it gave me a “Repair” button to click. When I clicked that, though, I ended up with this:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home/kctt/public_html/wp-includes/functions.php on line 3622
Any info on how to fix this would be greatly appreciated.
One tip is to check if is because YouYupe are using different URL’s these days, I had an issue which I’ve still got where the old URL works fine but the new one does not, wordpress wraps the content in a link instead of previewing it.
Hi,
We have got no more preview when a user posts a youtube video in a group or on his profil. Only the link appears. We’ve desactivated all plugins except buddypress and changed our template with Twenty Thirteen with no results…
Preview appears with old posts. There’s no problem with vimeo too.
Hope you can help us.
Regards.
——————–
Wordpress: 4.3.1βfr_FR
Buddypress: 2.4.0
http://www.my-tahiti.com
I have no idea if this plugin still functions because it was last updated ~4 years ago, but check out BuddyPress Block Activity Stream Types.
I am running the most up-to-date WordPress and BuddyPress version.
When I updated BP, my “Who’s Online” no longer works. It’s just a blank area. When I revert to 3.5, it works fine. Any ideas on how to fix it?
Hi all,
I’ve copied-and-pasted the notifications loop into a custom drop down / flyout box like Facebook, done the same for friend requests and messages and almost everything is working wonderfully. The messages loop outputs a read/unread css class to show a user which messages are unread, how do I do something similar with the notifications?
I have copied-and-pasted bp_has_notifications() into my functions.php file, removed the IF statements at the top that filter for either read or unread so the loop now outputs both read and unread messages in the same go when called in my custom flyout boxes, but I’m trying to figure a way of outputting a css class for the read or unread notifications.
I’ve tried IF = $is_new; within the notifications while loop to echo a css class with no success.
any of you kind clever people have any ideas how I can do this?
Thanks in advance!
as per guidelines – here is my spec – WordPress 4.3.1, Directory install (root), BP 2.3.5, quite a few plugins installed, bbpress (2.5.8), Buddyboss wall, BP profile search. Buddyboss media, Activity comment notifier, paid memberships pro, cloudflare and a few others. Running Avada theme. Core files have not been touched (I know I would get told off if I did π ) Nothing in bp-custom. Hosted by namecheap.
edited : clarify some ambiguity
I’ve got a fix ready:
https://buddypress.trac.wordpress.org/attachment/ticket/6745/6745.01.patch
Apply the lines in that patch to your BuddyPress install.
To test this, you’ll need to set WP_DEBUG to true so it will load the unminified version of the javascript:
https://codex.wordpress.org/WP_DEBUG
Let me know if this fixes the problem.