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: Jul 11 2010 01:41 PM
  • Date Updated: Jul 11 2010 01:41 PM
  • Views: 3335
 


Adjusting Today's Top Posters

How to adjust the number of members in 'Today's Top Posters' board index hook

Posted by AndyF on Jul 11 2010 01:41 PM
A quick tutorial on how to adjust the number of members shown in the 'Today's Top Posters' hook on the board index. This is for IP.Board 3.1.x

A small file edit is required. Connect via FTP.

Open /hooks/boardIndexTopPosters_**number**.php

Find...(around line 61)
'limit'	   => array( 0, 9 ),

Adjust the 9 there, taking care not to disturb the rest of the syntax or any other lines.

Save. :)

I would recommend you stay with a multiple of 3 to keep it tidy, the most common value here to replace the default of 9 is typically 6 or 3.

You will need to re-perform this edit if the hook is recached (such as an upgrade) but it will only take a moment to do so.

Powered by Tutorials 1.5.1 © 2016, by Michael McCune