I've put user activity block on panels /user/%user page, but it doesn't show the viewed's user's user activity, only shows the loggin user's.

Needs help!
aa

Comments

rogical’s picture

Title: Can't show the viewed user's user activity on panels » Show a user activity of 'User being viewed' on panels
Status: Active » Fixed
StatusFileSize
new2.29 KB
new26.02 KB

Solved by add 'User relations activity' block.

Also, I've created a ctools plugin to show a user activity of 'User being viewed.'
aa

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mrthumpz’s picture

If someone else is looking to do this on a panel without the url being user/%user, this is how I was able to get a user's activity to show on a panel:

Create a custom panel, use PHP code filter, use whatever context for the user you have to get the uid.

module_load_include('inc', 'heartbeat', 'heartbeat.pages');
$_GET['uid'] = %username:uid;
print theme('heartbeat_list',heartbeat_messages_page('useractivity', 0));