Skip to content Skip to main navigation Skip to footer

filters for integration

Welcome to QSM Support Forum. Forums QSM Pro Support filters for integration

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #3567
    sharif.payenda@gmail.com[email protected]
    Participant

    Hi,
    I want to integrate wp quicklatex with quiz and Survey to display math equations because mathjax is rendring slowly. I Have done it for bbpress according to bbpress documentations like this:

    function bbp_quicklatex( $content ) {
    return quicklatex_parser( $content );
    }
    add_filter('bbp_get_reply_content', 'bbp_quicklatex', 10, 2);
    add_filter('bbp_get_topic_content', 'bbp_quicklatex', 10, 2);

    I was not able to find necessary filters in your documentation. Can you tell me how can I adjust above code to work for Quiz and Master Survey?

    #3574
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Sharif,

    I will have to talk to the development team regarding your requirement. I will get back to you as soon as I hear back from them.

    Regards,
    Kriti

    #3793
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Sharif,

    The development team wants to know that you want the above filters for quiz page or results page? Please let us know.

    Regards,
    Kriti

    #3795
    sharif.payenda@gmail.com[email protected]
    Participant

    Hi Kriti,
    I need above filters for both result and quiz pages.
    Regards,

    #3799
    Kriti SharmaKriti Sharma
    Keymaster

    Ok, Sharif.

    #3896
    Kriti SharmaKriti Sharma
    Keymaster

    Hi,

    We have searched for both result & quiz page filter and make below functions:

    add_filter('qmn_end_results', 'qsm_parse_math_expression', 10, 3);
    
    add_filter('qmn_end_shortcode', 'qsm_parse_math_expression', 10, 3);
    
    function qsm_parse_math_expression($result_display, $qmn_quiz_options, $qmn_array_for_variables){
    
    return quicklatex_parser( $result_display );
    
    }

    But there should be quicklatex_parser function otherwise it will return error.

    Regards,
    Kriti

    #3900
    sharif.payenda@gmail.com[email protected]
    Participant

    Hi,
    These filters integrate both pluigns but at the end when I click result button it does not work and I am not able to see result page.

    #3931
    Kriti SharmaKriti Sharma
    Keymaster

    Ok, Sharif. I am forwarding your response to the development team.

    Regards,
    Kriti

    #3986
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Sharif,

    Our development personnel needs the admin credentials of your website so that he can give you the required solution. Please provide us the same.

    Regards,
    Kriti

    #3988
    sharif.payenda@gmail.com[email protected]
    Participant

    Hi Kriti,
    I sent a private reply with details for Admin access.
    Regards,

    #4001
    Kriti SharmaKriti Sharma
    Keymaster

    Hi sharif, I haven’t received any credentials. Please confirm whether did you send them on email or this forum?

    Regards,
    Kriti

    #4018
    sharif.payenda@gmail.com[email protected]
    Participant

    Hi Kriti,
    I sent credentials on this forum but ticked set as private reply.

    #4025
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Sharif,

    Private responses display with a blue background. Only you and I can view that message. To others only this message is visible, “This message has been marked as private”.

    Regards,
    Kriti

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.