Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    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: 25318

    Thank you. Glad you found the setting.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    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: 25318

    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?

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Phil,
    Please link me to the code to allow me look into it and assist you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Phil,
    Please share the code that you are using(link me to the code on pastebin or github gist).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: Double instances of buddyblog #18641

    Hi Francesco,

    I am sorry, the current architecture of the plugin does not support it. I and one of my team member is working on some similar idea for next major release of BuddyBlog. We will be able to plan and build it around first fortnight of new year. For now, Other projects in pipeline have got a bit more priority.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318
    Brajesh Singh on in reply to: Buddyblog taxonomies #18640

    Hi Francesco,

    It is not supported yet.

    We are using

    
    wp_dropdown_categories()
    

    internally for showing the terms dropdown and it does not support multiple.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Phil,
    Yes, you are right about that. Even if the tab is hidden, the links will show proper content. You are only hiding menu link and linking using dynamic subnav links.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25318

    Hi Phil,
    Thank you for the question.

    In BuddyPress, if you modify the url of a component, It will be broken as the screen handlers are attached with mostly hardcoded urls(slugs).

    The solution is to use greedy nav for profile tabs. It shows only limited number of tabs and remaining tabs become part of dropdown.

    Another solution(if you really want to link some tabs as sub tabs) is by using the Profile Tabs plugin, create an entry for the tab under which you want to move other tabs.

    Once you create the entry, add other tabs as sub nav of that entry. In its link (sub nav’s) option, please use our dynamic linking capability to link to other tabs.
    https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/buddypress-user-profile-tab-link-configuration/

    Now, it does not remove the existing tab but creates sub navs under another tab and links to the existing tab that you want to hie. Once you have done it, I suggest using css to hide the tab. It is not a great solution but a compromise.

    If I have to prefer, I will go with greedy nav using extra css/js.

    Regards
    Brajesh