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

(View All Products)Featured Products

Donation Tracker


Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.

Timeslip System


Have your members submit their race times and share with others. Intergrates with our Garage System.

Videos System


Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.

Garage System


Setup a community Garage when members add their own vehicles with images and modifications.

Form Manager


Build your own forms for your members without coding experience. Support included for pm, email and topics.

Collections System


Build a community database of items for your members. Full features custom fields included.

Tutorial info Visit support topic

  • Added on: Jul 06 2010 05:01 AM
  • Date Updated: Nov 03 2010 09:42 AM
  • Views: 1719
 


Adusting the number of Recently Added Topics

How to adjust the number of recent topics displayed in the board index hook on IP.Board 3.1

Posted by AndyF on Jul 06 2010 05:01 AM
To adjust the number of Recently Added Topics displayed on the index sidebar hook on IP.Board 3.1, a small file edit is required.

Connect via FTP.

Look in \admin\applications\forums\sources\classes\forums\

3.1.2 / 3.1.1 :Edit class_forums.php, around line 2495, find...
$_topics = array_slice( $topicIDs, 0, 5 );

3.1.3 :Edit class_forums.php, around line 2350, find...
public function hooks_recentTopics( $topicCount=5, $output=true )

Adjust the 5 there to what you require (3 or 10 seems to be popular choices, although setting this too high can cause performance issues) and save, taking care not to disturb any other lines or the syntax.

Powered by Tutorials 1.5.1 © 2013, by Michael McCune