Register IPs

Descrição

Spam is one thing, but trolls and sock puppets are another. Sometimes people just decide they’re going to be jerks and create multiple accounts with which to harass your honest users. This plugin helps you fight back by logging the IP address used at the time of creation.

Log into your WP install as an Admin and you can look at their profile or the users table to see what it is. For security purposes a user’s own IP is not displayed to them when they look at their own profile.

Privacy Notes

This plugin adds additional data to a new user’s wp_usermeta data under the signup_ip key. This data is directly tied to the user account, and is only editable via the database. Should a user account be deleted from the site, the data will be automatically deleted.

Ecrãs

  • Single Site (regular users menu)
  • Multisite (Network Admin -> Users menu)

Instalação

No special activation needed.

Perguntas frequentes

Why do some users say “None Recorded”?

This is because the user was registered before the plugin was installed and/or activated.

Who can see the IP?

Admins and Network Admins.

Does this work on MultiSite?

Yep!

If this works on SingleSite why the name?

There’s already a plugin called “Register IP”, but it didn’t work on MultiSite. I was originally just going to make this a MultiSite-only install, but then I thought ‘Why not just go full bore!’ Of course, I decided that AFTER I requested the name and you can’t change names. So you can laugh.

Does this work with BuddyPress?

It works with BuddyPress on Multisite, so I presume single-site as well. If not, let me know!

This makes my screen too wide!

Sorry about that, but that’s what happens when you add in more columns.

What’s the difference between MultiSite and SingleSite installs?

On multisite only the Network admins who have access to Network Admin -> Users can see the IPs on the user list.

How can I filter the IPs to, say, link to an IP checker?

There’s a filter! Toss this in an MU plugin:

function filter_ripm_show_ip($theip) {
    $theip = '<a href="https://duckduckgo.com/?q='.$theip.'">'.$theip.'</a>';
    return $theip;
}
add_filter('ripm_show_ip', 'filter_ripm_show_ip');

Avaliações

26 de Novembro, 2017
Nice work guys. Now that you have the registration IPs locked in wp_usermeta, maybe time has come to go a step further and add IP checking to the WP login, meaning Username, Password and Reg IP will be checked consistently. 1. If all matches up LET HIM IN 2. If client IP doesn't match but Name and Password do, display a message like: "IP address used for login doesn't match with your registration IP-address. Please, set up the connection of your browser and WordPress through the same IP, then add your current IP to the list of authorized IP-addresses here... LINK with form" 3. If client IP doesn't match as well as Name or Password, Autoban after X retries. Cheers.
3 de Setembro, 2016
Works lovely for a relative novice like me. But I'd love to see a 'last user IP' login field too.
Ler todas as 12 avaliações

Contribuidores e programadores

“Register IPs” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“Register IPs” foi traduzido para 1 locale. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Register IPs” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.8.1

  • 07 March 2018 by ipstenu
  • Sanitize and escape IP address (props @juliobox)

1.8.0