Skip to:
Content
Pages
Categories
Search
Top
Bottom

Invite Anyone – invite by email too – please help test


  • Boone Gorges
    Keymaster

    @boonebgorges

    Hi everyone. I have updated my Invite Anyone plugin to allow invitation by email address. It seems pretty solid, but I would really like to have some other people test it before I make it the stable version.

    If you have a non-production site and you wouldn’t mind testing it out, please download the development trunk version at http://wordpress.org/extend/plugins/invite-anyone/download/. If you’re already running a version of Invite Anyone on your site, please make sure to deactivate it before downloading and activating this one. (Note too that you must deactivate and reactivate – if you just replace the files, the necessary db table won’t be created.)

    A brief rundown of the new functionality:

    – A new subnav item has been added to profile pages, called Send Invites

    – Under that item are two pages. The first, Invite New Members, allows you to enter up to five email addresses, a custom message, and select some of the groups you’re a member of.

    – The second page is Sent Invites, a list of invitations you’ve already sent.

    – When you send the invitation, an email goes to the invitee(s) with the custom message and a link to [your bp install]/register/accept-invitation/[email-address]

    – When the user clicks that link, he or she should see the normal register page, with a message above that says “You’ve been invited by [the name(s) of the user(s) who sent invitations]…”

    – When the user activates the new account, he or she will receive invitations to all invited groups, as well as friendship requests from all members who sent invitations.

    – There is also a new (and ugly!) link on the Group Send Invites page, which takes you to the Send Invites profile page and pre-selects the group you just came from.

    – There’s a pretty fair amount of email validation that happens. Try punching in some bad emails (banned on your WPMU install, poorly formed, etc) and see what happens. I should note that right now I’m using WPMU’s native email validation – I haven’t even tried loading it on a single-blog install of WP. I did use if ( function_exists ) so nothing should crash, but it’ll probably allow any old email on single WP.

    Phew – I think that’s it.

    In the future, things like number of allowed email addresses, the default message, etc will be under the control of the site admin. I’m also going to write some Javascript that does inline validation of form data. But for now I think the key functionality is in place.

    Please hammer away at it and leave any bugs/suggestions here.

Viewing 25 replies - 76 through 100 (of 174 total)

  • Boone Gorges
    Keymaster

    @boonebgorges

    Great bug catches. I’ve fixed them. hnla, I think your weird subject bug is the same as techguy’s. 0.5.1 will show up on your Dashboard soon. Sorry for the annoying upgrades :)


    Hugo Ashmore
    Keymaster

    @hnla

    Just glad it wasn’t major issue, I didn’t think it was similar to techguys as he mentioned a blank page, my test suggested that the opted out address was correctly caught, but had that odd confusion with placing textarea data.

    I’ll look out for 0.5.1 and give that a quick run on the conditions mentioned above.


    techguy
    Participant

    @crashutah

    Looks like the bugs are fixed. Although, now the subject line isn’t processing the wild card character. It says, “An invitation to join the %%SITENAME%% community.”

    Looks like you removed this line from the invite_anyone_wildcard_replace() function:

    $text = str_replace( ‘%%SITENAME%%’, $site_name, $text );


    Hugo Ashmore
    Keymaster

    @hnla

    I can confirm the %%SITENAME%% issue

    Almost missed that ‘Allow user to send group invites’ :)


    Boone Gorges
    Keymaster

    @boonebgorges

    Ha, I did something stupid. I took %%SITENAME%% out of there, as it doesn’t make much sense – it’s not really a wildcard, since it’ll be the same for every member of the site – but I forgot that the filter should still be there for people who have already saved their default messages using the wildcard. I put it back into 0.5.1, but my suggestion is just to write the name of your site manually into the default text box :)


    techguy
    Participant

    @crashutah

    Actually, it’s better for you to use the wildcard %%SITENAME%%, because then if/when someone changes the name of their site it will automatically update your plugin. Otherwise, they’ll realize later that they needed to change it multiple places.


    kriskl
    Participant

    @kriskl

    hI!

    Invite users to group is nice idea, but I am struggling with one thing.

    How do I add users – so they are members of the group in bulk?

    I have over 200 people to add for 15 groups…

    it would be nice to have ‘upload csv or copy and paste names

    is there anyway I can do this?

    kind regards

    Kris


    kriskl
    Participant

    @kriskl

    hI!

    Invite users to group is nice idea, but I am struggling with one thing.

    How do I add users – so they are members of the group in bulk?

    I have over 200 people to add for 15 groups…

    it would be nice to have ‘upload csv or copy and paste names

    is there anyway I can do this?

    kind regards

    Kris


    Hugo Ashmore
    Keymaster

    @hnla

    Assuming you are saying these are not existing members:

    It’s not the function of the plugin to add members but originally the plugin solved the issue of only being able to invite people that were already on your friends list by allowing access to all members rather than just ones own friends, later it was extended by Boone Gorges (quite brilliantly I might add :) ) to include the ability to send email invites to non members.

    If indeed you need to add new members in bulk or just force add users en mass to groups it might be better to start a new thread and ask the question, someones bound to have an idea but your post might get lost in this thread?


    Hugo Ashmore
    Keymaster

    @hnla

    Assuming you are saying these are not existing members:

    It’s not the function of the plugin to add members but originally the plugin solved the issue of only being able to invite people that were already on your friends list by allowing access to all members rather than just ones own friends, later it was extended by Boone Gorges (quite brilliantly I might add :) ) to include the ability to send email invites to non members.

    If indeed you need to add new members in bulk or just force add users en mass to groups it might be better to start a new thread and ask the question, someones bound to have an idea but your post might get lost in this thread?


    abcde666
    Participant

    @erich73

    Hey Boone,

    I am just testing your Plugin “invite anyone by e-mail” at my website.

    I discovered an issue in terms of logic, which I think will confuse my users.

    1)

    I am creating a new Group.

    2)

    the very last step at the Group-creation-process is “Send Invites” (at my website at least).

    3)

    then at this Tab “Send Invites”, the user clicks on the link “Send invitations by e-mail”.

    by clicking onto this link, he is being forwarded to the screen with the 5 fields to enter the e-mails of people.

    4)

    But the trouble is: how is the user getting back to the previous screen which lets him click the button “Finish” in order for him to finish creating his Group ?

    Of course I can hit the “back”-button of the browser, but this is not the elegant way.

    Do you have any idea of how to improve this ? So that the user is not being forwarded to a new Screen when he clicks the link “Send invitations by e-mail”.

    There is another issue:

    I created a new Group (myself being logged-in as Admin) and invited a friend by entering his e-mail into one of the 5 fields.

    But the friend did not receive the invitation to the group. Am I doing something wrong ?

    Many thanks !


    abcde666
    Participant

    @erich73

    Hey Boone,

    I am just testing your Plugin “invite anyone by e-mail” at my website.

    I discovered an issue in terms of logic, which I think will confuse my users.

    1)

    I am creating a new Group.

    2)

    the very last step at the Group-creation-process is “Send Invites” (at my website at least).

    3)

    then at this Tab “Send Invites”, the user clicks on the link “Send invitations by e-mail”.

    by clicking onto this link, he is being forwarded to the screen with the 5 fields to enter the e-mails of people.

    4)

    But the trouble is: how is the user getting back to the previous screen which lets him click the button “Finish” in order for him to finish creating his Group ?

    Of course I can hit the “back”-button of the browser, but this is not the elegant way.

    Do you have any idea of how to improve this ? So that the user is not being forwarded to a new Screen when he clicks the link “Send invitations by e-mail”.

    There is another issue:

    I created a new Group (myself being logged-in as Admin) and invited a friend by entering his e-mail into one of the 5 fields.

    But the friend did not receive the invitation to the group. Am I doing something wrong ?

    Many thanks !


    kriskl
    Participant

    @kriskl

    @hnla

    sorry, i did not say it quite well,

    these are already the members of the site..

    but not members on any group.. we had a clean install and I have a a list of user names who belonged where..


    kriskl
    Participant

    @kriskl

    @hnla

    sorry, i did not say it quite well,

    these are already the members of the site..

    but not members on any group.. we had a clean install and I have a a list of user names who belonged where..


    roydeanjr
    Participant

    @roydeanjr

    I am getting this:

    Warning: in_array() expects parameter 2 to be array, null given in M:\webs\the604adventure.org\wp-content\plugins\invite-anyone\invite-anyone\invite-anyone-cssjs.php on line 8

    Warning: in_array() expects parameter 2 to be array, null given in M:\webs\the604adventure.org\wp-content\plugins\invite-anyone\invite-anyone\invite-anyone-cssjs.php on line 46

    on multiple pages throughout my site. I have updated, no change. This plugin is activated site-wide.


    roydeanjr
    Participant

    @roydeanjr

    I am getting this:

    Warning: in_array() expects parameter 2 to be array, null given in M:\webs\the604adventure.org\wp-content\plugins\invite-anyone\invite-anyone\invite-anyone-cssjs.php on line 8

    Warning: in_array() expects parameter 2 to be array, null given in M:\webs\the604adventure.org\wp-content\plugins\invite-anyone\invite-anyone\invite-anyone-cssjs.php on line 46

    on multiple pages throughout my site. I have updated, no change. This plugin is activated site-wide.


    roydeanjr
    Participant

    @roydeanjr

    Hmm . . . perhaps I should not have posted . . . it appears that the plugin is no longer generating the error for me. Sorry about that!


    roydeanjr
    Participant

    @roydeanjr

    Hmm . . . perhaps I should not have posted . . . it appears that the plugin is no longer generating the error for me. Sorry about that!


    roydeanjr
    Participant

    @roydeanjr

    It actually seems like the Invite-Anyone plugin is able to accommodate almost any type of invitation possibility. Good work. I have always thought that if we are going to woo people away from fb then we will have to have a way to invite and manage invites within buddypress.

    Thank you for this plugin.


    roydeanjr
    Participant

    @roydeanjr

    It actually seems like the Invite-Anyone plugin is able to accommodate almost any type of invitation possibility. Good work. I have always thought that if we are going to woo people away from fb then we will have to have a way to invite and manage invites within buddypress.

    Thank you for this plugin.


    Boone Gorges
    Keymaster

    @boonebgorges

    @kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.

    @roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments :)


    Boone Gorges
    Keymaster

    @boonebgorges

    @kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.

    @roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments :)


    Hugo Ashmore
    Keymaster

    @hnla

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen.

    fwiw that would have been my call as well, there’s enough to do creating the group, let the creator have a breather and come back to the newly created group to decide who to invite send mail to.

    Apropos the ‘in_array() expects parameter’ I too have this occurring on one of my local test installs but not another and can’t really see what is different between the two but it’s not happened live, it feels like a loading order issue but haven’t had time to investigate the cause


    Hugo Ashmore
    Keymaster

    @hnla

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen.

    fwiw that would have been my call as well, there’s enough to do creating the group, let the creator have a breather and come back to the newly created group to decide who to invite send mail to.

    Apropos the ‘in_array() expects parameter’ I too have this occurring on one of my local test installs but not another and can’t really see what is different between the two but it’s not happened live, it feels like a loading order issue but haven’t had time to investigate the cause


    Boone Gorges
    Keymaster

    @boonebgorges

    I just checked in version 0.5.2. One of the changes I made was to address the in_array error that some of you are seeing. I’m still not sure why the problem is arising for some people but not for others – as hnla says, it has to do with loading order, but I’m not sure where the problem is coming from. But I’m pretty sure that the problem shouldn’t arise anymore with this latest fix. Please let me know how your experience goes :)

Viewing 25 replies - 76 through 100 (of 174 total)
  • The topic ‘Invite Anyone – invite by email too – please help test’ is closed to new replies.
Skip to toolbar