-
Henry Wright replied to the topic Show xprofile field in wordpress users list in the forum Creating & Extending 7 years, 4 months ago
@notlicht
manage_users_custom_column
andmanage_users_columns
are the hooks I would use so your approach looks good to me. There’s alsomanage_users_sortable_columns
if you want to sort users by data in your custom column. -
Henry Wright replied to the topic Display Name Sync in the forum How-to & Troubleshooting 7 years, 4 months ago
It’s a possibility
-
Henry Wright replied to the topic Only enter to 1 group in the forum How-to & Troubleshooting 7 years, 4 months ago
You would need to keep a tally in user meta then when a user tries to join a group that tally will need to be checked. I believe the
groups_member_before_save
hook could be what you need.Ref:
https://codex.wordpress.org/Function_Reference/update_user_meta
-
Henry Wright replied to the topic Display Name Sync in the forum How-to & Troubleshooting 7 years, 4 months ago
Likely you have some custom code running which does that. Look in your active theme’s functions.php file, your bp-custom.php file and in plugin files you might have activated.
-
Henry Wright replied to the topic Display Name Sync in the forum How-to & Troubleshooting 7 years, 4 months ago
Likely you have some custom code running which does that. Look in your active theme’s functions.php file, your bp-custom.php file and in plugin files you might have activated.
-
Henry Wright replied to the topic There was a problem cropping your profile photo. in the forum How-to & Troubleshooting 7 years, 4 months ago
777 permissions can be dangerous:
https://codex.wordpress.org/Changing_File_Permissions#The_dangers_of_777
-
Henry Wright replied to the topic How to block access to specific groups based on membership in the forum How-to & Troubleshooting 7 years, 4 months ago
Let me know how you get on on Monday and feel free to post questions if you get stuck.
-
Henry Wright replied to the topic How to block access to specific groups based on membership in the forum How-to & Troubleshooting 7 years, 4 months ago
You can do this:
if ( bp_is_groups_component() && 'group-name-here' === bp_current_item() ) {
// Restrict access
} -
Henry Wright replied to the topic Using bp-default, "Reply" doesn't open comment form? in the forum How-to & Troubleshooting 7 years, 4 months ago
Hey @ftlralph
Have you make any changes to the theme markup?
-
Henry Wright replied to the topic How to block access to specific groups based on membership in the forum How-to & Troubleshooting 7 years, 4 months ago
Hey @shirleyddsn
Which URLs do you need to restrict access to?
-
Henry Wright replied to the topic reorder the activities in activity stream in the forum How-to & Troubleshooting 7 years, 4 months ago
Try this:
add_filter( 'bp_after_has_activities_parse_args', function( $retval ) {
$retval['display_comments'] = 'stream';
return $retval;
} );Please note I haven’t tested.
-
Henry Wright replied to the topic First time login redirect in the forum Requests & Feedback 7 years, 4 months ago
The activation link points to the activation page. To change that you will need to change the activation link that’s generated.
-
Henry Wright replied to the topic Looking for a list of BP plugins in the forum Third Party Plugins 7 years, 4 months ago
Here’s a full list of plugins in the WordPress repository tagged “buddypress”
-
Henry Wright replied to the topic is_404() triggered on every BuddyPress page in the forum How-to & Troubleshooting 7 years, 5 months ago
-
Henry Wright replied to the topic Change username to description in the forum How-to & Troubleshooting 7 years, 5 months ago
In WordPress there’s
user_login
,user_nicename
anddisplay_name
.In general,
display_name
is used on the front end to display the user’s name. This might be the same asuser_login
but more often it’s the user’s first name and last name.user_login
is the string used to authenticate the user when logging in.user_nicename
is usually the same asus…
[Read more] -
Henry Wright replied to the topic Change username to description in the forum How-to & Troubleshooting 7 years, 5 months ago
You’ll want to sanitise your descriptions before using them in the URL.
sanitize_title_with_dashes()
will be helpful. You’ll also need to make sure they’re unique (user’s can’t have the same URL).https://codex.wordpress.org/Function_Reference/sanitize_title_with_dashes
-
Henry Wright replied to the topic Import Might Network to BP in the forum Creating & Extending 7 years, 5 months ago
I’m not aware of a plugin that can do this. You might need to use a custom solution.
-
Henry Wright replied to the topic Will BuddyPress work for me? in the forum Creating & Extending 7 years, 5 months ago
@fifthhouse it’s certainly possible using BuddyPress. We actually have a Jobs Board here if you wanted to post your requirements?
-
Henry Wright replied to the topic Will BuddyPress work for me? in the forum Creating & Extending 7 years, 5 months ago
@fifthhouse when I suggested data be added against the event’s meta I didn’t mean the host or facilitator do it manually. WordPress and BuddyPress have a pretty extensive action system which you can hook to. The code will run automatically when the action happens.
Here’s the Plugin API documentation in case you need…[Read more]
-
Henry Wright replied to the topic Show & Tell: VeloHive.com in the forum Showcase 7 years, 5 months ago
I run Trusty at home and the best version that distro offers is 5.x. I had to add a PPA to get 7.x package(s).
- Load More
@henrywright
Active 8 months, 1 week ago