-
djanym started the forum topic Following activities in profile activity stream in the group How-To and Troubleshooting: 13 years, 7 months ago
Hello.
How to add activities of my followings (i’m using followers plugin) to profile activity stream? -
djanym posted on the forum topic Set Displayed User in the group How-To and Troubleshooting: 13 years, 7 months ago
I’ve made such way:
Added a function in functions.php and call it in beginning of the page.
function set_displayed_user( $user_id ) {
global $bp;$bp->displayed_user->id = $user_id;
$bp->displayed_user->domain = bp_core_get_user_domain( $bp->displayed_user->id );
$bp->displayed_user->userdata = bp_core_get_core_userdata(…[Read more] -
djanym started the forum topic Set Displayed User in the group How-To and Troubleshooting: 13 years, 7 months ago
Hello. How can I set displayed user not on the profile page? Example: I have a page “Home” (it’s different form profile page) and the url is something like: http://mysite.com/ I want to manually set displayed user. Something like this: bp_set_dsplayed_user( $user_id ) I know that I can use logged user var, but it’s not […]
-
djanym joined the group How-To and Troubleshooting 13 years, 7 months ago
@djanym
Active 1 year, 7 months ago