Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,876 through 8,900 (of 94,544 total)
  • Author
    Search Results
  • hanza3
    Participant

    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.

    #273148
    m1000
    Participant

    Yes, I know. I have enabled buddypress legacy and when I go to group manage -> forum and I try to enable forum it stays inactive – https://imgur.com/Bc5DTL4 I also selected child forum for the group.
    I have enabled group forums – https://imgur.com/jakMcKg

    Venutius
    Moderator

    hmm, with the recent changes in WP it’s not that straightforward. You’d need to download the files from the BP SVN here https://plugins.svn.wordpress.org/buddypress/tags/2.9.4/ and for that you would need an SVN browser such as tortoise SVN. One you had the files you would also need FTP access to your site, to rename the current BP directory in plugins to something else (buddypress-3.0 for example) and then copy the 2.9.4 files into a new buddypress directory. then you could test it.

    #273144
    m1000
    Participant

    Looks like there was removed groups forum activation from create.php

    				<?php if ( bp_is_active( 'forums' ) ) : ?>
    
    					<h4><?php _e( 'Group Forums', 'buddypress' ); ?></h4>
    
    					<?php if ( bp_forums_is_installed_correctly() ) : ?>
    
    						<p><?php _e( 'Should this group have a forum?', 'buddypress' ); ?></p>
    
    						<div class="checkbox">
    							<label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php checked( bp_get_new_group_enable_forum(), true, true ); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label>
    						</div>
    					<?php elseif ( is_super_admin() ) : ?>
    
    						<p><?php printf( __( '<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_core_do_network_admin() ? network_admin_url( 'settings.php?page=bb-forums-setup' ) :  admin_url( 'admin.php?page=bb-forums-setup' ) ); ?></p>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    #273141
    Slava Abakumov
    Moderator

    Hello,

    Starting from BuddyPress 3.0 we have removed support for the deprecated and unsupported bbPress 1.x that was bundled with BuddyPress.

    As written in our release post:

    Most notably, the Legacy Forums component has been removed after 9 years of service. If your site was using Legacy Forums, you need to migrate to the bbPress plugin.

    And here is our general bbPress 2.x forum installation guide:

    Installing Group and Sitewide Forums

    So, @m1000, please follow the migration guide and move everything forum-related to bbPress 2.x, which is faster and overall works better.

    JanDieckmann
    Participant

    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
    Jan

    Venutius
    Moderator

    You should raise this on BuddyPrss Trac as a bug.

    anrahulpandey
    Participant

    Hi,

    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.

    Asharam Seervi
    Participant

    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.

    #273130
    Varun Dubey
    Participant

    It will help you to set default template pack for the theme, little confusing for now as site admin’s choices will not work inside BuddyPress Option after defining add_theme_support.

    #273129
    Varun Dubey
    Participant

    You can define following

    add_theme_support('buddypress-use-nouveau');

    or

    add_theme_support('buddypress-use-legacy');

    #273128
    devoctopix
    Participant

    Yes I understand!

    “buddypress-use-legacy” ? I can not find anything in the documentation about this. Is it a constant?

    Thanks a lot for your feedback!

    #273127
    Varun Dubey
    Participant

    @devoctopix it will be hard to keep support for both templates in a single theme. You can force Legacy via ‘buddypress-use-legacy’ on existing themes.

    #273125
    devoctopix
    Participant

    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!

    rhwentworth
    Participant

    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.

    ajaxthemestudios
    Participant

    Hi

    This is how it happened. We got an email from registered members that they are being spam. Another member was sending them SPAM messages.
    The mail sent to them contained the name of the member so we searched for it. We also got the spammer’s account username and link by checking the affected members messages directly under their profile page on the frontend. The spammer has a profile page already. However, the username could not be found in the users section of the backend.
    Then we checked users that have not activated their account or received the activation email through a plugin named Unconfirmed.
    That was when we found the spammer info meaning the spammer has not activated his/her account yet but is already interacting with the community.
    That I cannot explain why it happened. It seems even though the user has not activated his/her account, he/she is already recognized by buddypress.

    Regards

    #273118
    Varun Dubey
    Participant
    jasbirs
    Participant

    <?php echo bp_core_fetch_avatar ( array( ‘item_id’ => $logged_user_id, ‘type’ => ‘full’, ‘html’ => TRUE )); ?>
    But this is working with single wordpress site

    #273106

    Topic: Codes

    in group forum Installing BuddyPress
    joaovitorb
    Participant

    Hi, What is the codes for login and registration?

    Can I change the layout of BuddyPress just making a css edition?

    Dggerhart
    Participant

    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.org

    What’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).

    #273104
    ldellc
    Participant

    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.

    #273102
    #273084
    Varun Dubey
    Participant

    @mckennapoole checked at your site, You have added custom css to hide mandatory fields

    remove it from custom css section

    #buddypress .standard-form #profile-details-section {
        display: none;
    }

    After that, it will work
    I have registered at your site and it worked
    https://drive.google.com/a/wbcomdesigns.com/file/d/1oLVWUD_vFJgHffHu9nXEu2x03MFvsRW5/view?usp=drivesdk

    #273071
    Venutius
    Moderator

    Is the student sidebar widget a learndash add-on, or are you using the BuddyPress Members widget?

    webfacemedia
    Participant

    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 }
    ?>
Viewing 25 results - 8,876 through 8,900 (of 94,544 total)
Skip to toolbar