-
Henry Wright replied to the topic How can i hide new registered member update, from activity streams? in the forum Showcase 9 years, 7 months ago
You should be able to do this:
remove_action( 'bp_core_activated_user', 'bp_core_new_user_activity' );
-
Henry Wright replied to the topic Members page and my theme in the forum How-to & Troubleshooting 9 years, 7 months ago
I’d suggest you contact the theme author asking if they can release an update; making things compatible with BuddyPress.
-
Henry Wright replied to the topic User Role in the forum Creating & Extending 9 years, 7 months ago
Hi @hoseke
Assuming you’re talking about WordPress roles and not BuddyPress member types, then you can do this:
$user = wp_get_current_user();
$user->set_role( 'student' ); -
Henry Wright replied to the topic Username in the forum How-to & Troubleshooting 9 years, 7 months ago
-
Henry Wright replied to the topic Let's work together in the forum Requests & Feedback 9 years, 7 months ago
Hey @marcella1981
Great to see you’re interested in developing BuddyPress themes. It might be worth also asking your question over at wordpress.org; I’m hoping there’ll be some WordPress theme authors who’ll want to turn their hand to themes for BuddyPress.
-
Henry Wright replied to the topic how to add language in buddypress? in the forum Installing BuddyPress 9 years, 7 months ago
Hi @arturamirov
See the Languages and Translations article to start with. There’s also the Translator Handbook.
-
Henry Wright replied to the topic Login redirect not excluding admin in the forum How-to & Troubleshooting 9 years, 7 months ago
@mcuk there must be something conflicting. Try raising the priority from 11 to 999 temporarily just in case you have anything else hooked to login_redirect
-
Henry Wright replied to the topic Login redirect not excluding admin in the forum How-to & Troubleshooting 9 years, 7 months ago
The code should work now. I can’t see anything wrong with it. Are you sure the user account you’re logging in with has admin capabilities?
-
Henry Wright replied to the topic Login redirect not excluding admin in the forum How-to & Troubleshooting 9 years, 7 months ago
Just to note, is_admin() checks if the dashboard is being viewed, not the user’s capabilities.
-
Henry Wright replied to the topic Login redirect not excluding admin in the forum How-to & Troubleshooting 9 years, 7 months ago
Try putting
return $redirect_to;
after your condition. It’s currently wrapped inside it. -
Henry Wright replied to the topic Login redirect not excluding admin in the forum How-to & Troubleshooting 9 years, 7 months ago
This won’t check for ‘normal’ admins unless network mode is disabled.
Try
if ( ! current_user_can( 'manage_options' ) ) {
-
Henry Wright replied to the topic How to disable HTML in BuddyPress private message in the forum Creating & Extending 9 years, 7 months ago
Hey @danbp,
WordPress provides a function for that. Check out
wp_filter_nohtml_kses()
. It strips all HTML from the string you provide so there’s no need to usepreg_replace()
.function hellowed_remove_html_private_messages( $message ) {
$message = wp_filter_nohtml_kses( $message );
return $message;
}
add_filter(…[Read more] -
Henry Wright replied to the topic allow search by username in the forum Creating & Extending 9 years, 7 months ago
Hi @evilnut
You shouldn’t modify core files because when you upgrade the plugin, your changes will be lost.
-
Henry Wright replied to the topic Activity link in the forum How-to & Troubleshooting 9 years, 7 months ago
Hi @gsupriya
Can you add some background to your question? It’s not entirely clear what you’re trying to do.
-
Henry Wright replied to the topic Buddypress popup registration form in the forum How-to & Troubleshooting 9 years, 7 months ago
-
Henry Wright replied to the topic Auto login and redirect to activity page on activation in the forum How-to & Troubleshooting 9 years, 7 months ago
@leanneoleary Try contacting the author @sbrajesh letting him know. I’m sure he’ll be grateful for the bug report and may release a fix.
-
Henry Wright replied to the topic Auto login and redirect to activity page on activation in the forum How-to & Troubleshooting 9 years, 7 months ago
-
Henry Wright replied to the topic [Resolved] Does BuddyPress require unique site to install? in the forum Installing BuddyPress 9 years, 7 months ago
Hi @winnergirl
Does BuddyPress require its own independent WP site?
No. BuddyPress works just like any other plugin you might install on your WordPress website. You should just be able to click ‘activate’.
-
Henry Wright replied to the topic Register page password strength and hint in the forum How-to & Troubleshooting 9 years, 7 months ago
@leanneoleary great to hear you found a solution 😀
-
Henry Wright replied to the topic Register page password strength and hint in the forum How-to & Troubleshooting 9 years, 7 months ago
On the registration page, the password shows a strength meter from weak to strong. However, I have had a few testers mention that no matter what password they use the meter always says ‘Weak’
This is definitely a problem. As your testers provide more obscure passwords, the meter should start to increase from weak to strong
- Load More
@henrywright
Active 8 months, 2 weeks ago