Put it all in one column:
/* Aligns Registration Profile Details fields to the left */
#buddypress .standard-form #basic-details-section,
#buddypress .standard-form #blog-details-section,
#buddypress .standard-form #profile-details-section {
width: 100%;
}
#profile-details-section {
margin-top: 20px;
}
And the finish button too (recommended):
#buddypress .standard-form#signup_form div.submit {
float: left!important;
margin: -12px 3px 3px 3px!important;
}
That should line it all up in 1 row. Congrats on not paying someone $1000 for that info 🙂
Currently PMPro has no official relationship with BuddyPress.
The relationship depends on the Theme.
Themes like SweetDate have options for PMPro.
I probably don’t have a real solution for you, but for the record, images uploading on Buddypress will not have a same CSS everytime. Just think about it, because avatars and cover images are new images uploading into our database, and lazy load will exclude core images (which have specific classes throughout). If you’re planning to add the uploading image area into lazy load, it will probably not work also since you’re using the class of the surrounding/background/border/area not the actual image that is uploaded.
Second of all, I have the same issue as yours. And my solution is to officially turn off lazy load. Because lazy load can actually affect our SEO rather than helping it grow. And the resolve is too hard to figure out since it’s not the problem of both theme and Buddypress, neither will have a solution (And lazy load plugins are one time development, noone will stick around to adjust this upload that for us).
Hello,
I’m sorry, but I can’t find the way how to import Avatars.
We are moving to wordpress/buddypress and we have over 100.000 users. We have successfully transfer all data, but can’t find the way to connect user to correct avatar…. because e are moving from custom build website – all users’ avatars are in one folder and not separated by users’ folders like in buddypress.
Please, is there anyway – even in database, how we can link users to correct avatar?
Thank you
Hey,
Thanks for the reply.
I have been trying to get this working but I really am confused, I have used WP on a lot of sites but this is the first time trying BuddyPress.
I am looking to have my homepage similar to this: http://buddy.ghostpool.com/# but also have sections of content – So it is pretty much having the activity feed – This will be the same for registered and unregistered visitors – Is that possible?
Thanks again
You can create member types.
Then you would need to customize the registration form and member profiles per the selected member type.
These customizations will require good skills as a WP / BP developer.
You can post a job here.
If you can’t find a migration tool, then you’d need to write one or hire a developer to do so.
You can post a job here.
2 options I see:
1) Use hooks on the register.php page like do_action( ‘bp_after_registration_submit_buttons’ ) add_action('bp_after_registration_submit_buttons','your_function');
function your_function(){
echo do_shortcode( '' );
}
2) Modify register page –> copy wp-content/plugins/buddypress/bp-templates/bp-legacy/members/register.php to wp-content/themes/your-child-theme/buddypress/members/register.php and modify in your-child-theme
do_shortcode()
You’ll need to write code for a custom search.
You’ll need good developer skills to do so.
You can post a job here.
These are the BuddyPress forums.
The bbpress forums are here.
This is a BuddyPress forum.
The bbpress forums are here.
Who have experience with listify and buddypress integration?
We need some help. thanks
Yes. Make your adjustments in this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\members.php
Create a template overload of that file first.
Try adding this under the member name link:
<h2 class="user-nicename">@<?php bp_activity_get_user_mentionname( bp_get_group_member_id() ); ?></h2>
I’m trying to set up a membership site and may go with WooCommerce Membership. But I have a hard time finding a way to solve a problem.
When a member’s membership (via WooCommerce Membership) is cancelled, his Buddypress WordPress user account is still active, which means he can still log in and freely contact other members. i need to find a way to restrict these cancelled members from accessing BP entirely, or at least from Private Message so they can’t contact other members.
So far the closest one i found is this thread
https://buddypress.org/support/topic/hiderestrict-access-to-private-messaging/#post-170393
According to the note, USER_TO_DISALLOW would be my cancelled WooCommerce users. But I wouldn’t know which member would cancel (or their membership level) upfront so this codes don’t seem to work for my site. Besides, it’s 4+ years old and I’m not sure if it’s still relevant.
The other one is
https://buddypress.org/support/topic/restrict-private-messages/
The moderator said there’s a hook available in BuddyPress called messages_message_before_save which can be used to do things before a message is sent. But I don’t know how to write a function to customize it for my need.
Can anyone help? If you happen to know any other membership plugins that can achieve this, I’d really appreciate if you can let me know.
Thank you.
Update: The meta_value saved in wp_bp_messages_meta for meta_key _oembed-***** has the wrong URL saved in there so the problem is occurring before the data is saved. The fact that this same problem happened on my site as well as in this forum is interesting and leads me to believe the problem is somewhere in wordpress or buddypress core files.
Functions.php
Only works with Newest Registered.
// Force Strong Username
function strong_username() {
global $bp;
if ( !empty( $_POST['signup_username'] ) )
if ( !valid_username( $_POST['signup_username'] ) ){
$bp->signup->errors['signup_username'] = __( 'Your username is too weak or short. Please, use uppercase, lowercase and numbers.', 'bp-strong-username-password', 'buddypress' );
}
}
add_action( 'bp_signup_validate', 'strong_username');
function valid_username($candidate) {
$r1='/[A-Z]/'; //Uppercase
$r2='/[a-z]/'; //lowercase
$r3='/[0-9]/'; //numbers
if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
if(strlen($candidate)<8) return FALSE;
return TRUE;
}
// Force Strong Password
function strong_validation() {
global $bp;
if ( !empty( $_POST['signup_password'] ) )
if ( !valid_pass( $_POST['signup_password'] ) ){
$bp->signup->errors['signup_password'] = __( 'Your password is too weak or short. Please, use uppercase, lowercase, numbers and special characters.', 'bp-strong-username-password', 'buddypress' );
}
}
add_action( 'bp_signup_validate', 'strong_validation');
function valid_pass($candidate) {
$r1='/[A-Z]/'; //Uppercase
$r2='/[a-z]/'; //lowercase
$r3='/[!@#$%^&*()-_=+{};:,?<.>]/'; // whatever you mean by special char
$r4='/[0-9]/'; //numbers
if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
if(preg_match_all($r4,$candidate, $o)<1) return FALSE;
if(strlen($candidate)<10) return FALSE;
return TRUE;
}
Hi Mastershas,
Thanks for the reply.
The plugin BP-Reshare, shares already existing post from the buddypress activity (which may be shared using URL’s). But what I need is, to share a post from different page to buddypress activity page.
For eg: I have a blog page in which subscriber writes a content and he wants to share to buddypress activity and both blog page and buddypress page are of same website.
If I need to modify BP-reshare as per my needs, I am not sure where to start. If possible can you please suggest what needs to be done.
Thanks.
@mastershas Profile setting are set to allow individuals to upload profile pic, but still not working. Please click the link below. I use buddypress version 2.9.1
https://friendsthroughgrief.com/members/admin/profile/
I change the theme and still is not working. I have added a code to take off the WP dashboard completely for all users except admin. I have seen screenshots of people having the ability with buddypress to upload a photo directly from their profile? My user profiles do not give me that option?
I have downloaded the following plugins in hope that it will help, but nothing has.
Custom User Profile Photo Version 0.5.3 | By VincentListrani
rtMedia for WordPress, BuddyPress and bbPress Version 4.4.3 | By rtCamp |
Transcoder Version 1.1.2 | By rtCamp
@ashrod, hope this helps. This fades in a tooltip by animating the member’s name in a black box with arrow pointing up towards the avatar on hover. It may need tweaking for your site and hope other’s can improve and optimize this further. I needed a quick solution to work with the Woffice theme by Alkaweb and is working well for me so far.
If you want to see this in action, just copy this and go to Woffice demo site using Firefox + Firebug and copy paste into the style editor tab and hover over the who’s online avatar to see the tooltip.
.avatar-block a {
width: 50px;
height: 50px;
/* change to whatever your avatar size is */
display: inline-block;
position: relative;
}
.avatar-block a:after {
content: attr(data-bp-tooltip);
font-size: 10px;
position: absolute;
z-index: 999;
background: #000;
color: #e0e0e0;
padding: 2px 5px;
line-height: 15px;
opacity: 0;
transition: opacity 0.4s ease-out;
top: 55px;
/* based on a 50x50 avatar and places the tooltip 5px below */
text-align: center;
margin-left: -50%;
left: 0;
width: 100px;
pointer-events: none;
border-radius: 3px;
}
.avatar-block a:before {
/* this is the arrow pointing up */
content: '';
position: absolute;
left: 20px;
top: 50px;
/* based on a 50x50 avatar and places the tooltip 5px below */
width: 0;
height: 0;
transition: opacity 0.4s ease-out;
opacity: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #000;
clear: both;
z-index: 999;
pointer-events: none;
}
.widget.buddypress div.avatar-block {
overflow: visible !important;
}
.avatar-block a:hover:before,
.avatar-block a:hover:after {
opacity: 1;
}
.avatar-block .item-avatar {
display: inline-block;
}
@ftg17 Did you check the Profile Settings Option? If not Login to WordPress dashboard using admin account and navigate to Setting >> Buddypress >> Options >> Profile Settings . Mark tick on allow user to upload profile photo. If you did this kindly change to the WordPress default theme and check if now you can update your profile pic.
Thanks very much Henry, greatly appreciated.
Apologies for the delay – we have since added Buddydev.com’s Member Types Pro and Profile Visibility Manager so that we can update access on the fly with the various types of users we are growing into.
I’ve save your code for future though and thx again!
BuddyPress doesn’t have an advanced search. Are you using a plugin?
@whiteeagle1985, I checked the generatepress theme, You can put below code in you child theme’s function.php
// Change Post's Author URL to Buddypress Profile URL
add_filter('generate_post_author_output','generate_post_author_output_buddyprss_url');
function generate_post_author_output_buddyprss_url( $post_author_profile_link ){
$post_author_profile_link = sprintf( ' <span class="byline">%1$s</span>',
sprintf( '<span class="author vcard" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="author">%1$s <a class="url fn n" href="%2$s" title="%3$s" rel="author" itemprop="url"><span class="author-name" itemprop="name">%4$s</span></a></span>',
__( 'by','generatepress'),
esc_url( bp_core_get_user_domain( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'Know more about %s', 'generatepress' ), get_the_author() ) ),
esc_html( get_the_author() )
)
) ;
return $post_author_profile_link;
}
It should work.
@romashah62 You can read the following thread Tinymce For Activity Post. You can use mediapress plugin to enable adding images in the group.
Your questions are about WP and WooCommerce, not BuddyPress.
All three are free, so set up a test site and start using other plugins or custom code to handle your desired user roles.