Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream from one site overrides another's


  • maiki
    Participant

    @maiki

    WP 3.6, BP 1.8.1, either of the BP Multi Network plugins

    I thought at first that I had an issue with one of the multi network plugins, but I’ve been troubleshooting with a friend and am getting into unfamiliar ground.

    Basically, when I post an update on one site, that activity stream will load on the other BP site I have. It will stay there, on both sites, until I post an update on it, and then that stream shows up on both sites.

    My friend is only using one site, and it never shows anything different, and em updating doesn’t change it for me. Also, the update doesn’t change between browsers, but it does change between tabs in the same browser.

    All this leads me to believe that there is some weird AJAX thing happening. Any suggestions? Am I overlooking something? Thanks! ^_^

Viewing 10 replies - 1 through 10 (of 10 total)

  • maiki
    Participant

    @maiki

    Decided to try the WP Multi Network plugin, but I have the same issue.

    In case I didn’t explain it well (it was late): I have multiple BP instances across different networks. All the configurations and such work fine, but when I post an activity update on one and load the others, I see the activity stream from the BP instance I updated most recently.


    modemlooper
    Moderator

    @modemlooper

    Have you tried this instead? http://buddydev.com/plugins/buddypress-multi-network/

    BP is really only for one site on a multisite unless you use a BP specific multisite plugin OR this https://wordpress.org/plugins/bp-multi-network/


    maiki
    Participant

    @maiki

    @modemlooper, as I said in the first line of my initial post, this happens using either of the BP Multi Network plugins. I’ve used every combination of these plugins (of which there are four):

    I’ve also dumped all the content and settings from the database and started over, but the issue remains. I’ve turned off all the components except extended profiles. On one site (http://notes.vg/members/) there are two members, me and my friend. On the other site (http://3citi.es/people/) there is only me.

    When I load notes.vg, the link in my name goes to http://notes.vg/members/maiki/. If I go to the directory on 3Cities, the link in my name goes to that same page, http://notes.vg/members/maiki/.

    However, if I update something (for example, if I edit a page) on 3Cities, the profile URL then points to http://3citi.es/people/maiki/, and refreshing the directory on notes.vg shows that the link there now points there as well, http://3citi.es/people/maiki/.

    This happens regardless of the plugin combo I use. Advice?


    modemlooper
    Moderator

    @modemlooper

    do you have any page cache turned on?


    maiki
    Participant

    @maiki

    do you have any page cache turned on?

    I do, but I’ve cleared it multiple times. It doesn’t appear to affect this. Has that been an issue in the past? Anything else I can try?


    modemlooper
    Moderator

    @modemlooper


    maiki
    Participant

    @maiki

    try https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/

    That didn’t change anything, and I am not sure why it would. I have the BP instances on separate networks, that part is working.

    Has nothing like this been reported before? It is difficult to digest the support posts that most folks write in the various plugin spaces, because it is evident that they are confusing multi-site with multi-network. I’ve been running a multi-network for a little over a year now, but I hadn’t needed multiple instances of BP until now.

    I suspect there is something going on with the cookies, since it only changes when the updates are sent within the same browser. But I can’t find anything about that in the documentation.


    maiki
    Participant

    @maiki

    I suspect there is something going on with the cookies, since it only changes when the updates are sent within the same browser. But I can’t find anything about that in the documentation.

    I take that back, I created a new account to see if the changes would be reflected for them, and it is indeed the case. So my issue is, if a user is active on multiple BP instances, each on their own network, which ever site they are last active on, that becomes the site that the URLs are based on.


    Boone Gorges
    Keymaster

    @boonebgorges

    Multi-network does have some issues (and has been real-world tested by relatively few people), so it could well be that this is a bug.

    I’m a bit confused about how to reproduce, though. Is the issue

    (a) that when you have activity streams from different networks on the same install open in the same window, and post to the stream in one of them, the update dynamically appears in all of them? (ie, it’s a JS issue)
    (b) that when you post to an activity stream in one network, and then load the stream from another network, it shows up there too?

    I guess I’m looking for clarification on this bit: “when I post an update on one site, that activity stream will load on the other BP site I have. It will stay there, on both sites, until I post an update on it, and then that stream shows up on both sites.”

    A good starting place for debugging is to track the database tables. In a multi-network configuration, each network should have its own set of wp_bp_ tables. Post an update in one network, and then check the wp_x_bp_activity tables for each relevant network to make sure that it only shows up in the correct one.

    Another related question. When user A posts to network X, my interpretation of your report is that user A can also see the update in network Y. Can user B also see that update in network Y?


    maiki
    Participant

    @maiki

    @boonebgorges, thanks for following up. Each network does have it’s own set of wp_x_bp_* tables, and I noticed that when I post an update from one network, it gets added to the tables for the other network; it was apparent because the URL pointed to the network the update came from.

    Backing up a moment, I was all fired up to debug this, but last night I sat down and looked at my goals again, and BuddyPress fit in if it was a path of least resistance. I’d hacked at this for a week before posting here, so maybe had I waited a bit longer I wouldn’t have wasted the effort. I am not going to use BuddyPress on my sites, but I wanted to make note of what the database was doing, in case it is helpful later on.

    If this is a common issue, then I am sure someone else will bring it up. If it is only me, then we won’t have to worry about it. Keep up the good work! ^_^


    @modemlooper
    , thanks for your earlier assistance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Activity stream from one site overrides another's’ is closed to new replies.
Skip to toolbar