BuddyDev

Introducing BuddyPress Extended Friendship Request Plugin

Today, I am presenting you the BuddyPress Extended Friendship Request Plugin. This plugin allows users to send a personalized message with the friendship request. Thanks to @onlyway (Derek) for suggesting the idea.

How it works:-

  • When a users clicks on Add friend, It shows him/her a small popup to enter some personalized message
  • The user can enter a personalized message and click on the Send request to send the request.

I believe, the screenshots will explain much better 🙂

Screenshots:-

Clicking on Add Friend:-

Request sent successfully:-

Friendship Request on Members Directory:-

Request sent Successfully:-

Here is how it looks on User's friendship Request page

So, that is pretty simple 🙂

When I started working on this plugin, I could not find a suitable javascript popup plugin which could be triggered by the script and is in dependent of the elements. But I liked the popover plugin from Twitter's bootstrap. It is cool(but sadly binds to elements, which is nice for most of the cases). Instead of writing the whole code, I used their popover structure(html/css) and wrote my own javascript code to make it independent of the elements. The javascript code is just a bunch of functions and I do plan to convert it to a jquery plugin someday :).

Download & Installation:-

Link: https://buddydev.com/plugins/bp-extended-friendship-request/

This plugin is free and I hope that it will help you to extend your social network a little more 🙂

Please do let me know your thoughts and suggestions in the comment 🙂

Introduction image credit: Cécile Graat

35 Responses to Introducing BuddyPress Extended Friendship Request Plugin

  • I installed it earlier today on my new site I'm building and it works perfectly.

  • Hey brajesh… i love your plugins, and this one was is a nice addition too… but the issue is… when i use this plugin…i am able to send an invitation fine, but when the user tries to access the invitation… the ajax loader doesnt stop (giving an impression that it is stuck), however, if you refresh the page, the friendship has been accepted…

    think there is a clash with some ajax stuff… can you please help me out.

    • Hi Siddharth,
      Thank you for the comment.
      Which version of BuddyPress you are using and are you using the default theme or some different theme ?

      • Lee #

        Great news! this bug has been fixed in BP 1.7.1, so this plug-in now works perfectly with it.

      • Lee #

        Actually, it looks like I didn't test it thoroughly enough. I have found that the *accept* button still throbs forever when you accept a friend request, although all the other buttons for doing everything else in the friendship process work fine. So this still needs to be fixed.

  • I want to translate your plugin into German. Do you have a pot file for me? Where should the translation file located?

    • Hi Thorsten,
      My apologies for delayed reply.

      The plugin had no localization support. In version 1.0.1, we have got the localization support.

      If you are still interested in translation, please download. It includes the pot file.

      Thanks
      Brajesh

      • Hi Brajesh,
        I sent you via Email reply of your comment my translation files (German). Unfortunately they don't work and your plugin does not include the pot file as you mentioned above. Please can you ckech this?

        Best Regards,
        Thorsten

        • Hi,
          I am sorry, It was po not pot file. You can use poedit to translate it. It is working. You will need to rename the generated file to yourlocale.mo for example, if the locale is en_US, the file should be named en_US.mo.

        • Hi Brajesh,
          Now it works – thank you. I sent you the translated files. Did you get them?

          Best Regards,
          Thorsten

        • Hi Thorsten,
          Thanks. Got your mail.
          Will be adding that in the package and including your credit.
          I appreciate your contribution 🙂
          Thanks

  • It is possible to sent unfiltered html with this plugin => do you have a quick solution? Thanks
    Monika

    • Hi Monika,
      It does allows basic html in the message. Please make sure to upgrade to 1.0.2 though. It has some critical security fix.

  • Joe #

    This is a great addition, but when the box appears for me, it is appearing below the admin bar, so nothing is seen until you press enter twice.

    • Hi Joe,
      Can you please tell me your BuddyPress version and which theme you are using? Also, Is it happening in all browsers or just some particular browser?

  • Hi Brajesh,
    can you please make it more mobile friendly. Can you make an option to center the popup window on mobile devices instead of over the button? And can you make a space between the textbox and the button to make it look nicer?
    Thank you!

    • Hi Rug,
      I am sorry for delayed reply.

      I will update this plugin by weekend and test on mobile device to see if that works.

      • Thanks a lot! Your plugins are really great!

      • Hi Brajesh,

        could you have a look at this plugin?

        But I know you are a busy man!

  • Hi Brajesh,
    great new site! Can you please have a look at the "Introducing BuddyPress Extended Friendship Request Plugin" and make it more mobile friendly? Can you center the popup window on mobile devices instead of over the button or just align it left and the arrow right?
    Thank you!

  • Just a small addition: The personalized message is not included in the email notification the user receives. Can you please implement this?

  • Hi

    Not sure if u got my email.

    Every time I need to go into the css code fix it and when there is an update I going again and fix it. Can you pls. be nice and correct the error, so we do not have to replay the error fix again and again and again pls.

    Link:
    http://imgur.com/LbC1s8g

  • This is a great plug-in. Very clean design and integrates beautifully. Love it! Thank you.

  • I love this plugin. Clean design and integrates so easily and beautifully. 5 stars! Thank you. – James

  • Hi Brajesh,

    Great little plugin, would there be a simple way to add radio buttons to the friend request?

  • Great plugin!

    Please can you adjust the css positioning on mobile view especially on the members page.
    The position on desktop is perfect, the problem is that I can't find the popup when I click the add friend button on my android phone. This problem persists majorly on the members page.

    Thank you

    • Hi Tosin,
      Thank you.
      It is quiet possible. Will try to have an update upcoming week. We do want it to work better on phones.

  • Hi Brajesh

    This plugin is work perfectly for add friend request. Please let me know how can i do same functionality with when cancel friend request ?

    • Hi Vinod,
      Thank you.

      Sorry, I am unable to help with the cancel thing. You will have to implement your own for the same.

      Regards
      Brajesh