Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,651 through 8,675 (of 94,543 total)
  • Author
    Search Results
  • ethanstein
    Participant

    It seems like parameters 6-8 are no longer being passed with the new version of buddypress?

    This is my code which has been working:

    function bp_custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string', $component_action, $component_name, $id ) {
    
      if ("wbp_party" === $component_name && is_user_logged_in()) {
    
        ...
    
    if ( 'string' === $format ) {
          $return = apply_filters( 'wbp_notification_filter','<a href="'.$custom_link.'">'.$custom_title.'</a> ', $custom_text, $custom_link );
    
          // Deprecated BuddyBar
        } else {
          $return = apply_filters( 'wbp_notification_filter_array', array(
            'text' => $custom_text,
            'link' => $custom_link
          ), $custom_link, (int) $total_items, $custom_text, $custom_title );
        }
    
        return $return;
      }
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_custom_format_buddypress_notifications', 10, 8 );
    ethanstein
    Participant

    I also had the same issue. It has been working for the past six months but for some reason I’m now getting the error:

    [Thu May 31 03:17:57.637007 2018] [proxy_fcgi:error] [pid 20994:tid 140462744499968] [client 76.95.217.178:52226] AH01071: Got error 'PHP message: PHP Warning: Missing argument 6 for bp_custom_format_buddypress_notifications(), called in /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php on line 286 and defined in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wbp/lib/party/notifications.php on line 40\nPHP message: PHP Warning: Missing argument 7 for bp_custom_format_buddypress_notifications(), called in /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php on line 286 and defined in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wbp/lib/party/notifications.php on line 40\nPHP message: PHP Warning: Missing argument 8 for bp_custom_format_buddypress_notifications(), called in /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php on line 286 and defined in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wbp/lib/party/notifications.php on line 40

    #273783

    In reply to: GDPR compliance

    angrywarrior
    Participant

    How about Pseudonymisation and encryption of user data in BuddyPress?

    As I understand this must also be achieved under the GRPR directive.

    (And yes thank you @buddyboss for your initivite, it is step in the right direction).

    #273782
    nidia25
    Participant

    Hi,
    I just start to create a web site with buddypress, so I dont understand so much things.
    Since 3 days I search for a solution please help me …
    I just try to display differents custom field (that I create with BUDDYFORM ACF for my form post )
    When I try to display with get_field (‘image_livre’) that work only in single.php ( theme understrap) but not in entry.php ( buddypress).
    I think its with this code that i can do something.. but i dont understand where and how wrote that.
    I have 3 custom = #image_livre #titre_livre #description_livre

    add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' );
    
    function buddydev_custom_buddyblog_settings( $settings ) {
    
    	$custom_fields = $settings['custom_fields'];
    
    	$custom_fields['image_livre'] = array(
    		'type'		=> 'image',
    		'label'		=> 'image du livre',
    		'default'	=> ""
    	);

    i hope someone can help me

    thank you

    #273780
    Henry Wright
    Moderator

    The “Articles” tab isn’t something that BuddyPress adds. If the count isn’t compatible with Nouveau then I suggest you let the plugin author know at https://wordpress.org/support/plugin/social-articles

    #273779
    Venutius
    Moderator

    BuddyPress Xprofile Fields Type has been withdrawn and if unsupported.

    If you do a lookup for BuddyPress Xprofile Custom Fields (note the extra s) you will find that there’s a new fork of this plugin that should fix the problem.

    Datenfresser
    Participant

    Hi all,

    I tried to upgrade my Buddypress version from version 2.9.2 to 3.0.0. There were no problems in the frontend, but I can’t get into the backend anymore. I’m getting a 500 error.

    I tried to fix the bug by increasing the PHP memory. That didn’t work. Then I activated the debug mode, but I can’t do much with the result.

    Any of you guys have the same problem?

    —

    Notice: Die verwendete Konstruktor-Methode für WP_Widget in buddymenu_widget_class ist seit Version 4.3.0 veraltet! Verwende stattdessen
    __construct()
    . in /var/www/clients/client16/web79/web/wp-includes/functions.php on line 3903

    Fatal error: Uncaught Error: [] operator not supported for strings in /wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php:155 Stack trace: #0 /wp-includes/class-wp-hook.php(286): Bxcft_Plugin->admin_init(”) #1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2
    /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3
    /wp-admin/admin.php(156): do_action(‘admin_init’) #4
    /wp-admin/index.php(10): require_once(‘/var/www/client…’) #5 {main} thrown in
    /wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php on line 155

    #273777

    In reply to: GDPR compliance

    BuddyBoss
    Participant

    We have released a plugin to help with GDPR compliance: https://wordpress.org/plugins/bp-gdpr/
    This will be helpful for now, until there is a major BuddyPress release with these features.

    pandraka
    Participant

    Is there a date for a fix to BuddyPress for this issues?

    #273773

    In reply to: User Extended Profiles

    Venutius
    Moderator
    alirastegar
    Participant

    Hi

    I have checked both options in the setting allowing members to upload avatars and background images but it doesn’t work. I have also deactivated all other BuddyPress related plugins in case of compatibility issues but the problem persists.

    Many thanks.

    #273768
    harry74
    Participant

    I am reposting the same with the code parts fixed (I hope)

    Wordpress Version: 4.9.6
    Buddypress version: 3.0.0

    Hello,

    I’ve been struggling for days with oEmbed, but I’m not a coder nor very experienced in WP so no luck yet. I want to be able to post on the activity stream from almost any source and generate a preview (same as on Facebook, Tumblr etc). First of all, even some major sites (Facebook, Flickr, Tumblr) from the WP whitelist do not generate a preview when posting a link in activity. A bug maybe? Also, Activity Plus and rtMedia are not solutions, because I tried them and both have problems. I should point out that I have multisite and BP Multi Network and have set BP_ENABLE_MULTIBLOG as true.

    Two very good plugins are Iframely and Embedly. The problem with the first is that there’s a limit of embeds in the free version and it doesn’t support as many sites as I need. Embedly does, but here’s the problem. When activated, there seems to be a conflict with some of the default embed providers of BP, like Vimeo and Youtube. A preview is still generated, but it is only a dead image of the video. You cannot click play or click on the title and open the video in a new tab. So the plugin becomes essentially useless (nobody could afford to have a social network where users can’t post YouTube videos). There’s a similar problem with Iframely (the YouTube video is OK but there’s a big blank area beneath it), but they have an option “Do not override default embed providers” that solves the problem. Unfortunately Embedly doesn’t have such an option. Does anyone know if I could force it somehow to do the same? (I have already contacted their support days ago but they never answered.)

    Then, I thought to remove YouTube from the oEmbed providers list with

    <?php wp_oembed_remove_provider( $format ) ?>

    hoping that this would eliminate the conflict, since Embedly alone would handle YouTube links. I’m not sure what I did it wrong, because at first I pasted this code as a test:

    <?php wp_oembed_remove_provider( 'http://wordpress.tv/*' ); ?>

    in the wp-includes/media.php file at the end and it returned syntax error, unexpected ‘<‘. Then I tried:

    wp_oembed_remove_provider( 'http://wordpress.tv/*' );

    No error this time, but nothing changed. I could still post a link from wordpress.tv and a preview was generated. Can someone explain how to do this correctly? And do you think that if I remove YouTube from the providers it will solve the issue?

    Finally, I found out about oEmbed Discovery. The documentation is not very clear, so I’m not even sure what exactly it is supposed to do if enabled. Does it allow content from any site to be embedded? Or does it have limitations too? And what does it mean “you can give unfiltered_html users (Administrators and Editors) the ability to embed”? If I used it, would I have to give every new user editor role so that they could post? Anyway, the thing is I installed the Enable oEmbed Discovery plugin, but absolutely nothing changed. I tried some test posts from various websites and only the link was posted as usual. Any idea what went wrong?

    I tried all the above with network activation, per site activation, network and per site together, everything… but to no avail. Any help will be greatly appreciated because this is a huge problem for my site. Sorry for the long post, at least I hope it might help others too with similar issues. Lastly, if anyone proposes a solution which includes some code, please mention where I should paste it (I do have a bp-custom.php file).

    Thanks in advance

    #273762
    Varun Dubey
    Participant

    @shahriar83 You have already created a thread with BP activity plus support, Explain to them how to replicate the issue.

    You can replicate the issue with Template Pack BuddyPress Nouveau after BP 3.0 install using WordPress Default theme “Twenty Seventeen” at singe group activity page.

    #273759
    FrankCaban
    Participant

    I have a bit of a deadline and I was wondering is there a way to create like a search bar with multiple filter parameters (distance) (age) (gender) etc etc so members can do advanced searches>

    #273751
    Jonas
    Participant

    I had some issues with this earlier too, using the code supplied in this thread should clear up your issue.

    Here’s the code if you’re unable to click the link for some reason. You should put it in your bp-custom.php file.

    function toa_check_page_reqiurement_and_lie_to_buddypress ($is, $component) {
        global $bp;
        if ($is || "activity" !== $component) return $is;
        if ((defined('BP_GROUPS_SLUG') && bp_is_groups_component() && 'activity' == $bp->current_action)){
            return true;
        }
        return $is;
    }
    function toa_setup_activity_filter () {
        add_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10, 2);
    }
    function toa_teardown_activity_filter () {
        remove_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10);
    }
    add_action('bpfb_init', 'toa_setup_activity_filter');
    add_action('bpfb_add_cssjs_hooks', 'toa_teardown_activity_filter');
    #273749
    Varun Dubey
    Participant

    I am able to replicate the issue, You can report here once
    https://wordpress.org/support/topic/problem-with-new-buddypress-template/

    #273746
    Varun Dubey
    Participant
    dannydlb
    Participant

    Current WordPress & BuddyPress versions. Using BuddyBoss Theme

    Everything was working fine for weeks, but now users cannot register for the site. I did some testing and found the issue.
    In Users>Profile Fields, I have a custom field for a User Agreement. If I set this field to “required” (like it should be) and the new registering user checks the box, it reloads the page and defaults to “Registering for this site is easy…”

    If I set this set this profile field to “not required”, (user does not check the checkbox), the registration process works fine.

    Should I just use a plugin for these custom profile fields?? I am missing out on a lot of registrations…

    Here are the settings I am currently using for the profile fields in question which are preventing user registration.

    Title: User Agreement
    Description: By checking this box you agree to our terms and have read our User Agreement
    Read our User Agreement

    Field type: checkboxes
    Option: I agree ( default value: unchecked )

    Visibility: just-me with option: enforce visibility

    #273742
    bpistone
    Participant

    I found an old link https://buddypress.org/support/topic/auto-complete-not-working/

    Not sure how to implement the fix, or if I need to; I’m not seeing @suggestions in my forum and I’m not sure if it’s theme related or the plugin. Also I’m still learning wordpress, how to implement the fix @mlwilkerson described would be helpful.

    WP 4.9.6
    bbPress Version 2.5.14
    BuddyPress 3.0.0
    Theme Newspaper 8.7

    #273730

    Buddypress activity plus not active with groups in my web.

    #273725

    In reply to: version 3.0 problems

    Varun Dubey
    Participant

    @geertbaven code might be written inside the template file of the theme
    theme-name/buddypress/groups/single/home.php

    You will need to remove bp_is_group_forum() code; you are not using forums that’s why it’s creating an issue.
    Inside the latest version above code is removed, in core discussion developers had talked about it to put it back.

    #273714
    Varun Dubey
    Participant

    You can override edit page template inside the child theme
    buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
    at following path
    child-theme/buddypress/members/single/profile/edit.php

    #273713
    filipponeri20
    Participant

    Thanks a lot @sharebophar for your solution. I had to do a little of adjustment but it was right on the spot!

    PROBLEM:
    buddypress nouveau not sending activation email but buddypress nouveau sending correctly emails to user for notifications on manually activated users. So in my case the problem was ONLY that the validation email was not sent. I say ‘only’ from a technical perspective but from the user perspective was a VERY BIG issue. Again thanks @sharebophar for your solution
    Also note that I am not running a wordpress multisite.

    SOLVED:
    Here are the steps I have employed:

    STEP 1
    a) browse to “/bp-core/bp-core-functions.php” in buddypress plugin directory
    b) replace the code for ‘core-user-registration’ and ‘core-user-registration-with-blog’ with the following one

    	'core-user-registration' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate your account', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: <a href=\"{{{activate.url}}}\">{{{activate.url}}}</a>", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
                            'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: {{{activate.url}}}", 'buddypress' ),
    		),
    		'core-user-registration-with-blog' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate {{{user-site.url}}}', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: <a href=\"{{{activate-site.url}}}\">{{{activate-site.url}}}</a>.\n\nAfter you activate, you can visit your site at <a href=\"{{{user-site.url}}}\">{{{user-site.url}}}</a>.", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: {{{activate-site.url}}}\n\nAfter you activate, you can visit your site at {{{user-site.url}}}.", 'buddypress' ),
    		),

    STEP 2

    a) go to wordpress dashboard, settings, buddypress
    b) select and run the ‘repair email’ option

    STEP 3

    all now works. I have been testing it with dummy users. I hope the whole explanation helps.
    Regards

    Varun Dubey
    Participant
    #273710

    In reply to: version 3.0 problems

    Varun Dubey
    Participant

    @geertbaven check following thread once

    Groups and forum issue

Viewing 25 results - 8,651 through 8,675 (of 94,543 total)
Skip to toolbar