Skip to:
Content
Pages
Categories
Search
Top
Bottom

Displaying “Who is online” in theme (without widgets)

  • Avatar of Pulk99
    pulk99
    Participant

    @pulk99

    hi,

    I would like to display the “Who is online” widget, but without using the widget ;)

    I tried:

    <?php bp_core_widget_whos_online(); ?>

    but then I get an error:

    Warning: Missing argument 1 for bp_core_widget_whos_online(), ….

    Warning: extract() [function.extract]: First argument should be an array in /var/www/mydomain.com/cms/wp-content/plugins/buddypress/bp-core/bp-core-widgets.php on line 166

    I’m not sure what arguments it needs, I tried:

    <?php bp_core_widget_whos_online(’3′); ?>

    3 = max. number to show. but then I still get the error. how do I use it right?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.