YAFLogo

Posted by: chriscoe71 - Tuesday, 10 November 2009 14:11:33
We have pretty limited real estate on our forum index page, as most people do, and were looking for a way to increase our users ability to view more of the Latests Posts without having to view the Active Topics page. I borrowed the paging code from the Active Topics page and hooked it up to the Active Discussions control. In the Host Settings > Display, there is a new field for Active Discussions Per Page. If this is set to 0, paging is disabled. If it is greater than the Active Discussions Count, paging is essentially disabled. The number of pages to be displayed would then be the Active Discussions Count / Active Discussions Per Page. I am having difficulty with the GoTo Page dropdown when clicking on the text, but for now, I think that we can live with that. If used, disregard the items relating to AnalyticsCode and IsDevServer in the YafBoardSettings.cs file. Those are a carry over from some other custom work we have on our site.

Posted by: Ederon - Tuesday, 10 November 2009 15:35:55
Nice, thanks for sharing

Posted by: Jaben - Wednesday, 11 November 2009 16:00:40
Can be added if anyone wants to add.

Posted by: herman_herman - Wednesday, 11 November 2009 16:10:15
[quote=Jaben]Can be added if anyone wants to add.[/quote]:cheesy: