Okay
  Public Ticket #3116554
courses page in WPLMS 4.4
Closed

Comments

  •  12
    MeesterGijs started the conversation

    Dear Alex,

    I think we're almost there. A few things are still open. But this is a big one as well... Four questions.

    Q1: So my website has a menu. Biggest element is the courses overview page. It's at this url. But why, when I click the url or type it in, it adds #component=course to the slug. It sometimes also doesn't load, I have to click again or refresh page. I have no page caching, only cache hosting..

    Q2: When I (role: student) click a course, student has active membership, I'm send to the checkout. Any update on what's causing it?

    Q3: Is it possible to access the specific course page (like here), because at my staging website with wplms 4.4 it's not possible. And is it possible that when at the course page and you click the course button you are not redirected to courses directory in vibeBP app, but immediately inside the course inside the vibeBP app?

    Q4: When I am an administrator or instructor and I click a course from the old courses overview page I do get send to a specific course and when I click I course I get into the old environment. But then it stucks with the first unit. I can't go to next. Also, why am I not send to the app environment when I'm a administrator or instructor? Is this setting related?

    Very curious to all four answers. Thanks in advance.

    Gijs

  • [deleted] replied

    1 . Sometimes it does not loads the issue not appearing to me . 

    Please ignore the #component thing it does not affect anything related to seo and working  . 

    The page might be crashing the database since there are so may courses loading at once . 


    2 . Please check the student's cart , I thik there is a course product present in his cart . 


    3 . yes please enable full course status in course button from wp-admin -> lms-> settings .


    4. which overview page ? You might need to be enrolled into the course in order to see course status . 



  •  12
    MeesterGijs replied

    1. It never crashed before. Why would it now? It has always been quite a quickly loaded page. Something else that may add to this issue?

    2. Wow! Very smart. I think I had code that would automatically add product to cart, for some reason. After emptying cart the issue didn't happen. Thanks! I checked the three bits of code in the customizer plugin that had the word cart in it and none of them caused the problem. But when I emptied the entire file, the problem was solved. Could you have a look in my customizer.php and see if you can spot the problem?

    3. Solved by emptying cart, and having enabled full course status. Thanks!

    4. This page https://staging-meestergijs.kinsta.cloud/cursusaanbod Which is where visitors would find a course before VibBP app. I would think that using that page is perfect, even the course page. But once the course button is clicked I would think that a student is being redirected to new course environment in vibeBP app. But he isn't. See video. Long video, but I think I make it very clear what it is that I want.

    Gijs

  • [deleted] replied

    1 . Server load , its gonna crash at some point . 


    2 . the issue could be due to wrong course product configuration you had peviously . IT should not appear now 


    4 . Already told to deselect the take this course page and enable full course status on course button .

  •  12
    MeesterGijs replied

    Dear Alex,

    Something is wrong.... Have a look at this video. Underneath I will tell you what is going wrong and at what time in the video.

    00:00 You see that my course buttons are missing... They weren't missing two minutes before I recorded the video...

    00:28 The course button at this specific course says: TAKE THIS COURSE, meaning I still have to pay for it. It doesn't say: START COURSE. This is weird, because I should have access...

    00:36: Went back to courses overview page, takes a very long time to load. Actually, the images are never fully loaded. Course buttons still empty...

    00:59 I am logged in but when (at 1:02) I go to specific course you see that the username isn't loaded. It shows three dots. Why?

    1:02 I was logged in, I click a specific course and now I get the log in popup. Why? I go back and now I see the username (1:05)

    1:06 The buttons have to load... And then it no longer says TAKE THIS COURSE. Now it says CONTINUE COURSE. Huh?

    1:12 And yes! I can finally access the course. But the first 70 seconds are horrible. Why is this happening? What can I do? This is not an experience I want to give my paid members. This is bad for my reputation.

    Please help,

    Gijs

  • [deleted] replied

    Yes on single course page it first validated if user is logged in or not , then it loads if user is enrolled into course or not . 

    Then it shows the contiue/start course button . 

    while validating these two things it shows the take this course button momentarily . 

    But it shows user to login if status does not load in the meantime . 

    I dont think it will cause any trouble  . 


  •  12
    MeesterGijs replied

    "while validating these two things it shows the take this course button momentarily"

    If that's the case I would rather have the button not show text until it has been validating. It is kind of misleading in a way. I know that it's not intentional... 

    But why are some of these page taking so much time to load? Hosting is telling me that a staging website should not have a differente expierence than a live website..

  • [deleted] replied

    Well if user is not logged in then we should show the take this course text . 

    ITs just for a moment when page load it shows loading sign . You can enable page loader from wp-admin -> wplms -> miscllaneous in order to delay the showing of course page html .

  •  12
    MeesterGijs replied

    We can close this now. Once my staging is copied to live I know how quick loading time is and if this is still an issue.. For now no further questions. Thanks!