Replies
Hi Mohammad,
Thank you for the kind words and my apologies for the delayed reply.1. You can set the member type of a user using the following
bp_set_member_type( $user_id, 'member_type_name' );2. Tough I agree with you about it, and I do understand that it will make it significantly better, Our team won’t be able to work n it. It is something that should be part of BuddyPress core. I will suggest opening a ticket at BuddyPress trac for this.
Thank you
Brajesh- Brajesh Singh on June 9, 2017 at 8:04 am in reply to: Buddyblog – Is this possible and if so how difficult? #9463
I am not sure of your last reply.
I posted that code to show what we have exposed. You can add to that filter and use woo subscription to decide whether to return true/false.
It will be a simple code with only 1 or 2 lines. I am sorry but I am not familiar with the WooMemberships or Subscription so I may not be able to help.
If you can provide me the function for checking expired membership for a given user, I can certainly write the code for you.
Thank you
Brajesh - Brajesh Singh on June 9, 2017 at 7:40 am in reply to: Buddyblog – Is this possible and if so how difficult? #9461
Hi J,
Welcome to BuddyDev.
1. I am sorry but at the moment, the plugin can handle only one post type. You will need to use category or custom field for managing two types. Or you can extend the plugin(which will be major work)Using WordPress Template hierarchy, you can easily create different layout for different kind of the posts.
About membership, we have a hook like this
apply_filters( 'buddyblog_user_can_publish', $can_publish, $user_id )You can filter on ‘buddyblog_user_can_publish’ and customize the permission as you will like.
Hope that helps.
- Brajesh Singh on June 9, 2017 at 6:49 am in reply to: BuddyPress function primer (Follow Up Question) #9459
Ahh well, Just noticed that BuddyPress Codex does offer a list.
Please see here
https://codex.buddypress.org/developer/template-tag-reference/#is_-functionsHope that helps.
Hi Abe,
your configuration seems fine to me.
I am not sure what might have caused it. Can you please provide me temporary admin access to your dev site?Thank you
Brajesh- Brajesh Singh on June 9, 2017 at 6:42 am in reply to: Custom PHP for one page on one multisite blog #9457
Hi Matthew,
Thank you for posting.The best way to do it will be by using a child theme.
In case of Multisite, The theme is visible to normal blog admins only if it is network enabled. In your case, you will not network enable the chaild theme. That will make it invisible for others.
To assign it to the specific blog, you can do that by following the below steps:-
1.Please visit Network Admin->Sites and click on Edit under the specific blog.
2. Click on the “Themes” tab
3. Enable the child theme for this blog
4. visit the dashobard of the log and Use the child theme.Hope that helps.
Regards
Brajesh - Brajesh Singh on June 9, 2017 at 6:33 am in reply to: [Resolved] Customising the member profile – are there any good tutorials. #9456
You are welcome 🙂
- Brajesh Singh on June 9, 2017 at 6:33 am in reply to: BuddyPress function primer (Follow Up Question) #9455
Thank you for posting.
It’s a good topic. I am interested in writing a detailed post about it as It may help many. There are a lot of useful conditional functions for BuddyPress. Please allow me 2-3 days to post and link to you.
Thank you
Brajesh - Brajesh Singh on June 9, 2017 at 6:30 am in reply to: [Resolved] Critical bug with join blog widget 1.0.1 #9454
Hi Matthew,
I am sorry but the only reason the widget won’t be visible is when the user is already a member of the current blog.Can you please register a user on main sit and try to visit a sub site using that member account and verify it?
Thank you
brajesh - Brajesh Singh on June 8, 2017 at 10:50 pm in reply to: [Resolved] Ability to search in the WP admin console for hidden users #9452
you are welcome. all the best with the launch 🙂