It all seems to be working great now.
Yesterday (before we removed your code due to roll back), no visitors could even see the subsite’s login page because it immediately directed everybody to the no-login page.
This time round, all visitors can see the login page, as expected. Members can log in but non-members (who are registered elsewhere on the network) are redirected to the no-login page. Great. Unregistered visitors (who don’t have a username or password but try anyway) just remain on the login page without passing through, as expected.
So thanks again. I am now looking for a way to add the troubleshooting fee to a shopping cart so I can pay the USD$50 but I don’t see it – just a contact form on the troubleshooting page. Please advise.
Also, in case I have to roll-back to previous version in future (if there are any future plugin conflicts), I don’t want to lose your code. Is it all in the bp-custom.php file? (If so, I will just copy this to local drive as back up.) Or was code added elsewhere as well?
Oh, actually there is a problem with the redirection…. Once I have been redirected, I cannot go back to the subsite login page. I am assuming this is due to a cookie. As a result, I do think it would just be simpler to remove redirection all together. So long as the non-member cannot access the subsite, that’s all that matters.
I am sorry but there is no such code to stop a person from re visiting the sub site.
To visit a sub site:-
– A user must be member of that sub site
– Or they must not be logged in.
There is no other restrictions I am applying. If you are unable to revisit the sub site, is it because you are logged as a network user who is not a member?
If you want I can remove the redirection completely. Please do note that BuddyPress does not restrict non members form posting to activity and BuddyPress multi network only allows creating separate stream/listing, Does not restrict either.
So, removing redirect will be like allowing non members to post.
It sounds like keeping the re-direction is essential, otherwise activity posts could be shared across sites.
I will instead just put a note on the no-login page to advise them to clear browser cache if they wish to try logging in again after contacting subsite Admin for membership.
Thanks for your help.
Let me know steps forward to reimburse you as discussed.
I am still not sure why you can not go back to the sub site login after being redirected(obviously you need to logout first to login as a member of the sub site).
I do not think it has anything to do with caching. Please re-investigate.
About the payment, I will share the details in next private message.
The topic ‘ [Resolved] BuddyPress Multi Network – troubleshooting set up’ is closed to new replies.