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
Reply Buttons Not Working on iPhone/iPad
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 7, 2017 - 10:47 am

Access to the list is almost certainly not going to help much. There are thousands of plugins and between us we are only familiar with a small handful! 

Plus mobile browsers are next to useless as far as development tools are concerned. So no console to look at.

Thew first thing I would try would be to add the 'Develop' menu to Safari on a Mac - and then change the user agent to iPhone/1OS10 - and then try the operation to see if it fails. If it fails as it would on an iphone then you can look in the script console for errors. The console in Safari is not great bit it is all we have.

The other, less techie method, is to deactivate all WP plugins (except SP) - clear browser caches - try the operation. If it works then reactivate other plugins one at a time repeating the clear and test between each one.

andy-signature.png
YELLOW
SWORDFISH
Avatar
James Chartrand
Member
sp_UserOfflineSmall Offline
Jul 13, 2017 - 5:54 am

I took your suggestions to my website developer (as they were out of my scope of knowledge/skills), and here's what he reported back with:

"I am now able to reproduce the issue where clicking the “Reply to this post” icon in the final post of the forum topic at https://dailywritinghabits.com.....esistance/ opens the reply textarea in Safari but does not allow you to type into it.
 
I see this error in the console in Safari for the TinyMCE editor: http://d.pr/i/MtMQj6
 
The error message shows the spj_threaded_open_editor function in the trace, which is part of the SimplePress plugin's JavaScript, and suggests the bug may lie with the SimplePress plugin"
 
 
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2017 - 7:28 am

Hold on a minute...! That function is actually a tinyMCE function that is showing the error. Safari clearly has not loaded the TM scripts yet.

However a question... That SP function is specific to the Threading plugin which uses the 'reply' button within each, individual post - as opposed to the Add/Reply button at the bottom of a post listing.

I have been working on the assumption that we have been talking about the latter but are we really talking about the threading reply button here? And does the main reply button and editor work OK?

andy-signature.png
YELLOW
SWORDFISH
Avatar
James Chartrand
Member
sp_UserOfflineSmall Offline
Jul 13, 2017 - 8:38 am

Those are good questions - I'm not sure the members differentiate between threading and reply, so let me get you more information on that. Stay tuned!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2017 - 10:08 am

Will do.

andy-signature.png
YELLOW
SWORDFISH
Avatar
James Chartrand
Member
sp_UserOfflineSmall Offline
Jul 14, 2017 - 6:46 am

Here's what my website developer came back with:

I can prove this is not specific to our site – the same issue is reproducible for Safari in the SimplePress support forums too.
 
> Hold on a minute…! That function is actually a tinyMCE function that 
> is showing the error. Safari clearly has not loaded the TM scripts yet.
 
TinyMCE has loaded, but is generating an error due to 'c.item' not existing: http://d.pr/i/yDNeX.
 
> However a question… That SP function is specific to the Threading 
> plugin which uses the ‘reply’ button within each, individual post – as 
> opposed to the Add/Reply button at the bottom of a post listing. I 
> have been working on the assumption that we have been talking about 
> the latter but are we really talking about the threading reply button 
> here? And does the main reply button and editor work OK?
 
The “Add Reply” button works and the editor loads when that's clicked. It's just the “Reply to this post” button that fails in Safari in my tests: http://d.pr/i/aR96g
 
I see the same error in Safari when clicking “Reply to this post” on the SimplePress forum topic here: https://simple-press.com/suppo.....installed/
 
Screenshot of error: http://d.pr/i/7b8hL
 
So this does not appear specific to our site only.
 
Deactivating the “Editor TinyMCE Rich Text” SimplePress plugin solves the issue, but we obviously lose TinyMCE in the process for all users.
 
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 14, 2017 - 6:58 am

I had replicated already. Really just needed to know that it was ONLY the threading that was affected. It is maddening as opening the editor inline like we do for threading was a real problem to code up - and just typical that Safari is the one browser in which it fails.

We tend to hate Safari here... it has always been the problem browser - at least since Microsoft joined the standards!

I have opened a ticket so we will see if we can locate the issue.

andy-signature.png
YELLOW
SWORDFISH
Avatar
James Chartrand
Member
sp_UserOfflineSmall Offline
Jul 14, 2017 - 11:02 am

Okay, great, thanks so much, and please keep me posted on a fix!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 15, 2017 - 5:20 am

To explain the issue a little - the threading plugin, unlike standard/core SP - opens the editor inline to the post being replied to. You will have noticed this I am sure. This was actually quite difficult to achieve although in the end the code was quite simple and small.

This works in all Windows/macOS/Android/IOS browsers tested with (and that includes some more obscure ones as well as the main big 4) with - it appears - the exception of Safari. I feel pretty sure it did work when it was first tested - although some other things did not that are now supported.

When it is just the one browser like this it is pretty obvious that it is the browser that is causing the problem and indeed the Safari JavaScript engine has always left something to be desired as far as standards go. It has been getting so much better in the last year or so but clearly it has failed over this issue.

It does mean a fix may not be something we can quickly knock out as we will not jeopardise the code as far as all other browsers go. Hopefully we will be able to work it but that remains to be seen of course. The worst case scenario would be to just let Safari open the editor at the bottom of the posts as with a normal, non-threaded reply.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 16, 2017 - 5:05 pm

Threaded reply sent from my iPhone using Safari ...

Looks like we may be in business ?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626