The MU forums have moved to WordPress.org

Username blacklist (6 posts)

  1. ikzitop
    Member
    Posted 15 years ago #

    Is there somewhere a username blacklist available or a service / plugin to prevent registration of not wanted usernames?

  2. Ovidiu
    Member
    Posted 15 years ago #

    its built in. did you even have a look at the wpmu siteadmin options?

    The option is called: Banned Names can't get more obvious than that, can it?

    The description is: Users are not allowed to register these blogs. Separate names by spaces.

  3. Grafflog
    Member
    Posted 15 years ago #

    Did you not wonder if there was a pre-build list?

  4. ikzitop
    Member
    Posted 15 years ago #

    Yes i was looking for a pre-build list. Also checked Google for not allowed username list but couldn't find anything.

  5. grandslambert
    Member
    Posted 15 years ago #

    I think someone missed the point here. ikzitop asks about banned usernames and Ovidiu replies back with a way to block blog names. In my experience, these are two very different things. Before we get too far here, which one is it that you want to block, ikzitop - usernames or blog names?

  6. dsader
    Member
    Posted 15 years ago #

    no worries ikzitop, Ovidiu is correct.

    from function wpmu_validate_user_signup in wp-includes/wpmu_functions.php
    $illegal_names = get_site_option( "illegal_names" );

    AND

    from function wpmu_validate_blog_signup
    $illegal_names = get_site_option( "illegal_names" );

    Same Banned Name list filters BOTH blognames AND usernames.

    Have fun adding those "bad words".

About this Topic