Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,026 through 4,050 (of 73,984 total)
  • Author
    Search Results
  • #312874
    Syaifullah sip
    Participant

    You might have to connect buddypress with social logins like Facebook. Facebook users are people over 13 years. those are the terms and conditions when you create a facebook account

    #312868
    Munetrix
    Participant

    @brajesh
    Hi Brajesh, can I pay you to make some changes to the plugin buddypress-profile-completion?

    Please reach me at mathew@munetrix.com

    Tina
    Participant

    I am brand new to Buddypress and haven’t even installed it yet, just looking into the idea. What I am thinking about is using it for a membership community I am building with Learndash e-courses and I would like to be able to use this for the adult memberships, but not the children. Is there a way to set Buddypress to only allow the social access to the memberships that have adults, and specifically NOT allow access to Buddypress features to the memberships that are child students? OR, can I set it up so that the children members have no way of interacting with the adult memberships? I plan to have multiple membership communities. Children will be in a different community with completely different courses.

    #312864
    jossegafree
    Participant

    Hello good day,

    Download buddypres and also install learndash, also install xprofile, I wanted to know if there is any way that the custom fields that I add in xprofile are seen when doing the certificate in the learndash application.

    is there a way to do this?

    #312856
    Varun Dubey
    Participant

    @jmont246 BuddyPress does not have any shortcodes inbuilt, you only have to configure page mapping once https://codex.buddypress.org/getting-started/configure-components/

    d3vnu77
    Participant

    The heartbeat call for bp_activity_last_recorded is taking between 7 and 11 seconds which is eating up a lot of CPU time on my server.

    buddypress-admins-ajax-slow2

    buddypress-admins-ajax-slow

    Any idea why this call would be taking so long?

    johan13
    Participant

    Hello friends. I was unable to correct the error. When I allow users to register, emails don’t go out for them to activate with the code. I need them to activate their account through the email that is sent to them with the code. But this email never arrives. I have searched the whole wordpress and I have not achieved anything. Install WP Mail SMTP integrating with Gmail and it works, but Buddypress doesn’t work. Identify in “site health” this: https://prntscr.com/tiqdms

    I hope to have your support.

    #312837
    Prolet
    Participant

    Hi again,

    I have to apologise to all.

    The captcha ‘problem’was caused by Jetpack plugin, not by BuddyPress.

    As far as the second problem goes, I removed the tab from the menu and now all is good.

    Stay safe!

    …..how to show the problem is resolved? …. 🙂

    #312836
    eduardof
    Participant

    When changing the profile picture, I get a 1×1 pixel box to choose the area of the image that I want to show. I have Buddypress installed in the Avada theme.

    Is there any solution to be able to choose the profile photo area correctly?

    My Buddypress version is 6.1.0 and my Avada theme version is 6.2.3

    Crop image part of the bp-core-cssjs.php file in the / wp-content / plugins / buddypress / bp-core folder

    “// Get avatar full width and height.
    $ full_height = bp_core_avatar_full_height ();
    $ full_width = bp_core_avatar_full_width ();

    // Calculate Aspect Ratio.
    if (! empty ($ full_height) && ($ full_width! = $ full_height)) {
    $ aspect_ratio = $ full-width / full-height;
    } else {
    $ aspect_ratio = 1;
    } ”

    Thank you very much

    #312827
    jadedartist
    Participant

    How can I change the years to include dates earlier than 1958? Some of my users are not covered in the span included in the BuddyPress installation.

    clickallco
    Participant

    Your iframe needs a parent to be shown, twitch doesn’t allow live streams to be shown in embeds without it. Here’s an example:

    <iframe src="https://player.twitch.tv/?channel=NAMEOFCHANNEL&parent=www.yourwebsite.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

    Otherwise you could always do something like this and alter the buddypress member templates to fit it whereever you want.

    <?php 
    global $bp;
    $user_id = get_the_author_id();
    //Fill out the PROFILE FIELD NAME with your own field name
    $Twitch_Data = xprofile_get_field_data( 'PROFILE FIELD NAME', $user_id );
    
    if ( ! empty( $Twitch_Data) ) {
    ?>
    
    <div id="twitch-embed"></div>
    
    <script src="https://player.twitch.tv/js/embed/v1.js"></script>
    <script type="text/javascript">
      new Twitch.Player("twitch-embed", {
         channel: "<?php echo $Twitch_Data ?>"
      });
    </script>
    
    <?php } ?>

    The user would then go ahead and fill in their own channel name in the Buddypress profile field you’ve provided for them.

    #312822
    bluestandish
    Participant

    My Buddy press pages are not showing. they are rather redirecting to the homepage of my website.

    Prolet
    Participant

    Hello,

    I am new to BuddyPress, which probably will explain my question.

    On my new website https://worldartistmanagement.com I have installed BuddyPress 6.1.0

    It is pretty good and I am thankful for its simplicity and yet grand functionality.

    My main membership plugin is Ultimate Membership Pro, which an awesome tool for any membership website. Its authors have an extension to integrate it with BuddyPress – yay. On the BP menu appears another link to UMPs account page. That’s all.

    And here are my questions.

    How can I change the link name of this additional tab, please? It is the name of the plugin, instead My Account or else.

    And the second question, which is more important to me.

    After installing the BP all users are given captcha test by solving some math questions.
    I don’t use captcha, I didn’t enable it and I am trying to find out where this came from. The only sure thing is that it came after BP activation.

    Please advice.

    PS I will address the same question to UMP and to Anti-Spam by CleanTalk, my security plugin.

    Thank you. Stay safe

    cmsplay
    Participant

    At Appearance>Widgets>BuddyPress Group’s Home

    …I have set ‘(BuddyPress) Groups: Groups’ as follows:

    Who can see this widget?: Logged In Users

    …then below under ‘User Login State’ I have set: Show only for Logged-in Users

    Why is it then that if I log out of the site, refresh my browser and re-visit the site homepage, I still see the Groups page with its separate group headings displayed?

    Can anyone tell me how to make BP Groups invisible unless users are logged in?

    Many thanks.

    #312808

    In reply to: Deleting Unused Media

    welsh10
    Participant

    Hi @Vapvarun,

    Unfortunately, that plugin did not work – it showed nearly every media as unattached that was associated with BuddyPress 🙁

    Surely someone here, does something to purge media and posts to save space after so long?

    #312803

    I had Buddypress installed recently, and all appeared fine. Today I was in the Widgets section making some changes, and dragged the ‘Events’ widget into the Buddypress Member’s Home box on the right, which previously was empty. When I checked my main Buddypress account page, the menus that were previously showing had disappeared, and the sign up form boxes were out of alignment. I undid this change, and menus have not re-appeared, nor has the sign up form corrected to be completely even.

    I have changed the theme to the Old version, instead of new, and that did make the menu come back, but I do not like this style. How can I fix my page?

    Thank you.

    #312802
    stockssocial
    Participant

    I have buddypress installed on my site stocks.social. But when I use the BP Login Widget to let users log in it tries to cram the login and password fields on the same line. I like the BP Login Widget and don’t really want to install another plug in to modify the login and password fields of the page. The site is http://www.stocks.social if someone could please check this out and let me know what I am doing wrong I would really appreciate it.

    highvibes95
    Participant

    Hi All,
    I googled a lot and read many posts but found no code snippet to show member names along the profile avatars of the BP Recently Active Members widget. So i created my own widget and that is super easy to do. I took the core class of the above widget did a single line modification to display names also and registered it as a widget through functions.php
    Just paste the below code in functions.php of your child theme and it will work.

    class wpb_widget extends WP_Widget {

    function __construct() {
    parent::__construct(

    // Base ID of your widget
    ‘wpb_widget’,

    // Widget name will appear in UI
    __(‘Recently Active Member Custom’, ‘wpb_widget_domain’),

    // Widget description
    array( ‘description’ => __( ‘Sample widget based on WPBeginner Tutorial’, ‘wpb_widget_domain’ ), )
    );
    }

    // Creating widget front-end

    public function widget( $args, $instance ) {
    global $members_template;

    // Get widget settings.
    $settings = $this->parse_settings( $instance );

    /**
    * Filters the title of the Recently Active widget.
    *
    * @since 1.8.0
    * @since 2.3.0 Added ‘instance’ and ‘id_base’ to arguments passed to filter.
    *
    * @param string $title The widget title.
    * @param array $settings The settings for the particular instance of the widget.
    * @param string $id_base Root ID for all widgets of this type.
    */
    $title = apply_filters( ‘widget_title’, $settings[‘title’], $settings, $this->id_base );

    echo $args[‘before_widget’];
    echo $args[‘before_title’] . $title . $args[‘after_title’];

    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );
    $max_members = $settings[‘max_members’] > $max_limit ? $max_limit : (int) $settings[‘max_members’];

    // Setup args for querying members.
    $members_args = array(
    ‘user_id’ => 0,
    ‘type’ => ‘active’,
    ‘per_page’ => $max_members,
    ‘max’ => $max_members,
    ‘populate_extras’ => true,
    ‘search_terms’ => false,
    );

    // Back up global.
    $old_members_template = $members_template;

    ?>

    <?php if ( bp_has_members( $members_args ) ) : ?>

    <div class=”avatar-block”>

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <span class=”item-avatar”>
    ” class=”bp-tooltip” data-bp-tooltip=”<?php bp_member_name(); ?>”><?php bp_member_avatar(); ?>
    ” class=”bp-tooltip” data-bp-tooltip=”<?php bp_member_name(); ?>”><?php bp_member_name(); ?>
    </span>

    <?php endwhile; ?>

    </div>

    <?php else: ?>

    <div class=”widget-error”>
    <?php esc_html_e( ‘There are no recently active members’, ‘buddypress’ ); ?>
    </div>

    <?php endif; ?>

    <?php echo $args[‘after_widget’];

    // Restore the global.
    $members_template = $old_members_template;
    }

    /**
    * Update the Recently Active widget options.
    *
    * @since 1.0.3
    *
    * @param array $new_instance The new instance options.
    * @param array $old_instance The old instance options.
    * @return array $instance The parsed options to be saved.
    */
    public function update( $new_instance, $old_instance ) {
    $instance = $old_instance;

    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );

    $instance[‘title’] = strip_tags( $new_instance[‘title’] );
    $instance[‘max_members’] = $new_instance[‘max_members’] > $max_limit ? $max_limit : intval( $new_instance[‘max_members’] );

    return $instance;
    }

    /**
    * Output the Recently Active widget options form.
    *
    * @since 1.0.3
    *
    * @param array $instance Widget instance settings.
    * @return void
    */
    public function form( $instance ) {
    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );

    // Get widget settings.
    $settings = $this->parse_settings( $instance );
    $title = strip_tags( $settings[‘title’] );
    $max_members = $settings[‘max_members’] > $max_limit ? $max_limit : intval( $settings[‘max_members’] );
    ?>

    <p>
    <label for=”<?php echo $this->get_field_id( ‘title’ ); ?>”>
    <?php esc_html_e( ‘Title:’, ‘buddypress’ ); ?>
    <input class=”widefat” id=”<?php echo $this->get_field_id( ‘title’ ); ?>” name=”<?php echo $this->get_field_name( ‘title’ ); ?>” type=”text” value=”<?php echo esc_attr( $title ); ?>” style=”width: 100%” />
    </label>
    </p>

    <p>
    <label for=”<?php echo $this->get_field_id( ‘max_members’ ); ?>”>
    <?php esc_html_e( ‘Max members to show:’, ‘buddypress’ ); ?>
    <input class=”widefat” id=”<?php echo $this->get_field_id( ‘max_members’ ); ?>” name=”<?php echo $this->get_field_name( ‘max_members’ ); ?>” type=”number” min=”1″ max=”<?php echo esc_attr( $max_limit ); ?>” value=”<?php echo esc_attr( $max_members ); ?>” style=”width: 30%” />
    </label>
    </p>

    <?php
    }

    /**
    * Merge the widget settings into defaults array.
    *
    * @since 2.3.0
    *
    *
    * @param array $instance Widget instance settings.
    * @return array
    */
    public function parse_settings( $instance = array() ) {
    return bp_parse_args( $instance, array(
    ‘title’ => __( ‘Recently Active Members’, ‘buddypress’ ),
    ‘max_members’ => 15,
    ), ‘recently_active_members_widget_settings’ );
    }
    }

    // Register and load the widget
    function wpb_load_widget() {
    register_widget( ‘wpb_widget’ );
    }
    add_action( ‘widgets_init’, ‘wpb_load_widget’ );

    #312799
    harrystymiest
    Participant

    I am looking to create a model network site with BuddyPress, where each user would have a profile that would act as their portfolio.

    Is there a way to restyle the profile page to remove things such as the cover photo and enlarge the profile photo?

    Is there a way to completely turn off social features such as friending and activity?

    #312797
    tatiana_k
    Participant

    Here’s the solution how to use Nouveau theme hooks.
    It’s a bit complicated, but I’ve not found a way easier. And no other instructions.

    1. Find the hook you need.
    2. Search through the buddypress files and find the function with the same name (hook is a function, so find the source).
    In my example it’s function bp_nouveau_xprofile_hook($when = ”, $suffix = ”) {} (code reference page)
    3. Write down the array with all $hook components.
    Here they are bp/after/profile/loop_content
    I’d like to say that the pattern is
    bp/first-argument-in-hook/hook-name-from-function/second-argument-in-hook
    but here I had to change xprofile to profile, so the source code is still essential.
    4. Merge the array with _ (bp_after_profile_loop_content)
    5. Congratulations! We’ve got a custom action name and can continue with add_action().

    Honestly, I don’t understand why it has to be so complicated now, but here we are.

    #312788
    Scarecrow
    Participant

    I’ve been attempting to get the below to work, but little trouble with getting it to load the stream itself due to changes that Twitch has done

    // Add's Twitch Channel To BuddyPress Profiles
    if(!class_exists('BP_Twitch_Tab')):
    class BP_Twitch_Tab {
        public $tab_name = 'Twitch TV';
        public $content_title = 'Twitch TV Channel';
        public $url_slug = 'twitchtv';
        public $subnav_slug = 'twtchtv';
        public $tab_position = 40;
        public $show_chat = true;
    
        // channel name will be grabbed from buddypress field $field_name
        public $channelName = null;
        public $field_name = 'Twitch Channel';
        public function __construct () {
            add_action('bp_setup_nav', array($this, 'profile_tab'));
        }
    
        // add profile tab
        public function profile_tab() {
            global $bp;
            // get channel name
            $this->channelName = bp_get_profile_field_data('field=' . $this->field_name . '&user_id=' . bp_loggedin_user_id());
            if($this->channelName) {
                bp_core_new_nav_item( array(
                    'parent_url'           => bp_loggedin_user_domain() . '/' . $this->url_slug . '/',
                    'slug'                 => $this->url_slug,
                    'default_subnav_slug'  => $this->subnav_slug,
                    'parent_slug'          => $bp->profile->slug,
                    'name'                 => $this->tab_name,
                    'position'             => $this->tab_position,
                    'screen_function'      => array($this, 'screen_function')
                ) );
            }
        }
    
        // call actions on profile screen
        public function screen_function() {
            add_action( 'bp_template_title', array($this, 'template_title') );
            add_action( 'bp_template_content', array($this, 'template_content') );
            bp_core_load_template( 'buddypress/members/single/plugins' );
        }
    
        // add content title
        public function template_title() {
            echo $this->content_title;
        }
    
        // show iframe
        public function template_content() {
            ?> <iframe src="//www.twitch.tv/<?php echo $this->channelName; ?>/embed" frameborder="0" scrolling="no" height="500" width="100%"></iframe> <?php
            // show chat
            if ($this->show_chat) {
                ?> <iframe frameborder="0" scrolling="no" class="chat_embed" src="//twitch.tv/chat/embed?channel=<?php echo $this->channelName; ?>&popout_chat=true" height="400" width="100%"></iframe> <?php
            }
        }
    }
    endif;
    new BP_Twitch_Tab;
    #312785
    Varun Dubey
    Participant

    You can compare the template files for both
    https://github.com/buddypress/BuddyPress/tree/master/src/bp-templates

    demon_ru
    Participant

    Buddypress 6.1.0 and “BuddyPress Nouveau” template.
    Theme suffusion child.

    JS error on page: /members/me/messages/

    Uncaught SyntaxError: Unexpected token ‘;’
    at new Function (<anonymous>)
    at Function.v.template (underscore.min.js?ver=1.8.3:formatted:954)
    at i.template (wp-util.min.js?ver=5.4.2:2)
    at i.render (wp-backbone.min.js?ver=5.4.2:2)
    at i.render (buddypress-messages.min.js?ver=6.1.0:formatted:576)
    at i.setPreview (buddypress-messages.min.js?ver=6.1.0:formatted:584)
    at p (backbone.min.js?ver=1.4.0:2)
    at f (backbone.min.js?ver=1.4.0:2)
    at l (backbone.min.js?ver=1.4.0:2)
    at i.n.trigger (backbone.min.js?ver=1.4.0:2)

    and no massages displayed.

    Help, please.

    webcomon
    Participant

    When a post is added under “Activity” tab, it would be very helpful to send an auto email notification to pre-selected members.

    How to send an auto email notification to pre-selected group members when a post is added under “Activity” tab?

    Below is the required info/link
    WordPress version version 5.4.2
    BuddyPress version Version 6.1.0
    Link to my site esCanada.org

    tatiana_k
    Participant

    The previous buddypress theme used actions, for example do_action( ‘bp_after_profile_content’ ).
    Now there’re hooks instead, for example bp_nouveau_xprofile_hook( ‘after’, ‘loop_content’ );

    And I cannot find any information how these hooks can be used.
    What function do I have to use instead of add_action now?

Viewing 25 results - 4,026 through 4,050 (of 73,984 total)
Skip to toolbar