[pmwiki-users] New recipe: Fox

Hans design5 at softflow.co.uk
Mon Dec 18 08:34:10 CST 2006


Monday, December 18, 2006, 10:40:37 AM, malexism wrote:

> I saw your examples. Many way to use Fox, it's usefull and seems simple.
> Is it possible to imagine a threaded forum ? As is, it's difficult to
> see new messages.

I built FoxForum the same way as Simple Forum: Each new topic is
created as a new page, and all posts on the topic are posted in the
page. I can't quite imagine how to set up a threaded forum (but there
may be a way). But I can imagine many ways of making new messages more
visible. For instance the topic index could be built differently with
a different pagelist format, to include the latest message, or at
least a part of it.

But I think a threaded model does not work well with the linear
storage of messages on one page per topic. A threaded modal may be
achievable with ZAP, as it stores each message post on a different
page, if I understood rightly.

I am going to add to Fox still an end-of-post anchor, so each post has
a starting and ending anchor, and can be included in another page
easily like (:include PageName#post12#post12end:)

At the moment Fox puts a start-of-post anchor to each post of form
[[#fox$id]], $id being replaced with a number derived from counting the
posts + 1. This is nice and readable, but if someone deletes a post,
The next post will get an anchor with the same name as one already
existing. So I need to revise this part too, perhaps just use the
timestamp to create the anchor.

Ideas most welcome!


Hans





More information about the pmwiki-users mailing list