Title: Offair for MainWP
Author: nolidev
Published: <strong>2026 年 9 月 30 日</strong>
Last modified: 2026 年 10 月 7 日

---

搜索插件

![](https://ps.w.org/offair-for-mainwp/assets/banner-772x250.png?rev=3722139)

![](https://ps.w.org/offair-for-mainwp/assets/icon.svg?rev=3722139)

# Offair for MainWP

 作者：[nolidev](https://profiles.wordpress.org/nolidev/)

[下载](https://downloads.wordpress.org/plugin/offair-for-mainwp.0.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/offair-for-mainwp/#description)
 * [评价](https://cn.wordpress.org/plugins/offair-for-mainwp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/offair-for-mainwp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/offair-for-mainwp/#developers)

 [支持](https://wordpress.org/support/plugin/offair-for-mainwp/)

## 描述

[Offair](https://wordpress.org/plugins/offair/) replaces the screens WordPress shows
when it breaks (database connection error, fatal PHP error, update notice) with 
branded pages, and records each time a visitor sees one. Offair for MainWP brings
this into your MainWP Dashboard.

MainWP checks your sites from the outside, every few minutes at best, and only the
home page. Offair records what visitors actually saw: a database that drops for 
two minutes between two checks, a fatal error on the product page while the home
page works, an update stuck in maintenance. This extension gathers these outages
from all your sites.

#### What you get

 * **A widget on the overview**: the outages of the last 30 days on all your sites.
 * **A widget on the page of each site**: its recent outages, with a link to its
   Offair settings.
 * **An Offair page** under Add-ons: every outage of the last 90 days on every site,
   filtered by site and by page, the downtime of each site over 30 days, and the
   sites that do not report their outages yet.

Each outage shows its page in color: database error, PHP error or maintenance. The
maintenance pages shown less than a minute, as during most updates, are counted 
on one line instead of filling the lists. The Offair page can list them too.

The state of the Offair pages of each site (in place, missing, needing regeneration)
is not repeated here: Offair reports it in Site Health, which MainWP already monitors.

#### How it works

The outages travel in the synchronization MainWP already runs, automatically or 
with the Sync button. There is no new connection and no extra request, and the authentication
is the one of MainWP. The list is as fresh as your last synchronization. For an 
alert as soon as a database goes down, turn on the email alert of Offair on the 
site.

Each site sends only the version of Offair and its outages: the page, the start,
the end and the HTTP status. Offair records nothing about visitors.

#### Requirements

 * MainWP Dashboard on the dashboard site.
 * On each site: MainWP Child, and Offair 1.3.0 or later. Nothing else to install
   on the sites.

## 屏幕截图

[⌊The Offair page under Add-ons: every outage of the last 90 days on every site,
the downtime of each site over 30 days, and whether each site reports its outages.⌉⌊
The Offair page under Add-ons: every outage of the last 90 days on every site, the
downtime of each site over 30 days, and whether each site reports its outages.⌉[

The Offair page under Add-ons: every outage of the last 90 days on every site, the
downtime of each site over 30 days, and whether each site reports its outages.

[⌊The widget on the MainWP overview: the outages of the last 30 days on all your
sites.⌉⌊The widget on the MainWP overview: the outages of the last 30 days on all
your sites.⌉[

The widget on the MainWP overview: the outages of the last 30 days on all your sites.

[⌊The widget on the page of a site: its recent outages and a link to its Offair 
settings.⌉⌊The widget on the page of a site: its recent outages and a link to its
Offair settings.⌉[

The widget on the page of a site: its recent outages and a link to its Offair settings.

## 安装

 1. Install and activate Offair for MainWP on your MainWP Dashboard site.
 2. Install Offair 1.3.0 or later on your sites. MainWP can do it for all of them from
    Plugins, Install.
 3. Synchronize your sites.

## 常见问题

### A site does not report its outages. Why?

The Offair page tells why: Offair is not installed, inactive, or older than 1.3.0,
or the site has not been synchronized since the extension was installed. Install
or update Offair on the site, then synchronize.

### Does it replace an uptime monitor?

No. Offair only sees an outage when a visitor, or a bot, runs into one of its pages.
It cannot see a site that is down while nobody visits it, or a server that does 
not answer at all. Keep the uptime monitoring of MainWP on: the two complement each
other.

### Does it send data anywhere?

No. The extension only reads what your sites send to your own MainWP Dashboard during
the synchronization. It stores it with the other data of each site, and removes 
it when uninstalled.

### Is it made by MainWP?

No. Offair for MainWP is made by Nolidev, the author of Offair. MainWP is a trademark
of its owners.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Offair for MainWP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ nolidev ](https://profiles.wordpress.org/nolidev/)

[帮助将「Offair for MainWP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/offair-for-mainwp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/offair-for-mainwp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/offair-for-mainwp/)，或通过[RSS](https://plugins.trac.wordpress.org/log/offair-for-mainwp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/offair-for-mainwp/)。

## 更新日志

#### 0.2.1

 * Fix: the Open the Offair settings button of a site opens its settings again, 
   instead of stopping on an Unauthorized request error from MainWP.

#### 0.2.0

 * New: each outage shows its page in color, database error, PHP error or maintenance.
 * New: the maintenance pages shown less than a minute, as during most updates, 
   are counted on one line in the widgets. The Offair page hides them unless you
   ask for them.
 * New: downtime of each site over the last 30 days, on the Offair page.
 * The overview widget lists the 8 most recent outages and starts taller, so its
   notes stay visible.

#### 0.1.0

 * First release: outages of all the sites on the overview, on the page of each 
   site and on a page of their own.

## 额外信息

 *  版本 **0.2.1**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/offair-for-mainwp/)
 * 标签
 * [database](https://cn.wordpress.org/plugins/tags/database/)[downtime](https://cn.wordpress.org/plugins/tags/downtime/)
   [error page](https://cn.wordpress.org/plugins/tags/error-page/)[MainWP](https://cn.wordpress.org/plugins/tags/mainwp/)
   [monitoring](https://cn.wordpress.org/plugins/tags/monitoring/)
 *  [高级视图](https://cn.wordpress.org/plugins/offair-for-mainwp/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/offair-for-mainwp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/offair-for-mainwp/reviews/)

## 贡献者

 *   [ nolidev ](https://profiles.wordpress.org/nolidev/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/offair-for-mainwp/)