Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.
I am copying this issue into our internal tracker (issue:239), and marking this page as deleted. We need to make a new community forum, I think. We'll do that once the forum template is properly working.
Portfolio
I don't think we should start anew with the community forum until we have individual posts as pages as well, instead of using comments.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Hmm. So, using ListPages to display comments, and killing the Comments module? I'd not really thought of doing that but it sounds interesting. The danger is that it will just be too difficult for people to use. I really like being able to chuck a comments module into a template.
Portfolio
OK, presumably not killing the Comments module, but at least not using it for the forum…
We need to test the idea and see what's missing today.
Portfolio
I was thinking about something like this being supported:
[[module ListPages category="forum" parent="announcements:_start" tags="%%page_unix_name%%" order="dateCreatedDesc"]]
%%title%% %%author%%
%%content%%
[[/module]]
Doing it this way would meant that each comment is a page, we can set permissions so that only the comment/page author can edit. We can allow file uploads. We can even allow rating of each comment/page.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Or… using the same parent technique as for posts. No tags for this, keep them for state (_closed, etc.).
Which starts to turn a forum into a kind of living, stateful tree of discussion where the top level is "thread" but in fact it's pages all the way down. Freaky.
The UI will be hard: i.e. how to show children of children. Or do we restrict to two levels (thread/post) and leave it at that for now? Simpler is better here, I think.
Portfolio
I mean, attach comment pages to the parent post page, not the section:_start.
Portfolio
Yes, as I said, parenthood is another alternative. Half-way through writing my post it occurred to me that using parents was the better option.
Very freaky ;)
Why would we need to show children of children?
Forum
— Section
— — Thread
— — — Post
Hmm… you mean showing a count of the number of comments for each thread, on the section page?
I suppose CountPages would need to be able to be used within other modules:
[[module ListPages parent="announcements:_start" ......]]
[ table ] [ row ]
[ cell ] thread-title [ cell ]
[ cell ] latest-post [ cell ]
[ cell ] number-of-posts( CountPages…where parent="thread-title") [ cell ]
[ row ] [ table ]
[[/module]]
Modules within other modules? Now that's really freaky ;)
Not to mention powerful!
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
I actually wanted to use CountPages inside ListPages and was a bit sad to discover that we can't put modules in other modules. Maybe as inline elements.
To emulate nested comments. But that may be unnecessary: a flat thread is often simplest, and I'm not a great fan of nesting, especially when we put newest comments at the top.
Portfolio
Can support be added for this (modules within modules), or is it technically impossible?
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
It seems to be a limitation of the parser due to the fact there is weak closure. We'll probably fix this by using [[module name... /]] as an explicit closure for modules that optionally allow a body. ListPages being one.
We'll have to come back to this, it looks like nested modules is inevitable.
Portfolio