LVAzelf Posted July 20, 2014 Share Posted July 20, 2014 Hey! I followed the guide in this topic: and got it to work, but I was wondering if there was a way to display only 5 or so recent statuses as opposed to a whole wall of updates. Thanks for you rtime! Link to comment Share on other sites More sharing options...
0 Lock Down Posted July 20, 2014 Share Posted July 20, 2014 You have 3 choices. 1. Create new template bits for the profileModern & statusUpdates with new names and use them in the new code changing the new statusUpdates template to choose only ?? statuses in the foreach statement. 2. Change the number of status updates shown for all by editing file adminapplicationsmembersextensionsprofileTabsstatus.php using ftp or file manager. find $statuses = $this->registry->getClass('memberStatus')->fetch( $this->memberData, array( 'relatedTo' => $member['member_id'], 'isApproved' => true, 'limit' => 10 ) ); Change the 10 to whatever number you want. 3. in acp system settings > members > user profiles click add a setting then follow the image then edit the file adminapplicationsmembersextensionsprofileTabsstatus.php using ftp or file manager. find $statuses = $this->registry->getClass('memberStatus')->fetch( $this->memberData, array( 'relatedTo' => $member['member_id'], 'isApproved' => true, 'limit' => 10 ) ); Change the 10 to $this->settings['maxStatusUpdates'] then the code I made change this $tab = 'status'; to this $tab = 'status'; $this->settings['maxStatusUpdates']=1; You can make the 1 anything you want. 1 Link to comment Share on other sites More sharing options...
0 Kingy Posted July 21, 2014 Share Posted July 21, 2014 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved. If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
LVAzelf
Hey! I followed the guide in this topic: and got it to work, but I was wondering if there was a way to display only 5 or so recent statuses as opposed to a whole wall of updates.
Thanks for you rtime!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts