Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Turn off registration?

ADMADM
edited September 2006 in Vanilla 1.0 Help
I could have sworn I saw an option to do this a while ago.. I run a closed off forum for friends and we want to turn off registrations permanently. I would like to do this without doing things like: - Automatically ban anyone who signs up. - Use the Invite System to stop people from registering without an invite code.

Comments

  • You can create an extension with that:... if ( $Context->SelfUrl == 'people.php' && in_array(ForceIncomingString('PostBackAction', ''), array('ApplyForm', 'Apply')) ) { header('location:people.php'); }
  • The Invite system does this nicely. The registration form forces the user to enter the invite code.
  • Ahh ok so it's only available through a extension, in which case I'll just use the invite system for it ;)
  • Without installing any extensions, I'm wondering which file contains the 'Apply for membership link'. Couldn't this be simply commented out/deleted. I know, a very crude & imperfect 'solution'.
  • Removing the link won't stop people from joining though, since the joining page can still be accessed.
  • MarkMark Vanilla Staff
    edited September 2006
    snowcrash: you can also go into your themes folder and copy the people_signin_form_nopostback.php file into your "vanilla" folder. Open it up and make changes to it there. Then make an extension like dinoboff suggested, and you're done.
This discussion has been closed.