Title: Jake Hall's Replies | WordPress.org

---

# Jake Hall

  [  ](https://wordpress.org/support/users/geekserve/)

 *   [Profile](https://wordpress.org/support/users/geekserve/)
 *   [Topics Started](https://wordpress.org/support/users/geekserve/topics/)
 *   [Replies Created](https://wordpress.org/support/users/geekserve/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/geekserve/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/geekserve/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/geekserve/engagements/)
 *   [Favorites](https://wordpress.org/support/users/geekserve/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 135 total)

1 [2](https://wordpress.org/support/users/geekserve/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/geekserve/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/geekserve/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/geekserve/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/geekserve/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/geekserve/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Plugin Not Working](https://wordpress.org/support/topic/plugin-not-working-566/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-working-566/#post-9688564)
 * Hi,
 * I will try and troubleshoot this issue tonight.
 * I have been really busy as of late, so I apologise.
 * In the meantime, can you delete the plugin entirely from your server and give
   the older version a go, v1.4.5
 * [https://downloads.wordpress.org/plugin/bbpress-improved-statistics-users-online.1.4.5.zip](https://downloads.wordpress.org/plugin/bbpress-improved-statistics-users-online.1.4.5.zip)
 * It is stable.
    -  This reply was modified 8 years, 7 months ago by [Jake Hall](https://wordpress.org/support/users/geekserve/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] French translation?](https://wordpress.org/support/topic/french-translation-100/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/french-translation-100/#post-9688550)
 * Hi both,
 * Translations for the user roles is not handled within the plugin, I can see you
   have managed to translate them within WordPress. If you are unhappy with that,
   you will need to fire an email off to WordPress support.
 * I will provide an updated pot file when I get home from work, and I will be looking
   at correcting some of the issues people have faced with the most recent update.
 * Thank you,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Plugin Not Working](https://wordpress.org/support/topic/plugin-not-working-566/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-working-566/#post-9647227)
 * Hi jdegraaf,
 * Apologies for the delayed response here.
 * Would you mind posting the debug info from the plugin settings page please?
 * I feel this is because the database has not been created within WordPress, it
   should do it automatically but unfortunately at times it doesn’t.
 * Have you tried the basics, such as deactivating and reactivating?
 * Many thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] French translation?](https://wordpress.org/support/topic/french-translation-100/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/french-translation-100/#post-9647151)
 * Hi kingteamdunet,
 * I am unable to do anything at the moment as I am on holidayh and thus unable 
   to push any updates out.
 * I am aware of the PHP error you are facing. I need to investigate it further 
   as, currently, I have been unable to replicate the issue you are facing. I have,
   however, spotted this on multiple websites using the plugin and I will put an
   update out to fix this.
 * With regards to translations, the user roles are defined within WordPress, There
   is nothing for you to translate within this plugin, they are defined within WordPress.
   You will need to change the names of the roles within WordPress itself – you 
   can do this by following an article such as this: [https://premium.wpmudev.org/blog/change-wordpress-role-names/](https://premium.wpmudev.org/blog/change-wordpress-role-names/)
 * Once you update the names within WordPress core, bbPress Advanced Statistics 
   will pick it up and you can then style them accordingly within the stylesheet.
 * I will pop a response in here once the php error has been fixed, would you mind
   providing me a link to the forum you are running the plugin on, and, would you
   also mind copying the debug info from the plugin settings (or send it to me via
   email on jake[at]thegeek[dot]info) as that will help with debugging.
 * – Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Plugin Not Working](https://wordpress.org/support/topic/plugin-not-working-566/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-566/#post-9532510)
 * Hi jdegraaf,
 * That’s not ideal! Are you getting any php errors?
 * It doesn’t seem to be inserting anything into the database, can you confirm if
   yourprefix_bbpas exists within your database and contains data?
 * Many thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] bbPress Statistics Format](https://wordpress.org/support/topic/bbpress-statistics-format/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/bbpress-statistics-format/#post-9507709)
 * Hi Tim,
 * That’s not a problem, once the API come out I will post a snippet of code here
   for you to use on your website that utilises the API.
 * – Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] bbPress Statistics Format](https://wordpress.org/support/topic/bbpress-statistics-format/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/bbpress-statistics-format/#post-9506735)
 * Hi Tim,
 * Thank you for the feedback, really glad you’re finding a use for the plugin!
 * This was a really difficult part of the plugin to develop as I am passing the
   data through the normal WordPress Options API, what this means is the data is
   handled and HTML is stripped – there isn’t a lot of flexibility available here.
   The functionality is supposed to be used to allow people to customise the wording
   of the headings, as previously this would require a language override.
 * If you know how WordPress Filters work, you would want to filter the following:
 * – bbpas_section_bbpress_stats
 * This will let you filter the entire section for bbPress Statistics.
 * At the moment, I haven’t added any API to expose functions for you to grab any
   relevant data (such as the actual stats, but, you could manipulate the string
   you get), I was planning it in this release however I didn’t want to release 
   too much in one go (way more potential to go wrong!)
 * I will try and get the API functionality baked in as soon as possible, for the
   time being I am afraid you will have to see what is possible with the filter,
   or hold on until some API functionality is released.
 * But do bear in mind, the sort of configuration you’re looking for will not be
   possible in the base plugin – you will need to utilise the API or Filters in 
   order to get the outcome you’d like.
 * Many thanks,
 * Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] unregistered visitors](https://wordpress.org/support/topic/unregistered-visitors/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/unregistered-visitors/#post-9483255)
 * Hi 3limami,
 * You are welcome!
 * Currently unregistered visitors is not part of the plugin, however, I will definitely
   look to adding this functionality in the next versiokn as it includes large overhauls
   to the way the plugin tracks activity.
 * This is still in the early stages, and thus, may be a little off yet.
 * Thanks,
    Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9442195)
 * Hi Andrei,
 * Thank you very much!
 * I anticipate that update will be a big update as I want to completely rewrite
   that part of the plugin, so, I imagine the code above will not work.
 * Nontheless, there will be API functions in place to allow this sort of behaviour
   in a cleaner manner.
 * Thank you for the review, I really appreciate it!
 * Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9439235)
 * Hi Andrei,
 * This is quite hacky, I will try to incorporate some loose API-esque functions
   in the next veersiokn to avoid this… hackery! I will make it so the API functions
   will need to be activated, for those whom are worried about performance etc.I
   never built this plugin with the intention of it being used in such a way, but,
   as there have been multiple requests for this sort of functionality I will ensure
   to encorporate this into a future version.
 * If you add the following to your `functions.php` file, you will be able to get
   a jist of what is happening and where the relevant data you need is. I have setup
   this example to include all of the relevant variables (users, posts and activity).
 * You could potentially hook this into a new widget, or setup a function and simply
   call it from your php file – down to you on that one.
 *     ```
       function wp_28372873_bbpas_stats() {
       	$stats = bbPress_Advanced_Statistics::instance( __FILE__, BBPAS_VERS );
   
       	$activity_time = $stats->online->parent->option["user_activity_time"];
   
       	$online_stats = $stats->online->whois_online();
       	$online_stats = array( "inactive" => count( $online_stats["inactive"] ), "active" => count( $online_stats["active"] ) );
   
       	$formatted_stats = $stats->online->get_formatted_statistics();
   
       	echo "There has been {$online_stats['inactive']} users logged in over the past {$activity_time} hours, of which {$online_stats['active']} are currently active.";
       	echo "There are {$formatted_stats["user_count"]} users registered, we have {$formatted_stats["topic_count"]} topics and {$formatted_stats["reply_count"]} replies!";
       }
       add_action( 'init', 'wp_28372873_bbpas_stats' );
       ```
   
 * Or, alternatively, wait a few weeks until I get round to incorporating some API-
   esque functions into the next release.
 * Hope that helps!
 * Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9438348)
 * Hi Andrei,
 * So based on my understanding you’d only like to display the number of users whom
   are online rather than the list of whom?
 * If so, that is not currently part of this plugin however I will consider it for
   a future version, so you can have the choice of a simple vs enhanced statistics
   widget.
 * – Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Customize Using functions.php](https://wordpress.org/support/topic/customize-using-functions-php/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/customize-using-functions-php/#post-8623626)
 * Hi [@dealfiles](https://wordpress.org/support/users/dealfiles/),
 * There isn’t a way to change the output of the statistics – it is designed to 
   closely mimic the phpBB and vBulletin stats (for forums moving over like so).
 * With that being said, you can access the functions within the plugin by invoking
   the following code in your file:
 * `$stats = bbPress_Advanced_Statistics::instance( __FILE__, BBPAS_VERS );`
 * That should allow you access to the plugins instance, and from there you can 
   call functions to get the data you need (e.g `get_formatted_statistics`).
 * Hope that helps,
 * Jake
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] user’s color](https://wordpress.org/support/topic/users-color/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/users-color/#post-8601703)
 * [@narum](https://wordpress.org/support/users/narum/),
 * I am not sure what you are referring to there… there is no such message in this
   plugin (that I can see)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] user’s color](https://wordpress.org/support/topic/users-color/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/users-color/#post-8601557)
 * [@narum](https://wordpress.org/support/users/narum/),
 * That wont work as your usergroup names are different – the css file assumes you
   are in an english setup.
 * .moderator will not work as that is the english translation, you will need to
   enter whatever the groups have been renamed to.
 * For example, in order for `moderator` to work your css should read something 
   along the lines of (based on what I can see on your page)
 *     ```
       .Модератор a {
       colour: green!important;
       }
       ```
   
 * This will style all users within the group `Модератор` as green.
 * You can then repeat that for keymaster and so on.
 * Jake
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[bbPress Advanced Statistics] Very usefull plugin](https://wordpress.org/support/topic/very-usefull-plugin-49/)
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/very-usefull-plugin-49/#post-8600101)
 * Thank you for the rating [@tronix-ex](https://wordpress.org/support/users/tronix-ex/)!

Viewing 15 replies - 1 through 15 (of 135 total)

1 [2](https://wordpress.org/support/users/geekserve/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/geekserve/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/geekserve/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/geekserve/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/geekserve/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/geekserve/replies/page/2/?output_format=md)