School multisite – students have individual blogs, teachers need editor access to all of them

Hi all, not sure the easiest way to do this but I’ll explain what I’m trying to achieve and hopefully you can tell me how I might get there! It’s outsmarted me so far.

I’m trying to set up a school multisite (though am open to BP or other extensions) that will work like this:

– Every student has their own blog that they are an author on (done via the Batch Create plugin)

– Every teacher has the ability to edit pages/posts on every blog on the network (effectively adding them as an editor to every single site – and this is the problem)

– Teachers can also edit curriculum blogs for that have content the students can access

– I’m currently using the Multisite Privacy plugin and would like to cut visibility of students’ sites to registered subscribers and above only, but as it stands teachers wouldn’t be able to see those sites at all, much less edit them.

We originally planned to have teachers able to add Comments to pages/posts on the students’ sites, but now the school management says teachers should be able to edit pages in order to put annotations ‘inline’. Currently we are trialling it with a basic multisite but the problem comes when you try to scale it up:

How can I add 50 or so users as editors to around 1200 blogs? Or is there another way of setting about this? Am I coming from the wrong direction? Would BuddyPress and its Groups give me a way of doing this?

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    I’m currently using the Multisite Privacy plugin and would like to cut visibility of students’ sites to registered subscribers and above only, but as it stands teachers wouldn’t be able to see those sites at all, much less edit them.

    I’m thinking you have the Privacy plugin set to “Only allow a registered user to see a blog for which they are registered to.” Is there any harm in changing it to “Only allow logged in users to see all blogs.’?

    Then teachers would be able to view the student blogs (as well as other students).

    As far as adding teachers (existing users) to all sites (or a specific sub-site) as editors you’d have to run a function that would allow you to update the user_meta table for each of your teachers by user id. See here for reference:

    http://codex.wordpress.org/Function_Reference/update_user_meta

  • webnik
    • Flash Drive

    Thanks for the reply!

    Personally I’d be tempted to leave it as you suggest, but it seems school management are worried about plagiarism, which means increasing the security and adding teachers to every site in order for them to even be able to view them.

    However – I’m afraid the fix you suggest is a bit beyond my ability level right now! I don’t know how to do it. Could you point me in the right direction?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.