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

    Hi Max,
    Are you using a 3rd party plugin to support streamable as oembed? WpordPress does not seem to support it out of the box.

    https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F

    If you can point me, I will be able to provide some code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Please see my last reply.

    Since you are only linking to another page, clicking on the tab is taking you to some other page on your site which is not a user’s profile and that’s why. You can check the url in browser to see that you are visiting non profile page.

    If your goal is to create tab and show the content of that tab on user profile, you can do that.

    For that purpose, you can remove the “Tab Link” value and add the content to be displayed in the first sub tab.

    In your case the content will be the search form(It seems you are using BP Profile search, you can use their shortcode) and for members list, please see my previous reply.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Carsten,
    I am sorry but I guess there are some confusions.

    Those are different pages.

    1. The Tab you are seeing “Profile” , “Members”, “groups” etc, It is User profile page.

    2. The search box and the list that you see with “All Members” tab is member directory page

    Earlier, you linked “Members” tab on user profile to the sites member directory. So, when you click on a user’s “members” tab, Ut takes you to the site’s members directory.

    That’s why you are seeing different layout.

    In BuddyPress, The Members directory lists all users while profile is about one single user.

    If you do not want to link to directory and want to show the members list inside the profile tab(I do not think it is a good idea as Buddypress already provides the directory), you can do so by creating a shortcode for listing members and using that in the Profile tabs plugin.

    I am not sure if there exists a plugin that provides members list as shortcode, But if there is one, you can use that too.

    Hope that clarifies.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Richard,
    you are right about it.

    I am still not sure of the issue. A post is a post whether it comes from BuddyBlog or anything else that should not matter.

    Also, what do you need to uniquely identify? Can you please help me understand again.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Buko,
    The update is available now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Carsten,

    1. It is your choice to either link to the content or put the content inside the tab

    I do suggest using linking when the content exists and they do not add much value putting inside the tab.

    In order to add a content(anything that supports shortcode or you can use simple rich text), You need to add a new tab and you should not specify the link. Also, you will need to add a sub tab with the actual content.

    The choice is yours. I am not sure what the search was or what shortcode you had used earlier but if you need it inside the profile tab, you can achieve that.

    Like I said earlier, the plugin can do almost anything which is/was achievable through code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Buko,

    Hope you are doing well.

    Just wanted to let you know that I was not able to release the update yesterday. Will be doing today and posting back.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Richard,

    You can retrieve the post type being used by

    
    
    $post_type = buddyblog_get_posttype();
    

    It returns the post type being used/assigned to BuddyBlog.

    Hope that helps.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25403

    Hi Carsten,

    Thank you.

    1. That’s good.

    2. Please see
    https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/adding-buddypress-user-profile-tab-sub-navs/

    You can enter the shortcode in the content area.

    For slug, You can leave it if you are creating links only.

    If you are creating a tab that will show its content on user profile, you should assign a slug of your choice(and unique).

    Regards
    Brajesh