Forum Summary for the Front Page

Description

Sometimes it is a good idea to put some kind of summary of forum activity on the front page of the site. This piece of code does this.

The code creates 3 columns and puts 3 different modules inside to display:

  • recent forum threads
  • most active threads (within last 7 days)
  • recent forum posts

Code

[[div style="float:left; width:30%; padding:1%;"]]
+++ Recent topics
[[module MiniRecentThreads limit="5"]]
[[/div]]

[[div style="float:left; width:30%; padding:1%;"]]
+++ Most active topics (last week)
[[module MiniActiveThreads limit="5"]]
[[/div]]

[[div style="float:left; width:30%; padding:1%;"]]
+++ Recent posts ([[[forum:recent-posts|+more]]])
[[module MiniRecentPosts limit="2"]]
[[/div]]

Numbers can be of course modified.

In action

You can see this in action e.g. at the Community Site.

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +19+x
page tags: forum frontpage summary
page_revision: 2, last_edited: 1217319882|%e %b %Y, %H:%M %Z (%O ago)
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License