WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Invite Anyone] Allow email invitation registration when general registration is turned off

[Resolved] [Plugin: Invite Anyone] Allow email invitation registration when general registration is turned off

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi
    Forum Moderator

    @esmi

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

    David Hunt
    Member

    @dvd3141

    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

    David Hunt
    Member

    @dvd3141

    Adjunkten
    Participant

    @adjunkten

    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

    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.

    Adjunkten
    Participant

    @adjunkten

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Invite Anyone] Allow email invitation registration when general registration is turned off’ is closed to new replies.