Buddypress Message Attachment Plugin

Yippee, my first plugin in wordpress repo. :)

A plugin for giving users the option to Check the screenshots below: private message attachmentbuddypress attachemnt in message

You can download the plugin from wordpress repo here

The plugin was originally developed keeping audio/video attachments in mind, so the option to wrap audio/video attachments in HTML5 audio/video tags is still there.

Drop in your comments if you found it useful, or if you find any bugs.


38 thoughts on “Buddypress Message Attachment Plugin”

  1. Hi, firstly let me say thank you for this important plugin. i have just installed it but when you send a photo attachment, there is no attachment in the message at the other users inbox. can you please check the plugin for any bug.

    Regards

    1. Sorry, a wrong file was uploaded by mistake to the reposiroty. uninstall and delete the current plugin. Download it again from wordpress repo (updated) and install it. It should work fine.

    1. With all th excitement of adding my first plugin into wordpess repository, i added a previous version of one of the plugin files in the reposiroty. Please uninstall and delete the current plugin and dowload it again from wordpress and install it. It’ll work now. And sorry for the mess :)

  2. Hi Chandan

    Will be a good addition for BP :-) Thanks.

    But: just tried v1.1 with WP 3.4.2 and BP 1.6.1 (single instance) with no luck.

    It’s always refusing to send with an error msg.

    Regards,
    Hans

    1. hi HansRuedi, you need to update the settings once you activate the plugin, update the file types you want to allow etc. Only then the plugin starts working. Have you already done that?

  3. Hi, thanks for your plugin but can not get to work I configured everything right and if I want to send the message with the attachment I get the following message: “There was an error sending that message: attachement too big or the file type not allowed, please try again”

    have something to do with the theme I’m using?

    all right, not passing
    could help me, thanks

  4. Hello,

    Thanks for the great plugin. I had the same issue as Lesther and perhaps HansRuedi and others, the problem for me on file `includes/actions.php` where `$allowedExts = explode(‘,’, $allwd_ext);` which will output an extra white space before the `$allowedExts` array values.

    To solve this, I have added an extra space after the comma of the `$glue` argument of the `explode` function: `$allowedExts = explode(‘, ‘, $allwd_ext);`. A better solution would be to trim all the white spaces before output the exploded items:

    `array_map(‘trim’, explode(“,”,$allwd_ext));`

  5. Hi there,

    Really like the idea of the plugin yet i have come across an issue (previously mentioned by someone else):

    When i send a message & upload a file… as soon as I press send it says that either the file is not allowed or the size is to big.

    Obviously I have tested several diferent options with files and sizes, but this doesn’t change the issue on the front end.

    I had the latest version of your plugin through the wordpress site.

    Really think this plugin will be hugely helpful once it works.

    P.s.: is there a po file for translation?

  6. Hello! GREAT idea for a plugin, but I cannot get it to work! I installed the plugin (latest wordpress, and using a multi-site installation), but when I go to set which file types are allowed, I get a “you don’t have sufficient rights to edit this page” – I’m the super admin! ….help! :)

    -Chris

  7. Hi,

    Thanks for all your great tutorial, please do you know of any snippet which i can use to filter email address as i dont want my user to include Their email address in private message.

    Regards

  8. Hi and first of all, thanks for all your plugins

    I just installed your plugin, configure it with size 5mb and files tyoe including pdf but I’m trying to send a file with 350kb in pdf and I get this error “There was an error sending that message: attachement too big or the file type not allowed, please try again”.

    What could it be?

    1. there’s a small overlooked silly mistake in the way the plugin works, it seems that if you type the ‘allowed file extenstions’ with white spaces, it wont recognise them. So instead of ‘png, gif, jpg’, if you type ‘png,gif,jpg’ it works.(its silly, and its been fixed for the upcoming update, sorry about that). I am not sure if that’s the error in your case, but you might wanna try that.

    2. Hi Chandan seems to work (almost)….. 2 things:

      1. When compose message, not file (any type) is uploaded but when reply everything works fine. Any idea?

      2. Is it possible not load the attachment but download it on clic?

      Thanks in advance!

  9. @Andrés Felipe López G.

    Same here, hope this can be fixed soon!

    Right now it works here only with .png files…

    Thanks! ;)

    1. there’s a small overlooked silly mistake in the way the plugin works, it seems that if you type the ‘allowed file extenstions’ with white spaces, it wont recognise them. So instead of ‘png, gif, jpg’, if you type ‘png,gif,jpg’ it works.(its silly, and its been fixed for the upcoming update, sorry about that). I am not sure if that’s the error in your case, but you might wanna try that.

    1. Hi dhegarcia, No, the images can’t be opened in a lightbox, unless of course the plugin is modified to do so. If you know your way with wordpress programming, you can do it yourself by enqueuing and using wordpress’s inbuilt thickbox plugin, or some external lightbox plugin. Else, let me know if you want me to do something about it.

  10. Hi there

    Firstly, great plugin. Great work.

    Is there a way to disable downloading of video’s and the save as function? I don’t want to allow members to download video’s uploaded by other members.

    TIA

    Madcap

  11. Hello,

    thanks for the plugin! But in WordPress 3.6.1 and Buddypress 1.8.1 it doesn´t work.

    The “Submit-Button” changes the language in englisch. That was for me a sign, that something is wrong. I have installed the plugin new, and also direktly from WP_Backend_Dashboards, as well for Test in a ‘Single Installation with one Plugin and other Template’ , and even in new  databases – but no other results.

    Have you an Idee what is wrong.

    Many Thanks from Germany

  12. Sorry, Sorry.. !!

    When I writting the last Post , I noticed the error!!

    The Bug ist my language – Template in German. For Test I “display off” the language Template and now it works. My mistake. Now I must find the “Error in the language”.

    Greetings!

  13. I am again :(

    I´m going crazy. Now I have delete the Buddypress language mo.po. and installed a new, but the attachment plugin does not again.

    What ist wrong =? :(

  14. Hi, I was wondering if there is a conflict with this plugin and the fact that I changed my wp-content directory name to just content?

    I installed the plugin and its not working.. I think all is fine on the server end.

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>