Replies
- Brajesh Singh on October 30, 2016 at 9:16 pm in reply to: [Resolved] Buddyblog – How to limit Categories and Tags? #6191
Please put the code in bp-custom.php .
- Brajesh Singh on October 30, 2016 at 9:15 pm in reply to: [Resolved] Buddyblog – How to limit Categories and Tags? #6190
Hi Ken,
hope you are doing fine.Please use the following code and modify the term ids with your own to include only them.
function buddyblog_limit_terms( $settings ) { if ( ! isset( $settings['tax'] ) ) { return $settings; } $tax = $settings['tax']; //it is multi dimensional array $taxonomy = 'category';//name of taxonomy // Array of term ids to include. $terms = array(1, 53 ); //term ids if( ! isset( $tax[ $taxonomy ] ) ) { $tax[ $taxonomy ] = array(); } $tax[ $taxonomy ]['include'] = $terms; //update settings $settings['tax'] = $tax; return $settings; } add_filter( 'buddyblog_post_form_settings', 'buddyblog_limit_terms' );Hope that helps.
Brajesh
- Brajesh Singh on October 29, 2016 at 10:24 am in reply to: Page galleries showing up as squashed together on mobile #6185
Hi Owen,
I will test with Kleo and post the code evening today or early tomorrow. It may need some css.Thank you
Brajesh - Brajesh Singh on October 29, 2016 at 10:21 am in reply to: [Resolved] Buddyblog – How to limit Categories and Tags? #6184
Hi Ken,
I am sorry I missed it. I will post the code today(Around noon PST).Thank you
Brajesh - Brajesh Singh on October 29, 2016 at 10:20 am in reply to: bbPress based "Task Manager" / To-do List for BuddyPress #6183
Hi Hans,
Welcome back. It is nice to see you and I hope you are doing well.Thank you for that link. Those are smart actionable items. I will certainly do it but a little bit delayed. I am sorry but due to current work queue, It is a little bit low on my priority.
Regards
Brajesh - Brajesh Singh on October 29, 2016 at 10:17 am in reply to: Plugin idea – BP Featured Members and Groups #6182
Hi George,
Thank you for another wonderful idea. It is simple but I can see how it may be beneficial of multiple type of communities.
@ravisharma has half finished it already, but due to Diwali holidays, he is off from the work and will be back on Wed/Thu days. Asap he comes, we will have a formal update for these 2 plugins.PS: We have planned to use button instead of checkbox on the front end.
Thank you
Brajesh - Brajesh Singh on October 26, 2016 at 2:13 am in reply to: Page galleries showing up as squashed together on mobile #6175
Hi Owen,
Thank you for posting. Is there any chance that you modified the template of MediaPress directory pages? It seems like the line-height being set to zero there.Also, which theme are you using? Is it kleo?
- Brajesh Singh on October 26, 2016 at 2:11 am in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6174
No Problem. I am glad I could help 🙂
Marking it as resolved.
Regards
Brajesh Hi Nana,
I am sorry, due to some unexpected things, the release has been delayed till 1st November. We will be setting up a demo page and other things by this weekend. so, you may take a look this week before it becomes available on Tuesday. I will keep you updated.- Brajesh Singh on October 26, 2016 at 2:08 am in reply to: [Resolved] Auto Activate Auto Login Support Custom Redirect #6172
Hi Deco,
No problem.If your questions are related to this plugin, Please use this topic else I will appreciate if we can discuss it in new thread. Looking forward to talk to you tomorrow.
Regards
Brajesh