Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
764 views
in Q2A Core by
edited by

Can anyone make a plugin or core hack for setting these values:

1. Setting Minimum points required for asking a question. ex - 10 points

2. Set minimum points required for Adding comments. ex - 5 points

3. Set minimum points required for Voting posts (questions, answers, comments) down. ex - 100 points

4. Any user can set custom points to be awarded on answering his question.

Plugin should have ability to set custom message that will be shown to users when performing those above actions.

Important: All feature that have been stated above are aleady available in q2a core. But it has some drawback that are

1. Setting Minimum points required for asking a question. ex - 10 points

Drawback: It simply hide ask button from menu and user can not see ask buatton to ask question. And if user for the url /ask then it simply says "you are not allowed to perform this action".

Solution: It should show ask menu to every user everytime, but when user visit that link it should show custom message that "You do not have enough points to ask question. Collect points by answering other's questions. You need at least 10 points to ask a question."

And then it should show some newest Unanswered questions to that user to answer and collect points. It should also show points beside question so that user should be how much points will he get by answering that specific question.

2. Set minimum points required for Adding comments. ex - 5 points

Drawback: It simply hide comment button and user can not see comment button to add comment.

Solution: It should show comment button to every user everytime, but when user click on comment button it should show custom popup that "You do not have enough points to comment on post. Collect points by answering other's questions. You need at least 5 points to comment on post."

3. Set minimum points required for Voting posts (questions, answers, comments) down. ex - 100 points

Drawback: It do not show custom message.

4. 4. Any user can set custom points to be awarded on answering his question.

Solution Example: 1. When user go to ask a question then in question form there should one extra field to set points set for the question.

User should have the option to select from the drop-down menu

When user answer that question then the points will be given that is set by user.

Q2A version: 1.8.3
by
I suppose these require core hack.
by
Hi Arjun,  do you like this idea? I think it will encourage user to ask as well as answer questions
by
These are good ones with no negative impacts I can recollect. Should be added in core I believe. Probably @Scott can comment more.

1 Answer

0 votes
by

Well contrary to what many would think about this kind of a plugin it does not need any core hack for it work. I investigated the issue and saw a few overrides and custom layers in question page/view and on navigation is all that is needed for it to work. I shall get back to you j.kargo and help you realize you desire.
As developers we need to avoid doing anything that will result to a hack so that when there is a new update of Q2A nobody looses their customization.
...