WP Manifestindependent plugin directory
manifest / utilities / wp-ipip

WP-IPIP WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

*WP-IPIP* is a WordPress plugin that tells you where the comment come from.

★ 8stars
94release downloads
≈10active sites
v3.1.1latest · 3 years ago

Install

Download wp-ipip_v3.1.1.zip From the v3.1.1 release on GitHub, Jun 2, 2023

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/catscarlet/wp-ipip/releases/download/v3.1.1/wp-ipip_v3.1.1.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WP-IPIP 是一款根据 IP 显示评论来源地址的插件。插件使用 IPIP.net 免费版数据库。

wp-ipip snapshot

版本说明

  • 0.1 版本支持 DAT 数据库(停止维护)
  • 0.2 - 2.0.0 支持 DATAX 数据库(停止维护)
  • 3.0.0+ 支持 IPDB 数据库

安装与更新

手动安装

本插件未包含在 WordPress Plugin 仓库中,所以需要手动安装。

插件未在 WordPress 上保存任何数据,建议更新时删除旧插件。

以下安装方式二选一。

WordPress 原生上传安装

在 Release 中下载最新的 zip 包(注意不是Source code)。在 WordPress 中的 插件-安装插件 页面中,点击上方的上传插件,选择 zip 包并上传即可。

传统

(建议使用 WordPress 原生上传安装。但这个方法不会废弃)

将文件复制到 WordPress 的插件目录下即可,文件应该在 /wp-content/plugins/wp-ipip 目录下。

项目主要文件结构:

Wordpress
└── wp-content
    └── plugins
        └── wp-ipip
            ├── Changelog_en.md
            ├── ipipdotnet
            │   ├── ipdb-php
            │   │   └── src
            │   │       └── ipip
            │   │           └── db
            │   │               ├── City.php
            │   │               └── Reader.php
            │   └── ipipfree.ipdb
            ├── js
            │   └── wp-ipip.js
            ├── wp-ipip-ipdbloader.php
            ├── wp-ipip-options.html
            ├── wp-ipip-options.php
            └── wp-ipip.php

IPIP数据库安装和更新

IPIP 数据库文件路径:{插件路径}/ipipdotnet/ipipfree.ipdb,直接用新的数据库覆盖此文件即可。插件包中目前自带一份中文版数据库。

你可以在 IPIP 的官网下载最新版的数据库:https://www.ipip.net/download.html

卸载

插件未在 WordPress 上保存任何额外文件或数据,使用 WordPress 的插件管理直接删除即可,亦可直接删除插件目录。

注意事项

插件使用的数据库文件需要在运行时载入内存,整个插件会占用约 4M 左右的内存。如果出现评论页面无法正确载入,或载入后页面功能失效的问题,请检查您服务器的内存限制。按照以往经验,不加载其他插件的 4.3.X 版本启动后会使用约 28M 内存,如果您的服务器对 PHP 运行内存限制为 32M 或者更低的话,将无法正常使用本插件。

请先确认自己的 PHP 运行环境是否有类似限制。

兼容性

PHP

至少 PHP 5.4 以上版本(自3.0.4版本开始使用部分语法糖)

WordPress

实测与 5.2.2 兼容

akisment

实测与插件 akisment 兼容

wp-useragent

实测与插件 wp-useragent-1.1.8 兼容

移动端

移动端于 v3.0.3 开始支持

IPIP 收费版

IPIP 收费版数据库未经测试。

链接

License

Apache License

Releases

12 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v3.1.1 latest
Jun 2, 2023 3 years ago
wp-ipip_v3.1.1.zip
23
Dec 28, 2020 5 years ago
wp-ipip_v3.1.0.zip
23
Dec 3, 2020 5 years ago
wp-ipip_v3.0.4.zip
9
Sep 12, 2019 7 years ago
wp-ipip_v3.0.3.zip
13
Apr 8, 2019 7 years ago
tag only
—
Mar 18, 2019 7 years ago
tag only
—
Mar 17, 2019 7 years ago
tag only
—
Oct 21, 2018 8 years ago
tag only
—
May 23, 2018 8 years ago
tag only
—
May 23, 2018 8 years ago
tag only
—
Sep 28, 2017 9 years ago
wp-ipip_v0.1.2.zip
12
Mar 27, 2017 9 years ago
wp-ipip.zip
14

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A grade

Security

WP-IPIP 3.1.1 · audited by WP Registry

No security issues found.

Audited release
3.1.1
Findings
none
Worst severity
—
Content hash
d39a01a91a2c78eb7d7b47da…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.