BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 68

    I’ve discovered that I can use this hook “bbp_template_before_topics_loop” within my snippet to add the search form (or anything else) before the Forum tab’s topics loop.

    So, now I am just overriding the label from Discussions to Forum, and don’t need to use the content section of the Group Tabs Subnav to add a shortcode.

    
    function group_forum_search(){
        code for search form
    }
    
    add_action( "bbp_template_before_topics_loop", "group_forum_search" );
    
  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: [Resolved] BuddyBlog Pro Medium Editor #39795

    Here is a screenshot of the H2/H3 issue with all plugins deactivated except for BuddyBlog, BBlog Medium, and BuddyBoss Platform. There is also a screenshot of the HTML which shows that H2 and H3 have a <b> element whereas the otehrs are <i class=”fa…”

    https://imgur.com/a/BbQHIfv

    I now see how to add photos and videos, thanks! One suggestion – add some whitespace between the cursor and the “+” button.

    I’ll have to experiment a bit, but perhaps the default WordPress upload is better – you can set sizes etc… I assume that I would have to stick to TinyMCE for this?

    My point about the extensions and button customization is that it might be useful for many people if you’re able to offer us the ability to customize these things from the WP Admin instead of via code. Just an idea.

    Thanks again for your help.

  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: [Resolved] BuddyBlog Pro Medium Editor #39789

    Thanks! I like it a lot so far.

    Some observations and suggestions:

    – H2 and H3 buttons are blank. I only know what they are because of the tooltip
    – The tooltip for Ordered List needs to be capitalized
    – I think the link button should be renamed from “anchor”, which I (and most people) don’t understand
    – I think it is necessary to have a button for adding images. The Add Media button that is present for the other editors does not show up with this one
    – I assume you are using this editor package https://github.com/yabwe/medium-editor. Is it possible for us to leverage the various extensions that it offers? Some of them look very useful
    – I see that there are over 20 buttons available, so the ability to customize the toolbar buttons ourselves would be nice
    – A way to see/learn and even set the keyboard shortcuts would be helpful. Perhaps this would just be in your documentation page, but if there was a plugin settings page it could be there as well.

    Thanks again!

  • Participant
    Level: Enlightened
    Posts: 68

    Ok, thanks for the clarification. For various other reasons, I have decided not to use subgroups anymore, so don’t explore this for my sake!

  • Participant
    Level: Enlightened
    Posts: 68

    Ok, thanks for the confirmation. I’ll have to figure something out with custom code then.

  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: [Resolved] BuddyBlog Pro Medium Editor #39776

    Thanks for the info! That would be great if you could share it via my account’s email address!

  • Participant
    Level: Enlightened
    Posts: 68

    An observation:
    It turns out that I can add content to the predefined “forum” tab just by leaving it as-is and adding a new tab with the same “forum” slug and including the shortcode within its subnav content field.

    The result is that BuddyBoss seems to still populate its discussion topics, and the search form is appended to the bottom of the view. I’m not sure if that is how it is meant to work, but it is how it has turned out.

    The only remaining problem is that I would like to PREpend to the top of the view it rather than APpend it to the bottom. Is there a way to do this?

    What might help is that I have created my own shortcode for doing this, as it allows me to pass various parameters to the built-in search form shortcode (from the Relevanssi plugin). Here is what that shortcode looks like.

    
    function display_group_forum(){
        echo do_shortcode("[searchform post_types='topic']");
        //$page_slug = bbp_get_group_forum_ids();
        //echo do_shortcode("[bbp-single-forum id='$page_slug[0]']");	
    }
    add_shortcode('groupforum', 'display_group_forum');
    
    

    This code shows it how I want – with search form above the discussion topics, but it is only useful in its own tab as as BuddyBoss simply duplicates the forum at the top of the view.

    Perhaps there is something other than echo, or another action or hook that would allow for prepending the contents of the [groupforum] shortcode within the group tab? I can

    Still, something more formal – like the two suggestions from the original post – would be wonderful additions to this fantastic plugin!

    • This reply was modified 3 years, 4 months ago by Nick.
    • This reply was modified 3 years, 4 months ago by Nick.
  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: [Resolved] BuddyBoss Plugin Compatibility #39683

    Understood, thanks!

  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: [Resolved] BuddyBoss Plugin Compatibility #39618

    It appears to me that they are needed – you can’t set default privacy options or edit comments, and the registration modal would be nice to have as well. Anyway, if they’re not compatible, that’s unfortunate. I hope that they might become compatible in the future – I’d upgrade my subscription if that happens!

  • Participant
    Level: Enlightened
    Posts: 68
    Nick on in reply to: Important Option to Group Tab Creator #39173

    I would also like to see this option. Has there been any progress on adding it?