Skip to:
Content
Pages
Categories
Search
Top
Bottom

Invite Anyone

  • @boonebgorges

    Keymaster

    I just posted a first version of a plugin called Invite Anyone, which alters the Send Invites group screen to allow group admins to invite anyone from the BP installation, instead of limiting the list to friends only. To make what could be a huge member list easier to navigate, I ported the autosuggest code from the Compose Message screen over to this page, so you can start typing the name of the member you want to invite, and it’ll be suggested automatically for you.

    Read more about it and download it here http://dev.commons.gc.cuny.edu/2009/12/18/new-buddypress-plugin-invite-anyone/. I’ll put it in the plugin repo once I get access to the directory.

Viewing 19 replies - 1 through 19 (of 19 total)
  • @bowromir

    Participant

    Great work! Just what I needed and I like the AJAX auto suggest feature very much!

    @porscheheritage

    Participant

    Just splendid!

    I needed this!

    @boonebgorges

    Keymaster

    Thanks!

    Bowe – After I got the AJAX figured out I realized that I should probably separate it out and offer it as a separate plugin. Either that or in a future version of this plugin I’ll allow site admins to turn off the “invite anyone” feature but keep the autosuggest.

    @mariusooms

    Participant

    Ah…so awesome…got many requests for this! It should be core, it does not make sense to invite only friends. Great initiative.

    @boonebgorges

    Keymaster

    Update: it’s in the wp.org repo: https://wordpress.org/extend/plugins/invite-anyone/

    @gsmith6673

    Participant

    Boone, I downloaded and got this error when trying to activate:

    Warning: require(/home/garysmit/public_html/wp-content/plugins/bp-invite-anyone/invite-anyone/invite-anyone-cssjs.php) [function.require]: failed to open stream: No such file or directory in /home/garysmit/public_html/wp-content/plugins/invite-anyone/invite-anyone.php on line 322

    Ideas?

    @boonebgorges

    Keymaster

    gsmith6673 – What are the contents of the bp-invite-anyone directory? You should have a readme.txt, the plugin file invite-anyone.php, and a directory invite-anyone, which contains one php file (the one that your error reports as missing), three .js files, and a gif file. Do you see something similar?

    @gsmith6673

    Participant

    This path: /public_html/wp-content/plugins/invite-anyone/

    Contains this:

    Folder:invite-anyone

    invite-anyone.php

    readme.txt

    _____________________________________________________________

    then here is the content of the “Folder: invite-anyone” (from above)

    invite-bullet.gif

    invite-anyone-cssjs.php

    invite-anyone-js.js

    jquery.autocomplete.js

    jquery/autocompletefb.js

    I am running the latest BP and WPMU. I used the typical install through the WPMU admin. I also tried loading manually, both got error?

    Thank you for the assist…

    @boonebgorges

    Keymaster

    Shoot, I think I see the problem. The path of the file that the plugin is trying to require is coded incorrectly, due to the fact that when I requested a place in the plugin repo, I asked for the wrong slug. On line 322 of invite-anyone.php, it should say

    require ( WP_PLUGIN_DIR . '/invite-anyone/invite-anyone/invite-anyone-cssjs.php' );

    instead of

    require ( WP_PLUGIN_DIR . '/bp-invite-anyone/invite-anyone/invite-anyone-cssjs.php' );

    Note that the “bp-” has been cut off.

    You can change this yourself, or download it from the repo again – I’ve changed it in the trunk.

    @gsmith6673

    Participant

    That did it! works now.

    To report one more small item? I am getting this layout error. Are you?

    http://erhom.com/files/2009/12/invite.JPG

    gs

    @boonebgorges

    Keymaster

    Glad it works!

    I styled the nav item to match the bp-default (pre 1.2) style, which aligns those items to the right. You might have to add the new CSS selector (I think it’s #bp-nav-invite-anyone, but I can’t remember exacly and I’m not in front of my computer right now) to your custom stylesheet.

    Btw I wouldve given it the same css selectors as the default send invites link, but I used the Group Extension API, which creates selectors automatically and as far as I know does not allow you to override.

    @gsmith6673

    Participant

    Ok…

    thxs

    nice job, by the way…

    @roydeanjr

    Participant

    What would it take to incorporate the bp-invitefriends option of manually entered email addresses?

    I would also like to type a customized message rather than a centrally managed message. Is that in the feature list?

    @boonebgorges

    Keymaster

    Hi roydeanjr. Including such functionality is definitely on my list of things to do. As far as I know, the bp-invitefriends plugin you mention (which was part of Nicola Greco’s BPDEV) does not work with current versions of BP, so it would take a bit of work to get it running even on its own, much less as a seamless part of my plugin. But I’m glad you made me remember his work, as I’ll definitely use it as a starting point when I add the ability to invite non-members to my own plugin.

    @roydeanjr

    Participant

    Hey, Boone, Thank you, I look forward to your additions.

    And, actually, the plugin I am referring to is from Giovanni Caputo, which I suppose he could have gotten from BPDEV, but I am not sure. I did get the go ahead from Giovanni to modify his plugin, but I don’t have the expertise to make the change I made stick or be used by BP.

    @gpo1

    Participant

    Can this plugin do adapted to invite friends from different social networks like FB etc

    @gpo1

    Participant

    Any update on my comment ?

    ‘Can this plugin do adapted to invite friends from different social networks like FB etc’

    @boonebgorges

    Keymaster

    Hi Gpo1 – The plugin can’t do this right now. The next thing I’m going to add to the plugin is the ability to invite individual members to your BuddyPress community via email address (as this is the thing that’s most needed for my particular project). After that I might look into doing some sort of FB connect.

    @pollyplummer

    Member

    I was testing this with 1.2 and the page kind of gets stuck when making a selection of friends to invite. I am wondering if it’s a problem with my installation or if the plugin is yet to be updated for 1.2. Either way it’s fine, I was just testing.

Viewing 19 replies - 1 through 19 (of 19 total)
  • The topic ‘Invite Anyone’ is closed to new replies.
Skip to toolbar