Jump to content

Welcome to DevFuse Forums

Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Jun 26 2010 05:05 AM
  • Date Updated: Jun 26 2010 06:03 AM
  • Views: 2498

Adjusting status updates limit for 3.1.x

How to adjust the number of status updates shown on the board index for IP.Board 3.1.x

Posted by AndyF on Jun 26 2010 05:05 AM
Adjusting the number of status updates displayed is very easy to do with just a tiny edit. This quick article is for 3.1.x only as adjusting it on 3.0.5 a simple matter of editing the hook itself, whereas 3.1 has it in a different location.

Connect via FTP.

Look in /admin/applications/members/sources/classes/hooks/gateway.php

Find (near the end of the file, around line 84)...
$statuses = $statuses = $this->registry->getClass('memberStatus')->fetch( $this->memberData, array( 'limit' => 10, 'status_is_latest' => 1 ) );

Change the 10 there to what you require (3 or 5 seems to be a popular choice), taking care not to disturb any of the syntax and save. :)

Powered by Tutorials 1.5.1 © 2017, by Michael McCune