Multisite Privacy & Wordpress iPhone (iOS) App

Hi ... I was testing my multisite and writing new content using the Wordpress iPhone (iOS) App. I found that I was getting errors using when using the Multisite Privacy Plugin.

I tried again both without the plugin (and another privacy plugin Private Buddypress) and it worked.

Is there a workaround for Multisite Privacy to be able to work with the Wordpress iOS App or could this be unique to my site?

  • Philip John
    • DEV MAN’s Apprentice

    Hiya,

    As we haven't heard back from you we're going to assume the problem was sorted out and mark this thread as resolved.

    If it wasn't resolved, or you have any more questions related to this thread please feel free to post them below and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)

    Otherwise, thanks for using the forums, and, as always, for being a member of WPMU DEV, it's a pleasure to help you out and we look forward to being of assistance in the future.

    Thanks!
    Phil

  • mrjarbenne
    • Site Builder, Child of Zeus

    Whoops, Found this after posting the following. https://premium.wpmudev.org/forums/topic/private-blogs-are-inaccessible-by-ios-app?replies=1#post-169716 which I can close to centralize this conversation.

    I'm seeing the same issue. The privacy plugin is enabled on the main domain as a users only site, which means I can't connect to the site at all to add blogs that I am a member on. BUT. If the privacy plugin is deactivated I can get all of the apps added to the iOS app. Once the plugin is re-activated, the subdomain sites that are Google-able or Not indexed by Search engines are accessable, but anything more private than that throws an error dialogue:

    Error
    Blog returned invalid data.

    Google seems to think that this has to do with BOM formatting in the wp-config.php file, so I ran through this process first http://www.grigorig.com/she-call-me-mr-bombastic-say-me-fantastic/ suggested from this forum http://ios.forums.wordpress.org/topic/blog-returned-invalid-data and it didn't fix it.

  • Mason
    • DEV MAN’s Sidekick

    Thanks for the additional information mrjarbenne.

    We're re-opening this with more info to go on and I'm alerting the developer as well. Thanks for your feedback here. Without looking into this technically yet I expect it's a difficulty of giving app permissions vs. user permissions. We'll take a look though.

    Thanks again.

  • mrjarbenne
    • Site Builder, Child of Zeus

    If it helps further. I've tested this issue with this similar plugin http://wordpress.org/extend/plugins/more-privacy-options/ and not experienced the same issues with the iOS app. That said, I'm not endorsing the linked plugin here, as testing has revealed that visiting sub-directories on the site that is protected by this plugin allows full access. EG: visit domain.com: locked out. Visit domain.com/subpage: full access.

  • mrjarbenne
    • Site Builder, Child of Zeus

    Can I help triage this further? It's important that my uses be able to post via their "i" devices. I did have this functionality before hoping over from the dsader version to yours, and am not hyped to switch back given the security issues mentioned above.

    Let me know if I can provide any further information. Were you able to recreate the issue?

  • aecnu
    • WP Unicorn

    Greetings mrjarbenne :slight_smile:

    We have not heard back from you as to the status of this issue, of course there has been another update since your last response --> 1.08

    If you are still having an issue with this please let us know so that we may try to get you fixed up as soon as possible by choosing to mark this ticket as unresolved.

    This will also bring your ticket up front back in plain view again.

    Joe :slight_smile:

  • mrjarbenne
    • Site Builder, Child of Zeus

    You haven't heard back from me on this issue because I assume it's still being looked at until someone comes back to the forum thread and says it's fixed. In this case, thank you for the heads up on the update to 1.0.8: given that this particular issue isn't mentioned in the changelog, I would assume that before you mark the issue resolved you might test it. In the absence of that, perhaps a request that I test the newest version before marking the issue as resolved. In this particular case, for me, on my install, the iOS app is still throwing an invalid data error on any blog set below the second privacy setting, despite updating to the latest version of the plugin. Are you seeing this on your end? The plugin has now been updated twice since the original ticket was created, and I was under the impression that @masonjames had acknowledged the issue, and logged it with Andrey.

    I don't want to sound overly confrontation here @aecnu, but when I am the last person to respond to a forum post, I don't know that opening with "we have not heard back from you..." and closing the ticket, is the most accurate response if you don't have an answer for the question I had previously raised. I'm not trying to be a jerk here, but you do ask in your byline for advice, so there's mine.

    Please let me know if there is any other information I can provide to help triage this issue. Thank you for continuing

  • aecnu
    • WP Unicorn

    Greetings mrjarbenne :slight_smile:

    sir understood about closing the ticket after the new release was made and not asking you to test it to see if your particular issue had been resolved - my sincere apology.

    I had mentioned sir in the message to please mark the ticket unresolved so it would be back in plain view again as a service to you to include notifying you of the update. Unfortunately it did not fix the malfunction as you have reported.

    I shall ping the developer again so he can see the result of your last test.

    Joe :slight_smile:

  • mrjarbenne
    • Site Builder, Child of Zeus

    Thanks Joe. In re-reading my post, I apologize for the tone. It does come off pretty snippy. Thanks for looking into this further. I get that from a housekeeping circumstance, it's nice to close tickets. They are easy enough to re-open. Have a good evening.

  • mrjarbenne
    • Site Builder, Child of Zeus

    I'm still seeing the issue here, but only on one of my WP installations (which means it must be something else causing the issue). Before I start deactivating all of my plugins, any ideas where I might be able to look to figure out the issue. Here's a wordpress.log from the App, harvested using iExplorer.

    Thanks for any ideas you can provide. I'm thinking the plugin is now fixed, and I need to do some work on my end.

  • mrjarbenne
    • Site Builder, Child of Zeus

    Denied mime that time. Third attempt to share this log: pasted below.

    2012-02-07 15:31:01 +0000 Launching WordPress for iOS 2.9.3...
    2012-02-07 15:31:01 +0000 device: iPhone4,1, iOS 5.0.1
    2012-02-07 15:31:01 +0000 <WordPressAppDelegate: 0x445980> applicationDidBecomeActive:
    2012-02-07 15:31:01 +0000 <WelcomeViewController: 0x451940> viewDidLoad
    2012-02-07 15:31:03 +0000 <AddSiteViewController: 0x258c20> viewDidLoad
    2012-02-07 15:31:28 +0000 <AddSiteViewController: 0x258c20> checkURL http://commons.hwdsb.on.ca
    2012-02-07 15:31:29 +0000 <WPDataController: 0x4802a0> guessXMLRPCForUrl: commons.hwdsb.on.ca
    2012-02-07 15:31:29 +0000 <WPDataController: 0x4802a0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca/xmlrpc.php
    2012-02-07 15:31:30 +0000 <WPDataController: 0x4802a0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x4ad400 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:31:30 +0000 <WPDataController: 0x4802a0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca
    2012-02-07 15:31:31 +0000 <WPDataController: 0x4802a0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x280bf0 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:31:57 +0000 <AddSiteViewController: 0x258c20> checkURL http://commons.hwdsb.on.ca
    2012-02-07 15:31:58 +0000 <WPDataController: 0x2433c0> guessXMLRPCForUrl: http://commons.hwdsb.on.ca
    2012-02-07 15:31:58 +0000 <WPDataController: 0x2433c0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca/xmlrpc.php
    2012-02-07 15:31:59 +0000 <WPDataController: 0x2433c0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x284120 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:31:59 +0000 <WPDataController: 0x2433c0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca
    2012-02-07 15:31:59 +0000 <WPDataController: 0x2433c0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x283370 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:32:06 +0000 <AddSiteViewController: 0x258c20> checkURL http://commons.hwdsb.on.ca
    2012-02-07 15:32:07 +0000 <WPDataController: 0x25b9d0> guessXMLRPCForUrl: http://commons.hwdsb.on.ca
    2012-02-07 15:32:07 +0000 <WPDataController: 0x25b9d0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca/xmlrpc.php
    2012-02-07 15:32:08 +0000 <WPDataController: 0x25b9d0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x27fe50 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:32:08 +0000 <WPDataController: 0x25b9d0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca
    2012-02-07 15:32:09 +0000 <WPDataController: 0x25b9d0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x26d770 {NSLocalizedDescription=Blog returned invalid data.}
    2012-02-07 15:32:11 +0000 <HelpViewController: 0x4b6360> viewDidLoad
    2012-02-07 15:32:12 +0000 <WordPressAppDelegate: 0x445980> applicationWillResignActive:
    2012-02-07 15:32:12 +0000 <WordPressAppDelegate: 0x445980> applicationDidEnterBackground:
    2012-02-07 15:50:54 +0000 <WordPressAppDelegate: 0x445980> applicationWillEnterForeground:
    2012-02-07 15:50:54 +0000 Last reader cached at (null), refreshing cache
    2012-02-07 15:50:54 +0000 <WordPressAppDelegate: 0x445980> applicationDidBecomeActive:
    2012-02-07 15:50:58 +0000 <AddSiteViewController: 0x258c20> checkURL http://commons.hwdsb.on.ca
    2012-02-07 15:50:59 +0000 <WPDataController: 0x4b16b0> guessXMLRPCForUrl: http://commons.hwdsb.on.ca
    2012-02-07 15:50:59 +0000 <WPDataController: 0x4b16b0> executeXMLRPCRequest: system.listMethods http://commons.hwdsb.on.ca/xmlrpc.php
    2012-02-07 15:51:00 +0000 <WPDataController: 0x4b16b0> errorWithResponse: Error Domain=org.wordpress.iphone Code=903 "Blog returned invalid data." UserInfo=0x4bde90 {NSLocalizedDescription=Blog returned invalid data.}

  • aecnu
    • WP Unicorn

    Greetings mrjarbenne,

    I shall ask the lead developer if they can think of any possible issues that could be causing this.

    Thank you for bringing this to our attention and of course for being a WPMU Dev member, we'll get back to you asap.

    Cheers, Joe :slight_smile:

  • Andrey
    • The Incredible Code Injector

    Hi mrjarbenne,

    I need additional information:

    1. give me link on the blog where it's works.
    2. Which differences between these sites (settings of plugin).
    3. I see you use BoddyPress - you uses it there too?

    thanks

  • mrjarbenne
    • Site Builder, Child of Zeus

    Apologies. The iOS app now works. I had to delete the cache (silly error). I am noticing though on both sites that Buddypress pages are not being protected. All the other blogs are fine (the ones not running BP).

    Visit http://theclassroo.ms and it's protected. Visit http://theclassroo.ms/activity and it's wide open. I've fixed the error on my end on my production site with this walled_garden function

    function sh_walled_garden()
    			{
    				global $bp;
    				if( bp_is_register_page() || bp_is_activation_page() )
    					return;
    
    				if( ! bp_is_blog_page() && ! is_user_logged_in() )
    					bp_core_redirect( bp_get_signup_page() );
    			}
    			add_action( 'wp_loaded', 'sh_walled_garden' );

    For others looking for this fix, I've put this in wp-content/plugins/bp-custom.php

    This allows for a main page that is open, and a closed community otherwise.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.