Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 237 total)
  • I recommend using the plugin https://wordpress.org/plugins/wpt-custom-mo-file/ to add custom language files.

    Try wrapping the bp_get_profile_field_data() call in bp_unserialize_profile_field(), like this:
    bp_unserialize_profile_field( bp_get_profile_field_data( ‘field=School Subjects’) )

    I’m not sure what shortcodes are doing in there, but bp_unserialize_profile_field() will convert an array into a comma-separated list.

    Hi @mironegrini-

    This isn’t possible, and will likely be even less possible in the future (as GDPR becomes a reality). BuddyPress does a bunch of cleanup when a user is deleted. You can search the code base for the actions: 'wpmu_delete_user' and 'delete_user' to see all the hooked cleanup functions. You could unhook those actions, but then you’d likely have broken content (all of the user functions would refer to nonexistent users).

    You might try the bbPress support forum for more specific help. https://bbpress.org/forums/

    Hi @danperis-

    This is something that the devs are actively working on with that plugin and it’s a known issue. You can watch their progress here: https://github.com/boonebgorges/buddypress-group-email-subscription/tree/digest-queue

    and maybe here: https://github.com/boonebgorges/buddypress-group-email-subscription/pull/100

    Hi HDcms-

    Venutius has the right idea. You’re going to have to do some troubleshooting on your server, or set up a staging/dev server and try to recreate the problem, because the error log you’ve provided isn’t enough to help me. It’s not a know problem, for sure, so it must be soemthing peculiar to your setup.

    I’d say that your MySQL server going away is a bigger concern than an illegal offset in the activity component. (And probably isn’t related to BP at all.)

    Honestly, I’m not sure why you’d want to remove the nofollow rel. It’s (supposed to be) used by search engine crawlers and doesn’t affect the experience of a web site visitor, as far as I understand.
    https://support.google.com/webmasters/answer/96569?hl=en

    Sure it’s possible, but you’d have to build it.

    Hi I’m not exactly sure what you mean, but if you’re looking to get the profile image associated with a group or user, you can use the avatar-fetching function that BP uses in its templates, bp_core_fetch_avatar():
    https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-core/bp-core-avatars.php#L99

    As an example, you might use

    bp_core_fetch_avatar( array(
    			'item_id' => $user_id,
    			'type'    => 'thumb',
    			'width'   => false,
    			'height'  => false,
    			'html'    => true,
    			'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), 'user name' )
    ) );
    

    Hello, you can take advantage of User Extended Profiles to collect Skype information from your users, like their username or whatever.

    User Extended Profiles


    David Cavins
    Moderator

    @dcavins

    No, I don’t, but it’s an interesting idea.

    We’ve been talking about adding a “bulk edit” facility to the group admin pane in wp-admin, but it’s pretty pie-in-the-sky at the moment.

    Huh. I just created a new localization called buddypress-en_CA.mo and buddypress-en_CA.mo and it worked for me by placing the file in wp-content/languages or wp-content/languages/plugins. Note that you have to select the language the site should use at wp addmin > settings > general (/wp-admin/options-general.php)

    In my test case, I selected English (Canada), so BP was looking for language files ending in -en_CA.mo

    Edit: Using the WP Tranlsations plugin is way more reliable. That’s what I’d do.

    OK, well you’ll have to use whatever your members page slug is. In English, it’s sitename.com/members/

    Just add a /me/ to the end of that.
    It really looks like http://therapyas.com.br/members/me is working as expected. When I visit it, I’m redirected to a login form. If I could log in, then I’d end up at my user account.

    I use the Poedit method listed here for custom labels and it works for me:

    Customizing Labels, Messages, and URLs

    Then, to make sure the .mo file is respected (a recent version of WP blew up customized .mo files), try this plugin to add your file:

    WPT Custom Mo File

    I just did a test run of customizing buddypress-en_CA.mo and it works for me.

    There’s no tool built to do that, if that’s what you’re asking.

    Use this handy shortlink: http://therapyas.com.br/members/me

    If the user is logged in, it will redirect to his or her profile. Else, it will send them to the login form on the way to their profile.

    And that plugin was written by a reliable dev, Pippin Williamson, otherwise I would’t have suggested it. 🙂

    This plugin is awfully close to what you’re trying to do. You might try modifying it to show groups in a drop down instead of the options offered:

    BuddyPress Registration Groups

    I doubt that any plugin is going to support group creation at registration; group creation is a multi-step process, and is too much to ask a new user to do at the same time as registration.

    I’d say if you’re worried about people creating groups (which is a reasonable thing to worry about), your safest bet is to uncheck the checkbox “Enable group creation for all users” (or something like that) at wp-admin > settings > buddypress , and restrict group creation to site admins only. Then, add a group request form or similar, and you can either create the group or not.

    Hi @ethanstein-

    If you’re just looking for a replacement for BP Group Hierarchy, try this:
    https://github.com/dcavins/hierarchical-groups-for-bp

    If you’re wanting help with your specific use of the group extension api, you’ll need to post the code somewhere we can see it, like a Github gist or similar.

    Yes, you can do any amount of extra validation on the hook bp_signup_validate.

    Something like this would probably do what you are trying to do:

    
    add_action( 'bp_signup_validate', function(){
    	$allowed_users = array( 'user1@domain.com', 'user2@domain.org' );
    	if ( isset( $_POST[ 'signup_username' ] ) && ! in_array( $_POST[ 'signup_username' ], $allowed_users ) ) {
    		$bp = buddypress();
    		$bp->signup->errors['signup_username'] = 'Sorry, your email address is not able to register with this site.';
    	}
    } );
    

    There are several examples on the web for doing things on that hook. (BuddyPress Registration Options does some things, for instance.)

    HI @baccoeur-

    The best way to troubleshoot is to deactivate as many plugins as feasible, ideally leaving only BuddyPress active and using a common theme like Twenty Seventeen, to test the behavior. Then, check to see if the problem is resolved. Reactivate plugins and re-check to see which one is causing the conflict.

    It only takes a few minutes to do this test, and will help you figure out where the problem actually is.

    BP adapts to any theme you use. If you’re looking to customize specific aspects, you can take advantage of the BP template hierarchy:

    Theme Compatibility & Template Files

    Are you using BuddyPress member types, or something else?

    Member Types

    Hi, there are a lot of reasons that email fails. There’s a current issue with non-SSL domains and Outlook.com for instance: https://buddypress.org/support/topic/buddypress-emails-not-going-out/

    If you’re not receiving any emails from your WordPress site, start by testing your site setup with this plugin: https://wordpress.org/plugins/check-email/

    In any case, we’ll need more detail, like what the user’s email address domain is, to help you troubleshoot.

Viewing 25 replies - 1 through 25 (of 237 total)
Skip to toolbar