Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter oneill78

    (@oneill78)

    Hello,
    Thanks for your reply.
    The PHP version is 8.1.29

    Thank you

    Thread Starter oneill78

    (@oneill78)

    Hello,
    I am following up on our exchange and I would like to know if you have solved the problem of moving the lessons to the courses.

    I thought an update would be released soon.
    If it is not planned this week, can you tell me which function or line of code I can modify to allow the drag and drop of the lessons.

    Thank you in advance and I wish you a good day.
    Lionel

    Thread Starter oneill78

    (@oneill78)

    Thank you ??.

    Lionel

    Thread Starter oneill78

    (@oneill78)

    Hello,
    Thank you for your reply.
    When I look at the “status” page, it tells me that the cart page has no shortcode (which seems to match with the PHP error).
    Indeed this page is created with Divi and the short code [woocommerce_cart] is not used.
    When I compare the file “wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-gtag-js.php” between versions 1.5.19 and 1.6.0, I see that a function was added in the file constructor of the latest version.
    This is probably the cause of the error which did not exist before the plugin update.
    Please let me know if this gives you an indication to fix the bug.
    Have a good day
    Lionel

    Thread Starter oneill78

    (@oneill78)

    Hi,

    I accept your answer although I don’t understand the reason.
    In WordPress, capabilities are intended to allow the creation of specific roles and/or to modify existing roles.
    For example, you can copy an existing role and then modify the new role to assign or remove abilities from it.
    It works this way in all CMS (wordpress Joomla Drupal), LMS (Moodle, Chamilo), CRM (suitecrm, vtiger, …), ERP.

    FYI, it is quite possible to create commands in the Themeum TutorLMS Pro plugin that we also use.

    I wish you a good day
    Lionel

    Thread Starter oneill78

    (@oneill78)

    Hello,

    With the user role editor plugin, if capabilities exist in a plugin, you can assign them to a role. This is what I did with the LP_order… capabilities that exist in the learnpress plugin.
    Abilities are meant to give (or take away) the ability to do what the ability allows.

    In the Learnpress plugin, it is possible to read, edit, publish orders and until version 4.1.6.8 everything worked normally (for at least 3 years).
    Thank you for reporting this problem to the developers so that they can look at the changes made since version 4.1.6.9.3.
    By comparing the files of the two versions they should find the changes made that impact the LP_order… capacities.

    Have a good day

    Lionel

    • This reply was modified 2 years, 1 month ago by oneill78.
    Thread Starter oneill78

    (@oneill78)

    Hello and thank you for your answer.

    During the weekend I made comparisons in the versions of learnpress (on a clean installation of WordPress) and if I install version 4.1.6.8 and add the capacities relating to lp_order (read, publish.. .) to the role “lp_teacher(Lp instructor)”, the teacher can enter an order and modify it with a finished status.

    For information, this addition to the “LP instructor” role was made with the “user role editor” plugin.

    Even without adding “manage options” it works normally.

    Capabilities were created for this in the Learnpress plugin, otherwise they wouldn’t make much sense if only the admin role could create or edit commands.

    But when I install version 4.1.6.9.3 of Learnpress it is no longer possible (and no longer with version 4.1.7.2).

    There have been changes made since 4.1.6.8 that prevent continuity of functionality in order entry by a role with the ability to do so.

    Can you check the changes made and put back this functionality linked to the “lp_order…” capabilities so that the orders entered by someone with the capability can do so and that they are in completed status.

    Thank you in advance and I wish you a pleasant day.

    Lionel

    Thread Starter oneill78

    (@oneill78)

    HI,

    I don’t understand why what was possible is no longer possible!
    Once again, it seems to me necessary that the validation of a command be a capacity that can be granted to a user. If you take Woocommerce, it is possible to assign the role of shop manager to a user.
    Similarly, you authorize in the settings that the LP instructor role can upload a course that it has created itself.
    It seems normal to me if an instructor is currently able to enter an order, that he can validate it, otherwise why can he enter it?

    Can you check with the developers what change they made to the order validation?
    I thank you in advance because this point is very important`

    Lionel

    Thread Starter oneill78

    (@oneill78)

    Hi,
    No, on the other hand I had the offline payment plugin which was installed but which is no longer maintained by you and which I uninstalled.
    Could it be the cause?
    Thanks

    Thread Starter oneill78

    (@oneill78)

    Hello,

    Thank you for your answer.
    In several sites with Learnpress installed, I added to the LP Intructor role the “manage_options” capability so that the instructor can parameterize the installed plugins and enter manual commands in Learnpress.

    For the past few days, instructors have been able to access manual order entry, but after selecting the course and the client, the order is put in “draft” and the client’s name is not taken into account (it is indicated “guest “).
    When I log in as an administrator, I see the order and I can select the customer and change the status to “completed”.

    Without looking in detail at the PHP code, I see that very often you do not use the capacities of WordPress to authorize certain functionalities and that you indicate the role “administrator” or “id1”.
    This prevents you from being able to give permissions to another role.

    Have you made any changes recently in the “manual order entry” module to limit entry only to the “administrator” role. If so, can you put the ability back to the role LP instructor or use the “manage_options” ability instead.

    Thank you for your answer

    Good for you

    Hello,
    I am exactly in the same situation. The 4.1.6.9 update blocked the display of videos among other things for customers (they are still visible for administrators).
    I reverted to 4.1.6.8 and everything is back to normal.
    Thanks in advance for fixing the error in the next version.
    Have a good day
    lionel

    Thread Starter oneill78

    (@oneill78)

    Thank you @largbasket for your reply.

    I’m going to update to 2.0.1 as I had reverted to 1.9.16 due to changes in 2.0.

    Thank you for your quick reaction.

    Lionel

    thank you for your quick response until the next update fixes the problem.

    Have a good day

    Hello
    I have the same issue with videos not playing since 1.9.14 update.

    Thank you for indicating the procedure to follow.

    Hello,
    We had the same problem and quizzes that had been working for several months could no longer be submitted by participants.
    We also did a lot of testing to see if this came from changes in the content-drip, the number of attempts, disabled all plugins … but the only solution that worked was to go back to version 1.8.5.
    It’s a shame, but tutorLMS developers will have to check their code for the latest updates as they impact existing trainings and quizzes. We are a small training organization and we cannot afford to have regressions in the educational tools used.

    Thank you for taking our request into account because the one we posted on Friday did not receive any response from you.

    https://www.ads-software.com/support/topic/quiz-attempt-not-validated-but-counted-and-not-recorded-in-the-database/

    Best regards

Viewing 15 replies - 1 through 15 (of 18 total)