Forum Replies Created
-
In reply to: Add $_POST data before submitting registration
How about something like
bp_signup_pre_validate?In reply to: [Resolved] Password reset templateThe Theme My Login plugin does that quite well.
In reply to: Advice needed – BuddyPress & Listings siteThis 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() ); } );In reply to: override bp_show_blog_signup_form()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.In reply to: AppI haven’t used either of those plugins so can’t really offer any thoughts. Sorry.
In reply to: AppI haven’t used it myself but AppPresser is a popular choice.
In reply to: Database interactions, what’s the right way?A nice plugin to test query performance is Query Monitor. If you use custom queries a lot, it’s super useful.
In reply to: Control Social InteractionI 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.
In reply to: conflict buddyPress with woocommercesettings 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.
In reply to: conflict buddyPress with woocommerceHi,
Does the problem happen if you deactivate those plugins and revert to the Twenty Fifteen theme?
if ( bp_is_activity_directory() ) { // This is the activity dir. } else { // This isn't the activity dir. }That should be what you need.
In reply to: conflict buddyPress with woocommerceWhat theme are you using? Can you also list the plugins you have active?
In reply to: wp_insert_post posting duplicates in function$post_ID = wp_insert_post($new_post1); wp_insert_post( $new_post1 );You’ve used the function twice.
In reply to: Action/Filter After activity is created?Glad you got this sorted 🙂
In reply to: Action/Filter After activity is created?bp_activity_add()will add an item to the activity stream. It sounds like you want to add a notification. Trybp_notifications_add_notification():In reply to: [Resolved] Just a mistake in frenchI’ve created a bug report: https://buddypress.trac.wordpress.org/ticket/7148
In reply to: Problems with filtering the activity streamI got a new from WordPress and I finally got in
Great 🙂
In reply to: Login redirects not workingCan you post your code?
In reply to: Problems with filtering the activity streamCan you log in to wordpress.org?
In reply to: Problems with filtering the activity streamThat’s strange! The credentials to use are the same as those you use here in the forum so if you can log in here then you should be able to log in there. Can you try clearing your cookies?
In reply to: How to Count Custom Post Types in Nav Tabs?@henrywright but apparently I need to use bp_setup_nav to add a navigation tab
Yes, that’s right, you do.
This is one of those situations where you seem to be doing everything right but a bit of digging is needed to see what’s actually wrong.
In reply to: Activity stream as default member pageThe Change Default Members Profile Landing Tab article will help you do that.
In reply to: Problems with filtering the activity streamI just tried (with the same details I use here in the forum) and was able to log in successfully. Are you still having trouble?
In reply to: Problems with filtering the activity streamIn that case, this could be a bug. It seems the apostrophe isn’t being handled properly upstream. Can you open a ticket for this on Trac?
In reply to: Problems with filtering the activity streamSo, how can I solve this and have “keast’s tube-nosed fruit bat” show?
You can use double quotes instead of single quotes to wrap the string of text. So for example:
'value' => "keast's tube-nosed fruit bat",