Recent Activity in a person's profile error (1.1)
July 11, 2016, 11:47:47 am
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 – July 11, 2016, 12:25:12 pm
emanuele
Global Moderator
Ooops, the u={user_id} is missing from the URL.
Re: Recent Activity in a person's profile error (1.1)
Reply #3 – August 11, 2016, 01:19:30 am
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 – September 07, 2016, 12:18:40 am
Error 404 page not found :p
Re: Recent Activity in a person's profile error (1.1)
Reply #7 – September 07, 2016, 06:04:59 am
Stalking can re commence!