• Resolved lxxxxxxl

    (@lxxxxxxl)


    A great plugin. I have one very important issue. I have comments on the pages. And when I do the mobile version, the comments on the mobile are kind of reset. I would like to see all old comments on the new “mobile version”. It is possible?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jose

    (@giuse)

    Hi @lxxxxxxl

    thank you very much.

    Try the beta version 0.1.2.
    You can download it from here: https://downloads.wordpress.org/plugin/specific-content-for-mobile.0.1.2.zip

    If the direct link doesn’t work, go to https://wordpress.org/plugins/specific-content-for-mobile/advanced/, scroll down until “Please select a specific version to download.”, select 0.1.2 and click on Download.

    Unzip the package and update the plugin via FTP.

    If you can’t use FTP, I will tell you how to modify the code.

    Thread Starter lxxxxxxl

    (@lxxxxxxl)

    OK, I downloaded the beta version 0.1.2 and then removed the old version on FTP. Completely from the / wp-plugins directory. Then I uploaded these new pure beta versions. The plugin works but the mobile site does not switch at all anymore. I removed even the earlier mobile version and made a new mobile page from the beginning. Nothing was given either. Now the plugin doesn’t respond at all. Although the page is made for a mobile version, it is still loading the desktop version.

    Plugin Author Jose

    (@giuse)

    Hi @lxxxxxxl

    on my installations it works. Do you maybe have problems with the cache?
    Can you share the URL of the page where you see no difference between mobile and desktop?

    Thread Starter lxxxxxxl

    (@lxxxxxxl)

    Yes I use WP fastest cache plugin and version PRO with mobile support. I deleted all cache. Nothing change.
    Here is direct link to page that I made desktop and mobile version.
    https://epidemia-koronawirus.pl/testy-w-polsce-koronawirus/

    Plugin Author Jose

    (@giuse)

    Try adding a query parameter in the URL: https://epidemia-koronawirus.pl/testy-w-polsce-koronawirus/?no_cache=true

    With the original URL, I don’t see any difference, but without cache, I see mobile and desktop are different if I check the HTML differences with this tool: https://www.diffchecker.com/diff

    With the original URL on both desktop and mobile, I see these classes for the body tag: isnt_phone is_computer

    Without cache I see is_mobile isnt_computer when I check on mobile.

    It looks the cache is serving the same version both for mobile and desktop.

    Plugin Author Jose

    (@giuse)

    It looks you have problems with mobile and desktop cache.
    Sometimes I see <!– Mobile: WP Fastest Cache file was created in 1.0075721740723 seconds, on 11-05-20 14:14:50 –> on desktop.

    I suggest disabling Specific Content For Mobile to be 100% this beta version is not causing problems to WP Fastest Cache.

    Then, until you don’t always have the mobile cache on mobile and the desktop cache on the desktop it’s not possible to understand if SCFM gives problems.

    You have to see the classes isnt_phone is_computer only on desktop, never on mobile as it happens now.
    And the classes is_mobile isnt_computer only on mobile, never on desktop as I see now.

    SCFM doesn’t add these classes. I don’t know which plugin adds them, but probably they are showing a problem.

    Thread Starter lxxxxxxl

    (@lxxxxxxl)

    I tried add query to url – nothing happened. I tried to disable the cache plugin. Nothing too.
    Strange because yesterday on the official version of your plugin everything worked well except for the problem with these comments. That’s why I started the topic

    Plugin Author Jose

    (@giuse)

    Maybe this beta version is causing problems to the cache, or you have also server cache directly on your server.

    I don’t exclude this beta version is causing problems. The probability is not low, but first you should have a clear situation with the server cache.

    After the server cache situation is clear, we can check SCFM.

    It looks you have disabled the cache, I see the body classes are now in according to the device.

    I suggest the following to understand if SCFM is causing problems to WP Fastest Cache:
    – disable SCFM
    – activate again the cache
    – load the page on the desktop with Google Chrome
    – inspect elements and check the body classes, you should see is_computer isnt_mobile
    – switch to mobile simulation mode (the icon on the left of Elements)
    – reload the page and check the body classes, you should see is_mobile isnt_computer
    – repeat a few times with desktop and mobile mode also deleting the cache

    If you always see the right classes for the body:
    – enable SCFM
    – repeat the points above

    If the classes don’t respect the device, it means SCFM is giving problems to WP Fastest Cache. In this case, I will investigate deeper on the beta version focusing on the cache.

    If you see SCFM has no impact on the cache, but it’s a problem of content replacement, I will focus on this topic.

    Thread Starter lxxxxxxl

    (@lxxxxxxl)

    OK now I returned to stable version and works fine. But still problem with comments.
    Here is screen. See mobile version has no comments https://imgur.com/o1XdoGQ
    Dekstop has 39 comments.
    Now you may check diffrence dekstop vs mobile https://epidemia-koronawirus.pl/testy-w-polsce-koronawirus/
    Comments at the bottom of the page

    Plugin Author Jose

    (@giuse)

    The stable version 0.1.1 doesn’t show on the desktop the comments left on mobile, and doesn’t show on mobile the comments left on the desktop. They are separated.
    On mobile you will see the comments left on the mobile.
    You will never be able to see desktop comments on mobile devices with the stable version 0.1.1.

    I think it’s better to wait until next stable version is ready.
    Until then, the actual version doesn’t allow that and I see the beta version gives too many problems.

    The next stable version will be not ready before 2-3 weeks, and I can not provide a date for sure.

    Thread Starter lxxxxxxl

    (@lxxxxxxl)

    OK thank you for your help!

    Plugin Author Jose

    (@giuse)

    Hi @lxxxxxxl can you check please the new version 0.1.2?

    Let me know if you still have this problem.

    Plugin Author Jose

    (@giuse)

    Hi @lxxxxxxl
    I haven’t heard any news from you, I will close this thread for inactivity.
    If you have issues don’t hesitate to open a new thread.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Comment reset when the mobile version is created’ is closed to new replies.