Forum Replies Created

Viewing 15 replies - 46 through 60 (of 81 total)
  • Thread Starter Ari123

    (@ucdguy)

    Hi,

    My apologies for not getting back sooner.

    Your workaround solved the issue, thank you for going to the effort of recording a video!

    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Thank you for your quick reply!

    1) I also use Vimeo for my courses, but only for already recorded videos. I use Vimeo Plus for this purpose; however, to have live streaming functionality I believe that I need Vimeo Premium, which is over ten times more expensive.

    2) My live stream must also have a chat window where students (members) can type in questions while I stream. Therefore, I cannot simply embed a live video but instead need to redirect them to another site with that stream and chat window.

    YouTube Live is almost perfect except there is no way to easily guarantee that only my members can watch the stream. Discord is also almost perfect except that only a maximum of 50 viewers can watch the stream, which is too small for my needs.

    Is there any way of having a live stream that 1) is only accessible by my members, 2) can be accessed by all of my members regardless of how many and 3) includes a chat window?

    Thanks!

    Thread Starter Ari123

    (@ucdguy)

    For the margin issue, would you kindly try to add padding instead of a 10px margin?

    I can add padding instead of a margin without issue. However, it doesn’t fix my issue about wanting to shrink the size of the column by using a margin.

    And for the horizontal scrolling, here I can see, that your data table is already horizontal scrollable.

    Yes, there is no issue with that. I was just highlighting that I’m not asking you about that scrollbar as I’m sure that’s what you’re usually asked about.

    Are you able to reproduce my issue on your end?

    Here are the steps:

    1) Add a new page.

    2) Add a data table to that page that’s wide enough to overflow on your mobile device.

    3) Add a border to the section column containing that data table.

    4) Add a 10px margin to that column

    Does the right border behave as expected for you on your mobile device?

    Thread Starter Ari123

    (@ucdguy)

    YOu should go to wp-content/cache/yourwebsite.com/ and check the cached pages timestamp.

    Did I not do that above? Did you miss that I wrote two posts? ??

    Let me know if the post that you missed helps, thanks!

    Also, Please make sure to enable HTML&XML expires header and cache control header, and for that matter, you can set it to one week.

    Well I don’t actually want it to expire at all. I was just stating one week as it would be preferred to the current one or two hours that I seem to have. ??

    Thread Starter Ari123

    (@ucdguy)

    So, I purged all of my cache at 6pm and 6:15pm. My debug info on both occasions (with my homepage refreshing instantly) was as follows:

    Object Caching 78/503 objects using disk
    
    Object Cache debug info:
    Caching:            enabled
    Total calls:        503
    Cache hits:         78
    Total time:         0.0603
    Page Caching using disk: enhanced 
    
    Page cache debug info:
    Engine:             disk: enhanced
    Cache key:          mywebsite.com/_index_slash_ssl.html
    Creation Time:      1658941247.000s
    Header info:
    X-Powered-By:       PHP/7.3.33
    Content-Type:       text/html; charset=UTF-8
    Set-Cookie:         pmpro_visit=1; path=/; secure; HttpOnly
    Link:               <https://mywebsite.com/wp-json/>; rel="https://api.w.org/"
    Link:               <https://mywebsite.com/wp-json/wp/v2/pages/274>; rel="alternate"; type="application/json"
    Link:               <https://mywebsite.com/>; rel=shortlink
    
    Minified using disk
    
    Minify debug info:
    Theme:              c128e
    Template:           index
    
    Database Caching using disk (Request-wide modification query)
    
    Db cache debug info:
    Total queries:      232
    Cached queries:     0
    Total query time:   0.3312
    
    Served from: mywebsite.com @ 2022-07-27 18:00:12 by W3 Total Cache

    I then did nothing until I refreshed the homepage again shortly after 7pm and it instead took 5 seconds to refresh. My debug info was as follows:

    Object Caching 1/670 objects using disk
    
    Object Cache debug info:
    Caching:            enabled
    Total calls:        670
    Cache hits:         1
    Total time:         0.1403
    Page Caching using disk: enhanced 
    
    Page cache debug info:
    Engine:             disk: enhanced
    Cache key:          mywebsite.com/_index_slash_ssl.html
    Creation Time:      1658945052.000s
    Header info:
    X-Powered-By:       PHP/7.3.33
    Content-Type:       text/html; charset=UTF-8
    Set-Cookie:         pmpro_visit=1; path=/; secure; HttpOnly
    Link:               <https://mywebsite.com/wp-json/>; rel="https://api.w.org/"
    Link:               <https://mywebsite.com/wp-json/wp/v2/pages/274>; rel="alternate"; type="application/json"
    Link:               <https://mywebsite.com/>; rel=shortlink
    
    Minified using disk
    
    Minify debug info:
    Theme:              c128e
    Template:           index
    
    Database Caching using disk (Request-wide modification query)
    
    Db cache debug info:
    Total queries:      367
    Cached queries:     0
    Total query time:   0.3841
    
    Served from: mywebsite.com @ 2022-07-27 19:04:12 by W3 Total Cache

    If you have any insight as to what is causing my issue I would greatly appreciate it, thanks!

    • This reply was modified 2 years, 8 months ago by Ari123.
    Thread Starter Ari123

    (@ucdguy)

    How are you checking the first contentful paint?

    Using Lighthouse, but it’s easy to spot directly since there’s such a big difference in loading time.

    And also since the pages are also cached in the Browser, have you tried enabling the Set expires header and cache control header in the Browser Cache section?
    If the BC is disabled, every time you close and re-open the browser, the browser needs to go and fetch the new set of pages even when those are cached.

    Yes browser cache is disabled, and I still have the same issue if I leave my browser open for an hour or two.

    You can check the timestamp in the /cache/folder for any cached page.

    So I ran a little test.

    I purged all cache at 3pm and refreshed my homepage. The timestamps were then as shown here.

    I then did nothing for 15 minutes. Then I refreshed my homepage and it refreshed instantly. My timestamps afterwards were than as shown here.

    I then did nothing until 5pm. Just before refreshing the homepage, I decided to check my timestamps again. They were as shown here. I then refreshed my homepage. It instead took five seconds to reload (the same time it would take if I disabled this plugin). The timestamps were then as shown here.

    (I refreshed all of the pages above in incognito mode so that I was a visitor rather than a logged-in user.)

    A few questions about the above results:

    1) When I purged all cache at 3pm and then refreshed my homepage, why did the timestamp on the “page-enhanced folder” not update? I have page caching enabled and “Don’t cache front page” disabled, as shown here. Is it because as there was no changes to any of my website, the plugin knew this and therefore didn’t see any reason to change the files in the folder, even though I asked it to purge the files in the folder?

    2) My db and object cache folder seem to be updating in the background, even if I’m not on my computer and even though my site is not live and therefore has no visitors. Is that expected behaviour?

    3) My homepage reloaded instantly at 3:15pm but reloaded slowly at 5pm. The only difference appears to be that the db folder updated for the latter and not the former. So the reason for my longer load times if I wait an hour or two is my database cache appears to be getting purged in between, is that right? Here are my settings for my database cache. If I don’t want to have these 5 second delays for at least e.g. a week, do I have change one (or both) of these numbers to a week?

    Now if you have any suspicions that the cache is being purged, you can check the purge logs that are available in the Performance>General settings>Debug section and select Page Cache.

    I was planning on including the debug info at each timestamp and then completely forgot to do it! I’ll post that info in a few hours.

    Thanks again!

    • This reply was modified 2 years, 8 months ago by Ari123.
    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Thank you for your quick response!

    Can you please elaborate on this and let me know how you can see that the cache has been purged every hour?

    The first contentful paint on my homepage is about 5 seconds when the page is not cached (i.e. if I either disable the plugin or purge the cache manually and then reload) and about 300 ms when it is cached, so it’s easy to spot.

    When I purge my cache and reload my homepage, it takes about 5 seconds before anything shows. If I then reload it again, things start showing instantly (in 300 ms) as the page is now cached. If I reload the page a few minutes later, it’s still instant (300 ms). However, if I wait an hour or two instead, or go to bed and wake up, it again takes 5 seconds the first time and 300 ms each time after that, therefore suggesting that the homepage has been purged in between for some reason.

    This doesn’t happen with the Litespeed cache plugin.

    Is there something I’m missing?

    Thanks again!

    Thread Starter Ari123

    (@ucdguy)

    Hi!

    Thank you for a quick reply.

    My website is unfortunately not currently live. However, it’s quite easy to reproduce from scratch and I just tried it there.

    1) Install a fresh copy of WordPress and install the Quiz Maker plugin.

    2) Add the following scripts:

    <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

    <script id="mjconfig" type="text/javascript">
    MathJax = {
        loader: {load: ['ui/lazy']}
    };
    </script>

    3) Add \(x^2\) to a question, an answer and the question explanation field.

    4) If the second script is removed, the \(x^2\) renders correctly in the question, the answer and the question explanation field on the results page. However, if the second script is included, the \(x^2\) does not render in the question explanation field on the results page.

    Thanks again!

    Thread Starter Ari123

    (@ucdguy)

    Awesome, I look forward to it hopefully appearing in a future release.

    Thanks again! ??

    Thread Starter Ari123

    (@ucdguy)

    Thanks again for your reply!

    I know nothing about SQL so perhaps the question that I’m about to ask doesn’t make sense.

    “by using the “Display past events”, you tell the system to retrieve the past events”

    Can you not use some conditional statements there to define what is meant by a past event?

    if "display past events = on"{
    
       if “at the latest = on” {
          "retrieve and display events older than n days / hours / minutes as past events"
          "retrieve and display all other events as future events"
       }
    
       else {
          "retrieve and display events that have already started/ended as past events"
          "retrieve and display all other events as future events"
       }
    
    }
    
    else {
    
       if “at the latest = on” {
          "retrieve and display events starting in at least n days / hours / minutes or later as future events"
       }
    
       else {
          "retrieve and display events starting now or later as future events"
       }
    }
    • This reply was modified 2 years, 8 months ago by Ari123.
    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Thanks for the clarification!

    So, I can only show past events if I allow for my events to be booked last minute? Is there logic behind that? It seems like it would be quite a trivial thing to allow for it to work with that option enabled – simply redefine a past event as starting before current time - at the latest time difference rather than current time.

    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Thank you for the quick reply!

    I don’t see the “display past events” option on that tab.

    View post on imgur.com

    Is this caused by a plugin conflict, or is there some setting that’s causing it not to show?

    Thanks!

    Thread Starter Ari123

    (@ucdguy)

    Perfect, thanks!

    Thread Starter Ari123

    (@ucdguy)

    Perfect!

    Thank you again for your quick and detailed reply, greatly appreciated! ??

    Thread Starter Ari123

    (@ucdguy)

    Edit: I think I figured out the answer to the above, so please ignore!

    Instead, I have a different question if you don’t mind, my apologies!

    How does one switch these dates in the week view to be in the form date/month rather than month/date?

    I’m struggling to find the setting in either the free version or the display pack add on.

    I thought that changing the “Calendar localization” setting to “Based on more WP settings” might do it but, as it says, it affects the time format but not the date format.

    Thanks again, I promise that’s my last question!

Viewing 15 replies - 46 through 60 (of 81 total)