Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,226 through 4,250 (of 94,544 total)
  • Author
    Search Results
  • #312911
    shawfactor
    Participant

    Guys,

    am running a buddypress network and I want to share some tables but not others (I have my reasons). I’ve enabled BP_ENABLE_MULTIBLOG and have it working perfectly through the filters I have addeds for global_tables and meta_tables for each active component I want share. eg

    add_filter(‘bp_messages_global_tables’,’bp_custom_use_global_tables’);
    add_filter(‘bp_messages_meta_tables’,’bp_custom_use_global_tables’);

    However it looks like the core component uses $bp->core->table_name_notifications in a number of places so occasionally the local notification table is being used (and I want to use a global table in all cases for notiifications). I cant find any documentation on how to filter that one.

    Can you please tell me how I can override this so that notications are always added to the global table?

    Pete

    #312910
    nanomania
    Participant

    Hello,

    I would like to know if there is a way to make all buddypress work with uploads of images, files, videos, so that they are done externally, is there any complement or configuration for this? My idea is that users can upload all the content they want but without affecting my storage of my hosting, a greeting and thanks.

    #312907
    nffox
    Participant

    Hello @mfalk75, one question, where did you put this code? I don’t have a “css” folder in mythemes/buddypress, should I create one first? And then… copy a buddypress.css file there and make the changes… Sorry, I probably miss something.
    Thank you!
    Cheers,
    Ilya

    ducksss
    Participant

    I’m setting up Buddypress and when I register a new account the activation email keeps bouncing back to the sender address. I get the following error:

    SMTP error from remote mail server after end of data:
    550 Messages should have one or no To headers, not 2.

    The “To” address IS in the “To” field TWICE but I can’t figure out why. I assume that’s why it’s bouncing back. I don’t have any other registration or membership plugins running right now. I am using WP SMTP MAIL to enable me to use Gmail as my sender. It DOES send the test email properly, and only to one address in the “To” field.

    Any advice on this?

    meilershsag
    Participant

    Hello,

    My site is https://www.kidneylearninghub.com/. It is using the WPLMS plugin, which leverages BuddyPress for the login and user management.

    After I updated the site with an SSL cert and domain, the login developed an issue where even though I have logged in with the correct user name and password, and the login cookie has been successfully created, the page does not update with the logged in user, and will not let you into the restricted content areas. Only after clicking around and trying many times will the site suddenly see the cookie and show you as logged in.

    This screen shot shows that the cookie exists, but the site does not show a user logged in:

    screen shot of cookie issue

    I have been through extensive troubleshooting of the site. My database, config files and site files all use the fully qualified URL; my host (GoDaddy) is configured with the certificate and URL. I have added the site URLs to the wp_config file as suggested by dozens of tutorials. What would cause the site to create the cookie but then ignore it? This happens regardless of browser, and with and without Incognito or private browsing. As I understand it, the site uses BuddyPress to log in, and then hands that login off to WordPress. The WordPress login (available if you choose reset password) also has the same problem.

    Any suggestion is appreciated.

    gooalgenie
    Participant

    Hey Team,

    Really love your plugin with great Features and extension, forum solutions available.

    Wordpress version: 5.4.2
    Buddypress Version: 6.1.0

    (Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)

    Yes I face the same issue with twenty, twenty themes.
    Website URL: gooalgenie.com
    Issue URL: https://tinyurl.com/y43gqshz

    Issue 1:

    I am facing issue with Making Menu/Nav Tabs and Subnav Ajax (pages to load without loading the complete page) – How can I achieve the same?

    I researched a lot on various buddy press forums but could not figure out the solution for the same. One of the solutions I tried:

    https://buddypress.trac.wordpress.org/ticket/6507 – add the code provided here on bp-custom.php and even on themes functions.php file but made no effect.

    Is there any other forum that I can try.

    Note: I have bp-custom.php file in mu-plugins directory and in child theme childtheme/buddypress/members/single/group.php file.

    Issue 2:

    Avatar and cover images look blur whereas they look fine in media library.

    #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

    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.

Viewing 25 results - 4,226 through 4,250 (of 94,544 total)
Skip to toolbar