• Resolved graphichome

    (@graphichome)


    Love the product and just donated to the cause. Need help because of something silly I did. I was trying to modify some of the button names and did something that I am now getting an error every time I try to load a quiz. The file I modified was
    WpProQuiz_View_FrontQuiz.php

    Here is the error I am getting.
    Fatal error: Call to undefined method WpProQuiz_View_FrontQuiz::showMaxQuestion() in /home/content/g/r/a/graphichome/html/ase_wp/wp-content/plugins/wp-pro-quiz/lib/controller/WpProQuiz_Controller_Front.php on line 147

    I have several quizzes built and don’t want to run the risk of losing anything by reloading the plugin.

    Any help is appreciated.

    https://www.ads-software.com/plugins/wp-pro-quiz/

Viewing 1 replies (of 1 total)
  • Plugin Author xeno010

    (@xeno010)

    Hello graphichome,

    Thank you for your donation.

    please, do not edit the php files.

    Replace the modified file with the original -> https://downloads.www.ads-software.com/plugin/wp-pro-quiz.0.27.zip
    or wait of version 0.28 (release in 3-4 hours)

    For modify names und language:

    A)
    Use the “Codestyling Localization” plugin. This is very simple.

    B)
    manually with PoEdit:

    You need:
    PoEdit
    Latest POT file

    PoEdit:
    – Open PoEdit
    – File – New catalogue from POT file…
    – Choose wp-pro-quiz.pot
    – Set “Translation properties”
    – Save PO file – with the name “wp-pro-qioz-de_DE.po”
    – – replace de_DE with your countries short code (e.g. en_US, nl_NL…)
    – Translate
    – Save
    – Upload generated *.mo file to your server, to /wp-content/plugins/wp-pro-quiz/languages
    – Finished

    Please note:

    You can translate WP-Pro-Quiz from existing to existing language (e.g. english to english) e.g. to rename buttons.

Viewing 1 replies (of 1 total)
  • The topic ‘Messed up php file need help’ is closed to new replies.