Invite Anyone
[resolved] Allow email invitation registration when general registration is turned off (7 posts)

  1. David Hunt
    Posted 3 years ago #

    Apologies if this is perceived as double-posting. I just wanted to confirm the developers are aware of this issue:


    In summary: if general site registration is disabled, but the Invite Anyone option "Allow email invitations to be accepted even when site registration is disabled" is enabled, we still get the error message "User registration is currently not allowed."


  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Please just post buddypress issues on http://buddypress.org/

  3. David Hunt
    Posted 3 years ago #

    Oops sorry esmi. Before I posted, I looked at this plugin's forum archives, it seems the plugin developers are more active here than on the BuddyPress forum, so I thought this would be a better place for the issue to be raised.

    Apologies again.


  4. David Hunt
    Posted 3 years ago #

  5. Adjunkten
    Posted 3 years ago #

    Hello David, I have this problem, but your link is broken?

    I searched the pluginsite over at buddypress, but it links to this site.

    Can someone please give me a hint?



  6. David Hunt
    Posted 3 years ago #

    I used the Wayback Machine to find an archived copy of the BuddyPress forum. This is what I had posted on there:

    Well, I found a workaround. For me it wasn’t a problem with the toggle … kind of.

    I found that in the function invite_anyone_bypass_registration_lock(), it was this check that was causing the failure:

    $bp->current_component != BP_REGISTER_SLUG

    This seems to be because (i) I had changed the slug of my BP registration page and (ii) my registration page is a child page of another page.

    Workaround: I set my slug to be “register” and set the registration page to be a main page — and lo-and-behold, email invitations work again even with site registration disabled.

    I don’t know if that’s a bug in WordPress, BuddyPress, or this plugin. Hopefully this workaround will help others to have a functional site.

  7. Adjunkten
    Posted 3 years ago #

    Thank you David!

    I changed the slug back to 'register' and that did the trick. There must be som exception for this page name in the code somewhere.

    Anyway, thanks again.

    All the best,


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Invite Anyone
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic