Improve Forum Extension

The forum feature is still in its beta stage and therefore not documented.



The config value forum_cluster defines the namespace where the forum is located. This is necessary to provide a unique path.
So the actions forums and topics work only inside the forum cluster.


To have multiple forums you can create sub-forums within the forum cluster


e.g.


forum [ {{forums pages="Forum/Discussions,Forum/Bugs,Forum/National"}} ]
|
|__sub forums: National [ {{forums pages="Forum/National/Deutsch,Forum/National/Russian"}} ]
| |
| |__sub forum: Deutsch [ {{topics}} ]
| | |__topic1
| | |__topic2
| |
| |__sub forum: Russian [ {{topics}} ]
| |__topic1
| |__topic2
|
|__forum: Bugs [ {{topics}} ]
| |__topic1
| |__topic2
|
|__forum: Discussions [ {{topics}} ]
| |__topic1
| |__topic2
|
|..

Meta pages

Important: The permissions for comments on all forum meta pages (those having the action {{forums}} or {{topics}} ) must be empty (access via pagename/permissions)


e.g.
Settings for Forums meta page permissions

Topic pages

The engine sets special permissions for the topic pages, you usually create them with the topic action, it recognizes them over the name space.

$read_acl	= '*';
$write_acl	= $user_name;
$comment_acl	= '$';
$create_acl	= '';
$upload_acl	= '';

Notice the empty 'create_acl'. The topic action shows only pages with empty create_acl as topics .

Comments