• Hey,

    Does anyone know how to limit registration to users with email addresses hosted by the a specific website (the blog’s website)? In other words, you would have to have an email address from the website to register and post…

    I’m sure this is possible but I don’t have the expertise to do it…

    any kinds souls out there? I would appreciate the help

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just did a quick search of “limit registration to domain” in these forums and found an interesting plugin. Not sure if this does it, but it might.

    https://www.ads-software.com/support/topic/85637?replies=4#post-498343

    Trent

    you want to restrict registration TO A domain, rather than FROM a domain.. ?

    my plugin, wp-deadbolt ought to be able to do that with a one-word edit.

    https://www.village-idiot.org/archives/2007/01/10/wp-deadbolt/

    if you do happen to download it, drop a comment and Ill explain what to change, or even here..

    after putting in in the domain name of the blog, just change this line in wp-deadbolt.php:

    $i < $n && $pass = (strpos($checkemail, $badmail = $badmails[$i]) === false);

    to read;

    $i < $n && $pass = (strpos($checkemail, $badmail = $badmails[$i]) === true);

    I havent tested that but im pretty sure you should be good to go

    Thread Starter Ololade

    (@ololade)

    Thank you for the replies! Actually, I want only users that have certain email accounts to be able to register. For example…I want “only” Gmail account holder to be able to register…. How do I do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘limits on user registration…’ is closed to new replies.