YAFLogo

chriscoe71
  • chriscoe71
  • 79.4% (Friendly)
  • YAF Forumling Topic Starter
14 years ago
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.


Sponsor
Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
14 years ago
Nice, thanks for sharing
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
Can be added if anyone wants to add.
herman_herman
14 years ago

Can be added if anyone wants to add.

Jaben wrote:

:cheesy: