• Resolved davemfrank

    (@davemfrank)


    Hi –
    I have 2 sites, one is just wordpress and the other is multisite. I have read here that multisite might not work right with this plugin but I’m just syncing with the main site on the multisite install.
    So I have a test shortcode that does a simple update_user_meta.
    It works fine if I run it from a page on the main site. (site 1)
    If I run it on a page on a subsite it does not work.
    I have switch_to_blog(1) in the shortcode and verified that it does switch to blog 1 (main site) then does the update, but nothing happens.
    It updates the local user but not the remote, and nothing at all shows in the activity log.
    So I’m presuming that the plugin is not seeing something it wants to see so its not trying to do the sync.
    Is there any way around this?

    thanks! – Dave

Viewing 6 replies - 1 through 6 (of 6 total)
  • There’s your problem in a nutshell…

    On multisite the users and their data actually belongs to the network site with the subsites having very limited access and control over them…

    You might try network enabling the plugin though that kind of makes me nervous just thinking of that. Network enabling might allow the shortcode to work but it might have unexpected results. I can’t speak to that as I’m not a user or author of this plugin.

    If you continue trying to make this work I’d suggest backups be made before running any tests and caution exercised while testing… and afterward.

    Hope this helps…

    Thread Starter davemfrank

    (@davemfrank)

    Hi –
    thanks.
    Yes I have tried it both network activated and not. I guess the big reason to me anyway not to network activate is if subsite users could see/get the security keys.

    I think the plugin must not like something about where the profile update is coming from even though I am switching to blog Id 1. So there must be something else that I need to switch to make wprus accept the profile update.

    – Dave

    Thread Starter davemfrank

    (@davemfrank)

    Resolved, figured out how to have all the subsites sync metadata to the remote site with this plugin, so all is well here.

    Hello Dave,

    I’m having the same issue / problem. I thought about another solution. I would like to contact you if that’s fine.

    [email protected]

    Thread Starter davemfrank

    (@davemfrank)

    Hello – Yes got it working using webhooks instead of this plugin, what solution are you using? thanks – Dave

    Hello Dave,

    Can we talk privately so we won’t spam others with notifications? I would love to hear from you on email [email protected]
    I would like to tell you my idea to handle this website architecture. I tried to find somebody to talk with regarding this but it seems that nobody used it before or if they did (and I saw it made), they don’t answer my messages. My project is also a non-profit one so I can’t afford paying a lot of money for custom dev. I’ll have to figure it out myself.

    Thank you!

    Again… [email protected]

    All the best!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Metadata update from remote site not working’ is closed to new replies.