• Resolved Jason Chong

    (@dantianhealth)


    I am trying to implement gamipress with TutorLMS to increase student engagement. My intention is to award points when they create a new Q&A on a course, or reply to a question already there.

    I am using the “Click a button with a specific Class” and trying to apply the css class “sidebar-ask-new-qna-submit-btn” but it does not appear to be registering as an event.

    Has anyone had any luck with this or can guide me to the correct class to be used (the class for the reply button would also be much appreciated)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jason Chong

    (@dantianhealth)

    NB I am trying to apply this to the pre-existing buttons within TutorLMS, is it possible to do this?

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @dantianhealth,

    In the case of using custom buttons or other predefined ones. It is necessary to add the “gamipress-button” class so that GamiPress can detect that button and thus award profits. If it is a button created by TutorLMS you should add the “gamipress-button” class to the button code.

    In the following link you can get more information about how to use it in custom elements.

    https://gamipress.com/add-ons/button/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button with css class’ is closed to new replies.