Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
434 views
in Q2A Core by
Like Stack Exchange that allows creating communities. I mean like creating a new blog for each

1 Answer

0 votes
by

Basically you can add separate instances of Q2A in sub-folders, then set the QA_MYSQL_USERS_PREFIX option on each.

Set up the main site first. In qa-config.php you'd have something like:
define('QA_MYSQL_TABLE_PREFIX', 'qa_');

Then copy all the files to a sub-folder or sub-domain (e.g. "meta") and in qa-config.php you would set:
define('QA_MYSQL_TABLE_PREFIX', 'qa_meta_');
define('QA_MYSQL_USERS_PREFIX', 'qa_');

Then go ahead and set up that instance of Q2A. Repeat for each sub community.

by
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/codesms1/public_html/enggexperts/engineering/qa-include/qa-install.php:43) in /home3/codesms1/public_html/enggexperts/engineering/qa-include/qa-app-users.php on line 143

Warning: Cannot modify header information - headers already sent by (output started at /home3/codesms1/public_html/enggexperts/engineering/qa-include/qa-install.php:43) in /home3/codesms1/public_html/enggexperts/engineering/qa-include/qa-app-users.php on line 180

Installed but faced this error
...