New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Phil,
    If feasible, please ask the theme developers and post me the content. It will be much easy that way.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Thank you. Marking resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Phil,
    The last code you have share is for single post. I need it for the archive post(the posts loop).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Suggest some plugin that can #18666

    Hi Manjit,

    Welcome to BuddyDev.

    It should be easily doable with some custom code.

    All you need is 2 plugin
    – Membership plugin
    – posting plugin

    I 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Thank you. Glad you found the setting.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    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?