Replies
Hi Jimmy,
Thank you.For recent visitors, I tested and the shortcode& profile header lists are being overridden as expected from the child theme.
For the Your Visitors Loop, we are loading the members loop from your theme(yourtheme/buddypress/members/members-loop.php)
Regards
Brajesh- Brajesh Singh on June 5, 2023 at 10:27 am in reply to: User Tab: Adding “Photos” and “Dcuments” to main “Profile” Nav as sub Navs #49674
Hi John,
Thank you for the question.
I am sorry, the tabs actual handling are done by the code they were registered. We can not change that using profile tabs plugin.Regards
Brajesh - Brajesh Singh on June 5, 2023 at 10:25 am in reply to: Pragmatically create mediapress Gallery! #49673
Hi Karamveer,
Thank you.
The issue is MediaPress should never be activated network wide. It can only be enabled per site basis.MediaPress uses WordPress attachment which are specific to your blogs(site) and the MediaPress settings need to be updated on individual blogs.
In your use case, MediaPress may not be suitable if you need BuddyPress multi network mode. You can enable it on one of the sites if that works for you.
Regards
Brajesh - Brajesh Singh on June 3, 2023 at 11:40 am in reply to: [Resolved] Setting target window for subnav link in BP Customer Group Tabs #49665
Hi Michael,
Thank you for the reply.
I am sorry, there is a problem with using the code with sub tab.The id for sub tab is dynamic. The second part in gstab-647a57cbeca28 is being generated dynamically and will change on page loads.
We need to find a way to target these sub tabs by using class or IDE. Please allow me to think about it and get back to you on Monday(This is not standard part of BuddyPress nav).
Regards
Brajesh Hi Jimmy,
Thank you for the question.I am not sure of what you want to override but the following 1 does not have anything that needs overriding:-
BuddyPress Member Types ProIn case of “BuddyPress Block Users”, Please move
buddypress-block-users/templates/buddypress/members/bublock/blocked-users.php -> your-child-theme/buddypress/members/bublock/blocked-users.phpIn case of Recent visitors, Please copy
recent-visitors-for-buddypress-profile/templates/recent-visitors/ -> your-child-theme/buddypress/recent-visitors/Hope that helps.
Regards
Brajesh- Brajesh Singh on June 2, 2023 at 2:19 pm in reply to: Pragmatically create mediapress Gallery! #49661
Hi Karamveer,
You are welcome.
Thank you for sharing the snippet. I don’t think you need that much code to achieve this task.Before I assist you further, please share me the following details:-
1. Is it a normal multisite with BuddyPress network active or do you have BuddyPress in Multi Network mode(BuddyPress behaves to be available on all sites and directory/profile is available from all of the sites).
2. Or is BuddyPress just active on a single blog/site on the network?
3. On which blog BuddyPress and MediaPress are active?
4. Is MediaPress network active or just active on a single site of the network?5. Is the gallery and the media you want to add to the gallery available on same site?
6. If the answer to previous question is no, What is the source of media? Do you want to import an existing attachment to gallery or do you want to import a media from somewhere on the web to the gallery?7. or is there any chance that you have some way to upload your media and you want to add it to gallery after you have handled the upload on you own?
Please share the details and I will assist.
Regards
Brajesh - Brajesh Singh on June 2, 2023 at 10:20 am in reply to: Pragmatically create mediapress Gallery! #49657
Hi Karamveer,
Welcome to BuddyDev support forums.Please try using switch_to_blog($blog_id) and restore_current_blog() before/after your code to use the specific blog where MediaPress is active.
In case of Multisite, MediaPress is probably active on your site/blog where BuddyPress was activated. Most of the time, It is blog with id 1 but may depend if you have a a different sub site/blog as main site of the network.Regards
Brajesh - Brajesh Singh on June 2, 2023 at 7:03 am in reply to: [Resolved] BuddyPress Avatar Moderator integration with BuddyPress REST API #49655
Thank you.
- Brajesh Singh on June 2, 2023 at 7:03 am in reply to: [Resolved] BuddyPress Avatar Moderator integration with BuddyPress REST API #49654
Thank you.
- Brajesh Singh on June 2, 2023 at 7:03 am in reply to: [Resolved] Setting target window for subnav link in BP Customer Group Tabs #49653
Hi Michael,
Thank you for the question.You will need the javascript code specified in the last post. Please use that and customize the ids to your liking.
Regards
Brajesh