Recent Activity in a person's profile error (1.1)
When you click on a person's profile, and you click on "Recent Activity" button next to the Summary button... it doesn't show the person's recent activity.. instead it shows your own recent activity. :O
Re: Recent Activity in a person's profile error (1.1)
Reply #1 –
Ooops, the u={user_id} is missing from the URL.
Re: Recent Activity in a person's profile error (1.1)
Reply #3 –
In your ProfileInfo.Controller.php,
Just add the bolded parts:
$context['current_member'] = $this->_memID;
$context['summarytabs'] = array(
'summary' => array(
'name' => $txt['summary'],
'templates' => array(
array('summary', 'user_info'),
array('contact', 'other_info'),
array('user_customprofileinfo', 'moderation'),
),
'active' => true,
),
'recent' => array(
'name' => $txt['profile_recent_activity'],
'templates' => array('posts', 'topics', 'attachments'),
'active' => true,
'href' => $scripturl . '?action=profileInfo;sa=recent;xml;u='.$context['current_member'].';' . $context['session_var'] . '=' . $context['session_id'],
),
This should solve the problem! Not sure if it's the best way though.. wonder what will the "official fix" be?
Re: Recent Activity in a person's profile error (1.1)
Reply #5 –
Error 404 page not found :p
Re: Recent Activity in a person's profile error (1.1)
Reply #7 –
Stalking can re commence!