Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

    @r-a-y

    bp_is_member() is deprecated.

    Use bp_is_user() instead.

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

    @r-a-y

    Actually, what hnla points out is correct. Disregard what I previously wrote, I was thinking of something entirely different!

    index-directory.php has to be a full template with get_header() and get_footer().

    You should copy your theme’s page.php template and rename it to index-directory.php. Then move this file to wp-content/themes/YOUR-THEME/buddypress/groups/index-directory.php.

    Please note that template hierarchy means modifying the surrounding elements of the page. If you just want to modify the group loop itself, then just copy /groups/groups-loop.php and make your changes to that file.

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

    @r-a-y

    @kalicoTemplate hierarchy doesn’t work for bp-default themes or older-style BuddyPress themes that are derivatives of bp-default.

    In your situation, I would just modify /themes/YOUR-THEME/groups/index.php directly.

    If this doesn’t exist in your theme, that means you are using a child theme, so copy /themes/PARENT-THEME/groups/index.php to your child theme and make your mods.

    I’m so wrong! Read my updated reply below.

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

    @r-a-y

    Try the updated code snippet in my previous post.

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

    @r-a-y

    Also, the registration page only works when you are logged out.

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

    @r-a-y

    View this guide to create your own profile fields:

    User Extended Profiles

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

    @r-a-y

    I commented on this behavior in this ticket comment:
    https://buddypress.trac.wordpress.org/ticket/7051#comment:3

    BuddyPress sets the Reply-To email header to the admin email’s address by default.

    To override this, you have to use the 'bp_email_set_reply_to' filter since 'wp_mail_from' only handles the From email address header and not Reply-To header.

    The following would work:

    add_filter( 'bp_email_set_reply_to', function( $retval ) {
        return new BP_Email_Recipient( 'noreply@example.com' );
    } );
    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Your theme is using an older BuddyPress function – bp_is_member().

    Switch that out for bp_is_user().

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

    @r-a-y

    @danbp – FYI, I clicked on the “Trash” icon for this topic, but meant to trash my reply since you already added a response to this! 🙂

    I just restored the topic and removed your other “bingo” replies to this. Sorry about that!

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

    @r-a-y

    You’ll need to report the fatal error to FPD’s developers. Copy and paste that error message and forward it to FPD.

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

    @r-a-y

    Can you write a list of steps needed to duplicate the problem?

    eg.

    1. Navigate to URL
    2. Click on X button.
    3. You'll see Y.
    
    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You’ll have to debug this yourself as FPD is a premium plugin.

    Turn WP’s debug mode on and see if any relevant debug notices are written:
    https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

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

    @r-a-y

    If you are logged in, you will not see the registration page.

    Your registration page works fine. Log out and take a look.

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

    @r-a-y

    This is a WordPress multisite issue. Use subdomain multisite and then look at various domain mapping plugins.

    You should post on the wordpress.org support forums as you’ll likely get more eyes on this.

    You might want to look into Mercator or the WPMU Domain Mapping plugin.

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

    @r-a-y

    My guess is the javascript is causing a conflict.

    In your custom members loop, you can ensure that the JS doesn’t kick in if you change the pagination <div> class to something else.

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

    @r-a-y

    First, you need to figure out how to fetch the Active Directory data for a user and how to display it. This isn’t dependent on BuddyPress.

    Once, you’ve figured that out, you’ll need to hook into the BuddyPress profile template to add those fields.

    If you are a WordPress developer, there are various hooks you could use. View the profile template:
    https://buddypress.trac.wordpress.org/browser/tags/2.8.1/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php

    And hook into any of the do_action() hooks to display your AD data. To get the current user’s ID on a profile page, use bp_displayed_user_id().

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

    @r-a-y

    Can you reinstall v2.8.1 just to make sure you are not experiencing any discrepancies?

    Delete BuddyPress and reinstall the latest version and see if you are still running into problems.

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

    @r-a-y

    This should be fixed in BuddyPress 2.8.1.

    Upgrade to v2.8.1.

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

    @r-a-y

    It’s being caused by the BP Group Email Subscription plugin.

    View the following for a fix until the next version is released:
    https://wordpress.org/support/topic/styling-issue-of-letters-with-v3-7-0/#post-8832281

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

    @r-a-y

    BuddyPress does not touch the login page.

    You are using a different plugin to do this or some rewrite rules on your server.

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

    @r-a-y

    Your problem is using a custom snippet using the bp_is_front_page() function.

    Remove the block of code using that function or comment it out.

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

    @r-a-y

    Disable the “Site Tracking” component under “Settings > BuddyPress” in the WP admin dashboard. When you do this, blog posts and blog comments will not be recorded into the BP activity stream.

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

    @r-a-y

    1,2,3,4,6 should be left to WordPress plugins as these are specific to WP.

    7, 10 have been discussed as core options. It just takes time for developers and the team to finalize specs and to code as this is all done on a volunteer basis. 10 is hard because it relies on a ton of dependent code that hasn’t been written or finalized yet.

    5 – There’s been some preliminary work on this. See https://github.com/buddypress/bp-types-ui.

    9 – If you’re using WordPress multisite, this should be already available as a WordPress option under “Network Admin > Settings”. Otherwise, this plugin might work, but does the opposite. It restricts signup to email domains that you specify.

    Notifications

    2 should already be in core.
    3 is a good request, but unreliable due to how the notifications data is stored. It would be easy to do for BP core notifications, but notifications generated by plugins could store the user ID differently, making this unreliable.
    4 could be done via a custom template or via a small code snippet.

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

    @r-a-y

    If the post contains an inappropriate word that you’ve set up in WP’s comment moderation settings, then BuddyPress also inherits these settings. This functionality was added in BP 2.6.0.

    To disable this functionality from the Activity component, add the following to your theme’s functions.php or wp-content/plugins/bp-custom.php:

    // Do not use WP's Comment Moderation with BP Activity component
    remove_action( 'bp_activity_before_save', 'bp_activity_check_moderation_keys', 2, 1 );
    
    // Do not use WP's Comment Blacklist with BP Activity component
    remove_action( 'bp_activity_before_save', 'bp_activity_check_blacklist_keys',  2, 1 );
    
    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You need to figure out what is causing the white screen.

    Turn on WP_DEBUG and view the notices that are logged or displayed:
    https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

    List the notices here if you want us to attempt to diagnose your problem.

    My first guess is your problem is memory-related as your webhost might have restricted memory usage. Or if you’re using a caching plugin that is not correctly configured.

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