Great Code, but it unfortunately doesn’t do exactly what I want to do just yet.
I am wondering if something is possible. I am trying to create a site that is private to all non-users and directs to a page stating it is Private only and asking them to contact me on directions to register (hopefully through facebook connect).
In my site, on the left sidebar are the login fields and a FB Connect button.
However, I also do not want anyone to be able to register (unchecked “anyone can register” in the wp admin settings). I basically want to approve the user as they try to fully register.
Is this possible?
I found, anytime I try using your code along with the register box unchecked, an infinite loop happens. I was also thinking, even if it did work, I’m still out of luck b/c I tried using the invitation code checker and that plugin doesn’t seem to work on the news BP and WP.
I also tried using the private BP plugin and that doesn’t seem to work with FB connect.