Replies
- Brajesh Singh on July 30, 2019 at 7:00 pm in reply to: BuddyPress Custom Xprofile Fields About #24416
Hi Abdullah,
The plugin provide field types.What you are looking for is to add data on member listing. You will need to do that by modifying the member loop.
You can use the following code
echo xprofile_get_field_data("Field Name Or ID", bp_get_member_user_id(), 'comma' );You will need to change the first argument of the function and put it inside your member loop.
Regards
Brajesh - Brajesh Singh on July 30, 2019 at 6:57 pm in reply to: Limit private messages for PaidMembership Users #24415
Hi Daria,
Thank you for the question.The plugin is now compatible with BP Nouveau and with a bit of code will work for PMPro levels.
We can help with that.
Regards
Brajesh - Brajesh Singh on July 30, 2019 at 6:55 pm in reply to: [Resolved] MediaPress "Drop files here" form stays after user click outside of form #24414
Hi Milan,
Thank you for sharing.This is nice. It works nicely.
As you mentioned, the only minor glitch is file selection hides the dropbox.This is a very nice enhancement for now.
Regards
Brajesh - Brajesh Singh on July 29, 2019 at 4:03 pm in reply to: BuddyPress with WooCommerce and BuddyCommerce – Settings for "Theme My Login" #24398
Hi,
Thank you for the reply.1. RE: extra profile fields, I do have extra profile fields, but they don’t need to be filled in at registration.
Yes. They can be filled on edit profile page later.
2.
I do want to be sure that using WooCommerce for registration won’t impact the integration between BP and WooCommerce. The WC info on orders, membrship, subscriptions will still be part of the profile, right?
Using BuddyCommerce, all these will be available on profile.
3.
If a user makes a purchase through WooCommerce, will this automatically create a profile in BuddyPress, assuming I have the integration set up properly. That’s a part of what BuddyCommerce does, right — the two-way integration.
You don’t need BuddyCommerce for it. It will work without BuddyCommerce too. BuddyPress will create profile for all registered members who have active account irrespective of the registration method.
BuddyCommerce helps you show the purchase related information to user on their profile.
4.
And, if I don’t assign any pages to BuddyPress Registration/Activation, it is ok to ignore this warning: “The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair
We do need to test if it causes any issue in accessing the WooCommerec registration page(effect of link filtering).
I will test it tomorrow, if you do it before, Please do let me know.
Do not worry about the spam. The preventive methods will have similar effect using BuddyPress/WooCommerce.
Please feel free to post your question in forums. We will be glad to assist you in any way possible.
Regards
Brajesh - Brajesh Singh on July 29, 2019 at 4:02 pm in reply to: [Resolved] bbPress Moderation. BuddyDev Moderation Tools doesn't show a report link. #24397
You are welcome 🙂
- Brajesh Singh on July 29, 2019 at 3:44 pm in reply to: [Resolved] bbPress Moderation. BuddyDev Moderation Tools doesn't show a report link. #24394
Hi Gregg,
Is there any chance that you are the creator of the topic/reply? You can not report your own content.That seems like the only explanation for this.
Please let me know if that is the case or not?
Regards
Brajesh Hi,
Your problem is the use ofbp_displayed_user_id()It is only valid when you are on a user’s profile. Please give the following code a try
function bpcustom_disable_group_notifications_for_student_posts( $stop_notification ) { if ( bp_has_member_type( get_current_user_id(), 'student' ) ) { $stop_notification = true; } return $stop_notification; } add_filter( 'bp_local_group_notifier_skip_notification', 'bpcustom_disable_group_notifications_for_student_posts' );It is modified version of your code and should work.
Please let me know if it does or not?
Regards
Brajesh- Brajesh Singh on July 29, 2019 at 3:32 pm in reply to: [Resolved] MediaPress "Drop files here" form stays after user click outside of form #24392
Thank you Milan.
Please do share if you resolve it earlier.
Thank you
Brajesh - Brajesh Singh on July 29, 2019 at 3:31 pm in reply to: [Resolved] Branded login support for logout redirect #24391
You are welcome!
- Brajesh Singh on July 28, 2019 at 10:40 am in reply to: [Resolved] MediaPress "Drop files here" form stays after user click outside of form #24380
Hi Milan,
Thank you for using MediaPress.This is a bit difficult to implement than it seems. It is difficult for us to understand the intent of user.
The problem is the post form is handled by BuddyPress and as soon as a user clicks outside of the post form(It looses focus and has no content), It gets minimized and the other buttons etc hidden.
Here is how the user interacts with upload.
1. Clicks in the post form. The form becomes active and the buttons are shown
2. The form is still active, the user uses mouse to click on the button and the “Drag Drop” box shows.
The form has lost the focus and any next interaction will hide the form.
3. User clicks on “Select Files” and the post form gets hidden(hadled by template pack, not us)That is the normal interaction flow.
If we bind to the focus out of the form, the user won’t be able to select the files.
I did experiment hiding in past. Here is a tiny js that you can use to hide the box on focus out
jq( '#whats-new-form' ).on( 'focusout', function( e ) { jq( '#mpp-upload-dropzone-activity').hide(); } );It won’t server the purpose though as it breaks usability(uploads won’t work).
This is an enhancement on my list of todo things. We can certainly improve it in future. It will need more subtle handling like checking for the target and seeing if the click happened outside of the upload box. In that case, depending on the media list, we can hide it.
It will be available in near future.
Thank you
Brajesh