|
Cookbook /
SimpleForumSummary: Simple and styled forum
Status: Stable
Version: 2007-11-09
Prerequisites: pmwiki-2.1
Maintainer:
Categories: CMS
Discuss: Simple Forum - Talk
Download: forumstyled.phpΔ
QuestionHow do I create a simple styled forum? AnswerI have stopped development for this commentbox based forum, all my efforts go into the much advanced FoxForum. - HansB November 08, 2007, at 06:11 PM
unpack as necessary, and copy files to the cookbook directory
CAUTION: If you are already including commentbox.php, remove it, since this recipe includes it and including both will disable the wiki (i.e., blank main page with no error message).
or alternatively use a customised form like on this page: SimpleForumGroupFooter?action=source
(click to see source and copy to the GroupFooter page)
This form is still using commentboxstyled.php, just provides a slightly different layout and different text labels.
CommentBoxPlus should be used as an alternative to the commentbox.php recipe script. You may wish to use your own styling of commentbox entries in a pub/css/local.css file. This styling will also apply to the forum Homepage newtopic box and the topic pagelist. PS: You could create an "upside-down" forum, which puts the commentbox at the top of the page and the posts below in reverse order, displaying the latest post at the top. Instead of using the GroupFooter use the GroupHeader and put there either
(:commentbox:) or the alternative form markup as described above (but leave out the word "chrono" in the sample code on SimpleForumGroupFooter.Design conceptThis simple forum combines basically three elements:
Both commentboxplus and newpageboxplus allow for styling of the form, and this styling is also applied to the pagelist topic table, so an integrated styled look can be achieved. New posts added to a topic page are automatically listed in RecentChanges, and the topic page appears at the top of the list on the forum homepage. Comments see SimpleForum-Comments?Update History
See Also
ContributorsUser notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |