WordPress.org

Forums

WPtouch Mobile Plugin
[resolved] [Plugin: WPtouch] Adding user agent strings (5 posts)

  1. mehulved
    Member
    Posted 2 years ago #

    I have obtained and used UAStrings for Blackberry and S60 browsers from useragentstring.com and inserted it in the relevant option from the dashboard. It is in form of

    Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.346 Mobile Safari/534.11+, Mozilla/5.0 (BlackBerry; U; BlackBerry 9860; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+

    As you can see there is a comma after KHTML and it separates the UA String there. What is the ideal way to handle this? Should I enclose each string inside "" or can I cut it off before AppleWebKit?

    http://wordpress.org/extend/plugins/wptouch/

  2. mehulved
    Member
    Posted 2 years ago #

    Just using Blackberry seems to have worked for blackberry. Will be able to test on actual device myself tomorrow.

  3. mehulved
    Member
    Posted 2 years ago #

    That did indeed work. I added
    Blackberry, SymbianOS
    to the custom User Agent Strings and I can open the mobile site on Blackberry. So, one need not enter the full string, partial is fine, that's what I can conclude.

  4. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    So, one need not enter the full string, partial is fine, that's what I can conclude.

    Correct, entering the full string will not work. You can choose a unique fragment from the string and it should work.

  5. mehulved
    Member
    Posted 2 years ago #

    Thank You.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPtouch Mobile Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic