Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+6 votes
in Q2A Core by
Is there any way to start a private question answer site for teacher and students?

1. Student asks private question

2. Teacher (Admin) Answers Question privately

3. Other students can't view this conversation.

4. Students can view only his own conversation with teacher (admin)

5. Teacher (admin) can view everything.

Similar example - http://question2answer.org/qa/57624/how-allow-only-author-answer-own-question-thanks-for-your-help

I think it could be done using layer plugin.

Does anyone know how to do this?

Thanks for your help.
Q2A version: Latest
hello sir did you solve this problem please send me the code if you solve this problem
It depends on what you want to do.

It is complicated to do it with q2a but possible.

It requires core changes on multiple pages.
You may have to disable few list pages.

Make these three pages visible by admin and question author only by getting their userids

- Single question page


Creating custom pages is quick and easy

You need to create two custom php pages using method from this code

Page 1. Teacher profile page and form to submit a question.
Page 2. Conversation page to view question and answers by teacher and student.

Save userid of teacher and student in db table along with question, answers then you can show question answers based on loggedin userid.
sir i am beginner can you provide that code please send me on my email plz dawadidavid@gmail.com

1 Answer

0 votes
Maybe use to external form and set cookies, but hard work.