[wordpress插件] Cleverwise phpBB Statistics聪明的phpBB统计

wordpress 插件 文章 2020-03-24 21:00 515 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

This plugin will check your phpBB board and grab vital statistics such as total members, total threads, total posts, newest member, and last post and display that information on your WordPress site.

此插件将检查您的phpBB板并获取重要的统计信息,例如成员总数,线程总数,帖子总数,最新成员和最新帖子,并将这些信息显示在WordPress网站上。

phpBB can even be on another site, server, and datacenter.

phpBB甚至可以位于另一个站点,服务器和数据中心上。

You have total control over which statistics are displayed.

您完全可以控制显示哪些统计信息。

The theme is totally customizable and its easy to modify to match your design concept.

主题是完全可定制的,可以轻松修改以符合您的设计理念。

You are able to pull statistics from up to three (3) boards and display them on your WordPress powered site.

您最多可以从三(3)个面板中提取统计信息,并将其显示在WordPress支持的网站上。

Each board may have its own refresh setting.

每个板可能有自己的刷新设置。

So if you have a busy board you may update its information more frequently than one that isn’t so heavily traveled.

因此,如果您的董事会忙碌,那么您可能比不经常去的董事会更频繁地更新其信息。

Why a refresh interval?

为什么要刷新间隔?

When loading statistics from your phpBB install a web query is required to grab the information.

从phpBB加载统计信息时,需要安装Web查询来获取信息。

This makes sense, right?

这很有道理吧?

Well this action is taxing because another system must be contacted and possibly another datacenter too.

嗯,此操作很麻烦,因为必须联系另一个系统,也可能要联系另一个数据中心。

So the data collected from your board(s) is stored in your local WordPress database.

因此,从您的董事会收集的数据存储在本地WordPress数据库中。

Thus between refresh periods the phpBB statistics are loaded from your site’s database, which makes this process more optimized for performance.

因此,在刷新周期之间,会从您站点的数据库中加载phpBB统计信息,从而使该过程的性能更加优化。

However there are two other important optimization features.

但是,还有其他两个重要的优化功能。

First when the refresh period has lapsed and its time for new information only when the next page load occurs will this plugin contact phpBB.

首先,当刷新时间段已过,并且只有当下一页加载发生时,该插件才会提供新信息的时间将与phpBB联系。

So if you have a 15 minute refresh period and your site gets no visitors for 32 minutes then at that time the plugin will grab the updated information and start a new 15 minute count down.

因此,如果您有15分钟的刷新期,而您的网站在32分钟内没有任何访问者,那么该插件将获取更新的信息并开始新的15分钟倒计时。

After all why grab the information when no one is visiting the site.

毕竟,当没有人访问该站点时,为什么要抓住这些信息。

Yes, if you are wondering, spiders and bots count as visitors and thus new information will be pulled if they are the visitor.

是的,如果您想知道的话,蜘蛛和机器人会算作访客,因此如果他们是访客,则会提取新信息。

Second when it comes time to update the board information this plugin will not wait long for phpBB to respond.

第二次需要更新主板信息时,此插件将等待phpBB响应。

In fact it only waits up to two seconds.

实际上,它最多只能等待两秒钟。

If the board can’t be contacted in that time due to a network issue, slow server, or server is down the last saved statistics are displayed.

如果在此期间由于网络问题,服务器速度慢或服务器已关闭而无法联系董事会,则将显示最后保存的统计信息。

Cleverwise phpBB Statistics will then automatically keep trying with every page load to update the information.

然后,聪明的phpBB Statistics将自动尝试在每次页面加载时尝试更新信息。

So as you can see this plugin is designed to reduce the amount of resources required to accomplish the goal at hand.

因此,如您所见,此插件旨在减少实现当前目标所需的资源量。

It should be noted that there are two required parts to this setup.

应注意,此设置有两个必需的部分。

First is, obviously, this very plugin.

首先,显然是这个插件。

The second involves some important files that allow this plugin to communicate with your phpBB install(s) called the wpapi.

第二个涉及一些重要文件,这些文件使该插件可以与名为wpapi的phpBB安装进行通信。

You see this system talks to the wpapi, that is uploaded to your phpBB styles directory, and that is what gathers the actual information from your phpBB(s).

您会看到此系统与wpapi对话,该文件已上传到phpBB styles目录,并且该文件从phpBB收集了实际信息。

Now there are two important settings in the wpapi.

现在,wpapi中有两个重要的设置。

First is a secret key, that you create/make up, which keeps unauthorized sources from grabbing your data.

首先是您创建/组成的秘密密钥,该密钥可防止未经授权的来源获取数据。

Second is an optional setting that allows you to direct the wpapi system to omit specific forum(s) when looking for the latest post.

第二个是可选设置,允许您在寻找最新帖子时指示wpapi系统忽略特定论坛。

Why this feature?

为什么要使用此功能?

Well if you have a hidden forum on your phpBB board you probably don’t want any topics from it displayed in the last post to your board do you?

好吧,如果您的phpBB板上有一个隐藏的论坛,您可能不希望在该板上的最新帖子中显示任何主题,对吗?

Nope.

不。

Now you are wondering where do you get this wpapi?

现在,您想知道从哪里获得此wpapi?

The download link is posted in the “Help Guide” in this plugin.

下载链接发布在此插件的“帮助指南”中。

So once you have installed this plugin simply download those key files and follow the instructions in the “Help Guide”.

因此,一旦安装了此插件,只需下载这些密钥文件并按照“帮助指南”中的说明进行操作即可。

Language Support: Should work for all languages that use the A-Z alphabet.

语言支持:应该适用于所有使用A-Z字母的语言。

The default language to display the statistics is in English but is easily changeable into any language.

显示统计信息的默认语言是英语,但可以轻松更改为任何语言。

Live Site Preview: Want to see this plugin in action on a real live site?

实时站点预览:是否希望在实际的实时站点上看到此插件的实际效果?

ArmadaFleetCommand.com and look in the right sidebar.

ArmadaFleetCommand.com 并在右侧栏中查看。

Shameless Promotion: See other Cleverwise WordPress Directory Plugins

无耻的推广:请参阅其他聪明的WordPress目录插件

Thanks for looking at the Cleverwise Plugin Series!

感谢您浏览Cleverwise插件系列!

To help out the community reviews and comments are highly encouraged.

为了帮助社区,强烈建议您进行评论和评论。

If you can’t leave a good review I would greatly appreciate opening a support thread before hand to see if I can address your concern(s).

如果您不能留下很好的评价,我将不胜感激,请您先打开支持线程,看看我是否可以解决您的问题。

Enjoy!

享受吧!

安装步骤

    1. Upload the cleverwise-phpbb-statistics directory to your plugins.
    2. cleverwise-phpbb-statistics 目录上传到您的插件。

    3. In WordPress management panel activate “Cleverwise phpBB Statistics” plugin.
    4. 在WordPress管理面板中激活“ 明智的phpBB Statistics ”插件。

    5. In the “Settings” menu a new option “phpBB Statistics” will appear.
    6. 在“ 设置”菜单中,将出现一个新选项“ phpBB Statistics ”。

    7. Once you have loaded the main panel for the plugin click on the “Help Guide” link which explains in detail how to use the plugin.
    8. 在为插件加载主面板后,单击“ 帮助指南”链接,其中详细说明了如何使用插件。

下载地址
https://downloads.wordpress.org/plugin/cleverwise-phpbb-statistics.zip
-EOF-

AI助手支持GPT4.0