WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. David Hunt
    Member
    Posted 1 year ago #

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

    http://buddypress.org/community/groups/invite-anyone/forum/topic/toggle-to-allow-email-invitation-and-registration-when-general-registration-is-turned-off-is-broken/

    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."

    http://wordpress.org/extend/plugins/invite-anyone/

  2. esmi
    Forum Moderator
    Posted 1 year ago #

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

  3. David Hunt
    Member
    Posted 1 year 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.

    David

  4. David Hunt
    Member
    Posted 1 year ago #

  5. Adjunkten
    Member
    Posted 1 year 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?

    Thanks

    Lars

  6. David Hunt
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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,

    Lars.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic