WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[resolved] [Plugin: WPtouch] Mobile Site does not work on new Android OS? (83 posts)

  1. tomavip
    Member
    Posted 1 year ago #

    Yes, the AidenC tip is working fine for me as well but not totally fix because still an issue for me when trying to display a picture with Dolphin or 4.2.2 stock browser.
    The thumnbail is fine but as soon clicking the picture, the slideshow is not starting properly but I get the picture in a white page without any possibility to do anything else (I can just previous).
    If I use Chrome, it's working fine. Then if I come back in the same gallery with Dolpin now it's working fine.
    Do you have same behaviour? If you have any tip, it will be great:)

  2. Aleix Vidal i Gaya
    Member
    Posted 1 year ago #

    Sorry tomavip, I use a plugin for showing pictures in gallery from picasa and poping them up with Lightbox. Not working so well on mobile, but it's a secondary problem, for me, right now.

    For the instance, I've checked the AidenC workaround in other mobiles than Android 4.2 with stockbrowser and, surprisingly, the mobile site is not showing correctly (absence of css, it seems), just like was showing on Android 4.2 stockbrowser before the workaround.

    So, it fixes on one hand, but on the other it brokes them!

    Getting back to the original files without AidenC mods. Sorry!

  3. tomavip
    Member
    Posted 1 year ago #

    Yes for me WP Touch is bugged on 4.2.2 stock browser. I'm using now JetPack for mobile support and everything is fine.
    Jetpack has less option and less sexy but it works fine contrary to WPTouch...

    What are the team of developpers are doing to fix this issue (first post on this issue was 8 months ago...)???

  4. donangel
    Member
    Posted 1 year ago #

    I'm sick and tired of this... I also decided to start using JetPack stock rendering, because it seems no one cares to fix the issue.

    I'm vivid Android (and Dolphin browser) user and I do find this unacceptable :(.

    Hopefully, the issue will be fixed, so I can go back to WP-Touch, which I like much more than JetPack.

  5. Aleix Vidal i Gaya
    Member
    Posted 1 year ago #

    I'm totally with tomavip and donangel. I was also using JetPack temporarily until the wptouch team found a fix for that big bug that it's (at least) 8 months old, already!!!

  6. Jason Heithoff
    Member
    Posted 1 year ago #

    Borrowing on what AidenC said. I think I have found a solution. His workaround works but it changes the logic of the code which may cause other problems unforeseen.

    Since Android 4.1.1 the 'HTTP_X_REQUESTED_WITH' parameter is set to "com.android.browser" for all non-ajax requests. If you want to check for ajax requests you need to check that HTTP_X_REQUESTED_WITH is set and that
    strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'

    So here is how you fix WPTouch:

    Edit the first line in:
    "themes/default/page.php", "themes/default/index.php" and "themes/default/single.php"

    Replace with this code:

    <?php global $is_ajax;
    if(isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
            $is_ajax=true;
    }
    else {
            $is_ajax=false;
    }
     if (!$is_ajax) get_header(); ?>
  7. tomavip
    Member
    Posted 1 year ago #

    Hi Jason Heithoff,

    I tried your code, it seems to work fine for the moment.
    Thank you for your help (and thanks to AidenC as well:))

  8. Aleix Vidal i Gaya
    Member
    Posted 1 year ago #

    Hey Jason! Great work fixing the AidenC workaround!!

    Thank you! It works for me, for the moment (I will be testing in some different smartphones...)

    :D

  9. cparente
    Member
    Posted 1 year ago #

    Hello, could someone help a Noob out? This code sounds really interesting, but I can't see the theme.php files referenced when I use the plugin editor in WP. How do I access those files?

    Thanks in advance.

  10. cparente
    Member
    Posted 1 year ago #

    Please disregard, logged into server and saw these files.

    And it worked! Looks great. This is my first plugin code hack. Thanks for sharing your expertise with a beginner via this thread.

  11. Peter Hilbring
    Member
    Posted 1 year ago #

    Hi Jason,

    you made my day ;-)

  12. mstep
    Member
    Posted 1 year ago #

    Does anyone know if that fix by Jason has been incorporated in WPTouch Pro 3?

    Is the fix working for everyone?

    Can Bravenewcode code comment on this?

    Thanks

  13. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    WPtouch Pro 3.0 has tested to be fully compatible with the current Android release.

  14. random_stranger
    Member
    Posted 1 year ago #

    WPtouch Pro 3.0 has tested to be fully compatible with the current Android release.

    Hello BraveNewCode, thanks for taking the time to update everyone in the thread. I wanted to take a moment to thank you for wp-touch as I've used it for a few years and been very happy with it.

    I'm not certain at the moment I'll be able to purchase WPtouch Pro. I was just curious if the fix will eventually be pushed out to the users of the free wp-touch plugin?

    I just want to know if I should start looking for an alternative, saving for WPpro, or simply disable wp-touch on my site.

    Thanks in advice for any reply.

  15. TheNightRider
    Member
    Posted 1 year ago #

    You can't blame BraveNewCode for dragging their feet on a free plugin that all the [Degrading comment moderated] want. It's constant work to keep up with new mobile devices, and if nobody buys their Pro version, they won't be able to pay for development for anything. They should just dump the free version. I've already dumped it and gone with responsive themes. With so many responsive themes out there to choose from, you really don't need WPtouch anymore unless you need the specialized features of the Pro version.

  16. topnotchone
    Member
    Posted 1 year ago #

    Fix worked for me on HTC ONE S. Thanks

  17. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, a new free version of WPtouch is in the works for release. At this time, we do not have a timeline and cannot give an estimate nor any further details. There are only six of us and we're hard at work to get you the software you love. Stay tuned to our social media channels to be the first to know:

    https://twitter.com/bravenewcode
    https://www.facebook.com/bravenewcode

  18. TheNightRider
    Member
    Posted 1 year ago #

    I disagree that "cheap beggars" was degrading, but it was only half accurate. No doubt many people here are cheap, or they would have bought the Pro version. I myself was cheap in the past, but then I realized that cheap is not always smart. Sometimes it's better to pay and get something that works. Regarding the "beggars", it's not so much that some are "begging," rather they come across as "demanding," with a sense of entitlement, and they give the developers a very hard time for not paying attention to free code. It's almost as if they think that, just because the developers have made a free plugin, they should forever maintain it for free. We all understand that the continued existence of the free plugin (broken or not) is to serve as an enticement to purchase the full-featured pro version, so what's wrong with that model? The model only works if the free version actually works correctly within its limited role. Otherwise, intended or not, it has the smell of insincerity about it.

  19. cparente
    Member
    Posted 1 year ago #

    Hey all, update. The themes edit has become very unpredictable in the past few days. Sometimes the landing page is formatted correctly, sometimes the indie post, sometimes neither.

    Just wondering if others are seeing this as well.

  20. Andrei
    Member
    Posted 1 year ago #

    Also here's a fix to the fix (because the bug of loading new posts remained in the footer):

    <?php global $is_ajax;
    if(isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
            $is_ajax=true;
    }
    else {
            $is_ajax=false;
    }
     if (!$is_ajax) get_footer(); ?>

    following what has already been posted. Now everything seems to be working fine.

  21. Spectracs
    Member
    Posted 1 year ago #

    I agree with NightRider. I will try the code for now, or move to a different plugin/theme. I am a new WordPress user, and new to this plugin. I would hope the purpose of a free version is to see if the product works properly before purchase. If it doesn't, I am not purchasing. Since I am testing WordPress on a couple of simple sites before possibly using it to revamp several, and I want to be sure it will work properly for all of them, I don't know which version of "Pro" I might be most likely to need at this point. If it doesn't work right, I won't need any version. I am not being cheap,nor am I a beggar, just realistic. I am the prime example of why a free version offering works for the developers. I can't be purchasing every plugin I try out, leaving a trail of unused products behind me. I have been burned by poorly written product promising that the full version will work, before. Now, having the free version PURPOSELY work this way and advertising as such, would be smart. I came to this forum to find out just that. If the issue was just because we had not purchased the product or it was broken. Broken. Ugh.

  22. LorisGuemart
    Member
    Posted 1 year ago #

    @Jason Heithoff & Andrei :

    Thanks for the fix, it works flawlessly on the android 4.1.2 stock browser, with a now modified 1.9.7 WPTouch plugin and WP 3.5.2.

  23. cparente
    Member
    Posted 1 year ago #

    Noob question -- after I update to new version of WPTouch, I have to redo the Jason/Andrei workaround for Android to work, correct? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic