WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Edition 1.7 (26 posts)

  1. Alex King
    Member
    Posted 9 years ago #

    I've released a new version of WP Mobile Edition. This should work better under WP 1.2 and adds more mobile browsers to the detection list.

    http://www.alexking.org/blog/2005/01/12/wordpress-mobile-edition-17/

  2. cynicalcdb
    Member
    Posted 9 years ago #

    Hiyas. I'm running WordPress 1.2.2 and I just installed WP Mobile Edition. It's working but when I hit my page (http://sunnydale.us/chris) the apostrophe's show up as ’

    I've got a Samsung A680 phone with SprintPCS running Samsung's MIC 1.1.4 browser.

  3. timbearcub
    Member
    Posted 9 years ago #

    Great idea for a plugin - was just trying to see my blog on my phone...

    Would love to use this on my blog but I'm using a 1.5 nightly...I assume it won't work yet?

  4. Alex King
    Member
    Posted 9 years ago #

    It might work - test and let us know. :)

    There are a few bug fixes in the plugin repository that aren't in the download.

    http://dev.wp-plugins.org/browser/wordpress-mobile-edition/trunk/

  5. cynicalcdb
    Member
    Posted 9 years ago #

    I pulled the files out of the repository and they sadly didn't fix the apostrophe issue I've been having. I'll try and look at the code more at work tonight should I have time.

  6. Alex King
    Member
    Posted 9 years ago #

    It shows that ’ in your mobile browser or your regular browser? If it shows right in your normal browser and wrong in the mobile browser - what do you think the problem is? :)

  7. timbearcub
    Member
    Posted 9 years ago #

    yes it works in my Nokia 3310 on 1.5 Alpha (13th Jan) - but doesn't seem to work with blogs in different directories...and I assume you do have to goto wp-mobile.php rather than goto your homepage and it does it automatically?

    But it's great! :-D

    Two suggestions for improvements tho - put the Last 10 posts at the top then you can quickly jump to the post you want before loading all the other stuff such as comments and avoid extra GPRS charges? Especially if the first post is a long one...

    And can comments expanding be optional? Maybe a toggle at the top nav? Or a link under the post?

    Otherwise works great!

  8. Alex King
    Member
    Posted 9 years ago #

    You're welcome to make changes like that - I made information design decisions based on how I like to use my mobile device. I have unlimited data and the bottleneck for me is the initial TCP/IP communication (hence, loading an entire post).

  9. KayNine
    Member
    Posted 9 years ago #

    Posting comments seems not to work with 1.2 as the plugin is executed before the wp-comments-post.php was executed. One might need to add "!strstr($_SERVER['REQUEST_URI'], 'wp-comments-post.php')" in the plugin's php. I contacted Alex and send him my code, I think he will add the enhancement asap. As he did with my advanced browser's list ;)

    +Kay

  10. allyn
    Member
    Posted 9 years ago #

    with 1.2, the plugin gave me an apache internal server error from mobile browsers until i replaced this code:
    global $siteurl;
    $URL = $siteurl.'/wp-mobile.php?';

    with

    $URL = get_settings('siteurl').'/wp-mobile.php?';

  11. Alex King
    Member
    Posted 9 years ago #

    This change and more have already been checked in the the URL above. I just haven't had a chance to package a release.

  12. fatE
    Member
    Posted 9 years ago #

    I've just installed WP Mobile 1.7 on my blog (www.criticise.me.uk) and it works brilliantly to browse the site but commenting gives me a 404 error (possibly because I renamed wp-comments-post.php to foil spam robots) and I can't get into the admin pages to post entries or moderate comments.

    Can anyone suggest how to tweak the otherwise excellent code. KayNine, above, mentions the comment problem - can someone post an example of the whole line of code so I get the syntax right? Would doing something similar looking for "wp-admin" solve the admin side of things too?

  13. splunk
    Member
    Posted 9 years ago #

    Using 1.7 with a 1.5 version of WP, access via my Nokia 6230's browser pulls up the entire main page...guess it's not detected. So I just bookmarked WPurl/wp-mobile.php.

    Is there some kind of "made for wap" post/upload page? As far as uploading goes, it'd be great if like MT I could select to "insert this code into new entry" and be able to edit the entry from there. (default WP just provides the code to pull up your picture). I hate typing in those URLs with symbols ha.

  14. leofish
    Member
    Posted 9 years ago #

    to the british guy above, i am also getting the comment 404 error on WP1.5 as well but the moobile edition does view great on my sidekick. good plugin alex!

  15. reno
    Member
    Posted 9 years ago #

    works on my sidekick2 nicely. i haven't tried my Kay's fix yet for comments error yet. i contributed and hopefully others using Alex King's great plugin do as well. Its viewable. I will be adding a moblogging plugin as well.

    Thanks Alex!

  16. leofish
    Member
    Posted 9 years ago #

    Hey Alex,
    I am wondering how difficult this would be to port to Drupal? Any ideas? I am pretty new to PHP....Cheers

  17. nicolelee
    Member
    Posted 9 years ago #

    What if your wordpress folder and your site URL is different -- will the Mobile Edition still work?

    My site URL is neekole.com, but my WordPress folder is neekole.com/wp. I have my URL settings set up so that neekole.com automatically looks like /wp. Is there a way I can access neekole.com on my PDA, and it automatically forwards to neekole.com/wp/wp-mobile ?

    Thanks.

  18. nicolelee
    Member
    Posted 9 years ago #

    Bleah, never mind. I can't even seem to access the wp-mobile.php from my PDA! it seems to want to download the file instead of displaying it. I don't get it.

    This is really quite odd, considering I've managed to call up other WordPress blogs with my PDA, but not my own.

  19. Penda
    Member
    Posted 8 years ago #

    I pull my page in through Avantgo onto my Palm T2, but I can't seem to get the page to properly wrap. It extends way over teh right hand side and scrolling back and forth is no fun.

    Is there a way to adjust the settings so it fits the page?

  20. Joni
    Member
    Posted 8 years ago #

    Works beautifully (and wraps as well) on my Sony Clie TJ-37 (320x320 screen res.).

    Alex, you da man!

  21. jminhas
    Member
    Posted 8 years ago #

    When browsing from a browser matching one in the detection list - I get the following error instead of the mobile-edition website:

    Warning: Cannot modify header information - headers already sent by (output started at /home/route792/public_html/journal/wp-content/plugins/wp-mobile.plugin.php:2) in /home/route792/public_html/journal/wp-content/plugins/wp-mobile.plugin.php on line 75

    Any ideas how to fix this?

    UPDATE: OK - I just fixed it - cleaned up erroneous spaces at the beginning and end of the PHP files. (They were spaces that I inadvertently introduced as part of some hurried cut and pasting.)
    Apologies.

  22. jminhas
    Member
    Posted 8 years ago #

    One thing that would be useful is being able to strip out any images that would normaly be in the page. Any ideas how to do this?

  23. akaalias
    Member
    Posted 8 years ago #

    Hi there! Nice script, works great so far. I agree to the image resizing/stripping part. Afterall it should not be too hard, regexing 'img' tags from the content.

  24. vavroom
    Member
    Posted 7 years ago #

    Thank you for the fantastic plugin :)

    I have a question, I hope you may have an easy solution for it.

    I want the mobile version to strip the photos in posts. A major part of the site displays photos that are all 450px wide. This is rather resource intensive on bandwidth, and is not necessary to provide the information. I'm not seeing how this can be easily achieved. Am I missing something? What can be done? Thanks

    P.S. I tried to find support forum/site but there doesn't appear to be any, hence my question in this thread. Thanks

  25. vavroom
    Member
    Posted 7 years ago #

    Well... I found a solution, thanks to a post from kafkaeski in a thread about removing images from RSS feeds!

    In wp-mobile.php, I found the loop and replaced:

    the_content()

    with:

    <?php
    $content = preg_replace('/<img[^>]*>/i', '', $post->post_content);
    $content = apply_filters('the_content', $content);
    echo $content;
    ?>

    And presto, no images appear in the posts in mobile version :) FWIW, I also slightly modified the code so it validates and uses non-deprecated elements, and other minor stuff such as adding a DOCTYPE, etc. It'll go live at the weekend :)

    Thanks again for a wonderful plugin. :)

  26. carnold
    Member
    Posted 7 years ago #

    I would love to be able to use this plugin but with this plugin activated, i get a 404 error. with this plugin unactivated, i can get to my blog without any problems. I use blackberry 7510 and wp 2.0.4. Thanks for any help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.