• Resolved zv664013

    (@zv664013)


    I’m currently building a multisite for Flashstarts (flashstarts.net) for the sole purpose of letting investors view documents and do whatever it is investors do to stay in touch with the company they’ve invested thousands into.

    The issue I’m running into is getting the idea laid out by my employer to work. He would like to have investors be required to login if they want to navigate to one of the multisites pertaining to the investment year they were a part of. I have the 2013.flashstarts.net and 2014.flashstarts.net flashstarts fund pages up already (not yet customized), and restricting access to one or the other is simple because of the plugins I’ve installed: More Privacy Options & Network Privacy. But this is where it gets tricky so stay with me if I haven’t already lost you please.

    Simply restricting the 2013 or 2014 sites to subscribers, contributors, or administrators won’t work because we will be continuing to add multisites throughout the coming years, (2015, 2016, 2017, etc…) and we can’t have somebody who only invested in 2013 be allowed to view any other fund year because they have the same reading permissions set. On top of that, I need to find a way to create a dropdown that will navigate the user, once logged in, between any of the multi-sites that they’re a part of (as investors often return to invest in the same company year by year.)

    I know this is a complex problem, and any help will be greatly appreciated. Sorry for the headache!
    -zv

Viewing 2 replies - 1 through 2 (of 2 total)
  • I smell what you are stepping in, I think.

    “Locking down each site” doesn’t sound like the problem: More Privacy Options allows me to restrict readability to “Blog visible only to registered users of blog – “Blog Members Only”.” But I use the plugin this way in an elementary school context – not asset/investor management.

    (Neither plugin restricts access to downloadable content in the “/files/”. Do not use these plugins with the hope of protecting downloadable pdfs or spreadsheets and the like)

    Only a blog admin or network admin could add users to each blog. Adding users from a specific blog to a newly created blog can be done programatically. I do not know of a plugin that says “get all users of blog 2013, and plunk them into blog 2014”. But if I had to do it I could bash out some code to get it done.

    But if it is an annual event with a manageable number of users -make a pot of coffee and click away. Hop over to your Add Users menu of any blog you like and add your users to the locked blog.

    The list of sites a user “belongs” to is listed in the Dashboard under “My Sites”. You could enable the toolbar on the front side and brand it using existing plugins or your own code. See List Example: http://codex.wordpress.org/WPMU_Functions/get_blogs_of_user

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This is all theory! I haven’t actually tried this myself.

    Simply restricting the 2013 or 2014 sites to subscribers, contributors, or administrators won’t work because we will be continuing to add multisites throughout the coming years, (2015, 2016, 2017, etc…) and we can’t have somebody who only invested in 2013 be allowed to view any other fund year because they have the same reading permissions set.

    That could be done by an MU plugin that checks if the user is a member of THAT site and, if so, lets them in, or redirects them to that default profile page for users.

    On top of that, I need to find a way to create a dropdown that will navigate the user, once logged in, between any of the multi-sites that they’re a part of (as investors often return to invest in the same company year by year.)

    I’d do what David said 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restricting multisites to subscribers’ is closed to new replies.