Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • chroniko
    Participant

    @chroniko

    better solution to check online users:

    `
    function bp_is_user_online($member_id=0){
    if(!$member_id)
    $member_id = bp_displayed_user_id();
    $now = time();
    $last_activity = bp_get_user_meta($member_id, ‘last_activity’, true);
    $last_activity = strtotime($last_activity);
    if( ($last_activity + 300) >= $now )
    return true;
    }
    `
    300 (in seconds) is default buddypress interval to check online users.


    chroniko
    Participant

    @chroniko

    I add some detail.
    I’m using WP 3.3.1 and Buddypress 1.5.3.1
    I tried deactivating all plugins and using standard Buddypress Theme. Nothing change: no screen notification for reply to activities.


    chroniko
    Participant

    @chroniko

    Same problem here. I temporarily solved by using remove_all_filters('upload_dir'); in my theme. I hope for a better solution in the next buddypress core update.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar