Replies
- Brajesh Singh on November 12, 2018 at 1:02 pm in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18672
Hi Phil,
If feasible, please ask the theme developers and post me the content. It will be much easy that way.Regards
Brajesh - Brajesh Singh on November 12, 2018 at 1:01 pm in reply to: [Resolved] I need to change how many top level profile tabs there are #18671
Thank you. Marking resolved.
- Brajesh Singh on November 12, 2018 at 12:48 pm in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18668
Hi Phil,
The last code you have share is for single post. I need it for the archive post(the posts loop).Regards
Brajesh - Brajesh Singh on November 12, 2018 at 12:46 pm in reply to: [Resolved] I need to change how many top level profile tabs there are #18667
Hi Phil,
It’s a theme issue.Please add the following css to Appearance->customize->Additional CSS
@media screen and (max-width: 666px) { body #buddypress div.item-list-tabs#subnav { height: auto; } #buddypress div.item-list-tabs#subnav ul li { float: none !important; } }The breakpoints is based on your theme.
After it, clear the cache and let me know if it works for you or not?Regards
Brajesh Hi Manjit,
Welcome to BuddyDev.
It should be easily doable with some custom code.
All you need is 2 plugin
– Membership plugin
– posting pluginI assume you can save the entries as post/post meta?
All you need to do it to tie these two plugin with some custom code for restriction.
For membership, I believe there are many choices like PMPro, Simple Membership etc.
Similarly, for allowing the user to post from their profile, you can either create a custom addon or use a plugin like BuddyBlog or BuddyForm or social articles and customize them to fit your need.Regards
Brajesh- Brajesh Singh on November 12, 2018 at 5:11 am in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18663
Thank you for sharing it.
I am about to leave for a few hours.
will assist you later today when I am back to work again.Regards
Brajesh - Brajesh Singh on November 12, 2018 at 3:45 am in reply to: [Resolved] I need to change how many top level profile tabs there are #18659
Hi Phil,
Thank you for the kind words.I am glad I was able to assist you. Please link me to a page generated via the plugin and I will check the reason and post a solution.
Regards
Brajesh - Brajesh Singh on November 12, 2018 at 3:43 am in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18658
Thank you. Glad you found the setting.
Regards
Brajesh - Brajesh Singh on November 12, 2018 at 3:01 am in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18652
No problem.
Updating the buddyblog_show_custom_cats to this
function buddyblog_show_custom_cats( $settings ) { $tax = array(); $tax['category'] = array( 'taxonomy' => 'category', 'view_type' => 'dd', 'child_of' => 91, //CHAGE It with the correct ID, 'orderby' => 'slug', 'order' => 'ASC' ); $tax['post_tag'] = array( 'taxonomy' => 'post_tag', 'view_type' => 'dd', 'include' => array( 1,2,3),// tag ids. 'orderby' => 'slug', 'order' => 'ASC', ); $settings['tax'] = $tax; return $settings; }should do it. I have not tested it, I am hoping that it works.
replace the old function with the same name with it.
About last few issues:-
1. If you want, you can create yourtheme/buddyblog/posts.php and override the whole layout(for custom query, please see buffyblog/templates/buddyblog/posts.php)2. Please see 1
3. You are logged in as admin. By default BuddyBlog lets admin edit post in the backend. You can control who will see edit from backend link in the BuddyBlog settings. Normal users will be doing it from front end.Regards
Brajesh - Brajesh Singh on November 12, 2018 at 2:46 am in reply to: [Resolved] tried to limit categories in buddyblog now it will not render #18649
Hi Phil,
You are missing the filters.Please add
add_filter( 'buddyblog_post_form_settings', 'buddyblog_show_custom_cats', 100 ); add_action( 'bsfep_post_saved', 'buddydev_add_default_category_to_post' );to the existing code and make sure that the value for child_of is correct.
Please try and let me know if it works for you or not?