Thursday, September 16, 2010

Forum Attachment Guide


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: http://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 herehttp://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 


     tags on your theme’s forum files: groups/single/forum/topic.php and groups/single/forum.php. Change  to . You’ll need to make a similar change to forums/index.php: change  to .

No comments:

Post a Comment