WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Share User Across Multisite Network (30 posts)

  1. Angela
    Member
    Posted 2 years ago #

    Hi all,

    I would like to know if it's possible to allow multiple sites within a single WP network to use the same user database. I'm also using s2member to restrict access for my site and I realized that s2member actually reset its configuration when I create a new sub-site. So, how can I make these subsites to share their username and password database?

    Also, if anyone knows, is it possible to create a template set of configuration at the top level (network admin) for the various plugins and then have them distributed so whenever we create a new site, we already have the default set of configuration and we don't have to do all the configs for the various plugins and settings again?

    Regards,
    Angela

  2. That's exactly what WordPress MiltiSite does. It uses the one DB. What it does not do is have Network Wide permissions.

    S2Member shouldn't be resetting. Is it just not working on the new subsite till you configure it or what?

  3. Angela
    Member
    Posted 2 years ago #

    Not really, what I mean is that when I created the new sub site, none of the users from the previous site was inherited over, so are the plugin settings. They were like the default settings.
    Another thing is, I noticed there are more tables in the database (same names as the original one) that are prefixed with 2. I assume they are specifically for the second subsite. However, these tables (prefixed with 2, for the second subsite) is by no means a copy of the original ones. A lot of them, are missing (if that's not the intended behavior), and some of them include the user table and the user meta table.

    Which lead me to believe, that's it the cause of some problems I'm having right now. I posted another thread here. Seems like I'm always having trouble getting WordPress functional.

    Regards,
    Angela

  4. That's all as expected.

    The users are members of the network, and can be added per site. The plugins are assumed to be default. You're making NEW sites that may or may not be related :)

    I think the problem is you're misunderstanding what MultiSite is for. MultiSite is not for making a series of interconnected sites. Yes, it can be tweaked to do so, but out of the box, it's for managing multiple unrelated sites, like WordPress.com :)

    For what you want, you need some plugins.

    Duplicate Plugin settings across sites
    * http://wordpress.org/extend/plugins/yd-wpmu-sitewide-options/

    Let users signup per blog
    * http://wordpress.org/extend/plugins/add-users-sidebar-widget/

    PRIVACY
    * http://wordpress.org/extend/plugins/more-privacy-options/
    * http://wordpress.org/extend/plugins/network-privacy/

    USER/BLOG SIGNUP TRICKS
    * http://wordpress.org/extend/plugins/wpmu-new-blog-defaults/
    * http://wordpress.org/extend/plugins/default-blog-options/

    * http://wordpress.org/extend/plugins/moderate-new-blogs/

    * http://wordpress.org/extend/plugins/limit-blogs-per-user/

  5. Angela
    Member
    Posted 2 years ago #

    Then, how can I allow the same group of user that signed up at any of the networked sites to access and log into all other sites in that network?

    Regards,
    Angela

  6. 1) Use something like the YD Sitewide options plugin to replicate plugin data across all blogs.

    2) Use a nother plugin to either let users sign up for a blog, OR find the one that signs you up for all blogs on registration.

  7. Angela
    Member
    Posted 2 years ago #

    And can you suggest a plugin that can fulfill 2)? I have tried to search, but there are no results for that.

    Regards,
    Angela

  8. Angela
    Member
    Posted 2 years ago #

    Great, just what I need, but the plugin doesn't work with 3.2.1. Any ideas?

    Regards,
    Angela

  9. Works fine

    http://wordpress.org/support/topic/plugin-multisite-user-management-no-configuration-panel-in-321?replies=2#post-2221909

    (FYI, making multiple posts and posting the same questions in them multiple times is ... hard for us to help you ;) In THAT case, you were right to make the new post, but next time, please link back to it so we know where to go)

  10. Angela
    Member
    Posted 2 years ago #

    Sorry about that, I guess I was too careless. However, I'm still curious whether or not this plugin will affect use of other plugins, mainly s2member. If by default, a user is assigned to be a subscriber and s/he signs up as a premium member, which option will take precedence?

    Regards,
    Angela

  11. Depends on s2Member.

    Remember - again - that WordPress handles settings per site, unless the plugin has global settings. And I have no idea, as I don't use s2, if it does, but that would be something to ask the plugin developer ;)

  12. Angela
    Member
    Posted 2 years ago #

    I see, thanks a lot. I still have some questions regarding the log in process in this thread. Any thoughts?

    Regards,
    Angela

  13. Angela
    Member
    Posted 2 years ago #

    I know I probably should start another thread for this, but I really need help to get my site running. The primary site is now fine, but when I created other sites, they always show errors of blogs.dir being unwriteable. Blogs.dir itself actually appears as a file, not a directory, so I guess my hosting company doesn't support it.

    I searched a bit and all the solutions seem to be to change the ownership. I contacted my hosting company, but they said they can't change that for me (I'm using shared hosting). Another possible solution I found is using suPHP, but I haven't heard of how well it works out.
    Another possible solution that I haven't tried yet (and its correctness is unverified) is to change the .htaccess rules. But I have no idea why I should do that and more importantly, what should I change it to?
    So, I'm kind of running out of options, and I would like to know, are there any hacks I can use before I change my hosting company?

    Regards,
    Angela

  14. Blogs.dir itself actually appears as a file, not a directory, so I guess my hosting company doesn't support it.

    You were instructed to create this folder during installation. Yes, it is a folder not a file. media uploads will be placed within it for each site.

  15. Which means 'delete the file and make a folder named blogs.dir' :) And remember to breath. You CAN do all this, just don't panic. We have towels.

  16. Angela
    Member
    Posted 2 years ago #

    -_-'' Sorry, my bad, I read the codex 3 times (cover to cover), yet I'm having more issues than I ever had. WP is great though, no offense, guess my nerves just got too tight. Thanks for all your replies, I will check my configs tomorrow and get back if I have any problems, hopefully not :)

    Regards,
    Angela

  17. Angela
    Member
    Posted 2 years ago #

    Sorry about re-opening this post, but I really needed some answers. This is the last thing I need to do to get my network of sites up and running. Now most of the configs are done, except the users.
    I am using multisite user management plugin, and I have also posted there, but I haven't got an answer so far. So here is the thing:

    I need to maintain the same user list across all of my network sites, and right now, I can see a list of all available users in the network admin 'Users' panel. And the reason why they don't show up for individual sites is because in the 'Sites' field, they are not fully associated with all of my sub-sites.
    Now, I could go ahead and manually associate them with every single site I have, but that's not my goal. And what if, in the future, there are a lot more users? That's why I'm using multisite user plugin to help me propagate these users across the network. But it doesn't seem to do that, at all.
    I tried to reactivate the plugin, and removed some plugins that may be conflicting with this plugin, nothing works. I really don't want to do it the manual way. Please assist.

    Regards,
    Angela

  18. Do you really need them specifically added to every site? They have sort of subscriber access already, even if they are not listed. so if you want them to be logged in to leave a comment, they can do that. Out of the box. No plugins.

  19. Angela
    Member
    Posted 2 years ago #

    I guess what I'm really trying to do is migrating some of the users, especially authors, from my old WP blog into this new blog that's part of the network. In the meantime, they will probably write something for my other sites as well, so I hope I can maintain their status network wide. Is this something built in too?

    Also, I had an author who logs into the blogging site and wrote a blog, but the blog ends up in the main site, where I didn't even allow user logging other than myself. How is that possible? And how can I fix it?

    Regards,
    Angela

  20. I had an author who logs into the blogging site and wrote a blog, but the blog ends up in the main site

    He wrote a post. A blog is where a collection of posts live. Especially in the case of using a network of multiple blogs/sites, each with their own posts, then using the proper terms is crucial.

    Check and see if you have a plugin sending posts to the main site, like the sitewide tags plugin.

    Ask the user what blog they were on when they wrote the posts.

    You can migrate your users and then add them specifically to the blogs you want them to be able to author on.

  21. Angela
    Member
    Posted 2 years ago #

    Here is the thing:
    - First of all, I need to have all users to maintain their status throughout the network, so all subscribers of one site is a subscriber of another site. And all authors of one site should be able to post in other sites as well.
    - Like I mentioned previously, apparently, users are not associated this way in the user list. They just indicate association with some sites, not all sites. And the bad news is, I don't even have the mechanism to manually associate them with these sites myself
    - The problem with the author is similar. He is an author in a few sites, but NOT on the site where he is needed. He can't choose to post on the site that I need him to post on.

    All in all, this all just point to one problem, I really need everyone to have the consistent user roles across the entire network. I don't have a clue how can I do this now.

    Oh, and let's not forget that my newly registered users doesn't even show up in the list of users now. I'm getting a lot of complaints, and I have no idea why doesn't registered users get to access their accounts.

    Regards,
    Angela

  22. Angela
    Member
    Posted 2 years ago #

    Now, I just tried to register myself a dummy account for testing, and if I'm trying to visit some other sites, I get this message

    You attempted to access the "XXX" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "XXX" dashboard, please contact your network administrator.
    
    If you reached this screen by accident and meant to visit one of your own sites, here are some shortcuts to help you find your way.

    Okay, so I believe somewhere in your previous reply you mentioned that by default, user that registered as a subscriber should be subscribed across the sites, right? Am I missing something here?

    Regards,
    Angela

  23. Like I mentioned previously, apparently, users are not associated this way in the user list. They just indicate association with some sites, not all sites. And the bad news is, I don't even have the mechanism to manually associate them with these sites myself

    http://wordpress.org/extend/plugins/multisite-user-management/

    Swear to god, that's what you want for that. I use it, works great, no issues.

  24. Okay, so I believe somewhere in your previous reply you mentioned that by default, user that registered as a subscriber should be subscribed across the sites, right? Am I missing something here?

    Without a plugin, nothing. They're psudeo subscribers. Can't login, CAN comment.

    WITH the plugin we keep touting, depends on what you make of 'em

  25. Angela
    Member
    Posted 2 years ago #

    But it doesn't work for me, period. That's the weird thing, I do expect the same from the plugin as well, including user propagation. The weirdest thing is, the testing account that I have created, along with other new user registration is NO where to be found in the user list even though I have no problem accessing with that account.

  26. And all authors of one site should be able to post in other sites as well.

    then you have to ADD them. You don;t even need a plugin if you wanted to do this one at a time.

    The problem with the author is similar. He is an author in a few sites, but NOT on the site where he is needed. He can't choose to post on the site that I need him to post on.

    Go to the admin area of the site in question.
    Click Users.
    Click Add new.

    See the "add an exisiting user? Put in his username.

    let's not forget that my newly registered users doesn't even show up in the list of users now. I'm getting a lot of complaints, and I have no idea why doesn't registered users get to access their accounts.

    they show up in the list of *network* users. not in the list of users on the main site. you will not see them on that list. they DO have access to their own dashboard. their dashboard is not attached to any site or blog.

    if you really need them to be able to be physically listed for some other purpose (like a message board) then the plugin Ipstenu and I keep suggesting is the one you want to use.

    Can you explain for what purpose you need them listed as subscribers to all sites? just so you can see them on the list?

  27. Angela
    Member
    Posted 2 years ago #

    Um, first of all, I did check and only check the user list at network admin, nowhere else. This is why I keep saying it's weird. And the reason why I keep them all as subscribers is because I have a newsletter I need to give out to. In the future, I might plan different newsletter subscription for different sites, so I want to make sure that user can get all the newsletters.

  28. Since you're seeing aberrant behavior, you get to go back to the old standby: Turn off ALL of your plugins. Every last one. Even the ones in mu-plugins.

    Something on your site is fouling the works.

    If users aren't showing up on Dashboard -> Network Admin -> Users, you have a MUCH bigger problem and you have to address that first.

  29. Angela
    Member
    Posted 2 years ago #

    So here is the thing, I have successfully added the authors to one of the sites manually, and this should temporary solve the problem. I took a review of all the users, now this is something strange.
    Yesterday, I created a testing account that works no problem and shows up in the correct list of users. As for those users that didn't make it to the user list, they have something in common.

    First of all, they were all registered at one site specifically, one that I have enabled multiple language, Chinese and English. For some reason one way or another, all such registration emails I received is in Chinese. Whereas all other unaffected users that correctly show up in the user list either has their registration in English, or registered with some other sites.
    The other discrepancy I noticed is the different email used. Now I am using the same admin for every single site in the network. For users that are unaffected, the registration email I get comes from this emailbox: wordpress@SITE-URL.com. However, for the registrations that didn't show up well, the registration email comes from my OWN admin email address. How weird.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.