Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Turn off standard registration?

I have a shiny new forum, and it is working just how I want- but it would be helpful if there was a way to turn off the standard registration, so they can only use Google (and by extention OID) to join the site.

I went looking for the bit of code to do that, but didn't find it- if someone could let me know what to type, and where to type it, that would be loverly :)

Comments

  • Would just hiding the option be ok?

    To actually disable the vanilla registration but still allow OpenID, Google, Twitter, etc. pragmatically would be no easy feat, AFAIK.

    You can add some css to your theme's custom.css file.

    .Button.SignInPopup, .Button.ApplyButton, .Entry .MainForm, .Entry .Methods div:first-child {
        display: none;
    }
    
    .MultipleEntryMethods {
        width: 200px;
    }
    
    .MultipleEntryMethods .Methods {
        border: none;
    }
    

    You might need to add more as you see them.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thank you!

Sign In or Register to comment.