Replies
Hi Mike
you are correct in assuming the above though there are some issues.The object id could be a post id. Object id alone does not guarantee that it is for member type and a user.
In order to guarantee a user’s member type, we need to do the following.
1. Find all the term_taxonomy_id in term_taxonomy table where taxonomy=bp_member_type
2. Now, filter this list by joining to term_relationships on tr.term_taxonomy_id in the above list and object_id = our user id.It will give us all the term_taxonomy_id for the user. Now, we need to find the terms for each of the term_taxonomy_id and use that.
To be honest, a super easy approach will be to write a script that loops through the user and export userid or user_login(which ever does not change) and the member type for the user.
The another script that reads through this list and sets the member types. I think this script might be very useful for the community and I will love to explore it in future.
Regards
Brajesh- Brajesh Singh on August 3, 2019 at 10:50 am in reply to: Limit private messages for PaidMembership Users #24455
Hi Daria,
I am sorry, The plugin restricts all messages. It is not just the first message. It seems our use of the term “New Message” caused confusion.
The new message is for any new message received after activation of the plugin. You can also control if you want to count threads or thread and replies both.
To limit weekly, you need to set the limit to 7*24*60=10080
It is in number of minutes and you can set any value.Regards
Brajesh Hi Matt,
Thank you for the reply. For tax compliance, we use Company’s current account and not my private account.If you want, I can enable your download right now, you can pay later.
Regards
BrajeshHi Matt,
Thank you for your interest in the plugin.Since you are trying to pay from India, Please see
https://buddydev.com/docs/accountmembership/how-do-i-get-a-premium-membership-from-india/Regards
Brajesh- Brajesh Singh on July 31, 2019 at 9:01 pm in reply to: How can I keep all BP content navigation within Buddypress? #24442This reply has been marked as private.
- Brajesh Singh on July 31, 2019 at 9:00 pm in reply to: BuddyPress Custom Xprofile Fields About #24441
Hi Abdullah ,
It needs modification in your theme and will depend on which theme/template pack you are using.If you are using a custom theme, Please contact the theme developer with above code and they will assist.
If you are not sing any premium theme, Please let me which template pack you are using and I will assist.
Regards
Brajesh Hi Mike,
Welcome back.1. The Member Type entries from the BuddyPress member Types Pro are normal post types, so you can export and import as normal
2. The Member Type to User association is handled by BuddyPress using custom taxonomy “bp_member_type”.
If you export the terms association for this taxonomy, You will have the user to member type association preserved(user_id is object id in the term_relationships tab) .
Hope that helps.
Regards
Brajesh- Brajesh Singh on July 31, 2019 at 8:53 pm in reply to: [Resolved] MediaPress "Drop files here" form stays after user click outside of form #24439
Thank you Milan.
I sincerely appreciate you sharing the code and granting us the permission to use it. It will act as the base for the enhancement to the upload experience.
Thank you for the kind words about the plugin.
Have a great day.
Regards
Brajesh - Brajesh Singh on July 31, 2019 at 8:51 pm in reply to: BuddyPress Activity Shortcode: Unnecessary paragraph #24438
Hi bbullwinkel
Welcome to BuddyDev forums.Can you please share a screenshot? The plugin does not add any paragraph. If it is appearing, It is generated by BuddyPress Activity(most probably due to use of wpautop).
Regards
Brajesh - Brajesh Singh on July 31, 2019 at 8:48 pm in reply to: [Resolved] Pagination not working with Shortcodes in Profile Tabs Plugin #24436
Thank you for the update. I am glad it is resolved.
Regards
Brajesh