Skip to content
modemlooper edited this page Sep 6, 2015 · 11 revisions

Welcome to the BuddyMedia wiki!

Installation

To install, download and add to to your site's plugins and activate. Currently there are no plugin settings.

Activity Attachments

When the plugin is activated there will be a button added to the activity post form to allow attaching an image to status updates. These are stored in an "Attachments" album on a profile. If this album does not exist it will be created. NOTE: This plugin replaces the default post-form.php. The file replacing the default from is similar in structure with a few additions to accommodate the UI for adding images. Also some styles have been added to give the form a more dedicated structure.

Group Attachments

The groups by default do not show the "add image" button on the activity form. In the group's settings there is an option to turn this functionality on per group. You can turn this on for all groups with define('ENABLE_MEDIA', true). In the future this define will be moved to global settings. The images attached to group activity will show in a users Attachments Album. Currently no group album functionality but will be added in a future update.

Creating Albums

To create albums, visit your profile and click the media tab. After an album is created you can add images and edit the album info. There are three album types, public, friends, and private:

  • Public - viewable to anyone including logged out users
  • Friends - viewable by only those in your friends list
  • Private - only viewable by the user who created the album (loggedin user)

DEV Notes

This plugin is a bit different that other media plugins for BuddyPress. Each album created is a custom post type. You can view and manage the albums in the admin just as you would a post or a page. The albums are listed under the menu item "User Media". Each image in the album is a post attachment.

Clone this wiki locally