• “Authors” can not use the plugin πŸ™

    I tried to place:
    if(current_user_can(‘edit_posts’)) {

    new WpProQuiz_Controller_Admin();

    } else {

    new WpProQuiz_Controller_Front();

    }

    in place of

    if(is_admin()) {

    new WpProQuiz_Controller_Admin();

    } else {

    new WpProQuiz_Controller_Front();

    }

    in wp-pro-quiz.php, but I get an error on the front page..

    Can someone help me?

    http://wordpress.org/plugins/wp-pro-quiz/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xeno010

    (@xeno010)

    No no no no no
    Don’t replce it.

    Wp-Pro-Quiz supports capabilities.
    Roles and Capabilities

    To edit use “User Role Editor” or … (see link) plugins.

    Thread Starter Darko1988

    (@darko1988)

    This is awesome! I did it .. πŸ™‚
    Thank you buddy. I start with creating quizzes for kids at my school.. πŸ˜‰

    Thread Starter Darko1988

    (@darko1988)

    If you need help with localization plugin in Serbian language, let me know.
    Thank you again.

    Plugin Author xeno010

    (@xeno010)

    Hello Darko1988,

    Translate WP-Pro-Quiz:

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘authors can not use the plugin : (’ is closed to new replies.