WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Limit image uploads to one

[Resolved] Limit image uploads to one

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ha, teach me to be lazy and post without looking.

    Goto – /wp-content/plugins/buddypress-activity-plus

    Edit: bpfb.php Line: 59

    // Override image limit in wp-config.php
    if (!defined('BPFB_IMAGE_LIMIT')) define('BPFB_IMAGE_LIMIT', 5, true);

    To

    // Override image limit in wp-config.php
    if (!defined('BPFB_IMAGE_LIMIT')) define('BPFB_IMAGE_LIMIT', 1, true);

    User tries to upload more than one image to activity feed, receives message:

    You tried to add too many images, only 1 will be posted.

    All good 🙂

    Mike
    WPMU DEV Support Staff

    @michael-copestake

    Hi @dasped

    Thanks for posting the solution 🙂

    If you could mark this as resolved it would be a really useful resource for anyone with the same question.

    Hey @mike,

    Honestly thought I had. Strange one.

    Anyway, no worries with the solution, way to many unanswered/unresolved posts in the world mate…

    Cheers

    Mike
    WPMU DEV Support Staff

    @michael-copestake

    Excellent, thanks a lot 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Limit image uploads to one’ is closed to new replies.