I might be able to support the Who's online block. This is only if I can get it so it uses 1 ajax transaction for all boost extra's; use JSON (getJSON, json_encode). Would allow for jQuery to update mutiple divs with one request. I would also change drupal's block output from this
There is currently %members and %visitors online.
is this
There is currently %users online.

I think this is the only other core "feature" that relies upon core stats.

Comments

mikeytown2’s picture

Store json data in database if using this
http://api.drupal.org/api/function/drupal_to_js
since it's only available in a full bootstrap.

Getting any content as JSON

Have a loop in jQuery that gets the div's ID from JSON, see if it exists, and updates that div's contents with what was returned. JSON object has ID and DATA for each div that needs to be updated.

mikeytown2’s picture

Once again here is the simple way to do this...

include_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

$block = module_invoke('user', 'block', 'view', 3);
print $block['content'];

http://api.drupal.org/api/function/user_block

mikeytown2’s picture

Status: Active » Closed (won't fix)

Marking this as won't fix. Been thinking about this and a ajax block module is whats needed.
http://groups.drupal.org/node/24825

mikeytown2’s picture

Title: Support the Who's online block » Does this support the Who's online block?
Project: Boost » Ajaxify Regions
Version: 6.x-1.x-dev » 6.x-1.0
Component: Core compatibility » Miscellaneous
mikeytown2’s picture

Status: Closed (won't fix) » Active
csevb10’s picture

Status: Active » Fixed

Ajaxify regions should support this without issue. Please test and if you experience issues, reopen. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.