• Resolved reidbusi

    (@reidbusi)


    Where do I enter the domains I want to ban from registering? Don’t see it under users, don’t see it in settings… I don’t see it anywhere.

    I suppose I can read the plugin code to find out where you have put your menu item, but I’ll suggest adding it to the readme.

    • This topic was modified 5 years, 6 months ago by reidbusi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter reidbusi

    (@reidbusi)

    I see, strangely, you are using the add_management_page function to create your menu item, and this function only puts admin menu items to the tools menu calling the add_submenu_page . Like WTF wordpress? But why? Why not have just one function to do one job?

    Anyway, I figured it out by looking at your code. And along the way discovered that wordpress has a function to add menu items to the tools menu only. That is just weird.

    Answer: Tools -> Ban Hammer

    When I have to check the codex to find your menu item…

    • This reply was modified 5 years, 6 months ago by reidbusi.
    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s explained in the plugin page:

    On a single install of WordPress, instead of using its own database table, Ban Hammer pulls from your list of prohibited emails from the Comment Blacklist feature, native to WordPress. Since emails never equal IP addresses, it simply skips over and ignores them.

    And the reason for it being in two places is because of Multisite. Which is also explained on the plugin page:

    On a network instance, there’s a network wide setting for banned emails and domains. This means you only have one place to update and maintain your blocked list. When a listed user attempts to register, they get a customizable message that they cannot register.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where are the settings for the plugin?’ is closed to new replies.