Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,651 through 3,675 (of 69,016 total)
  • Author
    Search Results
  • N33D
    Participant

    Hi there,

    I can’t find any topic about this. When enabling WP_DEBUG I get the message below when a person requests to join a group.

    
    Deprecated: groups_send_membership_request was called with an argument that is deprecated since version 5.0.0! Arguments passed to groups_send_membership_request should be in an associative array. See the inline documentation at /Users/jvanoel/Sites/mvp/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php for more details. in /Users/jvanoel/Sites/mvp/wp-includes/functions.php on line 4997
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/jvanoel/Sites/mvp/wp-includes/functions.php:4997) in /Users/jvanoel/Sites/mvp/wp-includes/pluggable.php on line 1281
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/jvanoel/Sites/mvp/wp-includes/functions.php:4997) in /Users/jvanoel/Sites/mvp/wp-includes/pluggable.php on line 1284
    

    Is there is a fix for this in the works?

    #311317
    N33D
    Participant

    Oh man, was breaking my head about this one for the past days. But found the solution, of course the answer was right there. I forgot to exclude admins and mods in the loop. Don’t understand why they would be excluded in the first place.

    There is the complete code, including to get xProfile fields for anyone that is interested:

    
    <?php
        $args = array(
            'group_id' => bp_get_group_id(),
            'exclude_admins_mods' => false
        );
    
        if ( bp_group_has_members( $args ) ) : ?>
            <ul id="member-list" class="item-list">
                <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
                    
                    <?php $user_id = bp_get_group_member_id(); ?>
                    <li>
                        <span class="avatar">
                            <a href="<?php bp_group_member_domain(); ?>">
                                <?php bp_group_member_avatar_thumb(); ?>
                            </a>
                        </span>
                        <span class="name">
                            <a href="<?php bp_group_member_domain(); ?>">
                                <h4><?php bp_group_member_name(); ?></h4>
                            </a>
                        </span>
                        <span class="platforms">
                            <?php $user_psn_handle = bp_get_profile_field_data('field=PSN handle&user_id='.$user_id); ?>
                            <?php if($user_psn_handle): ?>
                                <i class="icon saturated standalone platform psn"></i>
                            <?php endif; ?>
    
                            <?php $user_xbox_handle = bp_get_profile_field_data('field=XBOX handle&user_id='.$user_id); ?>
                            <?php if($user_xbox_handle): ?>
                                <i class="icon saturated standalone platform xbox"></i>
                            <?php endif; ?>
                        
                        </span>
                        <span class="actions">
                            <a class="button small" href="<?php bp_group_member_domain(); ?>">
                                <?php esc_html_e('View profile', 'mvp'); ?>
                            </a>
                        </span>
    
                    </li>
    
                <?php endwhile; ?>
    
            </ul>
    
        <?php else: ?>
    
            <div id="message" class="info">
                <p><?php _e( 'No members were found.', 'buddypress' ); ?></p>
            </div>
    
        <?php endif; ?>
    
    #311316
    N33D
    Participant

    A link in this documentation gives a 404: https://codex.buddypress.org/developer/loops-reference/the-group-members-loop-bp_group_has_members/ – see Accepted Parameters – group_id required link to “bp_has_groups() loop”.

    This is my code at the moment:

    
    <?php
        $args = array(
            'group_id' => bp_get_group_id()
        );
    
        if ( bp_group_has_members( $args ) ) : ?>
    
            <ul id="member-list" class="item-list">
                <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
    
                    <li>
                        <span class="avatar">
                            <a href="<?php bp_group_member_domain(); ?>">
                                <?php bp_group_member_avatar_thumb(); ?>
                            </a>
                        </span>
                        <span class="name">
                            <a href="<?php bp_group_member_domain(); ?>">
                                <h4><?php bp_group_member_name(); ?></h4>
                            </a>
                        </span>
                        <span class="actions">
                            <a class="button small" href="<?php bp_group_member_domain(); ?>">
                                <?php esc_html_e('View profile', 'mvp'); ?>
                            </a>
                        </span>
    
                    </li>
    
                <?php endwhile; ?>
    
            </ul>
    
        <?php else: ?>
    
            <div id="message" class="info">
                <p><?php _e( 'No members were found.', 'buddypress' ); ?></p>
            </div>
    
        <?php endif; ?>
    

    Any help appreciated. I’m stuck here.

    #311300
    clickallco
    Participant

    Can you clarify your question? The {{usermessage}} already shows the content of the update and already “grabs the contents of the original update post”, like you’re writing.

    Are you asking how to rename “Go To the Discussion” to the thread title?

    Maybe you can find what you’re looking for in

    Email Tokens

    #311293
    nebuchadnezzar
    Participant

    Hi, I’m experience some undesired behavior and I can’t figure out why for the life of me.

    Whenever a logged-in user tried to navigate to their buddypress profile, they instead get sent “../profile/” instead of “../members/username/profile/”

    I’ve checked/tested the following;
    – disabled all other plugins for conflict testing
    – I have a redirection plugin but no such redirect specified(or ever created for that matter)
    – nothing related in .htaccess
    – reset folder permissions in case they were interfering
    – cleared server-side cache
    – checked for server side redirect
    – reset permalink structure

    This isn’t something I can really attribute much to recent changes as I haven’t touched anything that interacts with profiles in some time.

    Any thoughts?

    #311291
    onfleekresources
    Participant

    Is there a plugin for this example in my buddypress community?

    Tina sets up her profile and selects female, missouri, 4/15/2002, and is a student.
    I go to post and select a category, tag, or group that is specific to female students that are 18 yrs old and live in Missouri.
    Only these users will see that post in their BuddyPress Newsfeed. What is the best way to do that?

    Is there something out there that I can install to make this happen? I want users to only see what is appropriate for them.

    Thank you !!!

    #311285
    Varun Dubey
    Participant

    @onfleekresources

    It can be done with some custom code, or you can also checkout follow plugins.

    1- BuddyPress Private Community Pro plugin that adds a couple of features for admin and it allows admin to select based on user role or member type who can post on activity stream and you can also apply same limits on other BuddyPress features.

    2- You can set some specific members as auto friends to all members, and any activity admin members are going to make will be displayed to all member’s activity page

    clickallco
    Participant

    Wordpress 5.4
    Buddypress 5.2
    Theme: Twenty NineteenVersion: 1.5

    Hi guys

    I’m looking to create a custom theme built around BP Nouveau and have dequeued the css, but doing so makes the member and group cover images disappear.

    In BP legacy it was possible to follow this tutorial (https://codex.buddypress.org/themes/buddypress-cover-images/), but in Nouveau it doesn’t seem work.

    Here’s the old code for it

    function mytheme_cover_image_callback( $params = array() ) {
        if ( empty( $params ) ) {
            return;
        }
     
        return '
            #buddypress #header-cover-image {
                height: ' . $params["height"] . 'px;
                background-image: url(' . $params['cover_image'] . ');
            }
        ';
    }
     
    
    function mytheme_cover_image_css( $settings = array() ) {
        $settings['callback'] = 'mytheme_cover_image_callback';
     
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'mytheme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'mytheme_cover_image_css', 10, 1 );
    
    function your_theme_cover_image_css( $settings = array() ) {
    
        $theme_handle = 'bp-parent-css';
     
        $settings['theme_handle'] = $theme_handle;
     
         $settings['callback'] = 'mytheme_cover_image_callback';
         
     
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );

    Anyone got an idea?

    Thanks for your time!

    #311281
    Varun Dubey
    Participant

    @n33d there are couple of discussion on removing name field on Trac https://buddypress.trac.wordpress.org/ticket/7760

    #311280
    N33D
    Participant

    Hi there,

    I don’t understand why this is so complicated.

    When people register they are required to enter a username and a name. Their username is not changeable after that, I understand that this is WordPress default functionality.

    Though:

    1. what is entered at “Username” is shown on someones profile page like: @name
    2. what is entered at “Name” at the register form is filled in the field “First name” and “Nickname”
    3. Display name is set as “Nickname / First name” – since they are the same

    – Why isn’t just the display name used for BuddyPress on someones profile?
    – Or why is the username shown on the members profile since that cannot be changed by anyone?
    – Why is there a field “Username” AND “Name” (which is also required) on the register form? I think having a Username field would be enough which is also automatically the “Nickname”.

    I hope I’m thinking too difficult here and there is some easy explanation.

    Looking forward to someones reply.
    Thanks in advance.

    Justin

    #311279
    shanebp
    Moderator

    From above: You can see it in the language file, buddypress\buddypress.pot

    Use poEdit free version to create a .mo file with your changes.

    #311269
    WIQ
    Participant

    @vabvarun – Thanks for your suggestion, but I need that option because only logged-in users has access to the website.

    However, you gave me an idea :-)….I solved the issue using 2 lightweight plugins: WPS Hide Login to choose my own login-url (which is better) and Restricted Site Access to replace the BuddyPress funtion and choose a custom redirect login-url. Also, the login-page is loading a little faster with these plugins.

    Problem solved. But it would be great when BuddyPress would offer those small features as well.

    #311265
    Varun Dubey
    Participant

    @sygy88 it will need a couple of edits inside the core BuddyPress plugin, you can raise a feature request here https://buddypress.trac.wordpress.org/newticket

    #311263

    In reply to: Activity Page

    onfleekresources
    Participant

    Thank you thank you thank you! I do have an issue when I try to download the BuddyPress Activity Filter it messes up my entire site. It must be conflicting with another plugin. Any thoughts?

    #311255

    In reply to: Activity Page

    Varun Dubey
    Participant
    #311254
    Varun Dubey
    Participant

    @peaco link preview is not inbuilt features of BuddyPress.

    #311253
    N33D
    Participant

    Yes, of course. It’s because you need a template in your theme which BuddyPress uses to load the content. This is the list of templates: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    So I do now have buddypress.php template file in my theme which BuddyPress uses to display content.

    N33D
    Participant

    Hi there,

    Got a weird error. In my custom theme header I try to call this function:
    bbp_is_single_user_profile()

    And I got the error:
    Uncaught Error: Call to undefined function bbp_is_single_user_profile()

    After some research this function is correct right? I want to check if you are on a member page, since every page has it’s own source of an header image. This case from the cover image of the member.

    I use the latest version of WordPress and BuddyPress. Also there are no other plugins installed since it’s in development.

    Thanks in advance.
    Justin

    #311247
    tsgold
    Participant

    Dear Admin,

    i want to ask help about how i can switch the members menu buddypress to show up after login ???

    thanks
    Thamrin

    #311245
    WIQ
    Participant

    Extra info: I tried the very simple plugin WPS Hide Login.

    This works, but how can I change the buddypress main login URL? So that the domain name is pointing to the login adress. Now it is:

    https://globehomeschool.nl/wp-login.php?redirect_to=https%3A%2F%2Fglobehomeschool.nl%2F&bp-auth=1&action=bpnoaccess

    When there’s no solution for the error-message, maybe I can use a custom login-url? But how?

    Hope there’s anyone out there with more knowledge than I have. 😉

    onfleekresources
    Participant

    I have buddypress installed for an online community.

    This is what I would like it to do:
    1. Users (Subscriber Role) can’t post, but can comment
    2. I would like my posts to appear in the user’s individual activity streams

    This is what it’s doing now:
    1. Users can post but it doesn’t show up on my wp-admin activity page
    2. I post from my activity page and it doesn’t show up in the user’s activity page

    #311235
    kamui83
    Participant

    i did try to change the line in this file buddypress\bp-members\classes\class-bp-registration-theme-compat.php, and also change the translation with loco translator, but it never change

    #311232
    shanebp
    Moderator

    The default theme is not used unless you select it as a WP theme – and it is very old and just there for legacy support.

    The string you want is here, on Line 3119
    buddypress\bp-members\classes\class-bp-registration-theme-compat.php

    $title = __( 'Activate Your Account', 'buddypress' );

    As you can see, it is ready for translation.
    You can see it in the language file, buddypress\buddypress.pot on Line 2984

    #311231
    kamui83
    Participant

    Hi, i’m using the 5.2.0 version with a italian traslation and i’m having some problem changing a title.
    after a user register in the page the text is “ACTIVATE YOUR ACCOUNT” with a blu line and some text under; i’ve changed the texnt under but i’m not able to change the “activate your account” text, tryed to find on traslation with loco translate but seems there is no line not translated, tryed to find on file, founded on wp-content/plugins/buddypress/bp-themes/bp-default/registration/activate.php but even if i change it nothing change.
    where is that text? i’m going crazy, plis someone can help me? thanks

Viewing 25 results - 3,651 through 3,675 (of 69,016 total)
Skip to toolbar