Search Results for 'buddypress'
-
Search Results
-
I want to change up the profile page for users, based on their membership level (I’m using a plugin called memberpress to create memberships and it hooks up to buddypress for the profile page layouts). Mostly I want to add a graphic/badge to certain membership profiles based on their membership level.
I’ve looked for other solutions like plugins but am not having a lot of luck so now I’m looking for other suggestions.
My thought is that there may be a way to create different buddypress profile pages, then tell memberpress which layout to use based on the membership. But that’s just a theory right now.
Any suggestions would be helpful.
Hello,
yesterday it worked fine, today I get the error message
Oops! That page can’t be found.
It looks like nothing was found at this location. Maybe try a search?for all lists of group activities. The groups are still correctly listed in my profile but when clicking on them, the don’t show the list of activities any more.
Between both situation was the update this morning to BuddyPress Version 3.0.0. WordPress is running on 4.9.6. I use a Twenty Fifteen Child theme, but it happens also after changing to an official theme. I deactivated all plugins and reactivate only BuddyPress but see no difference.
The groups are still there and also there activities, I can see and open them from the Dashboard.
I changed the permalink settings several times but it has no influence.
Any suggestions?
Bye
JanHi,
I have created a group and want to add user to it automatically whenever the admin create the new user from WordPress user dashboard. I am using the following code snippet –
function automatic_group_membership_bp($user_id) { //if no user id return if (!$user_id) { return false; } // 1 is the group id $group_id = 1; //Get user meta to find the role $user_meta = get_userdata($user_id); $user_roles = $user_meta->roles; //only add user to group if it subscriber if (in_array("subscriber", $user_roles)) { $update_bp_user_last_activity = bp_update_user_last_activity($user_id, date("Y-m-d H:i:s")); //Buddypress hook to add member to a group $status = groups_join_group($user_id, $group_id); } } add_action('user_register', 'automatic_group_membership_bp', 10, 3);I am adding a user with role subscriber to group. $status returns 1 that means the user is getting added to the group. I can even see the user in http://siteurl/members list. But I cannot see the user in a group. I am not sure what I am missing here, can you please help me out.
Hello Community,
Loved new version, and still exploring BuddyPress. Currently, I’m facing an issue, while I don’t want to show “activity” of any of users to anyone. How to hide these activity from any member, while their profile and listings must be shown as displaying there.
When, I check “Activity Streams” from the dashboard, it gets hidden as expected but @username there also got hidden, which I really not wanted. Kindly help.
Topic: bp-nouveau vs bp-legacy
Hi,
I was wondering if it was possible to build a theme compatible with both existing template packs (nouveau and legacy).
For MYTHEME/buddypress/members/members-loop.php can we have MYTHEME/buddypress/bp-nouveau/members/members-loop.php and MYTHEME/buddypress/bp-legacy/members/members-loop.php ?
And how to manage the fact that the theme can be used for BP3.0+ and BP2.9.X ?
Thanks in advance!
In BuddyPress 3.0.0, there is a bug insofar as if a registration form is submitted and a multi-select or checkbox is involved, and multiple options are present, the registration fails with a run-time error as follows:
Warning: trim() expects parameter 1 to be string, array given in /home8/fromchao/public_html/buddypress/wp-content/plugins/buddypress/bp-members/screens/register.php on line 93
In my local copy, I patched line 92 to add a check to see if an what was returned is an array, and this eliminated the error for me. Might even be the right fix, as the individual returns in an array shouldn’t need trimming.
if ( isset( $_POST[ ‘field_’ . $field_id ] ) and !is_array( $_POST[ ‘field_’ . $field_id ] ) ) { // FIXED!!
$_POST[ ‘field_’ . $field_id ] = trim( $_POST[ ‘field_’ . $field_id ] );
}This problem occurred on a dev test site running WordPress 4.9.6. But, the problem and its cause seem pretty obvious, and not a function of WordPress itself. Just needs to be fixed in the official distribution.
<?php echo bp_core_fetch_avatar ( array( ‘item_id’ => $logged_user_id, ‘type’ => ‘full’, ‘html’ => TRUE )); ?>
But this is working with single wordpress siteTopic: Codes
Hi, What is the codes for login and registration?
Can I change the layout of BuddyPress just making a css edition?
Hi,
I’m reading lots of posts that are a 18 mo’s to more than two years old. So I thought to re-ask the question, hoping for some more current advice.
How can I stop Spam Users from registering?
WordPress 4.9.6 running Idyllic theme.
BuddyPress Version 2.9.4
Site https://insideouthope.orgWhat’s the plugin, combination of them or other treatment we can deploy that will best insulate our real community from vermin?
My inclination is to blacklist/whitelist domains somehow.
Thanks in advance for your considered response(s).
Topic: BP Missing Member Features
BuddyPress is missing member edit activity/profile features. I’ve tried deleting and reinstalling BP. I even deleted on server, but it didn’t work either.
Topic: User Profile Fields
I have a custom buddypress friends list page that displays the friends videos and I’ve set my per_page to 50. How can I paginate the friends list in the event a user has more than 50 friends?
<div class="dashboard-wrapper"> <h1>My Friends' Videos</h1> <a href="?part=default" class="button">Dashboard</a><br> <?php $user_id = bp_is_user() ? bp_displayed_user_id() : bp_loggedin_user_id(); $args = apply_filters('bp_show_friends_args', array( 'user_id' => $user_id, 'type' => 'active', 'per_page' => 50, 'max' => $limit, 'populate_extra' => 0 ) ); if (bp_has_members($args)) { ?> <ul class="bpsf-members"> <?php while (bp_members()) : bp_the_member(); ?> <li class="bpsf-member"> <?php bp_member_name(); ?> <div class="item-avatar"> <a href="<?php bp_member_permalink() ?>" title="<?php bp_member_name(); ?>"> <?php bp_member_avatar($avatar_args) ?><?php display_friend_colors(bp_get_member_user_id()); ?> </a> </div> <?php do_action('bp_show_friends_after_friend_avatar', bp_get_member_user_id()); ?><div class="cleared"></div> <div class="videos"> <ul> <?php $args = array( 'author' => bp_get_member_user_id(), 'orderby' => 'post_date', 'order' => 'DESC', 'post_type' => 'member_video', 'posts_per_page' => -1 // no limit ); $current_user_posts = get_posts($args); foreach ($current_user_posts as $post) : setup_postdata($post); $thumbnail = get_post_meta(get_the_ID(), 'thumbnail'); //d($thumbnail); ?> <li> <a href="<?php the_permalink(); ?>"><img src="<?= $thumbnail[0] ?>" /></a> <p><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></p> </li> <?php endforeach; wp_reset_postdata(); ?> </ul> </div> <div class="cleared"></div> </li> <?php endwhile; ?> </ul> <?php } ?>