Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 3,878 total)
  • Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @adjunkten – The defer%20onload is a sign that you might be using a plugin to do something to all WordPress javascript enqueued files.

    Because if you remove the defer line, the JS file is valid:
    http://historielaerer.dk/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.min.js

    Are you using such a plugin? If so, disable it and see if that fixes your problem.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Let us know when PHP 7.1 is final and then we’ll take a look at it 🙂

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I tested by switching my WordPress locale to da_DK and the dynamic timestamp is loading da.js correctly.

    @adjunkten – If you want to help debug, can you add the following line:

    var_dump( $locale );

    after lines 31 and 42 of this file?
    https://buddypress.trac.wordpress.org/browser/tags/2.7.0/src/bp-core/bp-core-cssjs.php?marks=31,42#L22

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @djpaul – No, livestamp changes should not affect the xprofile date stored value.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    BP 2.7 introduced dynamic timestamps using livestamp.js and moment.js.

    For dynamic timestamp localization to work correctly, we try to load the moment.js localization file.

    It is quite possible that moment.js does not come with a Danish translation.

    @adjunkten – Can you check to see if there is a Danish translation here?
    https://github.com/moment/moment/tree/develop/locale

    If so, can you output your WordPress locale using get_locale()? There might be a bug in how we are checking for the moment.js locale file.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Ran into this issue recently regarding getting TinyMCE to work on BP group forum pages.

    The following code fixes this:

    /**
     * Enable at-mention autocomplete on BuddyPress group forum textareas.
     */
    function my_enable_mentions_in_group_forum_textareas( $retval ) {
    	$bbpress = false;
    
    	// Group forum reply.
    	if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) {
    		$bbpress = true;
    	}
    
    	// Group forum topic.
    	if ( bp_is_group() && bp_is_current_action( 'forum' ) ) {
    		$bbpress = true;
    	}
    
    	// Do stuff when on a group forum page.
    	if ( true === $bbpress ) {
    		$retval = true;
    		
    		// Ensure at-mentions autocomplete works with TinyMCE for bbPress.
    		add_filter( 'tiny_mce_before_init', 'cac_enable_mentions_in_group_forum_tinymce', 10, 2 );
    	}
    
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'my_enable_mentions_in_group_forum_textareas' );
    
    /**
     * Ensure at-mentions autocomplete works with TinyMCE for bbPress.
     *
     * @param array  $settings   An array with TinyMCE config.
     * @param string $editor_id Unique editor identifier, e.g. 'content'.
     * @return array  $mceInit   An array with TinyMCE config.
     */
    function my_enable_mentions_in_group_forum_tinymce( $settings, $editor_id ) {
    	// Add bbPress' editor IDs to enable BP mention autocomplete.
    	if ( 'bbp_topic_content' === $editor_id || 'bbp_reply_content' === $editor_id ) {
    		$settings['init_instance_callback'] = 'window.bp.mentions.tinyMCEinit';
    	}
    
    	return $settings;
    }
    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    This is a bug with bbPress, not BuddyPress.

    See the following ticket with a fix attached to it:
    https://bbpress.trac.wordpress.org/ticket/2974

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Thanks for fixing the Group Types codex article, @danbp. Was my fault!

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    It depends on what you want to do.

    If you are talking about template overrides, then follow this guide:

    Theme Compatibility – Customizing

    If you are talking about code snippets, you can use your theme’s functions.php file or wp-content/plugins/bp-custom.php.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I cannot duplicate your problem.

    I’m trying the search form from example.com/forums. In the WP admin dashboard’s “Settings > Forums” page, I have “Allow forum wide search” checked as well.

    You might want to refresh your permalinks at “Settings > Permalinks”. Sometimes that helps.

    Also, check your search slug in “Settings > Forums” and make sure it has no spaces:
    https://bbpress.org/forums/topic/bbpress-search-function-doesnt-return-results-goes-to-home-page/#post-174545

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Your issue might be related to this:
    https://buddypress.trac.wordpress.org/ticket/6448

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Cool! Glad this is fixed!

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Hi,

    Sorry that no one has responded to your post.

    If there are issues with the codebase (as is the case in this instance), you should post a report on our bug tracker, Trac:
    https://buddypress.trac.wordpress.org/newticket

    You should be able to login with the same credentials you use here on wordpress.org.

    Can you go into further detail about how you are deleting the comment? Are you deleting an activity comment that is connected to a post?

    Under “Settings > BuddyPress > Options”, is “Allow activity stream commenting on blog and forum posts” checked or unchecked?

    —-

    For my test:
    1. “Allow activity stream commenting on blog and forum posts” is checked.
    2. I posted a comment on a WP blog post.
    3. I navigate to the BP activity directory page and find the post in the activity stream. The WP comment that I made is listed as an activity comment under the post in the activity stream and not listed as a separate activity stream item.
    4. I click on the “Delete” button for my activity comment entry.
    5. I do not see the “There was a problem…” error.

    I haven’t tested when “Allow activity stream commenting on blog and forum posts” is unchecked yet.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    There is a conflict with nesting BuddyPress pages; you cannot nest BP directory pages.

    So, on your BuddyPress install, go to the WP admin dashboard, click on the Pages menu and make the Groups page a parent page.

    If you needed to have your BuddyPress pages under one parent page, then you could create a new parent page called Community and then nest the Members page under Community and the Groups page under Community.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I would check to see what GF and BF’s BuddyPress integration looks like.

    They might be calling bp_activity_add(). Do a search for that and see what parameters they are passing. In particular, check the recorded_time value and do a dump of that parameter and see if it is empty or not.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    In Chrome, when you use “Inspect”, do a search for 'bp-admin-component-submit':

    Chrome Inspect screenshot

    If you do not find it, something is eliminating it from the output. Could also be a browser extension.

    You could also try a different browser to see if this is only happening in your version of Chrome.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Do you have a bunch of plugins activated?

    One of your plugins could be unintentionally hiding the “Save” button.

    If you are able to, you could also check your browser’s page source or HTML inspector to see if the “Save” button is hidden. When you’re on the admin page, right-click the page and if you’re using Firefox or IE, select “Inspect Element”; if you’re using Chrome, select “Inspect”.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    As of right now, you would have to make a copy of the JS to make your required change:
    https://buddypress.trac.wordpress.org/browser/tags/2.6.2/src/bp-templates/bp-legacy/js/buddypress.js?marks=530#L513

    This file should reside in your theme’s buddypress/js folder.

    Keep in mind that this is the source JS. When used in production environments, this JS is minified to buddypress.min.js.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    It sounds like Specular has some built-in BuddyPress support, which is either incomplete or wrongly added.

    See if there is a buddypress folder in the Specular theme folder. If this folder exists, rename it to buddypress-backup temporarily and see if the group creation page works again.

    If there isn’t a buddypress folder, there is probably a code snippet in Specular’s functions.php that is interfering with the group creation screen.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Do you have the BP Group Hierarchy plugin installed?

    If you do, there is a conflict with BPGH and BP 2.6.1 and up. I’ve posted a patched version of the plugin that should work:

    [Resolved] Still getting a Fatal Error with BP Group Hierarchy plugin

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You could try redefining $content_width if a mobile device is on your site.

    Maybe something like:

    if ( wp_is_mobile() ) {
        $GLOBALS['content_width'] = 100; // change 100 to whatever your value should be. this shouldn't be a percentage value.
    }

    This is probably too generic though.

    danbp’s idea of using CSS media queries is probably better. Or consider using a JS script like fluidvids to accomplish what you need.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    There was no change to the Extended Profiles component in BP 2.6.2.

    Also i created about 11 profile groups but when i checked extended profile for my users from the admin panel i found all the created profile groups plus one more group with no content to it called “Social” which i didn’t create and i can’t even find it under Profile fields tab.

    Sounds like a plugin conflict. Did you also install or upgrade some BuddyPress plugins during your BP 2.6.2 upgrade? If so, deactivate those plugins and try to replicate your issue again. Also, try a different theme like twentysixteen since some themes try to add some of their own BuddyPress customizations, which may not work properly.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I have both bbPress and BuddyPress installed on a single site install and the “Pending” link only shows up once.

    Can you copy and paste the “Pending” links?

    You can just paste in the part after the question mark (?) from the URL. I’m most interested to see what is causing the second “Pending” link to show up.

    Your issue is probably caused by a plugin conflict or a rogue code snippet somewhere.

    Regarding your email issue, are you able to send out any non-BuddyPress related emails?

Viewing 25 replies - 1 through 25 (of 3,878 total)
Skip to toolbar