Linux 软件免费装
Banner图

bbPress Advanced Statistics

开发者 GeekServe
更新时间 2019年12月4日 00:00
捐献地址: 去捐款
PHP版本: 5.3.0 及以上
WordPress版本: 4.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

statistics users bbpress online users online forum statistics

下载

1.5 1.4.5

详情介绍:

This plugin has been tested with bbPress 2.6 This plugin has been tested and works with the upcoming version of bbPress, version 2.6
The statistical functionality within core bbPress is limited, with this plugin, you can achieve phpBB / vBulletin-esque statistics for your bbPress Forum, you can opt to use the widget provided with the plugin, or, you can use the options provided within the customisation tab of the plugin. What does this plugin provide? Rate us & Submit your website using our plugin! There are over 800 websites actively using bbPress Advanced Statistics, and I want to see your site! If you would like it to be featured below, pop a post in the forum showing off your site or pop us a rating! The websites above were found using some google trickery. To make my life easier, please make me aware of your site when using the plugin if you'd like to be featured!

安装:

Installing "bbPress Advanced Statistics" can be done either by searching for "bbPress Advanced Statistics" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:
  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
  3. 通过WordPress的的“Plugins”菜单激活插件
From there, you should now have an option under "Forums" called "bbPress Advanced Statistics". Here, you can set various important parts of the plugin, such as the locations where the statistics are displayed. Alternatively, you can enable a widget that will display the statistics for you in any sidebars you have setup.

屏幕截图:

  • The plugin in action, screen depicts the plugin in use on a website
  • Standard Options available within the WordPress Admin Page
  • Some customisation options, with more to come in pending updates
  • Additional customisation with the extras tab

升级注意事项:

1.5 Guests are now included in your statistics! Lots of bug fixes, big rewrite. No database migrations required.

常见问题:

What tags are available to customise with?

With Version 1.5, I have implemented more customisation within the plugin which means there is now additional tags to utilise. These tags will work in any of the text strings available to you, so ensure you are using the correct one!

  • %MINS% - The amount of minutes to pass before a user is assumed offline
  • %HOURS% - The number of hours to pass before a user is not displayed within the plugin
  • %COUNT_ACTIVE_USERS% - A count of all currently active, logged in users
  • %COUNT_ALL_USERS% - A count of all users active within the hours timeframe
  • %COUNT_ALL_GUSERS% - A count of all guest users active within the hours timeframe
  • %COUNT_ACTIVE_GUSERS% - A count of all guest users active within the mins timeframe
  • %USER_USERS% - Conditional text (user or users) based on amount of users active within the mins timeframe
  • %ALL_USER_USERS% - Conditional text (user or users) based on amount of users active within the hours timeframe
  • %GUEST_GUESTS% - Conditional text (guest or guests) based on amount of guests active within the mins timeframe
  • %ALL_GUEST_GUESTS% - Conditional text (guest or guests) based on amount of guests active within the hours timeframe
  • %USER_RECORD% - Record number of users online
  • %USER_RECORD_DATE% - Date of the record, uses the date format set within WordPress
  • %USER_RECORD_TIME% - Time of the record, uses the time format set within WordPress
  • %LATEST_USER% - Link to the latest user to join your forum
Any of those can be used across all of the customisation boxes provided within this plugin.

Can I apply any style to this plugin?

Yes, you can - I am working on creating some documentation as WordPress have changed the plugin repository layout. For the time being, notes can be found here

Are there any hooks or filters for me to use?

I am currently working on the documentation for CSS styling, hooks and filters. Until then, this is a list of all hooks/filters currently available. Filters

  • bbpas_replacement_tags
  • bbpas_section_bbpress_stats
  • bbpas_section_rolekey
  • bbpas_bbpress_stats Actions
  • bbpas_init
  • bbpas_loaded
  • bbpas_section_builder
  • bbpas_after_stats_hook
  • bbpas_before_stats_hook Hopefully they are self-explanatory, if you get stuck or have some suggestions for further action/filters, please do let me know in the forum

What are the requirements for bbPress Advanced Statistics?

The current requirements are as follows:

  • PHP 5.9.0 or above
  • bbPress installed
If either of those are not met, bbPress Advanced Statistics will not work on your site.

Does this work for previously logged in users?

Unfortunately, WordPress nor bbPress provide a "user is online" functionality out of the box - we had to add that ourselves, thus - data will only be displayed in this plugin after it has been installed as users log in to your site.

Are there any settings I can change?

Plenty of options are waiting to be tinkered with! Under the "Forums" menu item, you should see "bbPress Advanced Statistics"

Does this plugin have a widget?

Yes, it does! Simply activate it as you would with any other widget.

How do I create / submit a Translation?

You have two options, first and foremost - I am using GlotPress primarily for this. Reason being, it is free and makes crowdsourced-translations a quick and pain-free process. I will not be providing any translated files in the plugin itself, instead - GlotPress will automatically generate the files that have reached the threshold. If you'd like to contribute to the translation of this plugin, please click here With that being said, users are still able to add translations they have made manually. See below for further details. We have made it super easy to create translations for this plugin, you simply need to grab the original POT file (found within the plugin directory) and create translation files based off of that. You can use Poedit to create your translation.

Please Note: The filename must be correct in order for your Translation to work. The naming convention is as follows: Where LOCALE is the code for your language, e.g German would be bbpress-advanced-statistics-de_DE.mo You can find the correct code for your locale here
Once you are happy with your Translation, drop it into /wp-content/languages/bbpress-advanced-statistics/ and it should be instantly activated.
Don't forget: The filename has to be identical to that WordPress expects, else your language pack will not be used! If you need some assistance with this, post in our support forums.
Alternatively, you can help translate in general (This is a much better option and helps us build up the translation library for all locales!)

更新日志:

The changes listed here are organised as Enhance, Bug Fix and Feature. In each release, I try to fit in as many Enhancements and Features as I can, Bug Fixes are prioritised and are usually the reason a new version is developed.
  • Enhancements are simply code adjustments to make existing features better
  • Features are brand new additions to the plugin
  • Bug Fixes are usually issues reported by users and fixed
1.5 - 17th September, 2017 1.4.5 - 6th August, 2017 1.4.4.1 - 2nd January, 2017 1.4.4 - 1st January, 2017 1.4.3 - 26th December, 2016 1.4.2 - 18th August, 2016 1.4.1 - 18th August, 2016 1.4 - 17th August, 2016 1.3.13 - 7th May, 2016 1.3.12 - 1st May, 2016 1.3.11 - 26th April, 2016 1.3.1 - 23rd April, 2016 1.3.0 - 22nd April, 2016 1.2.2 - 5th April, 2016 1.2.1 - 3rd April, 2016 1.2 - 24th March, 2016 1.1.3 - 9th January 2016 1.1.2 - 10th October 2015 1.1.1 - 12th July, 2015 1.1.0 - 4th July, 2015 1.0.3 - 25th May, 2015 1.0.2.1 - 23rd May, 2015 1.0.2 - 22nd May, 2015 1.0.1.1 - 12th May, 2015 1.0.1 - 11th May, 2015 1.0.0 - 10th May, 2015