Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @faktanett

    Participant

    Figured it out.

    Added to new files: profileredirect.php and messageredirect.php

    Code for profileredirect.php

    ` require(‘wp-blog-header.php’);
    header( ‘Location:’ . bp_loggedin_user_domain() . ” ) ;`

    Code for messageredirect.php

    ` require(‘wp-blog-header.php’);
    header( ‘Location:’ . bp_loggedin_user_domain().’messages/’ . ” ) ;`

    Then also installed https://wordpress.org/extend/plugins/nav-menu-roles/ and assigned the menu items to only be visible to logged in users (it will loop indefinately and time out if a logged out user tries to use them)

    Just in case someone else wants to do this.

    @faktanett

    Participant

    Thanks a lot for your help guys. Now I just have to figure out why Object=status returns nothing. I have posted several test status updates to my profile, but still nothing shows

    @faktanett

    Participant

    also, how do I combine more arguments? say I waht both object and max

    @faktanett

    Participant

    Ok. I have managed to get almost there. One issue though. I cannot for the life of me get my query to show only the 5 last status updates.

    When using the below query, nothing is returned.

    if ( bp_has_activities(‘object=status’) )

    Or am I misunderstanding what “Status” is? (I am assuming it is when you post something in the “What’s new MEMBER?” to your profile)

    @faktanett

    Participant

    Been looking at that. It could just awell be written in klingon :p

    I tried just copying the defailt loop as a test, and got no output.

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