Skip to:
Content
Pages
Categories
Search
Top
Bottom

Simple Way to Enable Image posting in Forums


  • Julia_B
    Participant

    @julia_b

    Sorry, newbie question here. I have spent quite a lot of time searching for an answer, but haven’t had any luck in finding a simple solution.

    I just want to enable users to be able to upload and post images in my BuddyPress forum and for the images to appear in the body of their forum post.

    I’d really appreciate some tips. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

  • shanebp
    Moderator

    @shanebp

    BuddyPress uses the bbPress plugin for forums.
    So you’re better off asking the question on https://bbpress.org/forums/

    What you want may be possible, to start, see:

    Allowing inline images uploads in posts?


    https://wordpress.org/plugins/gd-bbpress-attachments/


    Julia_B
    Participant

    @julia_b

    Thanks Shanebp. Seems like a pretty basic function – most people using forums expect to be able to insert images into their posts nowadays. Any plans to include this in Buddypress? Sounds like it’s going to be tricky to get it work with those plugins.


    shanebp
    Moderator

    @shanebp

    >most people using forums expect to be able to insert images into their posts nowadays.

    Agreed.

    Because BuddyPress and bbPress are two separate plugins, don’t expect BuddyPress to address this issue.

    I’ve never used it, but try the free version of
    https://wordpress.org/plugins/gd-bbpress-attachments/


    Julia_B
    Participant

    @julia_b

    Thanks shanebp. I have installed that plugin but it seems to only allow images to be posted as attachments. I have posted in the bbpress forum so hopefully someone will help, but from searching through it looks like lots of people have asked the same question and got no reply, which seems to indicate it’s not possible. Looks like I may have to choose another platform for my site. Shame, it seems such a basic thing. I appreciate your help.


    danbp
    Moderator

    @danbp

    @julia_b

    bbpress use tinymce, and you can add some tools to the editor. Search on the tinymce support forum. Also some topics on the bbpress forum around this.

    As admin you can use this snippet, to get the same media button as n the backend editor.
    Be aware that allowing access to anybody to your medias is risky.
    That’s why the default bbP editor is only shipped with an image linker.
    So i guess shane’s tip to use the plugin is best to do for now.

    It exist also this plugin, with image upload allowed for authors and above roles.
    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    function bpfr_bbp_editor_upload_media( $args ) {
    	$args['media_buttons'] = true;
    	return $args;	
    }
    add_filter( 'bbp_before_get_the_content_parse_args', 'bpfr_bbp_editor_upload_media' );

    Julia_B
    Participant

    @julia_b

    Thanks danbp, that’s encouraging. Yes, allowing all users access to all site media is not ideal, but I’m moving my community from a Facebook group to my own private members site and they are used to regularly including images within their posts and comments. This is something all members do very regularly and if I don’t include this function they’ll be clambering to revert back to the Facebook group so I can’t see another solution, having images at attachments just won’t be the same as having them inline in posts. Obviously they won’t be expecting the functionality of my site to be on a par with Facebook but they will expect standard forum features like being able to upload inline images.

    I have installed the bbPress Enable TinyMCE Visual Tab, but it doesn’t seem to work. The Add Media button has appeared which leads to the Media Library and it is possible to upload or select an image from there, but the Insert into Post button does not work. Any ideas?

    Do I need to also use the snippet you posted above? I don’t know how to do that, should it go into the CSS settings in the Themes editor?

    I don’t build sites for a living, just trying to create a site for my business so I’m not an expert on the technical stuff.

    Really appreciate the help.


    danbp
    Moderator

    @danbp

    Your reply start good, but ends bad 😉

    Helas for you, BuddyPress is not Facebook, it will get used 😉

    The snippet is written in php, and has nothing to do with CSS.You can add it into your child theme’s functions.ph or into bp-custom.php

    Deactivate the plugin when you test the snippet and remember that it could only be used by user with admin role. Anyway, if you use the plugin, the snippet won’t be usefull.

    I tested the bbPress Enable TinyMCE Visual Tab plugin and it works correctly for group forums. In this case, only user with author role can see and use it.

    I don’t know what happens to the insert to post button in your dashboard. 🙄 This is generally due to a js conflict.

    What theme do you use ?
    When the Visual Tab plugin plugin is deactivated, can you use this button when inserting a picture into a post ?
    Have you plugins ? Give the names please.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Simple Way to Enable Image posting in Forums’ is closed to new replies.
Skip to toolbar