almost nothing. There are only three things to make it working basicly after installing the packages:
- activate friendly_urls and insert the nigx rewrite rules above the other rules
- enter the resource-id of the resource "forums" in system settings "discuss.forums_resource_id" (normaly it is "2" in a plain installation)
- create a login-resource with the following code and enter in system settings "discuss.login_resource_id" the id of it.
After that, you can login with your admin-user, open the demo-thread, write new posts and so on. But register is not possible. For this you have to setup register-resources. Since my last post, I made some progress and till now, everything works pretty good. I'm very glad about Discuss.
login-resource:
[[!Login?
&preHooks =`preHook.DiscussLogin`
&postHooks=`postHook.DiscussLogin`
]]
nigx-rewrite-rules:
rewrite ^/forums/thread/([0-9]+)/(.*)$ /index.php?q=forums/&action=thread&thread=$1 last;
rewrite ^/forums/u/(.+)$ /index.php?q=forums/&action=user&user=$1 last;
rewrite ^/forums/board/([0-9]+)/(.*)$ /index.php?q=forums/&action=board&board=$1 last;
rewrite ^/forums/category/([0-9]+)/(.*)$ /index.php?q=forums/&category=$1 last;
rewrite ^/forums/(.+)$ /index.php?q=forums/&action=$1 last;
rewrite ^/forums/(.+)/$ /index.php?q=forums/&action=$1 last;
I can send you my Cloud via "Send Cloud" if you are interested.
Erhard