BuddyPress Activity Plus

Let your users share images, videos and links across your BuddyPress social network.

Version 1.6.1

  • Added ability to auto-clean up unused images.
  • Some code tweaks and fixes.

Changelog

December 24, 2014 - version 1.6.1
  • Added ability to auto-clean up unused images.
  • Some code tweaks and fixes.

February 20, 2014 - version 1.6
  • Added themes and the settings page.
  • Added EXIF orientation support.
  • Better OpenGraph support for link sharing.

June 5, 2013 - version 1.5
  • Trimming images for auto-injected breaks.
  • Link type hrefs target assigned for external and all keywords.
  • Refactoring the deprecated resizing method.
  • Fixing BuddyPress theme compat layer updates.

June 8, 2012 - version 1.4.1
  • Fix for shortcodes appearing in activity RSS feeds.
  • Wrapping initialization in mobile browser detection stub.
  • File name sanitization.

May 5, 2012 - version 1.4
  • Fixed conflict with duplicated uploader dependencies.
  • Prepared the uploader for l10n.
  • Added image limit define.
  • Added protocol replacement.

December 4, 2011 - version 1.3.1
  • Added URL scheme prefixing for links that miss it.
  • Added switch for disabling Thickbox.
  • Added waiting indicator for link and video processing.
  • Enter in video/link input triggers preview.

November 22, 2011 - version 1.3
  • Included missing file resource.
  • Re-styled the interface so the icons can be easily changed.
  • Added support for theme to force its own styles.
  • Added OpenGraph image support to link image detection.
  • Added option for overriding the default thumbnail image.

September 21, 2011 - version 1.2.1
  • BuddyPress v1.5 compatibility update.

September 15, 2011 - version 1.2
  • Enhancement: Clearer display of cancel button vs. old 'X' icon
  • Enhancement: Progress indicator for file uploads
  • Enhancement: Integration with Group Documents. When Group Documents plugin is installed, a new document icon appears allowing for document uploads to be attached to groups

June 1, 2011 - version 1.1
  • Added remote image support.
  • Essentially, works like two separate modes for sharing images.
  • Upload images cancels out remote image embedding, and vice versa.
  • Remote url input width fix.
  • Added support for user-defined oEmbed width.
  • If user needs a different oEmbed width then our default, she can set it with a define directive in her wp-config.php (e.g. `define('BPFB_OEMBED_WIDTH', 250, true);`).
  • Otherwise, we'll use 450px default.
  • Added "no thumbnail" option for link sharing.

May 30, 2011 - version 1.0.1

    "The BuddyPress Activity Plus plugin is working fantastic! It's really a utility plugin for BuddyPress. Thanks for this masterpiece."

    Barnabas

    "BuddyPress Activity Plus is nice and simple. Good job."

    natb19

    buddypress activity plus allows your users to upload and share images, videos and links across your BuddyPress site.

    Create a rich media sharing site for users on your social network.


    BuddyPress Activity Plus is feature-rich

    This plugin works right out-of-the-box with easy to use features:

    • Adds three new buttons to the BuddyPress activity stream.
    • Allows you to easily upload photos from your computer or using an Image URL.
    • Embed a video from popular sites such as Vimeo or YouTube.
    • Embed a link to another website and the site title and description will automatically display.
    • Select a thumbnail image from a list of images on the site’s homepage.

    Looks great in any theme

    Simply activate BuddyPress Activity Plus and let your users share their favourite cat photos, videos of friends and links to interesting stories and news articles.

    There’s no configuration needed – just activate the plugin and allow your users to start sharing.

    BuddyPress Activity Plus
    Tell others users on your BuddyPress network what you’re doing.

    Extend the power of your BuddyPress feed with powerful new ways to share media and status updates.

    To Get Started:

    Start by reading Installing Plugins section in our comprehensive WordPress and WordPress Multisite Manual if you are new to WordPress.

    To Install:

    1.  Download the plugin file
    2.  Unzip the file into a folder on your hard drive
    3.  Upload the /buddypress-activity-plus/ folder and all its contents to the /wp-content/plugins/ folder on
    your site
    4.  Login to your admin panel for WordPress or Multisite and activate the plugin:

    • On regular WordPress installs – visit Plugins and Activate the plugin.
    • For WordPress Multisite installs – visit Network Admin -> Plugins and Network Activate the plugin.

    5. Once installed and activated, you will see a new menu item in your admin at Settings > Activity Plus.

    Configuring Settings

    Basic settings can be configured at Settings > Activity Plus.

    alt
    1. Theme
    2. Alignment
    3. oEmbed Width
    4. Image thumbnail dimensions

    1. Select a Theme to be used for the icons.

    2. Choose the Alignment, either Left or Right. This alignment setting will be used for the posted media.

    3. Specify the oEmbed Width, which will be the width of any media files such as videos. The height of the media will adjust to accommodate the width.

    4. Specify the Image thumbnail dimensions, both Width and Height, to be used for thumbnail images for the posted media.

    Now let’s take a look at further customization options.

    Usage and Customization

    You can also use custom icons in your theme, simply use add_theme_support(“bpfb_toolbar_icons”); in your functions.php, copy over the rules from css/bpfb_toolbar.css and edit to suit your needs.

    Alternatively, if you’re OK with 32×32 icon sizes, you can just override the icons in your stylesheet using background property and !important. These are the IDs: #bpfb_addPhotos, #bpfb_addVideos, #bpfb_addLinks, #bpfb_addDocuments

    You can also set your preferred thumbnail size separately from your default thumbnail size settings, if you wish to do so. You can do that by adding this line to your wp-config.php:

    define('BPFB_THUMBNAIL_IMAGE_SIZE', '200x200');

    Where “200×200″ are width and height (in that order), in pixels.

    Finally, be sure to verify your default sizes for embedded media. It’s in Settings -> Media -> Embeds -> Maximum embed size

    There are a few additional constants that you can override in your wp-config.php file to further customize how the plugin functions.

    Add the following to wp-config.php to override oEmbed width:
    define('BPFB_OEMBED_WIDTH', 450, true);

    Add the following to wp-config.php to increase/decrease the number of allowed images per activity item:
    define('BPFB_IMAGE_LIMIT', 5, true);

    Add the following to wp-config.php to open links in a new window:
    define('BPFB_LINKS_TARGET', true);

    User Experience

    Here are a few screenshots of what this plugin could look like on your site for your users (depending on your theme of course).

    Adding an image to an activity update.
    Adding an image to an activity update.
    Image added to update.
    Image added to update.
    Adding a video to an activity update.
    Adding a video to an activity update.
    Video added to update.
    Video added to update.
    Adding a link to an activity update.
    Adding a link to an activity update.
    Link added to update.
    Link added to update.

    Known Issues

    When using the plugin in combination with BuddyPress Media, a conflict can arise due to the activity stream upload, since both the plugins are trying to upload media through the activity stream.

    If you want to use the BuddyPress Activity Plus functionality, uncheck “Enable Activity Uploading” on the BuddyPress Media Settings Page.