WordPress.org

Ready to get started?Download WordPress

Forums

WP Math Publisher encoding in Quizzin (5 posts)

  1. theKANG
    Member
    Posted 3 years ago #

    Greetings,

    I want to create mathematics quizzes on my website using the Quizzin plugin. However I of course need to enter mathematical equations into my quizzes, and thus I want to use WP Math Publisher. However when I enter the [pmath] code into my quiz, it physically just types out [pmath] rather than converting it into the mathematical form.

    Can anyone help me understand what the issue is within the coding, and how to fix this issue?

    I think it might be because of this code in the WP Math Publisher:

    // Register our WordPress text filter, to_phpmath, into the two hook routines, the_content and comment_text.
    if (!ENGAGECOMMENTS) {
    // Register comment_text updates after all priorty comment processing filters.
    // Note: calling the comment filter first, before the content filter, fixed comment_RSS feed errors.
    remove_filter('comment_text', 'to_phpmath');
    } else {
    add_filter('comment_text', 'to_phpmath');

    I'm assuming that if I want to get WP Math Publisher's filter to work on Quizzin, then I need to add some sort of:

    add_filter('_________', 'to_phpmath');

    to my WP Math Publisher plugin. However, I do not know what I need to enter into the blank to make it filter over Quizzin.

    Thanks for any insights!

  2. theKANG
    Member
    Posted 3 years ago #

    Bumping for great justice! Does anyone have even a little insight into this problem? =)

    Thanks!

  3. gmichaelguy
    Member
    Posted 3 years ago #

    I created a new plugin based on Quizzin for use on some mathematics sites I'm working on. I use mathjax for my encoding of mathematics in latex. Take a look at one example of this in use at in a site still under construction at http://amireadyformath.com/?page_id=7 I will post the new plugin here shortly.

  4. accuphase
    Member
    Posted 3 years ago #

    Dear Gmichaelguy,

    Your work at http://amireadyformath.com/?page_id=7 is so so so great. Will you post the plugin? I am looking forward to your next post.

  5. gmichaelguy
    Member
    Posted 3 years ago #

    I've had the plugin posted for some time now. It's called mTouch Quiz plugin. You can take a look at
    http://gmichaelguy.com/quizplugin/
    for more info. you can search for it in plugins now.
    http://wordpress.org/extend/plugins/mtouch-quiz/

    Enjoy.

Topic Closed

This topic has been closed to new replies.

About this Topic