Can you please tell me how the jobs etc links are being added? Also, which account do I switch to see the effect?
We do have a profile tabs plugin but your code and the plugin works in similar manner, so that would not solve the issue.
If I can see the issue, then hopefully the root can be found.
For the approval workflow, I believe that we will need to update member types pro. Please expect and update by day end tuesday for the same.
Please search users for ” ethanfiggs ” then switch to that user to see how it appears when then are logged in. Click all the bp tabs you will see the issue. Where the code blocking out tabs is working but still some tabs are being hidden that are not mentioned in the code. to be more specific the tabs still show up but just lead to a 404 error page. once all the code is commented out it reverts and we can see all the tabs again.
Thank you for the patience.
I have been able to troubleshoot and find the issues.
The problem is if you remove one of the tabs created by BP Custom Profile Menu via code, It breaks all of the tabs created by that plugin.
The reason is when you remove a nav item, BuddyPress unregisters the associated callback(screen function). The plugin uses same callback for all the tabs(which is correct way) but if you remove one of them via code, It will break all of the tabs registered via that plgin.
If you comment this line
bp_core_remove_nav_item( 'job-listings' );
// bp_core_remove_nav_item( 'job-listings' );
The other tabs removal will work fine.
PS:- We haven’t been able to reproduce the activation issue you were facing. Going to give it another try this weekend and will update you on that.
I hope you are doing well.
I am sorry but I haven’t been able to assist you properly due to two different issues being discussed in a single topic.
If you can provide me again with the list of specific issues that you want me to look into, I can try it quickly today. Otherwise, I am happy to offer the refund.
You must be logged in to reply to this topic.