Support » Plugin: Networks for WordPress » Selectively sharing users between Networks

  • Hi,

    I’m using WordPress 3.5.2 and Networks for WordPress. I have six unique networks set up, each with their own site. Right now, I can enroll users on any network, but problematically, they can login to any site on any network, regardless of whether they were added to that network.

    How can I share users between networks, but only allow them to login after I’ve selectively allow them to do so on that specific network?

    Thanks for the help in advance,

Viewing 1 replies (of 1 total)
  • WP Network still use share wp_users and wp_usermeta table so everyone can login via every network unless you have to write your own function to check when user sign-in to see that this user allow to login via this site or not

    You may add_user_meta when user first signup that specific the site that this user belong to.


    username KEN register via NETWORK2 so add_user_meta key=”usersite” value=”network2″

    now you have user_meta key=”usersite” for everyone

    when user signin, check user_meta first that which site they belong to. if it match with current site, let they login

    this is done by custom function that filter/hook on signin step process or you can write it in plugin and add option to let admin add site domain to allow or block to sign-in via admin control panel then upload this plugin and enable to all site that you want to restrict

Viewing 1 replies (of 1 total)
  • The topic ‘Selectively sharing users between Networks’ is closed to new replies.