Linux 软件免费装

Plugin Name

开发者 AlertWire
更新时间 2017年1月6日 07:49
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.7
版权: GPLv2

标签

plugin notice notification multiple alert messaging recall AlertWire

下载

1.1 1.1.1 1.2.2

详情介绍:

AlertWire is a system for centralized administration of alert/messaging for multiple sites. Once your site has been configured in the AlertWire system, you can add this plug-in and set the data-token to enabled the checking of alerts. When the page is rendered, a <script> tag will be inserted into the document being rendered. How AlertWire Works
  1. The page is generated with the correct API server and data-token configured, typically added to the bottom of the page body tag.
  2. An async script tag is executed (late as possible) which loads a small (<4K) javascript plug-in. This plug-in has no dependancies and will not interfere with any existing frameworks like jQuery
  3. A cross-domain JSON request is made to the AlertWire API service to determine if there are any active alerts for the data-token specified.
  4. If there are one or more alerts to view, a CSS style-sheet will also be loaded from the API server.
  5. The alerts are then generated dynamically into the document and styled automatically. There are several formats that are rendered differently (e.g. page-top, lightbox, etc.).
  6. Tracking pixels are generated to record when a check-in for alerts cccurs and when a view or close or click-through of an alert occurs.
Notes

安装:

Automatic Installation
  1. Log into your WordPress admin
  2. Click 'Plugins'
  3. Click 'Add New'
  4. Search for AlertWire
  5. Click 'Install Now' under AlertWire
  6. Activate the plugin through the Plugins menu in WordPress.
  7. Navigate to the Settings/AlertWire page
  8. Enter the data-token value provided on the site-setup page from the AlertWire system.
  9. Optionally enter the ID (or other valid CSS selector) for the container element alerts should be inserted into.
  10. Select if alerts should be shown on the Home/Front Page and/or the Single Post pages.
Manual Installation
  1. Download from here and unzip the plugin.
  2. Upload the entire AlertWire directory to /wp-content/plugins/.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Navigate to the Settings/AlertWire page
  5. Enter the data-token value provided on the site-setup page from the AlertWire system.
  6. Optionally enter the ID (or other valid CSS selector) for the container element alerts should be inserted into.
  7. Select if alerts should be shown on the Home/Front Page and/or the Single Post pages.

屏幕截图:

  • The plug-in settings screen, where you enter the `data-token` and select into what pages the script is injected.
  • The script that is injected at the bottom of the page.

升级注意事项:

1.2 Nothing to do, but you might want to explicitly point at https: for the .js file to save a redirection.

常见问题:

Will this slow down my pages?

  • The javascript plug-in is very small, is loaded from a global CDN (content delivery network) and is publically cacheable for years. Once a end-user has visited your site it will be in their cache.
  • The javascript snippet does a very fast JSON call that is publically cachable for 5 minutes (default), so even if your site is very heavily loaded it will be available long before any images are finished loading.
  • The CSS file is only loaded if there are alerts to be rendered (not normally the case) and is also served from a CDN as a public long-cacheable file. This CSS file is under 2K and will only be downloaded one per end-user.
  • The font file for the alert icons is downloaded only if there are alerts to be rendered and is also served from a CDN as a public long-cacheable file. This font file is under 10K and will only be downloaded once per end-user.
  • The actual script execution is very fast and will not block on any downloads.

Will this break my pages?

  • All alerts are injected into the page in a div tag and the CSS generated is scoped via a nonce-based id. It should never interact with any styling on your page but you might need to provide a placement anchor-element to ensure your site CSS doesn't hide the alert. The script snippet allows you to specify a container div to act as the parent for the injected alerts in case you need to adjust them around header or navigation elements.
  • The alerts are deleted from the page DOM when closed so nothing remains on screen if the end-user closes the alert. The lightbox-style alert acts as a complete page take-over and thus might have z-index issues, by default the alerts will be z-index of at least 10000.
  • If the javascript snippet has an error, nothing will be displayed so nothing will need to be hidden.

What about updates?

Since the AlertWire javascript client-side plug-in is long-cached, it has built-in ability to update itself to a new version. This is triggered by a version-requirement declared in the JSON response and is completely automatic.

How much does this cost?

The plug-in is free and use is included in the cost of an AlertWire system. For more information about AlertWire.

What if I stop using AlertWire?

Since the script does essentially nothing if there are no alerts configured for the site, your script will just silently keep working and display nothing.

Is this secure?

  • Yes, everything is only loaded over HTTPS with OSCP stapling, Strict Transport Security (HSTS) required and preloaded in all browsers.
  • No admin defined assets other than pure text are ever served to the end-user's browser.
  • No CSS, JS, HTML or image assets are available for hacking/injecting.
  • All AlertWire-supplied content is served via the CloudFlare CDN with Qualsys SSL Labs A+ SSL rating.
  • The administration application is fully tested against the OWASP best-practice criteria.

更新日志:

1.2.2 Resaved all files in UTF8 without BOM so we don't bust headers 1.2.1 Removed unneeded markup in setting page. 1.2 Change default endpoint to https and note version compatibility to 4.7 and update notes. 1.1.1 Bump revision in the plug-in itself. 1.1 Cleanup now that we're in the WordPress plug-in repo. 1.0