Forum Replies Created
-
In reply to: Adding “My Profile” and “My Messages” to main menu
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.
In reply to: Custom Activity feed – need help with codeThanks 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
In reply to: Custom Activity feed – need help with codealso, how do I combine more arguments? say I waht both object and max
In reply to: Custom Activity feed – need help with codeOk. 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)
In reply to: Custom Activity feed – need help with codeBeen 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.