Title: User create quizzes
Last modified: March 31, 2022

---

# User create quizzes

 *  Resolved [MAHMUT TANRIKOLU](https://wordpress.org/support/users/lolonolo/)
 * (@lolonolo)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/)
 * Hello,
    I want to authorize the user(author) to create quizzes. But I don’t want
   the user to change other quizzes. can only make changes on the quizzes created
   by himself/herself. how can I do that?
 * Best wishes
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuser-create-quizzes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/#post-15514435)
 * This IS possible, but will require you to edit some of the code of HD Quiz. How
   comfortable would you be with this?
 * HD Quiz uses custom _taxonomies_ (categories) for quizzes and a custom _post 
   type_ for questions. It works similar to a blog, where you can add posts to categories.
 * Unfortunately, WordPress does not store who the “author” of taxonomies is, only
   posts. This means that HD Quiz knows who created a question, but not who created
   the quiz – or at least this is how it would have worked if I did not anticipate
   this and save the author ID as custom quiz meta 😀
 * What this means is that in order to achieve what you are looking for, we need
   to modify the function that displays the list of quizzes. We change it to the
   following logic.
 * IF: current user is an Admin, show all quizzes
    ELSE: Only show quizzes with 
   the same author ID as the currently logged in user.
 *  Thread Starter [MAHMUT TANRIKOLU](https://wordpress.org/support/users/lolonolo/)
 * (@lolonolo)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/#post-15515101)
 * Thanks for the information.
 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/#post-15515497)
 * How comfortable would you be with editing code? If I told you the file and code
   to edit?
 *  Thread Starter [MAHMUT TANRIKOLU](https://wordpress.org/support/users/lolonolo/)
 * (@lolonolo)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/#post-15515551)
 * I’m not sure, I don’t want to take the risk.
    I got many HD quizzes, I don’t 
   want to spoil anything.
 * But if you write the code maybe I can decide what to do next.
 * Thanks for your support.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘User create quizzes’ is closed to new replies.

 * ![](https://ps.w.org/hd-quiz/assets/icon-256X256.gif?rev=2936040)
 * [HD Quiz](https://wordpress.org/plugins/hd-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hd-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hd-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/hd-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hd-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hd-quiz/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [MAHMUT TANRIKOLU](https://wordpress.org/support/users/lolonolo/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/user-create-quizzes/#post-15515551)
 * Status: resolved