BuddyBoss Home – Web Support Forums Plugins BuddyBoss Media Please enter some content to post.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #39962
    @parallaxstudios

    Hi, how do I change it so that people can post images with no text needed?

    Answers

    #40047

    Alyssa
    Participant
    @alyssa-buddyboss

    @parallaxstudios unfortunately this is not something we can control. BuddyPress requires content in the text field to post.

    #44390
    @fabiankay

    I just found a work around on this:
    get the buddypress.js file and copy it to your Themes Folder to make it update save and manipulate the ‘content’ output. It’s on line 122.

    /* Default POST values */
    object = ”;
    item_id = jq(‘#whats-new-post-in’).val();
    if(jq(‘#whats-new’).val() == “”) {
    jq(‘#whats-new’).val(“null”);
    }
    content = jq(‘#whats-new’).val();

    so it writes null into DB or any other default content you like (an empty string for example or <p style=”display: none”></p> – no idea if this works).

    Hope this helps. It might not be the best solution but it works 🙂

    #44391

    Alyssa
    Participant
    @alyssa-buddyboss

    Glad you were able to find a workaround.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Please enter some content to post.’ is closed to new replies.