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