Register IPs

描述

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.

No external data is transmitted, it all stays on your install.

螢幕截圖

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

安裝

No special activation needed.

常見問題

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');

評價

2021年8月23日
A nice plugin that helps to make my site a bit more secure. One remaining wish, I would like to see the IP address as well in the Edit user profile function, so I can easily copy/paste it.
2020年12月8日
Thanks for this great plugin it works as charm!!! Great Job!
2019年12月29日
A simple plugin with yet very important use cases. Works well and is not bloated! Thank you developers. Please continue making other great plugins!
閱讀全部18個評價

貢獻者及開發者

“Register IPs” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Register IPs 外掛目前已有 5 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Register IPs 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.8.2

  • 02 August 2020 by Ipstenu
  • Fix to show IP on your own page (if you’re an admin). This was always there, but only on other people’s pages, so you may not have noticed.
  • Tested 5.5 compat
  • PHPCS cleanup.

1.8.1

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

1.8.0