Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,326 through 3,350 (of 72,886 total)
  • Author
    Search Results
  • #316164
    kerriem
    Participant

    Hello,

    after the upgrade to v7.0 the membership directory is “stuck” (no longer updates), and the Buddypress “Recently Online” widget no longer works (also stuck, frozen in last status).

    Any idea what this may cause, and is this an already known issue (which will be fixed soon)?

    We use the latest version of WordPress (5.6) andkeep all plug-ins up-to-date.

    Thanks!
    Kerrie
    Volunteer Admin Team, Scaffies

    #316151

    In reply to: Slow Queries

    shanebp
    Moderator

    Yes, LIKE is slow.
    Mentions are handled differently as you can see; a css class is added to the content field.
    So perhaps the id of the mentioned user could be added to the item_id or secondary_item_id field.
    Then the query could just look for matching integers.
    I suggest you open an enhancement ticket – and reference this thread.

    #316150
    yesbutmaybeno
    Participant

    My site has a good 15,000+ users, of which about 100+ online in BP area at any given moment (so no caching etc)

    Constantly tweaking things for performance. Finally checked out the MySQL slow query log and it’s a lot of stuff. But a solid 80% of it area queries like this

    # Query_time: 3.036380  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 772130
    SET timestamp=1607682328;
    SELECT DISTINCT a.id  FROM wp_bp_activity a  WHERE
    (
            (
                    a.content LIKE '%@bobtho<%'
                    AND
                    a.hide_sitewide = 0
            )
    )
    AND a.is_spam = 0 AND a.type NOT IN ('last_activity') ORDER BY a.date_recorded DESC, a.id DESC LIMIT 0, 21;

    Query time is 3.2 seconds, some are upwards of 5+

    I think it’s coming from here https://github.com/buddypress/BuddyPress/blob/d2223de16c4b525906aaa89597a6ccc30515f58d/src/bp-activity/classes/class-bp-activity-activity.php#L380 and particularly when a user presses their “My Mentions” tab, thus its loading all of their activities that include their “@ username” text

    My CPU load is *always* high, I’ve upgraded my server earlier in the year:3.4 GHz 4 vCores and 16 GB RAM so it’s not bad

    Basically, I’m wondering if anything can be done about this? Since my slow-query log is filled with these types of queries (specifically it seems to be this “@ username” search) – can any optimizations be done, either in BP or something I can hack onto it?

    #316148
    techbot
    Participant

    I’m trying not to use my site as a test sandbox because the site is currently live. I’d hate to mess the thing up, hence the question beforehand.
    I’d searched for 2 days for the terms “buddypress missing default pages” or “create new buddypress pages”. None of these touched on what to do if pages were missing from the install. I didn’t see anything that went into detail about how the pages were coded so I wasn’t sure
    That seems to have worked though! Thanks to everyone for the suggestions and help šŸ™‚

    #316144
    techbot
    Participant

    If I simply make pages with those names as the title, what about the content of the page? Are there shortcodes to make the pages work with Buddypress?

    #316137
    Varun Dubey
    Participant

    @techbot, like a quick turnaround, you can also create new blank pages with those component names and select them from BuddyPress >> Pages option.

    #316135
    haitianguy
    Participant

    Hi, i feel like im doing this properly but i never get the right result. i have a custom meta called “featured” in activity meta. For testing purposes the meta values are 1,2,3,4 my goal is to have an activity loop order activities by the meta value. i’ve checked the documentation and i came up with this.

    
    <?php
    
    get_header(); ?>
    
    <?php get_template_part('page-parts/general-title-section'); ?>
    
    <?php get_template_part('page-parts/general-before-wrap');
    
    $atts =  array(
    			'title'            => 'Latest Activity',// title of the section.
    			'pagination'       => 1,// show or not.
    			'load_more'        => 0,
    			'display_comments' => 'threaded',
    			'include'          => false,     // pass an activity_id or string of IDs comma-separated
    			'exclude'          => false,     // pass an activity_id or string of IDs comma-separated
    			'in'               => false,     // comma-separated list or array of activity IDs among which to search
    			'sort'             => 'DESC',    // sort DESC or ASC
    			'page'             => 1,         // which page to load
    			'per_page'         => 5,         // how many per page.
    			'max'              => false,     // max number to return.
    			'count_total'      => true,
    
    			// Scope - pre-built activity filters for a user (friends/groups/favorites/mentions).
    			'scope'            => false,
    
    			// Filtering
    			'user_id'          => false,    // user_id to filter on
    			'object'           => false,    // object to filter on e.g. groups, profile, status, friends
    			'action'           => false,    // action to filter on e.g. activity_update, new_forum_post, profile_updated
    			'primary_id'       => false,    // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    			'secondary_id'     => false,    // secondary object ID to filter on e.g. a post_id.
    
    			// Searching
    			'search_terms'     => false,         // specify terms to search on.
    			'use_compat'       => bp_use_theme_compat_with_current_theme(),
    			'allow_posting'    => false,    // experimental, some of the themes may not support it.
    			'container_class'  => 'activity',// default container,
    			'hide_on_activity' => 1,// hide on user and group activity pages.
    			'for'              => '', // 'logged','displayed','author'.
    			'role'             => '', // use one or more role here(e.g administrator,editor etc).
                'for_group'        => '',// group slug.
    		);
    
    		$atts['meta_query']= array(
                                        array(
                                            'key' => 'featured',
                                            'value' => '0',
                                            'type' => 'numeric',
                                            'compare' => '!=',
                                            ),
                                            'meta_type' => 'numeric',
                                    'orderby' => 'meta_value_num',
                                    'meta_key' => 'featured',
                                    'order' => 'DESC'
                                    );
    
     ?>
    			<div id="buddypress">
    	
    
    		<?php do_action( 'bp_before_activity_loop' ); 
    		
    		
    		
    	
    
    if ( bp_has_activities( $atts ) ) : ?>
    
                <div class="<?php echo esc_attr( $atts['container_class'] ); ?> 
                <?php if ( ! $atts['display_comments'] ) : ?> hide-activity-comments<?php endif; ?>">
    
                    <ul id="activity-stream" class="activity-list item-list">
    
    					<?php while ( bp_activities() ) : bp_the_activity(); ?>
    						
    						<?php bp_get_template_part( 'buddypress/activity/entry' ); ?>
    					<?php endwhile; ?>
    
    					<?php if ( $atts['load_more'] && bp_activity_has_more_items() ) : ?>
                            <li class="load-more">
                                <a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
                            </li>
    					<?php endif; ?>
                    </ul>
    
    				<?php if ( $atts['pagination'] && ! $atts['load_more'] ) : ?>
                        <div class="pagination">
                            <div class="pag-count"><?php bp_activity_pagination_count(); ?></div>
                            <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div>
                        </div>
    				<?php endif; ?>
    
                </div> 
    
            <?php else : ?>
                <div id="message" class="info">
                    <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
                </div>
            <?php endif; ?>
            
    ?>
    			</div>
    		
    
    		<?php do_action( 'bp_after_activity_loop' ); ?>
    
    <?php get_template_part('page-parts/general-after-wrap'); ?>
    
    <?php get_footer(); ?>
    

    everything here works except for the order. for some reason it always orders by activity ID. am i missing something here? Thanks in advance im going crazy with this.

    #316125
    jshawpro
    Participant

    Hi.
    I’m having an issue with Groups that causes the activity to show “Load More” instead of showing latest group updates/posts. Filters also do not work for me on group activity stream.

    I have it setup to show the groups Activity feed by default instead of a homepage for the group.

    If set a homepage for the group and then navigate to ‘Activity’ everything works as it should.
    Filters work. However, my requirement is to have latest posts load first by default.

    I’m using Buddypress Nouveau on a custom WordPress theme based on Underscores.

    Any insight or troubleshooting ideas would be greatly appreciated!

    All the best,
    Justin

    #316123
    techbot
    Participant

    Well, I downloaded the 2019 theme, disabled all plugins and deleted the Buddypress plugin. Then I re-uploaded the Buddypress plugin fresh… still no pages šŸ™ I’ve tried both uploading the .zip from my computer AND searching through the WordPress plugins panel.
    I’m at a loss here. To be fair, it DOES say that it’s untested with WordPress 5.6. I just noticed that

    #316118
    iamthewebb
    Participant

    Which default pages are you missing? Have you enabled the relevant components through the buddypress settings?

    I believe you can also just create blank pages with suitable names and assign in the buddypress settings.

    #316116
    techbot
    Participant

    I’m using Buddypress 6.4.0 on WordPress 5.6 and it’s not installing the default pages. I’ve tried this with the Twenty Twenty default theme as well as dropping all my other plugins for the install, but it’s just not creating those pages šŸ™ I don’t want to list my website here, as it contains adult material, but any suggestions would be appreciated

    #316101
    kakashi-hatake
    Participant

    Hello,

    So this is so called buddypress community?

    Cheers

    #316073
    larnoult
    Participant

    Hey,
    A lot of my (impatient) users double or triple click on the “post update” button (#aw-whats-new-submit), thus creating duplicated activities.
    I only found this 5 year old topic , where @henrywright suggested to insert jquery code in the post-form.php (in a child theme). Which I did:

    <?php
    /**
     * BuddyPress - Activity Post Form
     *
     * @version 3.1.0
     */
    
    ?>
    
    <?php
    /*
     * Template tag to prepare the activity post form checks capability and enqueue needed scripts.
     */
    bp_nouveau_before_activity_post_form();
    ?>
    
    <h2 class="bp-screen-reader-text"><?php echo esc_html_x( 'Post Update', 'heading', 'buddypress' ); ?></h2>
    
    <div id="bp-nouveau-activity-form" class="activity-update-form"></div>
    <script>
    
        jQuery( 'input#aw-whats-new-submit' ).click( function() {
    		jQuery( "input#aw-whats-new-submit ").attr( "disabled", true );
    		jQuery(this).addClass( "loadingBP" );	
        });
    </script>
    <?php
    /*
     * Template tag to load the Javascript templates of the Post form UI.
     */
    bp_nouveau_after_activity_post_form();
    

    Unfortunately, clicking on the button (although it’s the right selector) does not trigger the jQuery event.. I’m puzzled! Any help welcomed!
    Thanks

    #316066
    Candace
    Participant

    The site navigation is not what I am having trouble with it is the BuddyPress profile navigation bp-nav which doesn’t show up in the developer tools, except for the sub-nav one.

    #316065
    connie1193
    Participant

    Hello, we are super happy with the plugin. Unfortunately, it is not possible for users to reset the password. Independent of which email address you put there, the next page is the 404 error. And no email is sent.

    Passwort zurücksetzen.


    Can you support here please?

    WP Version 5.5
    Buddypress Version 6.4.0

    #316063
    Candace
    Participant

    WordPress 5.6
    BuddyPress 6.4

    I recently installed BuddyPress. Everything was working fine, but now the main nav on the profile page disappeared except on the profile homepage.

    So I see it here: https://cloudninemeeple.com/members/aunrea/
    but not here: https://cloudninemeeple.com/members/aunrea/profile/
    or anywhere else in the profile area.

    I have my own theme I made and have only made some CSS changes since installing the plugin. The CSS is not hiding the nav (I checked).

    I have a lot of plugins but I deactivated all plugins except BuddyPress and that did not help.

    I can’t figure out why it disappeared when it was there before.

    #316039
    Earl_D
    Participant

    @iamthewebb thanks that is hat it was the buddypress new user moderation plugin had a option to block BBpress which I unchecked and solved the issue

    #316034
    Mathieu Viet
    Moderator

    Hi everyone,

    Survey results are now published!

    BuddyPress 2020 Survey results

    #316026
    samysalahgad
    Participant

    Hey Guys

    I need to make my community private for members including the members and groups page showcase and also members and groups profile.

    I used plugin for restrict content by showing a restricted content message or redirect to login or register page, but that not work well with buddypress. am using “Restrict User Access – Membership Plugin with Force
    ” plugin, it work fine with member profiles
    Redirect for group showcase page and child group pages not work, any help ?

    #316025
    iamthewebb
    Participant

    You can overload pages https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files

    If you create a child theme, copy the template file then you can make changes to the template to move components etc.

    #316019
    iamthewebb
    Participant

    What plugin are you using to restrict access to buddypress? This will likely need reconfigured if it is also blocking bbpress.

    #316012
    rcwild
    Participant

    Figured this one out on my own. MemberPress and BuddyPress each have a setting to identify pages. I created a conflict in the pages being used by the two plugins.

    #316000
    rcwild
    Participant

    Greetings,

    I have a problem that has me stumped. Thank you in advance for any help you might be able to offer. Website is canyonguidesinternational.org

    Started with MemberPress and Divi theme. Added BuddyPress to provide users the ability to create extended user profiles. Added a BuddyPress integration plugin provided by MemberPress. The only other plugins installed are reCaptcha and WordFence.

    The problems …

    WITH BUDDYPRESS DISABLED
    Things work fine, except of course I cannot access BuddyPress features.

    WITH BUDDYPRESS ENABLED — LOGGED IN AS ADMIN
    Things work fine. Can access BuddyPress features. BUT trying to get to homepage keeps redirecting me to …/members. I have the homepage set to static page HOME and cannot find any other place that could be causing the redirect. I can get to other pages using the navigation menu, but not the homepage.

    WITH BUDDYPRESS ENABLED — LOGGED OUT
    Going to home page gives me this message: “Please provide a valid activation key.” I can get to other pages using the navigation menu, but not the real homepage.

    #315967

    In reply to: BuddyPress 6.4.0

    savanitina
    Participant

    After updating Buddypress any posts edit page in admin side (/post.php?post=24097&action=edit) not working while its working with old version.i did check all new files of new version of buddypress i did not get anything..can anyone help please ?

    #315963
    harlandit
    Participant

    Yep – there is a Javascript error, but I am not very good at these things….any idea what is wrong here?
    ++++++++++++++++
    buddypress-nouveau.min.js?ver=6.4.0:1 Uncaught TypeError: Cannot read property ‘contents’ of undefined
    at HTMLDivElement.<anonymous> (buddypress-nouveau.min.js?ver=6.4.0:1)
    at HTMLDivElement.d.complete (jquery.js?ver=1.12.4-wp:4)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at i (jquery.js?ver=1.12.4-wp:4)
    at n.fx.tick (jquery.js?ver=1.12.4-wp:4)
    +++++++++++++++++++++

Viewing 25 results - 3,326 through 3,350 (of 72,886 total)
Skip to toolbar