Thanks a lot @gina yes we need to test this fix on 2.2.0 so you’ll need to backup your database (and wp-content files just in case) and upgrade again. Once done paste the script in a bp-custom.php file you will put in your plugins directory. The test patch will only be run If BuddyPress 2.2 is activated. If it’s fixing the issue with invite anyone you can choose to keep it till 2.2.1 is released or If you are afraid to Forget to remove it by then, revert once again to 2.1.1.
I’m having the same issue. My registrations page is saying ‘User Registration is Currently Not Allowed’ and when I try to tick the ‘Anyone Can Register’ box in General Settings it just keeps unticking itself.
I had, at one point, Invite Anyone plugin installed, but it hasn’t been installed (inactive or active) in well over a year.
I tried the what you suggested and it worked momentarily and then stopped working again. Are you aware of any other ways to fix this problem?
Thanks
hi @imath – unfortunately due to deadlines i won’t be able to try this out. sounds like @alice-claire has tried it tho.
we’ll just have to go it without buddypress for now.
thanks tho! 🙂
I don’t have a choice. My site needs BuddyPress. Any other solutions out there? Or anyone else having the same issue?
@alice-claire
I don’t think it’s the same issue as you’re getting the register page even if signups are not allowed. So i advise you to remove the code of the gist if you are using it.
If i understand well, your issue is when you save the general settings having the “anyone can register” option checked, this option is not saved and you keep having the message “User Registration is Currently Not Allowed” when a user tries to register. Is that correct ?
Yes, that’s right. The Anyone Can Register button won’t stay selected and then that message comes up.
I’ve had to temporarily set up a contact form to collect email addresses and usernames so that I can manually set them up. I’ve had almost 20 new registrations since yesterday, so this is becoming a very serious problem.
But no options show up at all. It’s just a blank page with that message.
Here’s the link: http://www.writerscarnival.ca/newwcuser/
Very strange.
Have you tried to deactivate all plugins except BuddyPress to see if that wasn’t a problem with another plugin ?
Have you tried to activate a WordPress default theme to see if it wasn’t a problem with the active theme ?
Do you have custom function in bp-custom.php, if so try to remove them temporarly.
If all of the above is not changing anything to your trouble, if you deactivate BuddyPress is the problem still there (you can actually begin by this step, if you prefer) ?
@alice-claire – no idea if my issue is the same as yours, hoever I recently had some major problems when my web host added or updated the ‘modsec’ apache module… it prevented my wp from saving all kinds of things (widgets and more) – once my host turned off modsec for ajax post/save or something like that, things started to work.. but my bp database got corrupted from the attempted and failed saves.. so I had to export and change hosts..
my wp backend showed things were saving.. but the site and database were not accepting the changes. You may have a similar thing going on.
I also experienced the original issue of “register” and “activate” page settings not saving after upgrading to 2.2. @imath’s gist has patched the issue for me.
https://gist.github.com/imath/07e79c2244c5ab2e0a1b