This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

This plugin has been closed and is no longer available for download.

Forum Attachments for BuddyPress

Description

Gives members the ability to upload attachments on their posts.

It’s a port of a plugin originally created for bbPress by ck. See the original plugin page here: https://bbpress.org/plugins/topic/bb-attachments/. ck is not supporting this plugin anymore. Insofar as the code works, it is thanks to her; insofar as it does not, it is my fault.http://teleogistic.net/code/buddypress/forum-attachments-for-buddypress

Many thanks to slaFFik for his work on localizing this plugin!

Installation

  • Upload to plugin directory and activate
  • Create a directory ‘bb-attachments’ one level above your WP root and make sure that it is writeable by the server. So if your WP installation is at /home/html/, create a directory /home/bb-attachments.
  • If you have an unusual setup (in particular, if your WP_PLUGIN_URL is somewhere other than /wp-content/) you may have to play with the path settings in download.php and image.php to make things work correctly.
  • If you’d like to change the default settings (as described in step 5 here https://bbpress.org/plugins/topic/bb-attachments/installation/), you may do so by editing forum-attachments-for-buddypress-bp-functions.php
  • I use a JavaScript trick to make uploads possible. If you are confident that most of your users will have JS enabled, you do not need to do anything else.
  • If you want to make uploads possible for users with JS turned off, you will need to alter the <form> tags on your theme’s forum files: groups/single/forum/topic.php and groups/single/forum.php. Change <form action="" method="post" id="forum-topic-form" class="standard-form"> to <form action="" method="post" id="forum-topic-form" class="standard-form" enctype="multipart/form-data">. You’ll need to make a similar change to forums/index.php: change <form action="" method="post" id="forums-directory-form" class="dir-form"> to <form action="" method="post" id="forums-directory-form" class="dir-form" enctype="multipart/form-data">.

Contributors & Developers

“Forum Attachments for BuddyPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1

  • Initial release

0.2

  • BuddyPress 1.2 compatible
  • Removed the need for custom hooks
  • Enabled inline images
  • Improved download process to avoid header conflicts

0.2.1

  • Corrected redirect after deleting attachments
  • Removed header requirements causing errors on some Apache setups

0.2.2

  • Corrected typo that was causing redirect conflicts with certain forum-related plugins

0.2.3

  • Added enctype fix (and additional readme instructions) for forum index page

0.2.4

  • Eliminated bbPress permissions checks on some add_actions to account for changes in recent versions of BuddyPress