Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
mobile devices problem
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jan 4, 2013 - 3:09 pm

Sorry for the confusion. My question was: Which editor is identified as "4" in the filter?

I added the code provided to our functions template for the Stacked theme we are serving up for mobile devices, but when viewing the forums on my iPhone I still got the full TinyMCE editor. I guess I was expecting the plain text editor like SPF used to use on mobile browsers by default.

I wonder which editor is being served up on the iPad (hint, hint).

on these iphones at issue, which browser, and what is the user agent string it identifies itself as?

iPhone 4, v. 6.0.1, Browser: Safari. Not sure how I would identify the user agent string. confused

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2013 - 8:51 pm

wp determines which editor is served on any device...  since we had problems with our version of tinymce working on mobile devices, we had forced it to be a plain textarea...  when we switched to the wp built in tinymce version, wp already has tested and has logic as to which devices it works on... so we let their logic determine which editor goes on mobile devices...

In my testing on ipads and android phones... as well as with emulators that allow us to set the user agent string (that is how a browser identifies itself), it was working nicely...  so yeah, on ipad you should probably get tinymce...

if you use that filter mentioned above, it will disregard what wp says and for any mobile device will force a plain textarea...  the editor type of 4 means plain textarea...

As I mentioned in post, I had tested it, but didnt save my code so had retyped it... will try to retest it... but the other user confirmed it working...

you should be able to go to:  http://whatsmyuseragent.com/

on your mobile device and it will tell you the user agent...

another test would be in your spFunction.php code that you put in to add after the global declaration an:

ashow($SFMOBILE);

and see if it thinks you are on a mobile device.... 

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jan 5, 2013 - 7:40 pm

Mr Papa said
if you use that filter mentioned above, it will disregard what wp says and for any mobile device will force a plain textarea...  the editor type of 4 means plain textarea...

That was my point, I'm still getting TinyMCE on my iPhone after adding the filter.

Thanks for the clarification and the link, I'll investigate further and await feedback from our iPad users.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 8:34 pm

okay, I did some more testing today and things worked fine... at least with ipad 3 and android phone...

worth noting more changes coming in next version as we reintroduce the wp tinymce editor in the profile signature editor... this whole concept is improved too...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jan 5, 2013 - 9:09 pm

The filter was working properly after all. But I've turned it off as TinyMCE appears to be functioning fine after updating to 5.2.2 and the latest SF editor plugin. Other iPad users are also reporting better performance.

Thanks again!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 9:24 pm

cool... thanks for the update... of course, when we offer a mobile responsive theme, you will want if off again (at least for mobiles) as its not responsive and doesnt fit... ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: Francisco Faundez
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625