Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 2,851 through 2,875 (of 69,127 total)
  • Author
    Search Results
  • #316198
    kerriem
    Participant

    Thank you Sir!

    Sorry I bugged you when this is not a Buddypress issue — and thank you so much for spending time and effort to dig into it!

    I will proceed as you suggested.

    Many Regards,
    Kerrie

    #316196
    Mathieu Viet
    Moderator

    Hi, thanks for this screenshot which confirms, this is due to a JavaScript issue. FWIW, I’ve tested the members directory and the widget you are using in WP 5.6/Twenty Twenty-One and with BuddyPress as the only active plugin and I can’t reproduce your issue. This means it’s probably due to a conflict with another plugin. If I were you, I would deactivate plugins one by one, testing if the issue is still there after each plugin deactivated to find the problematic one. I would probably start with the ones that were lately updated. If you can narrow the cause this way you’ll be able to contact the right plugin’s support.

    #316193
    Patrick P
    Participant

    I suppose this is a long shot, but here goes.

    So I have BuddyPress and the Vantage theme installed on this random website (On a development server that’s only for internal users so no link available). On any of the BuddyPress Groups pages on this site, I get the following warning:

    ( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_group_new_topic_button’ not found or invalid function name in /var/www/html/INSTALLFOLDER/wp-includes/class-wp-hook.php on line 287

    Googling hasn’t really provided me with any solutions, so perhaps someone here may know the answer.

    -Tried testing with TwentyTwenty theme and still get the warning.
    -Tried changing Template Packs from Legacy to Nouveau and vice versa.
    -Tried adding some code into functions.php to no avail.
    -I disabled the bp-template-pack, but while that fixes the warning, it affects the Vantage theme design.

    Using WordPress 5.5.3, BuddyPress 6.4.0, Vantage theme 1.15.5 as well as the bp-template-pack at version 1.2.1

    Thanks!

    lordmatt
    Participant

    I’m a huge nerd who uses BuddyPress. I don’t know everything but I would be on hand to answer questions. I’m a long time stack user. Back in the day when I worked for other people, I used SO all the time.

    I’ve also run this idea past the Meta for WordPress SE (where BuddyPress is off-topic)

    shanebp
    Moderator

    Yes, stack is great.
    While it would be nice to avoid all the spam on these forums, who would answer questions on a BP stack?

    There are unofficial Facebook groups for BuddyPress and BuddyBoss.
    Participation in the former is scant, while the latter is booming.

    #316184
    kerriem
    Participant

    Hey,

    thank you for the prompt reply!

    1) we are using the BP Nouveau template
    2) no errors in the inspector
    3) no errors in the Network – AJAX – Response

    I am including two screenshots of this:
    https://www.dropbox.com/s/9242oirs5ja3efu/BP%20Member%20Directory%20Stuck%20Inspector.png?dl=0
    https://www.dropbox.com/s/oshty829ab2jnn2/BP%20Member%20Directory%20Stuck%20Network%20AJAX%20Response.png?dl=0

    As I did the upgrade to BuddyPress v7.0, I am fairly positive that was the one change that triggered the member directory getting “stuck” – and with it the Buddypress Widget, which we (used to) use prominently.

    However, we did several upgrades all around WP 5.6 (we document everything). Here is an excerpt of our Change Log:

    12 DEC 2020 – Saturday
    ☠ [08:40 UTC – @kerrie ] Filed a support request / bug inquiry here regarding the Buddypress membership / widget bug
    ☠ [07:45 UTC – @scaffiesadmin ] Replaced the Buddypress “Recently Online” widget with the GD “Currently Online” widget (much fewer displayed) on the newspaper, and added the “Find New Friends” widget, until the Buddypress widget has been fixed (member list does not update, it is a bigger issue than just the widget displaying it). Sadly, with Buddypress updates something goes wrong regularly – but it is usually fixed quickly.
    11 DEC 2020 – Friday
    ☠ [12:30 UTC – @kerrie ] The Buddypress “Recently Online” widget on the newspaper seems to have stopped working. Must be connected to the v7.0 upgrade hours earlier (not that there is a choice to upgrade or not, really — security issues are also always fixed with those).
    ☠ [01:40 UTC – @kerrie ] Updated Advanced Editor Tools (previously TinyMCE Advanced) to v5.6.0
    ☠ [01:35 UTC – @kerrie ] Updated WordPress to v5.6 – ‘Simone’ … “Code is Poetry”
    ☠ [01:34 UTC – @kerrie ] Updated Autoptimize to v2.8.0
    ☠ [01:33 UTC – @kerrie ] Updated BP Better Messages (Premium) to v1.9.7.60 (no public change log) – “other bugfixes and improvements”
    ☠ [01:32 UTC – @kerrie ] Updated Buddypress to v7.0 – “a major BuddyPress feature release” .. named “Filippi“
    ☠ [01:31 UTC – @kerrie ] Updated EU Cookie Law to v3.1.6
    ☠ [01:30 UTC – @kerrie ] Updated GP Premium (GeneratePress theme plug-ins) to v1.12.3 (no public change log)
    ☠ [01:29 UTC – @kerrie ] Updated Jetpack to v9.2.1
    ☠ [01:28 UTC – @kerrie ] Updated MyCred (Points, Rewards, Gamification, Ranks, Badges & Loyalty) to v2.0
    ☠ [01:27 UTC – @kerrie ] Updated Newsletter to v7.0.0
    ☠ [01:26 UTC – @kerrie ] Updated Paid Memberships Pro – Gift Levels v0.3 (no public change log)
    ☠ [01:25 UTC – @kerrie ] Updated UpdraftPlus Premium to v2.16.42.24 (no public change log)
    07 DEC 2020 – Monday
    ☠ [22:46 UTC – @scaffiesadmin ] Updated WP Maintenance Mode to v2.3.0
    ☠ [22:45 UTC – @scaffiesadmin ] Updated BP Better Messages (Premium) to v1.9.7.59 (no public change log) – PM Pro incompatibility fix (affected Scaffies)

    THANK YOU FOR LOOKING INTO THIS!!
    Kerrie

    Mathieu Viet
    Moderator

    I’ve tested the described issue (Two friends User A & B, both subscribers, both having a group) with latest WordPress (5.6) and BuddyPress (7.0) and into the Twenty Twenty-One theme. I can’t reproduce your issue. If it was a BuddyPress issue, then it should be the case.

    I advise you to try the above configuration on a testing site, you should see the issue won’t be there. Then activate your theme, check if the issue appeared, if so: the theme should fix it, then activate all the plugins you use on your site one by one making sure to test again the issue before activating a new plugin. As soon as you can reproduce the issue, you’ve found the problematic one.

    #316181
    kerriem
    Participant

    Hello,
    when sending a reply to this, I get an “Error: Your reply cannot be created at this time.”

    I copied an ASCII text of my (lenghty) reply (with screenshots) here:
    https://www.dropbox.com/s/zy0uf2ex6b7b5n2/Buddypress%207%20Member%20Directory%20and%20Widget%20Stuck%20-%20Error%20Analysis?dl=0

    Kerrie

    electroinvention
    Participant

    @vapvarun
    Hello, thanks for replying.
    Yes, I understand. What if I put it public and want to hide anonymous access just specific pages only. So is there any alternative for that? What if I can leave it public but have the right to prevent anonymous access to certain specific pages whom I select.
    Is there any way to do that? I have tried some plugins that can prevent access to specific pages when you add their shortcodes to those pages but they don’t actually do their work.
    The problem with Buddypress and boss platforms is either they are fully public or fully private.

    Even if I put some specific links in the open URLs area of platform settings, but thing is, how many, and how many links I will put in there. That’s kinda messy and inefficient.

    I just want something I can use with these platforms, that let me private specific URLs even when I have set the platform to Public

    #316170
    Mathieu Viet
    Moderator

    Hi @kerriem

    Thanks for your feedback. If you are using the BP Nouveau Template Pack (activated by default), then it looks like JavaScript/Ajax issues. Could you open the Members directory page having your browser’s inspector console opened to see if there are JavaScript Errors. If not, keeping the browser’s inspector opened, refresh the page, then go to the network tab of the browser’s inspector activate the line where the admin-ajax.php file is listed, then activate the Response sub tab to see if it contains a server error.

    If you are using the BP Legacy Template pack, I have no idea what’s going wrong. It’s not an already known issue.

    I hope you’ll be able to narrow possible cause of the issue, and if you find something relative to BuddyPress, we’ll fix it & package a minor release soon after.

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

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

Viewing 25 results - 2,851 through 2,875 (of 69,127 total)
Skip to toolbar