Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Q2A Core by
I have been wanting something similar  but for people to answer rather they are Male of Female I was able to get it in the register but  can not make it mandatory,

1 Answer

0 votes

I believe you need to write a custom plugin for that. Vanilla Q2A allows you to show the field on the registration form, but doesn't have an option to make it mandatory AFAICS.

Perhaps you can get some pointers from this question.

I have used this, but it works only location. And when I active this code, user avatar does not work, I mean avatar is not shown.
For anyone to be able to even try helping you: edit your question. Show what modifications you made to the code. Describe the behavior you expected. Describe the behavior you actually got. Show all errors you were getting.
I have no ideal how to write plugins