-
Henry Wright replied to the topic BP exclude member role in the forum How-to & Troubleshooting 8 years, 4 months ago
You should use
bp_parse_args()
. Check out this article: -
Henry Wright replied to the topic Profile Search no working in mobile in the forum How-to & Troubleshooting 8 years, 4 months ago
Hi @juanandrius
Which theme are you using?
-
Henry Wright replied to the topic BP exclude member role in the forum How-to & Troubleshooting 8 years, 4 months ago
Can you paste the code you’re using?
-
Henry Wright replied to the topic Add $_POST data before submitting registration in the forum How-to & Troubleshooting 8 years, 4 months ago
If you comment out your action:
// add_action( 'bp_signup_pre_validate', 'assign_username' );
Do you still get the “Do you want to leave the page” message?
I’m not sure why the code you’ve pasted above would trigger a message like that.
-
Henry Wright replied to the topic BP exclude member role in the forum How-to & Troubleshooting 8 years, 4 months ago
but the problem i have wrong calcul total member in the filter
Which filter?
-
Henry Wright replied to the topic [Resolved] Password reset template in the forum How-to & Troubleshooting 8 years, 4 months ago
No worries @jamesduffell. I’ve used the plugin a number of times with BuddyPress and have found them to work seamlessly together.
-
Henry Wright replied to the topic Add $_POST data before submitting registration in the forum How-to & Troubleshooting 8 years, 4 months ago
How about something like
bp_signup_pre_validate
? -
Henry Wright replied to the topic [Resolved] Password reset template in the forum How-to & Troubleshooting 8 years, 4 months ago
The Theme My Login plugin does that quite well.
-
Henry Wright replied to the topic Advice needed – BuddyPress & Listings site in the forum How-to & Troubleshooting 8 years, 4 months ago
This is the kind of thing I’d do:
add_action( 'init', function() {
// Bail if the user is logged in.
if ( is_user_logged_in() ) {
return;
}// Check if the listing page is being viewed here.
// Redirect somewhere.
bp_core_redirect( bp_get_root_domain() );
} ); -
Henry Wright replied to the topic override bp_show_blog_signup_form() in the forum How-to & Troubleshooting 8 years, 4 months ago
Hi @socialc
The Template Hierarchy will let you override create.php. In your own version of that file you could use
custom_show_blog_signup_form()
in place ofbp_show_blog_signup_form()
. I’d copy everything frombp_show_blog_signup_form()
to your custom function and edit what you need to. -
Henry Wright replied to the topic App in the forum Showcase 8 years, 4 months ago
I haven’t used either of those plugins so can’t really offer any thoughts. Sorry.
-
Henry Wright replied to the topic App in the forum Showcase 8 years, 4 months ago
I haven’t used it myself but AppPresser is a popular choice.
-
Henry Wright replied to the topic Database interactions, what's the right way? in the forum How-to & Troubleshooting 8 years, 4 months ago
A nice plugin to test query performance is Query Monitor. If you use custom queries a lot, it’s super useful.
-
Henry Wright replied to the topic Control Social Interaction in the forum How-to & Troubleshooting 8 years, 4 months ago
I can’t speak for Paid Memberships Pro because I haven’t used that plugin but it can’t be done with BuddyPress out-of-the-box. You would need to find a plugin.
-
Henry Wright replied to the topic conflict buddyPress with woocommerce in the forum How-to & Troubleshooting 8 years, 4 months ago
settings will be lost if i change theme to twenty fifteen ??
In theory your settings shouldn’t be lost, but in reality they could well be lost depending on so many things. Always make a backup of your files and database before testing. Ideally don’t test in production; instead, set up a testing install.
-
Henry Wright replied to the topic conflict buddyPress with woocommerce in the forum How-to & Troubleshooting 8 years, 4 months ago
Hi,
Does the problem happen if you deactivate those plugins and revert to the Twenty Fifteen theme?
-
Henry Wright replied to the topic [Resolved] If statement to only use certain bit of code on site activity feed? in the forum How-to & Troubleshooting 8 years, 4 months ago
if ( bp_is_activity_directory() ) {
// This is the activity dir.
} else {
// This isn't the activity dir.
}That should be what you need.
-
Henry Wright replied to the topic conflict buddyPress with woocommerce in the forum How-to & Troubleshooting 8 years, 4 months ago
What theme are you using? Can you also list the plugins you have active?
-
Henry Wright replied to the topic wp_insert_post posting duplicates in function in the forum How-to & Troubleshooting 8 years, 4 months ago
$post_ID = wp_insert_post($new_post1);
wp_insert_post( $new_post1 );You’ve used the function twice.
-
Henry Wright replied to the topic Action/Filter After activity is created? in the forum How-to & Troubleshooting 8 years, 4 months ago
Glad you got this sorted 🙂
- Load More
@henrywright
Active 8 months, 1 week ago