What is it? BuddyPressDEV.org is the community of BuddyPress' developers that create and extend this platform.

Plugins & Extensions

BP – Invite friends Plugin

by Giovanni Caputo

If you use 0.6.1 version for RC1

  • Unzip files in /wp-content/mu-plugins/.

If you use 0.7.1 version for RC2

  • Unzip files in /wp-content/plugins/buddypress/.

If you use 0.8 version for 1.0

  • Unzip files in /wp-content/plugins/.

From admin page: Setting/Invite Friends
Set a mail address from will be send a mail to invite friends.[Default: mail admin].
Set type methods for all services. You can use API or scraper. If you not change it than it can not avaiable.

Make attention:
If use Yahoo API click on “GET AN APP ID” to get an application ID.(SET all fild and select “Browser Based

Authentication”)
If use gMail API set ZEND URL. Ensure that all services are TESTED with “No errors found”.

If you want speak with other about it, open a new topic on the forum or leave a comment

93 Responses to “BP – Invite friends Plugin”

  1. andreylis Says:

    i think it must be better :)

    some php code for more sources of contact importing – http://sourceforge.net/projects/freshmeat_openinviter/

    sorry for bad english :[

  2. trent Says:

    So this is still in testing? What exactly works on this one? Is there a confirmation built in?

  3. Giovanni Says:

    Thank you Andrey, I have just see it, but I want use API from other system, for example Yahoo Api etc..

  4. paul Says:

    did you try to implement the free inviter from
    http://www.freetellafriend.com/

    it very simple
    use all the major email provider, social bookmarks and networking

  5. Giovanni Says:

    thanks but I am using API.

  6. Chad Everson Says:

    Has anyone told you code magicians how much we appretiate you? Well let me be the first! Great Plugin this solved my problem! Thank you!!!

    Chad Everson

  7. john Says:

    Never mind. Simple mistake – didn’t move over the file in the root directory.

  8. Kesja Plecha Says:

    does it work with linkedin? jabber?

  9. rat86 Says:

    no. will work. tomorrow i will realesed a version that work with gmail and yahoo. today i have tried with facebook but i have discovered that it don’t allow to get friend’s mail.

  10. rat86 Says:

    now, on plug-in homepage you can download new version!

  11. Vincenzo Russo Says:

    Ciao Giovanni,

    the idea underlying this plugin is very good, but in my humble opinion you should try to integrate the functionalities in the front-end, not in the classical WP/WPMU backend.

    I am not an expert of Buddypress, I am just having fun using it, so I don’t exactly know if you can do what I have on mind.

    Anyway, what I mean is something like adding a new menu item in the “profile” bar of the user, that is the leftmost sidebar in the members theme. You can try to add a menu item there, for example “tools”, and then under tools you can put “Invitations”.

    You see what I mean?

    If you want to make this clearer, we can speak italian in private. It’s easier for both of us ;)

    Ciao,

    Vincenzo.

  12. Bo Parker Says:

    I get an error when I try to run this:

    syntax error, unexpected T_OBJECT_OPERATOR, expecting ‘)’ in /nfs/c01/h02/mnt/13175/domains/aigadfw.com/html/community/wp-content/mu-plugins/bp-invitefriends.php on line 178

  13. rat86 Says:

    2 Andrey & Bo: download new version.

    and try. thanks.

  14. BuddyPress - Invite Friends Plugin - WP Plugin Archive Says:

    [...] dem Invite Friends Plugin für die Kombination des BuddyPress Social Network Plugins / WPMU von by Giovanni können [...]

  15. mesgains Says:

    Hi Giovanni,

    thx for you great plugin. It work very well on ylberg.com, but this latest version is not downloaded here. Can we have this latest version please ?

    Thanks again you made a good work.

    BR.
    Loran

  16. Karthik Kastury Says:

    What are the social networks you plan to add in the future? I would love to have Orkut added coz its very popular in this part of the world..

  17. mesgains Says:

    Hi Karthik,

    what is a coz ? ‘Cause’ like in facebook ?

    Loran

  18. mesgains Says:

    Hi Giovanni,

    Thank for your answer, when I launch your application with hotmail i ve got the error message :
    Plug-ins are developing!!!
    Messenger API don’t work.

    On Ylberg.com, hotmail work very well despite of the fact that the csv import failed.

    Yahoo and Gmail don’t work to.

    Loran

  19. rat86 Says:

    Hi Loran. you must edit from admin page: setting/Invite Friends cURL for Messenger. Now Api don’t work.

    About CSV import i know that don’t work, because i am developing it.

  20. mesgains Says:

    Hi Giovanni,

    I change the settings. Thanks a lot it works very well.
    Good work !!
    :)
    Thx
    Loran

  21. Vida Says:

    I really really like this plugin and would like to use it. But it gives me error messages and also I don’t necessarily want to get access to my user’s email information.

    Is there a chance we can have the same simple invitation that facebook friends send to new users to sign up?

    Thanks so much;
    Vida

  22. rat86 Says:

    2Vida: send me error message.
    Next day will write a guide to configure plug-in from admin menu:setting/Invite Friends,

    2All:
    On ylber.org you can see new feature: invite from CSV file and Twitter. Give me a feedback.

    I will release it next week.

  23. zain Says:

    what about facebook, when can we see it available?
    thanks

  24. rat86 Says:

    i have just said that there are problem. I hope next weeks.
    zain try my plug-in and give me a feedback, also from private message. thanks

  25. zain Says:

    hi giobanni, the gmail thing is amazing…
    for messenger it says:
    Plug-ins are developing!!!
    Messenger API don’t work
    thanks a lot for your plugin it’s great!

  26. rat86 Says:

    yes Api of messenger don’t work yet, use cUrl(scraper)

  27. zain Says:

    it appears there is a problem in the curl for messenger, i get Contact list is empty while my contact list has many people in messenger.
    thanks

  28. rat86 Says:

    try it on ylber. I have tried and work.

  29. Lee Says:

    I get the following error when trying to invite friends with your plugin.

    Warning: Zend_Loader::include_once(Zend/Gdata/ClientLogin.php) [zend-loader.include-once]: failed to open stream: No such file or directory

  30. rat86 Says:

    From admin page: Setting/Invite Friend set ZEND URL. Use advise path and ensure that all services are TESTED with “No errors found”.

  31. rat86 Says:

    Finally Facebook invite works! you can try it on ylber.org

  32. Walter Says:

    Great work Giovanni!
    Any upcoming updates to work with new BP 1.0 RC1?

    Cio,

    Walter

  33. askband Says:

    It’s most wanted plugin i’ve ever think. It worked like a charm.

  34. askband Says:

    Hiya,

    crash on another site using wpmu 2.7 and bp 1.02b
    Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ‘)’ in /home/xxx/public_html/wp-content/mu-plugins/bp-invitefriends.php on line 178

  35. loran Says:

    @Givanni I upgrade my website and know I can t use your script. :( Can you tell me please the name of the functions to update within your script to make it work with RC-1 ? will you give us another release ?

    thanks
    Loran

  36. rat86 Says:

    download same version for RC-1 that you can download here(bpDev), from:
    http://rat86.netsons.org/blog/downloads/InviteFrinedsForRC-1.zip

  37. PlugIn “Invite Friends” per RC1 | BuddyPress Italy Says:

    [...] http://buddypressdev.org/plugins/invite-friends/ Articoli Correlati: Nuova versione del plug-in: InviteFriends di GiovanniCaputo (0 commento/i) [...]

  38. loran Says:

    wooow :o ) !!!!
    thank you Giovanni. I ll install it now.

    Loran

  39. rat86 Says:

    2Amanda:
    For this error:
    Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ‘)’ in /home/xxx/public_html/wp-content/mu-plugins/bp-invitefriends.php on line 178

    if you use yet Bp 1.02 you can download from
    http://rat86.netsons.org/blog/downloads/invitefriendsMod.zip

  40. Errore di sintassi PHP: unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ - Caputo’s blog - Informatica, tecnologia, programmazione, fai da te, papercraft e papertoy Says:

    [...] Friends” per Buddypress che potete scaricare dalla pagina dedicata del mio blog, oppure da buddypressDev ho ricevuto segnalazione di un errore: PHP Parse error: syntax error, unexpected T_CONST, [...]

  41. lolo Says:

    Thank you for this plugin

    Loran

  42. hally47 Says:

    Great job Giovanni. Love the plugin and really appreciate you providing everyone this much needed feature for buddypress. Hope everyone donates to support further development.

  43. Jon Says:

    What would be involved with changing this plugin to work with core WPMU (without BuddyPress)?

  44. alan Says:

    I think this doesn’t work for RC 1. It stopped working when i upgraded and i tried to install it again, downloading again the file on this page, but it retrives an error message. Is there a version for RC 1?

  45. rat86 Says:

    2Jon: You can, is easy, but you must leave my license and my name on code, please. Thanks.

    2Zafiro: from download button now you can download a version for RC1.

  46. Fernando Areias Says:

    Hello

    I have installed your plugin but i’m getting an error:

    Fatal error: Cannot use object of type stdClass as array in /home/XXXXXXXX/public_html/XXXXXXXXX/wp-content/mu-plugins/bp-invitefriends.php on line 46

    The line 46 is:
    $profile_link = $bp['loggedin_domain'] . $bp['friends']['slug'] . ‘/’;

    What I can do to solve this problem

  47. rat86 Says:

    2Fernando: now you can download a version for RC1 from dowload button of this page.

  48. walter Says:

    When I download latest version I get Version: 0.3.4a and not the mentioned Version: 0.3.9a.

    Also I don’t see any support for Facebook or Twitter. ????? Great work so far!!!!! I will support your work!

  49. rat86 Says:

    For Facebook and Twittter I am testin on ylber.org You can try..

    On next week I will release it.

  50. Matt Says:

    Giovanni,

    I have been downloading your version for RC1 and running RC1 and am still getting this error:

    Fatal error: Cannot use object of type stdClass as array in /var/www/wp-content/mu-plugins/bp-invitefriends.php on line 46

    Do you have any other fixes?

  51. Yogesh Says:

    i also received same error
    Fatal error: Cannot use object of type stdClass as array in /home/XXXXXXXX/public_html/XXXXXXXXX/wp-content/mu-plugins/bp-invitefriends.php on line 46

    i have tried using rc1 from both this page and from author’s page as well…

    let me know if anyone got this working…

  52. Eric Says:

    I so get the same error warning after installed. Looking forward to your next release. Great Giovanni!

  53. rat86 Says:

    For Eric, Yogesh and bobman024 :
    redownload it, i have uploaded wrong file. Sorry

  54. miguael Says:

    Looks great! :-)
    But on gmail I get an “error on sent mail”…

    thx, Michele

  55. rat86 Says:

    have you setted admin options?

  56. Mark Says:

    Hi

    I have a new WP Mu + Buddpress setup and the standard friendinvite gives and error however the RC1 version installs.

    So far looking good however I can’t wait for the gmail, hotmail etc.. API to be working.

    Now if only someone can build plugin to easily add/edit the top buddypress menu

    Regards
    Mark

  57. Mark Says:

    Ah, It would help if I looked at the settings options under WP Admin Settings :-)

    Thanks
    Mark

  58. landshark Says:

    I tired to download the file from wordpress.org and the zip is missing files.

    Does the lates release support facebook like it does on you test webisite?

  59. kutu Says:

    does this require I be on php5.. i run 4

    Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /hsphere/local/home/kturner/bigkill.com/wp-content/mu-plugins/bp-invitefriends/bp-invitefriends-admin.php5 on line 29

  60. rat86 Says:

    for kutu: it require php5

    for mike: retry to download. last release don’t support facebook like on ylber.org

  61. rat86 Says:

    new version available. it allow to invite also from facebook and twitter

  62. SysRenan Says:

    rat68…

    would you make more options for us on the language translation file?

    it would be nice to translate the e-mails users get, also the procedure and all that

    other than that, its a good plugin and will be better after some other bugs fixed

    congrats.

  63. SysRenan Says:

    doing a test I found this also, I created a account called “systess” and I invited “a friend” with a different e-mail than mines :) and the message he got was asking him to accept or reject, bottom line… The system is sending him a link to link but since I’m inviting him it should send a link for him to register, after registered it would get the invitation value “accept or reject”

    my point is, when sending an invitation many users wont be registered and will have know idea on what to do since all they see is the WordPress login page and they do not own an account.

    the link my “friend” got on his e-mail was:

    accept: site.com/members/admin/friends/requests/accept/1
    reject: site.com/members/admin/friends/requests/reject/1

    can you create a solution for this?
    let me know what you think

  64. John Says:

    When I first downloaded the files and placed in mu-plugins, they were placed in the directory “invite-friends-plugin” under /mu-plugins. Is this correct? I do not see any invite pages when installed like this.

    I moved the directory “bp-invitefriends” under mu-plugins and placed bp-invitefriends.php in mu-plugins. I’m guessing this is incorrect as well. I can see the admin page, but not the invite friends under my main navigation for friends.

    I do have a customized theme, but I was able to see the an earlier version with no problems.

    Does anybody have thoughts?

    Thanks in advance!

  65. Dave Says:

    I have using a trunk of WPMU 2.7.1 and invite friends 5.6a I believe and I cant get anything to show up under Site Admin. I have uploaded the whole folder invite-friends-plugins under the mu-plugins folder. I tried just uploading the bp-invitefriends folder and bp-invitefriends.php to the mu-plugins folder and I get a white screen until I remove them. White screens usually mean fatal error are you not compatible with the latest trunk version. Thanks for all your help.

  66. Atle Says:

    John, I had the samt problem as you do, and it seems like the plugin is only working on Buddypress RC1. At least I had the plugin back in my menu when putting RC1 back into my buddypress-installation.

    Anyway, I can’t get the plugin to work. There’s nothing but errors all the way in it.

  67. pr Says:

    plugin is not working with new buddypress changes based on UPGRADE INSTRUCTIONS: http://buddypress.org/forums/topic.php?id=1994

    I try to move this plugin to /plugin/buddypress/ and I don’t get an option to activate plugin.

    If I leave this plugin under /plugin/ folder I get error because it requires “bp-core”

  68. rat86 Says:

    If you use BuddyPress RC1 download 0.6.1 verion(install on mu-plugin folder), else for RC2 download 0.7.1(installa on plugin folder).

  69. stefo Says:

    Hi Guys

    Ho do you setup the facebook application section..totally confused?

  70. pcorn54 Says:

    I am having the same problem as #67.

    I have installed it in the mu-plugins directory, wp-content/plugins, either without success or where it is throwing many errors and wrecking the site.

    So what goes into the mu-plugins directory? The entire package (invitefriends-plugin) or do we open the package and upload bp-invitefriends?

    And if the latter, where does the bp-invitefriends.php go?

    When I leave it within the package, nothing show. When I put it outside the directory in mu-plugnis, it wrecks the site.

    Any suggestions? I am using RC-1 and invite6.1 for compatibility

  71. G Says:

    I’ve got an error in the invite friends settings page.

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 57 bytes) in /homepages/17/d230250667/htdocs/climbr/wp-content/plugins/buddypress/bp-invitefriends/lib/Gmail/library/Zend/Gdata/App/FeedEntryParent.php on line 257

    Any idea why ?

  72. 1mediaprod Says:

    Hi

    I’m trying to install invite friends on y buddypress latest version. I’ve got this error in the setting page :

    Zend Installation Checker

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 40 bytes) in /homepages/17/d230250667/htdocs/climbr/wp-content/plugins/buddypress/bp-invitefriends/lib/Gmail/library/Zend/Gdata/App/Base.php on line 407

    Any idea why ?

  73. rat86 Says:

    #67 and #70:
    If you use 0.6.1 version for RC1

    * Unzip files in /wp-content/mu-plugins.

    If you use 0.7.1 version for RC2

    * Unzip files in /wp-content/plugins/buddypress/.

    #71 and #72
    can you ask to your hosting?
    i think is a problem of apache.

    give me a feedback.

  74. Piovrolo Says:

    mmmm i had an error on the frontend website (http://buddypress.akylas.com/members/admin/friends/InviteFriends):

    Warning: include_once(bp-friends/bp-friends-classes.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxxxxxxxxx/public_html/buddypress/wp-content/plugins/invitefriends-plug-in/bp-invitefriends.php on line 515

    at line 515 i have

    include_once( ‘bp-friends/bp-friends-classes.php’ );

    but i don’t find this file bp-friends-classes.php ….where is it?

  75. Brian Katz Says:

    Hi All,

    If you are using RC-2 and 0.7.1 BP-Invite:

    install all unzipped files found into
    /wp-content/plugins/buddypress

    This seems to be the onl sub-dir that seems to work for me.

    Thanks,
    Brian Katz
    mekudos.com

  76. alunsina Says:

    hi!

    i’m using 0.7.1/rc2. i uploaded the plugin for both mu-plugin and plugin but it doesnt show on settings page. what can i do to fix it? thanks!

  77. daniel felice Says:

    I am having the same issue. I am using 2.7.1 and RC2 and can activate the plugin but cannot see it in any of the menus.

  78. nirok Says:

    I’m getting this error, it’s got to be a permisson issue could you tell me what the permission settings need to be on what folders to fix this ?

    Warning: fopen(/home/spoodle/public_html/3/wp-content/plugins/buddypress/bp-invitefriends/lib/msnAPI/DelAuth-Sample1.xml) [function.fopen]: failed to open stream: Permission denied in /home/spoodle/public_html/3/wp-content/plugins/buddypress/bp-invitefriends/bp-invitefriends-admin.php5 on line 476

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/spoodle/public_html/3/wp-content/plugins/buddypress/bp-invitefriends/bp-invitefriends-admin.php5 on line 477

    Warning: fclose(): supplied argument is not a valid stream resource in /home/spoodle/public_html/3/wp-content/plugins/buddypress/bp-invitefriends/bp-invitefriends-admin.php5 on line 478

    Thanks

  79. rat86 Says:

    have you uploaded on right direcoty, follow instruction on readme file.

    use 755 permission, on plugin folder and subfolder.

  80. Jeremy Says:

    I love the idea of this plugin, but have never been able to get it to work properly.

    I can, in fact, get it to work, but not without odd errors and other side-effects.

    For instance, if I activate the plugin, the drop-down javascript arrows in my wp admin dashboards no longer work (the ones you click to expand the left-column admin menus like Users and Plugins).

    Also, I get those crazy warnings nirok mentioned, and yes, the files are in the right place (as are his, as you can see from the resource paths the errors are giving).

  81. rat86 Says:

    Jeremy contact me from email. What version of bp and what version of plug in do you use?

    thanks

  82. daniel felice Says:

    I have the same issue as jeremy!

  83. John Says:

    I really like the idea as this is a necessary plugin for Buddypress. But when I installed it, for some reason, it wiped out my entire admin cp. I am trying to uninstall it now and see if that fixes things. I had tried installing the plugin through the new search feature in the backend of Mu 2.7.1

  84. John Says:

    Didn’t work. So, I am reinstalling MU 2.7.1 and hoping that fixes things.

  85. John Says:

    Ok, my entire admin cp is gone. There is nothing there when I try to go to the dashboard. I have NO idea what happened.

  86. John Says:

    Ok, I just did fresh install – used my old sql data – and it seemed to fix things. Must have been a theme or a plugin – and since this was the last one I attempted to install, I thought maybe this was the problem.

  87. Philip John Says:

    I’ve just tried to install this on using WPMU 2.7.1 and BP 1.0 without luck.

    I uploaded the files to /wp-content/plugins/buddypress but there is not Settings>Invite Friends page.

    Have I gone wrong?

  88. rat86 Says:

    for WPMU 2.7.1 and BP 1.0 you must use trunk version. (Development Version from http://downloads.wordpress.org/plugin/invitefriends-plug-in.zip).
    For install it follow read me file on this version.

  89. Philip John Says:

    Thanks, that seems to be working really well!

  90. Atle Says:

    Where can I find the trunk to use with BP 1 ? :)

  91. rat86 Says:

    2Atle: comment #88.

  92. Atle Says:

    @rat86: Thanks. I tought it was only the readme-file in that zip I should use, and download the trunk from another place. The bad part is that I can’t get the plugin to work, and it gives me an error like the one in comment 71. I guess I’ll just wait for a stable versjon to work with BP 1.0. :)

  93. rat86 Says:

    Atle what is the error?

Leave a Reply