Forum Replies Created
-
There’s a known issue with hotmail/outlook addresses that will be addressed in the next minor update. You can see the fix here:
https://buddypress.trac.wordpress.org/changeset/11862That may be your issue. If not, please provide more information.
In reply to: Shortcode returns string “Array”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.In reply to: Delete AccountHi @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).In reply to: Users can’t reply to forumYou might try the bbPress support forum for more specific help. https://bbpress.org/forums/
In reply to: bp_activity_after_save & page refreshHi @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
In reply to: php warning: bp-activity-functionHi 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.)
In reply to: Remove rel=”nofollow” for admin only?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=enSure it’s possible, but you’d have to build it.
In reply to: Moving the group header and imageHi 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#L99As 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' ) ) );In reply to: add link to Skype account to user profileHello, you can take advantage of User Extended Profiles to collect Skype information from your users, like their username or whatever.
In reply to: Buddypress Group Extension API Not WorkingNo, 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.
In reply to: ProfileOK, 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.There’s no tool built to do that, if that’s what you’re asking.
In reply to: ProfileUse this handy shortlink:
http://therapyas.com.br/members/meIf 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.
In reply to: QuestionAnd 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:
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.
In reply to: Disable hidden groups completelyI’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.
In reply to: Buddypress Group Extension API Not WorkingHi @ethanstein-
If you’re just looking for a replacement for BP Group Hierarchy, try this:
https://github.com/dcavins/hierarchical-groups-for-bpIf 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.)
In reply to: Members Component has no Associated PagesHI @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.
In reply to: Templates for BuddypressBP adapts to any theme you use. If you’re looking to customize specific aspects, you can take advantage of the BP template hierarchy:
In reply to: Selecting role at registrationAre you using BuddyPress member types, or something else?
In reply to: New user not receiving activation emailHi, 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.
In reply to: QuestionSounds like you could use a non-user-specific site wide notice for that. Something like this, maybe:
Hi @jcrr-
Please open a ticket about this issue: https://buddypress.trac.wordpress.org/
Sounds like you’ve gathered some useful/interesting/disturbing info about the underlying issue.
Thanks!
-David