Skip to:
Content
Pages
Categories
Search
Top
Bottom

Moderator Unable To Post To Forum: iPhone iPad

  • @matoca

    Participant

    I don’t use an iPhone or iPad but one of my moderators does. I count on her to keep an eye on this capability for me. Today she wrote me that she can’t post at all on either after an ios update.

    Is anyone able to advise me how to fix this so she can post? If she can’t post, then others who use the website on their iPhones probably can’t post either.
    Thank you,
    Matoca

    Here is her message to me:
    “Today I did an update (ios 7.0.4) to my iPad. NOW, just like my iPhone, I can not post on the forum anymore. Hmmmm……so, now it’s both my iPhone and my iPad, but both AFTER I updated the software. NOW the only way I can communicate (write) on the forum is on my computer. And as I’m rarely home and if so, not often near the computer, I am not able to post often. Hence, I have not been communicating much on the forum – now it will be less until I get this worked out. On both my phone and ipad, I can read all the posts, it updates to the latest and greatest posts, but the keyboard will not come up to write to post.

    I will try to go by the Apple store here to see if they have any answers, but as this just happened today after installing the “update” to my iPad, I did not really realize the problem was related to the updates – now, I’m sure it is. Gotta love Apple!! Or not…”

Viewing 22 replies - 1 through 22 (of 22 total)
  • @matoca

    Participant

    Linda is still unable to post anything from her iPad or iPhone on the forum. I am wondering if anyone has any suggestions on how to work this out so she can post?
    Thank you, Matoca

    @robin-w

    Moderator

    I suspect this is not related, but always worth checking

    Do you have a forums page with shortcode.

    If not another poster did the following with success for a twentyfourteen theme.

    So let me restate what you found to work:

    1. When creating a menu item for forums, do NOT use the automatically available permalink that ends in “/forums/”
    2. Instead, create a page that has the shortcode [bbp-forum-index] in the body. There could also then be other content or links in the body.
    3. Make sure the page you created does NOT have a permalink that ends in “/forums/”. In my case I had a page Title of “Forums”, but I changed the permalink to end with “/allforums/”.

    I suspect that this will not fix for you, but give it a try anyway !

    @matoca

    Participant

    Robin,
    I am not exactly sure what you mean here. I do know what the permalink for the forum is and /forums/ is part of it, but it doesn’t end the permalink. This is the permalink, with the website and forum name made generic for posting purposes:
    http://www.mywebsite.com/forums/forum/ourgroup/

    Is the second “/forum/” the issue? If I change this now, after many months, won’t this mess things up like bookmarks, menu links within the site and google records? There are three forums under /forums/ with different names.

    The topic that the person would like to reply to is this (a topic she started on a desktop):
    http://www.mywebsite.com/forums/topic/needadvice/#post-3735

    To repeat, she was able to start topics and reply to topics in the text field prior to the ios upgrade. I guess I don’t understand how the permalink is conflicting with the display of the keyboard when she wants to enter text in the form on the page.

    I do understand that js probably plays a role in how taps and drags operate on tablets and phones. In this case these are not triggering the code to display a keyboard but I wouldn’t know where to look for that code and determine what the issue is. Is it a general theme function or is specific to bbPress forms?
    my best, matoca

    @robin-w

    Moderator

    I didn’t know what “post on the forum” means – after 30 years in IT support it could mean anything from the battery has run out to a very very specific set of circumstances, and anything in between.

    Therefore it was only an attempt to see if your user had a bigger issue, like she couldn’t get forum access. If you don’t think it will help, and you will know your moderator, then ignore it, I just got it from a google, and given that no-one else had come back, thought it was worth a try.

    It would be worth you seeing if this is a theme or plugin issue.

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    @matoca

    Participant

    Robin,
    Yes, I understand. The description “can’t post” is very vague and certainly was not meant to confuse you. In her email copy posted above she finally described that the keyboard is not coming up. This happened to her twice, once after upgrading her ios on her iPhone and then again when she upgraded the ios on her iPad. So I am assuming this is a conflict with the ios release 7.0.4.

    None of the other moderator are having trouble posting so I felt sure it must be something directly related to ios 7.0.4, bbPress and how bbPress signals the device to fill in the topic or reply form correctly. She can navigate the website and read the forum fine.

    I use a google nexus tablet and I sometimes notice idiosyncrasies with scrolling down a forum page. But I am able to get a keyboard when I want to write a reply.

    I have posted to the theme developer as well. Perhaps they will have a better idea of how this conflict is happening.

    Thank you for your help!
    matoca

    @johnjamesjacoby

    Keymaster

    No issues posting from iPhones or iPad’s here, and I use them both quite often on up-to-date versions of iOS.

    @matoca

    Participant

    John,
    This is significant. Are you logged in as administrator when you are posting?

    If this is the case, then it may be a theme problem and not anything to do with bbPress.
    thank you, Matoca

    @robin-w

    Moderator

    Yes, I’d check themes and plugins as above !

    @tharsheblows

    Participant

    I had a problem with a user who couldn’t post from her iPad – it was an issue with tinyMCE and I ended up disabling it. Also, someone who used tinyMCE on a different platform had problems as well – he read about her problem on our forum and emailed me with the same issue.

    Here was her initial report – I am not sure if it’s the same problem your user is having:

    there’s something very odd going on with the cursor control when I try to input text using a stylus and the onscreen keyboard of my iPad2. If I touch the screen to move the cursor way from the latest word typed, perhaps to edit a phrase or correct a typing error, then the whole thing seems to freeze. To release it, I have to touch the key that moves the keyboard offscreen and then touch the screen again to place the cursor wherever I need to amend the text – the keyboard reappears, I type in the amendment and then the cursor is fixed at that point again. Every time I want to move around the text in any way, I have to repeat the keyboard-disappearance-and-touch-the-screen-to-place-the-cursor trick.

    It wasn’t a problem across all iOS devices – I never did figure out exactly what combination of things on hers was causing it and I was going to disable tinyMCE anyway, so didn’t try all that hard to figure it out.

    I don’t know what version of tinyMCE WP uses – I see that WP 3.9 is using tinyMCE 4 but not sure if it’s going to be 4.0.11:
    http://stackoverflow.com/questions/18629341/cannot-type-into-empty-tinymce-4-area-on-ipad

    @netweb

    Keymaster

    Conveniently I’m at my parents for dinner…

    This is on an iPad 2iPad 3… And moving the cursor around to edit text works fine…

    Now editing the original post with an iPad 3,iPad Air and still fine.

    So a 2, 3 and 5/Air iPads are working fine to post and/or edit and/or change cursor location.

    With all that said I have also experienced this exact same issue here on bbPress.org using my iPad. As each of these 3 iPads were originally mine and are now my parents yet I can’t reproduce the issue any longer.

    @netweb

    Keymaster

    I don’t know what version of tinyMCE WP uses – I see that WP 3.9 is using tinyMCE 4 but not sure if it’s going to be 4.0.11:

    WP 3.9 is currently now using 4.0.21, if 4.0.22 is released before WP 3.9 in ~4 days that might also make it into 3.9.

    https://core.trac.wordpress.org/ticket/24067#comment:152

    @matoca

    Participant

    Update. Last week as soon as I read that there had been trouble with tinyMCE, I disabled the bbPress Enable TinyMCE Visual Tab Version 1.0.1 plugin I had been using. I was using it mainly so moderators could do a bit more in the forum but it wasn’t critical.

    The results were that, -perhaps-, this was part of the problem but it’s not that straightforward. The moderator tried to post using her iPhone and responded:

    “I could put my name in and e-mail address AND it did show up as I typed. But, when I posted, the typing was transparent. I knew it was ‘typing’ because the auto word finish worked and came up. And then when I hit ‘submit’ the post did show up.”

    So then I needed to know if she had tried this while she was logged in or not. I have the forum set for no registration so anyone can post, but I don’t allow them to input html. If she was not logged in then she wouldn’t be able to post in html. I thought perhaps her iPhone or iPad has text attributes set that wouldn’t be allowed.

    So I quizzed her:
    > So the keyboard came up for you this time, no problem? That was the important thing.
    Yes, it came up.
    >
    > So then next, you could see what you were typing in the name and email fields?
    Yes.
    >
    > But then when you were typing in the message window, the text was not visible?
    Right, NOT visible.
    >
    > And finally when you hit submit you could see that you had posted.
    Yes, it was then visible and posted.
    >
    > I can see what you posted and besides the fumbled spelling cause you couldn’t see, it works.
    Right – my fingers on the tiny keyboard are not conducive to proper spelling, punctuation. 😜
    >
    > So I need to know, first are you logged in when you are adding your message?
    No, I’m NOT logged in.

    > Do you see a message that says “Your account has the ability to post unrestricted HTML content.”
    No, i don’t see that.
    >
    > And then when you are at the message window, look at the tabs on the upper right. Were you on the visual tab or the text tab when you were writing?
    Visual, couldn’t get into Text.
    >
    > Try typing another message with the other tab selected. I suspect you were in the visual tab so try the text tab this time.
    Doesn’t work. 😣

    Then a few days later we were back at it again. She tried this logged in.
    “Logged in. Using iPad. This is what I got from ‘Text’

    Hi. This is a test – now is the time for all AIHA/IMHA doggies to be well.

    <strong>bold</strong>

    <em>italics</em>

    And this is what I got in ‘Visual’

    Hi. This is a test.

    Now is the time for all AIHA/IMHA doggies to be well.

    Bold: </strong>

    Italic: <em>

    Then later that day she tried logging out and posting:
    “I logged out and tried to post again to my Sadie:Weaning post. I seemed to have lost a word or two from the post, once I hit submit, but it WAS in sequence and I COULD type AND the typed showed as I typed. This was the first time in months that it’s worked. Yeah!!!!!”

    And yesterday she reported (logged out):
    “Okay – just posted to Joe. First, had to tap hard to get the keyboard to come up. It finally did and I could put in name, e-mail, showing what I wrote. But once I tried to actually post, again, after tapping hard anonymity (“on it?”)five times, the cursor would move with each letter I hit, but I could not see shat (see what?) I was writing.”

    WP just updated to 3.8.3 (without my input…) so would that have some version of tinyMCE in it? I thought that they had removed it completely a while back and at that time I lost the text tab in the forum when posting as a moderator. So that is when I installed the tinyMCE plugin.

    I wish I could say that this seems resolved, but it seems that she is still having erratic behavior from the keyboard when she is trying to enter text either logged in or not logged in. It is significant that she can get the keyboard to come up at all, that was not happening before.

    I am trying to make sure my site is responsive and is usable by most phones and tablets. On my Google Nexus I have a bit of trouble scrolling down the page, it’s erratic and resistive. But that may have more to do with the page loading slower over wifi.

    I hope this thread stays open so there can be further input?
    thank you, matoca

    @netweb

    Keymaster

    WP just updated to 3.8.3 (without my input…) so would that have some version of tinyMCE in it?

    No, it is the same TinyMCE version that shipped with WordPress 3.8, the new TinyMCE v4 is included in WordPress 3.9 and should be available within the next 24 hours.

    This topic can indeed stay open and if you could post an update after you have updated to WordPress 3.9 that would be helpful.

    @tharsheblows

    Participant

    @Matoca it sounds like you’re still using tinyMCE? Do you have something like this in your functions file –

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    (from https://codex.bbpress.org/enable-visual-editor/ )

    I might be confused (if we had signatures and I used signatures on forums mine would be “I might be confused”) but I wouldn’t think you’d have a text / visual tab on the non-tinyMCE editor, would you?

    If it were me, I’d also try disabling “Post Formatting” in Settings -> Forums in the admin area. I have no clue whatsoever if that would work though, it’s just something I’d try.

    I’m really interested to see what works! My guess is that something will end up working but we’ll never quite know what did it.

    @matoca

    Participant

    I was using a specific bbPress tinyMCE plugin, but I disabled that over a week ago when you mentioned that there may be some issues with it. Was it successful? I don’t know, you can read my moderator’s varied results above. When I had originally added the plugin it was specifically so moderators could edit photo size in the forum and not have to go into the dashboard to do that. I still ask my moderators to always be logged in when they are posting. If it is as simple as asking my moderator with the iphone issues to not log in when she needs to post replies or start topics, that is what we will do.

    The latest upgrade WP 3.9 has ver 4.0 tinyMCS in it. See:

    TinyMCE 4.0 is in core

    So, rather than confuse my troubleshooting, I have no tinyMCE plugins installed. Whatever tinyMCE capabilities 3.9 has is what I now have.

    When I am logged in, on the text tab there are the standards plus insert/edit link, url img, code and close tags, the same as we are seeing on this forum.

    On the visual tab, logged in, in addition to the standards there is undo, redo, add link, remove link and insert/edit image. Perfect, exactly what I wanted for the moderators.

    When I am not logged in there are only the standard fields for name, email and website and add message. There are no text or visual tabs. I have the Nextgen gallery plugin for Upload Photos so that solves the issue of users wanting to post photos. They go directly into a specific gallery and I get an email telling me that something has been uploaded and needs approving.

    I have Post Formatting in the forum tools settings unchecked for “Add toolbar & buttons to text areas to help with HTML formatting.” So that is probably why they are not allowed to have visual or text tabs. I do not require registration for posting. If I have trouble with someone I can put their IP on a blacklist. Akismet works well.

    But it’s only been a couple of days since I upgraded to 3.9. The developer of the theme I am using has notified me that he is also reworking his theme so that may change things as well.

    Once my moderator gets back in touch with me I will post here. Perhaps this WP upgrade has solved the problems with iPhone and iPad?
    my best, matoca

    @tharsheblows

    Participant

    Thanks so much for taking the time to post all of that! 🙂

    What plugins are you using? I’m asking because I don’t have this for admins / moderators:

    On the visual tab, logged in, in addition to the standards there is undo, redo, add link, remove link and insert/edit image. Perfect, exactly what I wanted for the moderators.

    I did some fire-fighting for a site where the textarea input text was white, which I think was happening with your moderator here –

    But then when you were typing in the message window, the text was not visible?
    Right, NOT visible.

    Anyway, I added a style and !important (cringe but y’know, needs must) to it to force it to be black.

    Thanks again – feel free to ignore for a while if you’d rather think of something else over the holiday! Sorry for the constant questions – for some reason I’m really curious about this and finding it all rather fascinating.

    @matoca

    Participant

    Update. Monday I asked my iPad, iPhone moderator to see if she could get a keyboard to come up, see what she was typing and actually post to the forum. She reported that it was working perfectly! No kidding! So after the WordPress 3.9 upgrade, the tinyMCE 4 upgrade has improved interaction with iPads and iPhones.

    See: http://www.tinymce.com/index.php
    Also: tinyMCE 4 has a presentation that explains what is different.
    http://www.tinymce.com/presentation/index.html#/

    I did a little research about tinyMCE because honestly it sounds like the name of a toy. So once I found the name, Tiny Moxiecode Content Editor, it made more sense to me. Wikipedia describes it as “platform-independent web-based JavaScript/HTML WYSIWYG editor control.” So, in a sense, this is the core element of WordPress (and other CMS platforms), giving the user the ability to get content on the blog without having to necessarily understand anything about HTML.

    After browsing some forums I better understand that this upgrade of WP and tinyMCE has rendered many previous plugins dead in the water. It means that users need to do some serious spring cleaning and get rid of any plugins that have not been specifically updated for use with WP 3.9.

    A lot of plugins have necessarily cropped up over time to add back lost functionality in tinyMCE as functions were removed. So the bbPress plugin I was using in the past that added back the visual tab to the forum message field was just one of many. Luckily I did disable it prior to the release of 3.9 but it clearly was already unstable with 3.8.

    I made a mistake when I posted earlier, enabling the tools in the dashboard does give them to everyone who is not registered or logged in, not just those logged in as moderators. So I have rethought having the text editor tools on the open forum. I don’t like the ability of non-registered posters to add images directly nor do I like them adding links. These people don’t register so I have removed all editing tools from the forum in forum>settings. I have asked moderators to use the tools in the dashboard for adding images and links. Perhaps there will be a plugin in the future that will allow moderators with administrator rights to have these tools directly in the forum, but not have them accessible to the general public?

    So if you do want your moderators to have undo, redo, add link, remove link and insert/edit image in the forum then enable this in forum>settings, it standard with tinyMCE 4, and looks exactly as it does on this forum

    I became interested in more functionality and I installed TinyMCE Advanced plugin this afternoon to play with. I realized the many things I could do just with tables! So it’s a versatile plugin and they claim has been tested with 3.9.
    my best, matoca

    @tharsheblows

    Participant

    Thank you so much for the update! I’m glad it’s working. 🙂

    I have just now finished helping troubleshoot a bug with copying and pasting text from pdfs into the new WP visual editor. The guy thought it was a problem with WP 3.9 but it is an issue with one of his plugins – however, I can see why he thought that. (I didn’t go all the way through to finding out which plugin it is – this is just some guy I follow on twitter.) So it’s happened to someone I’ve come across, too.

    I want to use Parsedown in my forums and got as far as making a plugin that got it to work when writing posts but then realised I needed something like “Parseup” (current status: imaginary) to make the editing posts possible and sane. Doh.

    Perhaps there will be a plugin in the future that will allow moderators with administrator rights to have these tools directly in the forum, but not have them accessible to the general public?

    Your users can still use a limited number of html tags, although they probably don’t know it because now it doesn’t say so anywhere. I think that’s true… it’s in includes/common/formatting.php
    Note that they can’t upload images but can simply hotlink them. I was worried about this initially but it hasn’t been a problem so far although now I’ve probably jinxed it.

    /** Kses **********************************************************************/
    
    /**
     * Custom allowed tags for forum topics and replies
     *
     * Allows all users to post links, quotes, code, formatting, lists, and images
     *
     * @since bbPress (r4603)
     *
     * @return array Associative array of allowed tags and attributes
     */
    function bbp_kses_allowed_tags() {
    	return apply_filters( 'bbp_kses_allowed_tags', array(
    
    		// Links
    		'a' => array(
    			'href'     => array(),
    			'title'    => array(),
    			'rel'      => array(),
    			'target'   => array()
    		),
    
    		// Quotes
    		'blockquote'   => array(
    			'cite'     => array()
    		),
    
    		// Code
    		'code'         => array(),
    		'pre'          => array(),
    
    		// Formatting
    		'em'           => array(),
    		'strong'       => array(),
    		'del'          => array(
    			'datetime' => true,
    		),
    
    		// Lists
    		'ul'           => array(),
    		'ol'           => array(
    			'start'    => true,
    		),
    		'li'           => array(),
    
    		// Images
    		'img'          => array(
    			'src'      => true,
    			'border'   => true,
    			'alt'      => true,
    			'height'   => true,
    			'width'    => true,
    		)
    	) );
    }

    @netweb

    Keymaster

    Here is a custom plugin for custom KSES, specifically it adds support for tables and class names for a and img though you most likely don’t want people adding classes to these normally.

    https://gist.github.com/ntwb/7797990

    And I am glad your up and running now @matoca, TinyMCE v4 is a big upgrade and as you point out there are vast improvements and vast breakages with existing plugins, hopefully the authors of these plugins will get this sorted soon.

    I also look forward to seeing and checking out a few of the plugins that really take advantage of TinyMCE 4 as I have already spent a fair amount of time testing it already, specificly pasting from Word, Excel PDF etc and it is pretty awesome what you can throw at it.

    @tharsheblows

    Participant

    @netweb – with filters, do they only add or modify the function? I mean, can you only add or modify parameters in them, not delete? Eg if I had this:

    add_filter( 'bbp_kses_allowed_tags', 'ntwb_bbpress_custom_kses_allowed_tags' );
     
    function ntwb_bbpress_custom_kses_allowed_tags() {
    	return array(
     
    		// Links
    		'a'          => array(
    			'class'    => true,
    		)
    }

    would I *only* be allowed to add a tags with a class (no, I don’t know why either but just pretend…) and not able to add the default img, blockquote, etc tags? I guess I’m asking is it like a child functions.php file (which overwrites) or a child css file (which adds to / modifies)? I am hoping I’ve got my analogies right, hmm.

    I had a similar question last year but never really figured it out – gave up when I decided it didn’t matter: https://bbpress.org/forums/topic/using-wp_filter_kses-filter-for-bbpress-posts/

    I fully appreciate this highlights how little I know these things! And thank you. 🙂 This has been a really interesting discussion.

    @netweb

    Keymaster

    would I *only* be allowed to add a tags with a class (no, I don’t know why either but just pretend…) and not able to add the default img, blockquote, etc tags?

    Correct, with the example you posted you would only be able to add an a anchor HTML element with a class CSS class eg. <a class="my-css-class">description</a> note as you removed href from the allowed tags you wouldn’t be able to use <a href="http://example.com">description</a>

    I had a similar question last year but never really figured it out – gave up when I decided it didn’t matter: https://bbpress.org/forums/topic/using-wp_filter_kses-filter-for-bbpress-posts/

    I fully appreciate this highlights how little I know these things! And thank you. 🙂 This has been a really interesting discussion.

    This highlights how little I knew 12 months ago, if I don’t know I don’t answer a question unless I can provide something that IS helpful, we are all constantly learning 🙂

    @tharsheblows

    Participant

    Ah ha – and hmm, would it still pick up the rest of the defaults, eg img and blockquote and those? The correct answer to this question is “You have a test install, play with it and figure it out yourself.” so I will. Later.

    I know what you mean about the amount that can be learned in 12 months. 12 months I was trying and trying to convince a client that they didn’t want a forum! Of course, that was for reasons other than development but it has turned out very well – cheap and easy (ok maybe not cheap and maybe not super simple when you count in moderation and user issues and all that) but an excellent way to get constantly updated content.

Viewing 22 replies - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.
Skip to toolbar