Administrators Nathan Posted July 16, 2014 Administrators Share Posted July 16, 2014 Out of the box with IP.Board you cannot change the amount of recent topics it shows. It defaults to 5. Here's an edit that gives you 10 and has a scroll bar to help save on space. Lookup the file /admin/applications/forums/sources/classes/forums/class_forums.php Around line 5519 change: public function hooks_recentTopics( $topicCount=5, $output=true ) to public function hooks_recentTopics( $topicCount=10, $output=true ) You now will see 10 recent topics instead of 5. Now on to making it look pretty. Open up your ipb_styles.css file in your look and feel editor in the adminCP. Scroll down and add this to the end of file. .__xXrecent20topics ._sbcollapsable{ overflow-y: scroll; height: 270px; overflow-x: hidden; } Quote Link to comment Share on other sites More sharing options...
misterv520 Posted July 18, 2014 Share Posted July 18, 2014 Nice. I noticed something was different with the board, I just couldn't make out what. It's funny that I used the recent topics to find this thread too haha! Quote Link to comment Share on other sites More sharing options...
Administrators Nathan Posted September 3, 2015 Author Administrators Share Posted September 3, 2015 Updating this for 4.x version of IP.Board. The code edit in the php file is still the same, however the CSS needs be modified some to this: .ipsWidget.ipsWidget_vertical.ipsBox:nth-of-type(1){ overflow-y: scroll; height: 412px; overflow-x: hidden; } Quote Link to comment Share on other sites More sharing options...
Administrators Nathan Posted January 3, 2018 Author Administrators Share Posted January 3, 2018 Updated for 4.1x and above here: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.