Invite Anyone

invite-anyone

Invite Anyone makes BuddyPress’s invitations features more powerful. The plugin has two components:

  1. The ability to invite members to the site by email. The plugin creates a tab on each member’s Profile page called “Send Invites”, which contains a form where users can invite outsiders to join the site. There is a field for a custom message. Also, inviters can optionally select any number of their groups, and when the invitee accepts the invitation he or she automatically receive invitations to join those groups.

    The email invitation part of the plugin is customizable by the BP administrator, via Dashboard > BuddyPress > Invite Anyone.

  2. By default, BuddyPress only allows group admins to invite their friends to groups. In some communities, you might want members to be able to invite non-friends to groups as well. This plugin allows you to do so, by populating the invitation checklist with the entire membership of the site, rather than just a friend list.

    Because member lists can get very long and hard to navigate, this plugin adds a autosuggest search box to the Send Invites screen – the same one that appears on the Compose Message screen – which allows inviters to navigate directly to the members they want to invite.

Some users have reported problems when the plugin is activated sitewide. If you are getting PHP errors on subdomain blogs when the plugin is activated across your WP installation, consider activating it only on the BuddyPress blog.

Download the plugin here.

Invite Anyone has been downloaded 63,849 times. Are you using this plugin? Consider a donation.

Read an old comment thread related to this plugin here.

Translation credits

  • Dutch – Jesper Popma
  • Italian – Luca Camellini
  • French – Guillaume Coulon
  • Russian – Jettochkin

Version history

0.6.5 – July 10, 2010
Workaround for “headers already sent” issue on group invites
Fixed a number of variable type problems with email invitation pages
0.6.4 – July 7, 2010
Fixed bug that kept item group invitations from being sent
Fixed bug that prevented Send Invites profile tab from being hidden when access control was set to Administrator
0.6.3 – May 12, 2010
Fixed bug that showed non-activated users in group invitation list on some instances of single WP
Fixed bug that limited number of displayed groups on invite by email screen
Cleaned up the appearance of the group list on the invite by email screen
Fixed bug that may have cause foreach problem in email invitation
0.6.2 – May 8, 2010
Fixed bug that kept group invitation member ddst from being populated on some non-MU setups
Fixed bug that kept non-admins from seeing Send Invites group tab
Fixed bug that prevented JS and CSS from loading on invitation step in group creation
Fixed bug that caused email fields not to load properly in IE – thanks, techguy!
Added do_action hooks for other plugins (eg Cubepoints) to access
Added filter on acceptance URL and action hook before accept invitation screen for plugins to access
0.6.1 – April 27, 2010
Added checks to allow email invitations to work when groups component is disabled
Fixed l18n bugs in error messages
French translation added – thanks, Guillaume!
Russian translation added – thanks, Jettochkin!
Updated translations

0.6 – April 23, 2010
Plugin now includes a widget for email invitation from any page
Sent Invites sortable by email address, date invited, date
Invites can be cleared from Sent Invites list: individually, all accepted, all invitations
Created admin controls over who group admins/mods/members can invite to groups
Admins can now allow customization of invitation’s main message but still have control over a non-editable footer
CSS issues fixed

0.5.2 – April 12, 2010
Added Italian translation (thanks, Luca!)
Removed “Want to invite…” prompt from Send Invites screen during group creation
Attempted a fix for certain in_array errors in css/js loader file

0.5.1 – April 9, 2010
Fixed bug with subject/message content when email is returned as an error
Fixed error with email error messages when no groups were selected
Changed width of textareas on Invite New Members tab

0.5 – April 9, 2010
Enabled Opt Out option for invitees
Subject line is now customizable by the admin
Admin can toggle whether users can customize subject line and message body of invitation emails
Some localization bugs fixed
Filtered spammers from group invitation list
Fixed bug that may have caused problems with some MU limited email domain lists
Email Address field is now auto-populated on Accept Invitation screen
Created admin toggle for group invites attached to email screen
Added hook for additional fields on Invite New Members screen (as well as a hook for processing the additional data)

0.4.1 – April 5, 2010
Fixed problem with email validation causing fatal errors on single WP
Fixed bug that allows members to see Send Invites tab on profiles other than their own

0.4 – April 5, 2010
New feature: Invite by email from the new Send Invites profile tab
Links from group invite pages to profile Send Invites tab
Removed “Send Invites” button during group creation on BP 1.2+
Created admin panel for managing plugin settings

0.3.5 – March 30, 2010
Corrected localization function (d’oh)
Added Dutch translation – thanks, Jesper!

0.3.4 – March 29, 2010
Added POT file and localization function

0.3.3 – March 16, 2010
Fixed bug that kept non-active users from appearing in member list

0.3.2 – March 2, 2010
Made it possible to use the plugin with friends component turned off (thanks for the idea, Tim!)
Turned off Site Wide Only to remove PHP errors on some subdomain blogs (thanks for the feedback, Mark!)

0.3.1 – March 1, 2010
When creating a group and not inviting anyone, success message now reads “Group successfully created” rather than “Invites sent” (thanks for the idea, Ray!)

0.3 – February 27, 2010
Compatibility with BP 1.2 bp-default; file rearrangement to ensure proper loading with BP 1.2+

0.2
Compatibility with BP 1.2 bp-classic theme (bp-default forthcoming); bugfixes regarding file locations

0.1
Initial release

220 thoughts on “Invite Anyone

  1. stefano

    I’ve tried to install it from the dashboard, after copying the file from ftp, but I obtain the same result:
    site blocked and inaccessible – dashboard inaccessible.
    only way to solve the problem: delete the folder from ftp.
    Where can I try to find the solution?
    thank you
    (wp 3.3.1 – bp 1.5.5)

    Reply
  2. Rich

    Hi Boone,

    I really like the potential for you plugin on my site, but I’m having issues sending invites. Whenever try to send an invite its not sending to the person I’m inviting. I checked my spam and hosting provider to make sure that wasn’t the cause of the issue. Is there something that I need to do to fix this. I really like this plugin and would love to start using it. Please let me know.

    Thanks.

    Reply
  3. Franklin

    Hi, I am also having issues with not getting emails sent with the IA. All other mail functions are working and do send emails. I am not sure what could be happening here. The site I am attempting to do it for is not live to the public. I have it as a subdomain for now. I am testing out buddypress and will be migrating from Jomsocial. any thoughts why emails invites are not going out?

    Reply
  4. Michael

    Maybe it’s just me or something I’ve done, but thought I should let you know in case not.

    WP: 3.3.2; Invite Anyone 1.0.12

    No html is working / showing in the ‘body’ section of the emails being sent out. Works fine though if I transfer the same text to the ‘footer’.

    Kinda weird. Fairly sure I’m using a totally ‘clean’ version of Invite Anyone … hmmm, OK, except for deleting the ===s :-)

    Reply
  5. HansRuedi Keller

    Hello Boone
    Tried to activate v1.0.12 with WP 3.3.2 and BP 1.5.5 – and got «Fatal error: Call to a member function get() on a non-object in …/public_html/…/wp-includes/query.php on line 27». Hhmmm…

    Reply
  6. BJ Kitchin

    Hi Boone, thank you immensely for your work. This plugin is great. I have a question, I am getting the following error:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘mysite_dependencies’ not found or invalid function name in /home/healthyr/public_html/wp-includes/plugin.php on line 405

    Otherwise it seems to be working great. The invite is sent and received and the the links back are correct. I wanted to let you know about this error incase its a bug. If you have time to comment about how I might fix it, I would be humbly appreciative.

    Warm regards,

    BJ

    Reply
    1. Boone Gorges Post author

      Hi BJ. The function that is causing your error (mysite_dependencies) does not appear in Invite Anyone. Search your codebase, using a tool like Grep, to see if you can locate the plugin that’s throwing your error.

      Reply
  7. vicky

    Hi BG,

    Congrats for the awesome plugin i must say.

    Had a small query. Where can i edit the Email Invite & Custom Invite Message ‘ Text Box’ Height. First one is too large while the latter is a bit small. Tried fiddling with css, but couldnt get hold of right function. Will appreciate your help on this.

    Thanks

    Reply
  8. liz

    Dear Boone,

    I really like the idea of the plugin. However I have installed and activated it, then added the widget to a sidebar. I have sent two invitations but they never arrived at the recipient addresses ( I have checked they were correct). I am using the Mingle theme on this site. How can I check this out?

    Also if I invite someone does this mean that for them to respond I must allow registration, currently users need to log in to my site and I would like to keep it that way because it is a small group of friends and not appropriiate to open it up except to a few additional invited friends. In a perfect world I’d like to invite someone and when they arrive they are asked to create their profile, they should be members only. Is this possible?

    Thank you…………….. liz

    Reply
  9. poorvi

    After installing the plugin “Invite Anyone” there is a conflict with inviting people to join Groups. Basically, the group invites don’t go out unless the “invite anyone” plugin is deactivated. I need to be able to send group invites with the “invite anyone” plugin installed.

    how can we solve this problem

    Reply
  10. Chris

    Love the plugin. Having a small issue. My avatar is set to 25px by 63px. In Internet Explorer only, my avatars are showing up as 40px by 107px. Have you ran across this? Do you have any advice?

    Chris.

    Reply
      1. Quaid

        Is Invite Anyone linked with cubepoints? I cannot see any link of Invite Anyone under cubepoint menu and vis-a-versa.

  11. Talley Mulligan

    IA looks great and I would love to use it, but I can’t seem to get it to work for emailed invitations (to non blog members) whether I define the slug in wp-config.php or not. They weren’t defined by default, but I actually added the code as outlined in http://wpmu.org/daily-tip-customize-the-url-slugs-of-buddypress-components/ just to see if it would reveal anything new.

    I also tried looking for the code that generates the %%ACCEPTURL%%, but no luck I’m afraid. No matter what I do, the plug-in continues to generate links to pages that don’t exist that result in Page Not Found errors.

    What do I need to do to get it working?

    Any suggestions would be greatly appreciated.

    Reply
  12. SolitaryDread

    Oops, what just happened?

    Last night I upgraded to the latest version of your plugin and somehow it has broken the ability to post to the blog. Everything worked fine before the upgrade, though now when I go to view all posts or add a new post all I get is a blank screen, no error message. If I deactivate ‘invite anyone’ everything works as normal!

    Please help as ‘invite anyone’ is a fundamental aspect of my site… the general blog is open to everybody, though the community is accessible by members only, and new memberships are only available through invitation by an existing member…

    Reply
      1. SolitaryDread

        The only plugin I updated yesterday was invite anyone, and I’ve never had this problem before.. tried rolling back to 1.0.16 but again, as soon as I activate the plugin, the same error occurs.

        I have checked the error log, though it doesn’t display anything after 25/10/12, and this error occurred yesterday, and today, though only when invite anyone is active. The error pertained to a plugin that has since been deleted.

        I have no idea what’s happening, though must admit that I’m a bit of a wp noob… managed to build this site mainly through trial and error! In fact, till you mentioned it, I didn’t even know that there was an error log!

        Any ideas as to how to fix this would be greatly appreciated!

      2. SolitaryDread

        Further tinkering has led me to believe that it is a conflict with the Jetpack Plugin.

        With Jetpack deactivated and invite-anyone active, no problem.
        With Jetpack active and invite anyone deactivated, no problem,
        with Jetpack and invite-anyone both active, my ability to view, add, or edit posts dies!

        Also, when I look at Buddypress Invites I get

        Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /home/xxxxxxx/public_html/wp-admin/menu-header.php on line 98

        Even with all other plugins deactivated, I get the error when invite anyone and jetpack are both active.

        This is very strange, as they were both working well together until last night! Jetpack updated a few days ago, though there were no problems until yesterdays update to 1.0.17… ???

      3. Boone Gorges

        Looks like this is a memory issue – in your case, either Jetpack or Invite Anyone the straws that are breaking the camel’s back, the plugins that push you just over your memory limit.

        You might want to follow some of the advice at http://codex.buddypress.org/troubleshooting/blank-pages/. If none of that works, look through your plugins to find ones that you are no longer using, and make sure that they are deactivated (every little plugin adds a bit to your memory overhead).

  13. bjkitchin

    I had a similar problem with Jetpack. I also run Invite Anyone too and up graded. My hosting company upgraded PHP at the same time I was upgrading a plugin which made me think it was me… it was them. My problem was also with posts and more specifically the comments from addin from JP.

    Here is what I did and it fixed it =

    fix: replace
    =& new
    with
    = new

    But before you go doing that, I recommend see the article I got it from,

    http://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-php-deprecated?replies=3

    My only testimony is it worked for me!

    Reply
    1. SolitaryDread

      thanks, but I have no idea what to do with that! I checked the link, and my error logs and PHP Depreciated doesn’t appear anywhere… I don’t know that this would help even if I did know where to put it!

      Reply
  14. Adjunkten

    Hello Boone, thankyou for a nice plugin, which I use in a non-profit educational website for teachers. http://www.itigymnasiet.dk

    My invitation links are surrounded by strange quotationmarks – they are not broken, but you have to copy-paste the link in a new browserwindow, to follow them.

    Can you help me fix this?

    WP 3.5, BP

    Kind regards

    Reply
  15. alexis

    hello Boone,
    thank you for your plugin Invite Anyone. i am having difficulty changing the default invitation text. i have tried changing it inside the plugin settings. and i have tried changing it in the BP invitations text panel. both to no avail. the default message just keeps getting sent. any idea what could be preventing the changes from taking place.

    this is the content i want and set up in the settings page:

    An invitation to join ….

    You have been invited to join our community.
    To accept this invitation, please visit %%ACCEPTURL%%

    To opt out of future invitations to this site, please visit %%OPTOUTURL%%

    running latest versions of both wordpress and buddypress. please help.

    best,
    alexis

    Reply
  16. alexis

    further clarification of my previous question/issue. the default email settings seem to be only for the “invite anyone” that is not a member. whereas i am using the feature to invite members to join groups. how do i change the message in that email. i am not interested in linking it to a specific person as in “One of your friends … has invited you to the group: ….”

    thank you Boone for any guidance you can give.

    best,
    alexis

    Reply
  17. Pingback: Cómo construir una red social como las de NING pero sin gastar un céntimo : El ojo crítico

  18. rubis

    Hello I have the last update (Version 1.0.21) and still have a problem with the page accept and refuse futur invitation.

    “…You have been invited to join our community.
    To accept this invitation, please visit %%ACCEPTURL%%

    To opt out of future invitations to this site, please visit %%OPTOUTURL%%…”

    What should i do to resolve it ?
    Thank you

    Reply
  19. Biswadip Dasgupta

    Thanks for the plugin. Unfortunately it seems to bring up our login page at the bottom of the window when an invite is sent the first time (after a couple of attempts it seems to work fine). Is this happening because we have a custom login page and is there anything we can do to make it work better? Thanks for your help

    Reply
  20. michael

    Group created successfully won’t translate. i have translated the string in the po.file, but it dosen’t work

    Reply

Leave a Reply